gstack-approvals: no way to retire approvals after a crew resets its rules
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 34/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- authorization
Direzione di ricerca
Start by reading lib/approval-record.ts and tracing how render, plan-check, and approval resolution read the machine-local record, the Captain drive mirror, and READ_ALSO roots. The issue proposes a retirement row that makes earlier approvals history rather than authority, but leaves its format and behavior across these paths to design. Done means retired approvals no longer act as authority and CONTRACT_DATE can use a time precise enough to distinguish a reset from same-day approvals.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
A Captain rebuilt its crew's rules from the current templates in one sitting: a new CREW.md and AGENTS.md, and a new CONTRACT_DATE. The owner's principle for the reset was that no earlier approval carries over, whether a standing merge word, a standing spend grant or a plan approval.
gstack-approvals has no way to express that. It reads every approval root (the machine-local record, the Captain drive's approvals/ mirror and the READ_ALSO roots; lib/approval-record.ts unions them and can mirror rows back). So a standing row written before the reset still renders in a PR body and still resolves in plan-check as if it were current. Moving old files into an archive folder only works partly, because a lane machine's local record can carry them back, and nothing marks a row as retired.
What we did meanwhile
We added a crew-specific CREW.md rule: rows dated before CONTRACT_DATE grant nothing, and a lane asks through the controller instead. crew/docs/captain.md calls a rule that lives only in a crew's file a gap in gstack, so we're filing it here.
Suggestion
An approval epoch. For example, gstack-approvals retire --before <ISO time> --words <owner's words> --by <who> --reason <why> writes one retirement row that render, plan-check and resolution honour: earlier rows show as history and never as authority. It would help if CONTRACT_DATE carried a time, so rule 20's stale READYs and the epoch use the same instant. A date alone can't separate a morning receipt from an afternoon reset.
Environment
- Host: Capy (claude-code threads), Captain workflow
- gstack: 1.99.0.0 (main at 554390da387d97c8b93dc2337c2ab41d4271e9f4)
- Lingua principale
- TypeScript
- Stelle
- 143k
- Fork
- 21k
- Merge medio
- 5h 25m
- PR unite (30g)
- 791
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di garrytan/gstack
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
garrytan/gstack#4971 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement S3
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
garrytan/gstack#4768 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement S3
Difficoltà 3/5 1-2 giorni Idoneità per principianti 60/100
garrytan/gstack#4766 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
S3
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
garrytan/gstack#4765 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement S3
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
garrytan/gstack#4764 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di garrytan/gstack
Issue simili
-
bug Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
scottbenton/Iron-Link#541 ·
I maintainer di solito rispondono entro 1 giorno
-
hosts settings: the SSH address field and the separate User field are two ways to name one SSH userAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
prime-radiant-inc/evener#8161 ·
I maintainer di solito rispondono entro 1 giorno
-
Ignore Rules is not workingApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nicobailon/pi-subagents#3420 ·
I maintainer di solito rispondono entro 1 giorno
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yAperta01 type: bug 99 tag: UX Accessibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni