[feature] Lane discipline: name the return for a mid-build finding that defeats the approved plan

Aperta Adatta ai principianti
#4,985 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
documentation

Direzione di ricerca

Leggi la sezione sulla disciplina delle lane in crew/docs/captain.md e la regola 10 in captain/templates/CREW.md, confrontando il formato attuale delle domande con il caso richiesto di una scoperta durante la realizzazione. Aggiorna entrambi i passaggi per specificare quando una scoperta modifica la possibilità o l’opportunità di raggiungere l’obiettivo approvato e stabilire che il lavoro interessato venga sospeso in attesa della decisione registrata del proprietario, mentre il lavoro indipendente prosegue. Il lavoro è completato quando entrambe le regole esprimono lo stesso comportamento; l’issue lascia ai maintainers l’aggiornamento del registro del piano.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What happens

crew/docs/captain.md, Lane discipline (line 155): a lane "never stops to ask whether to continue. It comes back for new scope, a conflict with another owner, missing access, or a decision that is the owner's", and brings each decision with every option explained, what each does and what it costs. captain/templates/CREW.md rule 10 (line 81) repeats the list. Plan before build (heading at line 371; part-way scope at line 382) gives new functionality taken on part-way its own plan and ask.

The docs at 245281c do not say whether a finding during the build that the plan did not foresee, and that changes whether its goal should or can be reached while the scope stays the same, is a reason to come back. Two examples: the setting the plan turns on was turned off on purpose (turning it back on reverses someone's decision), or the job turns out to be done already. "A decision that is the owner's" may be meant to cover this, but the rules do not name it, so a lane has to infer it.

Once the run reports APPROVED (status=complete, crew/docs/captain.md:410), we found no documented way to amend the plan: lib/autoplan-revise.ts:148 refuses revise on a complete run with PHASE_NOT_AWAITING. /ship's plan-completion audit ("Step 8: Plan Completion Audit", ship/sections/plan-completion.md:3) runs at ship time, so it is not a rule for the moment of the finding.

What we see

In our sessions, which follow these lane rules off Capy, a lane that met such a finding either did less than the plan described without saying so before the report, or finished the plan as written; in both cases the owner learned of it from the final report.

What we would expect

Name the case in Lane discipline and in CREW.md rule 10: when such a finding comes up, the lane stops that part and brings the owner the decision in the existing ask format (each option, why it matters, what each answer does, what it costs), adding its own recommendation, and keeps the parts that do not depend on the answer moving, as it already does with a bad item (crew/docs/captain.md:162). How the plan record is then updated (a new plan and ask, or amending the completed run) is the maintainers' choice; the owner's answer should be recorded before the affected work resumes.

Alternatives

We carry it as a rule of our own beside the lane rules, which captain/templates/CREW.md (line 154) treats as a gap in gstack when it stays there for long.

Environment

  • gstack 1.106.2.0 (default branch, 245281c); Claude Code on Linux.
  • Related: none found for "re-plan", "plan drift", "mid-build", "plan still reaches its goal".
Lingua principale
TypeScript
Stelle
143k
Fork
21.1k
Merge medio
4h 18m
PR unite (30g)
745

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di garrytan/gstack

Tutte le issue di garrytan/gstack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.