gstack-approvals: no way to retire approvals after a crew resets its rules
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 34/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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)
- 主要言語
- TypeScript
- スター
- 143k
- フォーク
- 21k
- 平均マージ
- 5時間 25分
- マージ済み PR(30日)
- 791
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
garrytan/gstack のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
garrytan/gstack#4971 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
garrytan/gstack#4768 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 3/5 1〜2日 初心者へのやさしさ 60/100
garrytan/gstack#4766 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
S3
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
garrytan/gstack#4765 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
garrytan/gstack#4764 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
garrytan/gstack の issue をすべて見る
似ている issue
-
bug Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
scottbenton/Iron-Link#541 ·
メンテナーはふだん 1 日以内に返信
-
hosts settings: the SSH address field and the separate User field are two ways to name one SSH userオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
prime-radiant-inc/evener#8161 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nicobailon/pi-subagents#3420 ·
メンテナーはふだん 1 日以内に返信
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yオープン01 type: bug 99 tag: UX Accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信