Skip to content

feat: read the chant/lifecycle ledger paths and ruleset from the status contract - #64

Merged
lex00 merged 1 commit into
mainfrom
feat/62-lifecycle-ruleset
Oct 1, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/62-lifecycle-ruleset

Conversation

@lex00

@lex00 lex00 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Part of #62.

Adds github-warden lifecycle. It runs chant workspace status <env> --json (contract 1) and reads the branch name from lifecycle.ref and each member's release ledger and gate ledger paths from the document, with nothing hard-coded. --format ruleset prints a ruleset for that branch (rules deletion and non_fast_forward, appends still allowed) in the shape the rulesets cycle already reconciles under repos.<repo>.rulesets. A test loads it through the governance config loader.

Acceptance criteria:

Local checks: npx tsc --noEmit, npm test (578 passed, with a test against a real chant workspace), the mock smoke, npm run lint:prose, and the CLI run against a temp workspace.

…us contract (#62)

Add a lifecycle subcommand that reads the branch name and each member's
release and gate ledger paths from chant workspace status --json, and prints
the ruleset that protects the branch (no deletion, no force push).
@lex00
lex00 merged commit afd46d8 into main Oct 1, 2026
5 checks passed
@lex00
lex00 deleted the feat/62-lifecycle-ruleset branch October 1, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant