gstack-approvals: no way to retire approvals after a crew resets its rules
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 34/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- authorization
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- TypeScript
- Estrellas
- 143k
- Forks
- 21k
- Merge medio
- 5 h 25 min
- PR fusionados (30 d)
- 791
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de garrytan/gstack
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
garrytan/gstack#4971 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement S3
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
garrytan/gstack#4768 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
enhancement S3
Dificultad 3/5 1-2 días Aptitud para principiantes 60/100
garrytan/gstack#4766 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
S3
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
garrytan/gstack#4765 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement S3
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
garrytan/gstack#4764 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de garrytan/gstack
Issues similares
-
bug Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
scottbenton/Iron-Link#541 ·
Los mantenedores suelen responder en 1 día
-
hosts settings: the SSH address field and the separate User field are two ways to name one SSH userAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
prime-radiant-inc/evener#8161 ·
Los mantenedores suelen responder en 1 día
-
Ignore Rules is not workingAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nicobailon/pi-subagents#3420 ·
Los mantenedores suelen responder en 1 día
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yAbierto01 type: bug 99 tag: UX Accessibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 2 días