The doctor installs the fastlane seam, and proposes the edits it will not make #10
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!10
Loading…
Reference in a new issue
No description provided.
Delete branch "agent.teyla/Jostoph:tango/9-doctor-fastlane"
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?
Adds a
fastlanestep to.doctor.just, and splits the edits a doctor should not make silently into two[confirm]-guarded recipes..fastlane.just(#6) and.doctor.just(#7) sit side by side here, and the seam's header says it ships as one file "to another repo (Jostoph, with the doctor)". This is what actually puts it in a working repo.In scope
fastlane— installs and refreshes.fastlane.just, gated on the forge carrying afastlanebranch (remote_bookmarks(exact:"fastlane"), the same test that definestrunk()here).wire— appends the seam'smod?line to the repo's justfile.adopt— inserts the Ting governance declaration intoAGENTS.md.fastlanereworked from anif/elseladder to onematchover raw values with guards.Out of scope
.fastlane.tomlitself on a one-day rule. A second reader with a different freshness policy is how two caches disagree.--fix/--yesflags.just --yesalready exists and works on[confirm]recipes, and just chains recipes natively (just wire adopt). just has no real flag parsing for recipes — a--fixflag would be*flagsvarargs plus a hand-rolled membership test.Boundary
doctormust stay safe with no TTY, because agents run it.[confirm]declines on EOF and aborts its whole dependency chain — measured: a[confirm]recipe as a dependency stopped the dependent recipe from running at all. So no confirming recipe can be a dependency ofdoctor, and that is whywireandadoptare separate and public rather than a--fixflag ondoctor.fastlaneinstalls an untracked file, which is the doctor's normal business.wireandadoptedit tracked files, which is why they are guarded and deliberate.wireoffers only themod?line. Theflake_overridebacktick flake-ops also carries runs the seam on everyjustinvocation in that repo — a bigger commitment than a doctor should make on anyone's behalf.Acceptance
Run against real repos:
fastlane, no seam):🔧 .fastlane.just installed; second run✅ present and current.just fastlane::assemblethrough the wired module emitted all four inputs at?ref=fastlane, including the?dir=flakes%2F…cases.flaky-mesh,pluginscarry nofastlane: nothing installed, skip reported.vordrdoes.doctorwith no TTY — reports both outstanding edits, prompts nothing, aborts nothing.wiredecline (EOF) —recipe not confirmed, file untouched. Accept — appended, module resolves,just --listshows it. Re-run —✅ already wired.just --yes wire— skips the prompt, native flag, no code needed.setblock, checked against three real justfile shapes: flake-ops (line 21, underset script-interpreter), flaky-mesh (line 19), modron (line 3, beside its existingmod headroom, since it has nosetlines). Amod?line appended to the bottom of a long justfile is a line nobody finds.mod?with the seam absent degrades correctly — module skipped, no error.Not executed:
adopt's insert path. Its decline path shares the[confirm]mechanism verified forwire, but the insertion intoAGENTS.mdis untested — I had no repo where that file was throwaway.Closes #9
The doctor installs the fastlane seam where a fastlane existsto The doctor installs the fastlane seam, and proposes the edits it will not make