doctor: repair the file so just can load it, and fix the fastlane guard #93
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Meta/Campaign
Meta/Epic
Meta/Session
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Curated
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Scope/Campaign
Status/Abandoned
Status/Blocked
Status/Conflicted
Status/In Progress
Status/In Review
Status/Need Grooming
Status/Need More Info
Status/Ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Ting/Jostoph!93
Loading…
Reference in a new issue
No description provided.
Delete branch "tango/92-doctor-just-unparseable"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.doctor.justonfastlanedoes not parse, so no repository in the estate has a working doctor. Full evidence and provenance in #92.What changed
The file loads again.
environmentandopenspec-referencewere each defined twice — two doctor generations merged into one file — andjustrefuses the whole file on the first duplicate without reaching a recipe body. The older copy of each is deleted:environment— dropped the form that writes a bareuse flakeand hard-errors on an inactive direnv; kept 4e573fe's, which ensures the managed bootstrap header and continues diagnostics.openspec-reference— dropped theting_store_id/ting_store_remoteform; kept d01076a's, which derives the store from the repository basename and runs the fullopenspec store setupreconciliation.ting_store_id,ting_store_remote, andwiki_store_idgo with it — only the deleted recipe read them. The surviving recipes are unchanged, verbatim.The
fastlaneseam guard now fires. Its first match arm tested$carried.exit_code != 0, butjj logover a revset matching nothing exits 0 and prints nothing, so the arm was dead and the seam was installed in every repository regardless of whether the forge carries afastlanebookmark — the opposite of what the recipe's header scopes it to. It now tests empty stdout, which is whatdefault-branchalready does with the identical call. Comment added recording the trap.Verification
just --unstable -f .doctor.just --listsucceeds and listsadopt,default,doctor,wire. At20c7398cit fails outright.[script]bodies extracted and run throughnu --ide-checkand a parse-time deprecation probe under Nushell 0.114.1: no parse errors, no deprecation warnings. The probe method was sanity-checked against a knownstr upcasedeprecation.jj logexit-code behaviour confirmed directly against this repository before changing the guard.Not in this PR
Idiomaticity findings from the same review — triplicated
jj git remote listparsing that indexes$p.0/$p.1rather than usingparse, the unguarded.git/info/excluderead,sync's O(n²) line diff,governance's bare relativeAGENTS.md— and theNU_FORCE_FORMATquestion (the export is right for theset shellpath, but only[script]recipes exist here, sodisplay_outputnever fires andcheck's table will not round-trip throughfrom ndnuon). Real, none load-bearing, each a decision of its own.Attribution
Opened by
agent.odin. The commit carries the freeholder's local identity ([email protected]) with aCo-Authored-Bytrailer, because the edits were made directly in the shared local checkout before the work was placed on a branch, rather than in a bounded tango workspace.Closes #92