You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FR-020: the auto-deletion deferral applies to spec 009 as well.
FR-006: deleting main or the base branch is always refused.
FR-009: direct writes to main are refused on every LightSpeed repo.
Session 2026-10-02 with two answers:
Hotfixes use hotfix/{scope}-{title}; hotfix/vX.Y.Z is refused.
While auto-deletion is deferred, a maintainer may promote an empty, merged claude/* branch with no open PR from DISCUSS to DELETE, removed through spec 009's draft-PR approval (FR-020, FR-021, SC-002).
Design documents:plan.md, research.md (R15–R17), data-model.md, contracts/branch-cleanup.md, contracts/hooks.md and quickstart.md (steps 1 and 5) aligned with the decisions above.
.github/specs/018-claude-cloud-environment/tasks.md: convergence phases 7–11 (T052–T065), including regenerated tasks T061–T063, with correct ticks (65 tasks, 46 done).
docs/CLAUDE_CLOUD_ENVIRONMENT.md: says auto-deletion of empty claude/* branches is deferred under FR-020, describes the DISCUSS promotion route and hotfix naming.
Supporting changes:
a session-start timing test for SC-005 (T050)
setup-node-install.test.js added to the Claude Guard Tests workflow (T057)
stale "spec 016" comments renamed to "spec 018" outside the guard (T058)
docs contract test assertion updated for the new cleanup contract wording
Why is this documentation important?
The spec is the contract the branch guard and its contract tests are built against. A stale spec makes the next /speckit-implement pass work towards the wrong behaviour. The guide was also telling Owners that empty claude/* branches are deleted automatically, which is no longer true.
Acceptance Criteria
Documentation is clear, accurate, and up-to-date
Includes code examples/screenshots if applicable
Documentation is accessible and easy to find
Changelog entry prepared for PR if user-facing update
PR uses correct branch prefix (docs/)
PR description updated with relevant details
Changelog entry prepared for PR (if applicable)
Labels/types match org standards
Additional Context
These tasks are still open and are out of scope for #3726:
Need edits to .claude/hooks/**: T045, T049, T052, T054, T055, and the guard halves of T056 and T058. The guard refuses those edits while enforcement is on, so they need a session started with LS_ENFORCE_BRANCH_NAMES=0, or a person.
Documentation Update Summary
Spec 018 (Standardised Claude Code Cloud Environment) no longer matched the code or the decisions made after #3524 merged. This issue covers:
spec.md/speckit-convergeto add the remaining work totasks.md(convergence phases 7–11, T052–T065)Linked Stories/Tasks/PRs/Epic
claude/*auto-approval to stay off)Milestones & Timeline
developfirst.What documentation is needed?
.github/specs/018-claude-cloud-environment/spec.md:Session 2026-10-01with five answers and the requirement updates that follow:mainor the base branch is always refused.mainare refused on every LightSpeed repo.Session 2026-10-02with two answers:hotfix/{scope}-{title};hotfix/vX.Y.Zis refused.claude/*branch with no open PR from DISCUSS to DELETE, removed through spec 009's draft-PR approval (FR-020, FR-021, SC-002).plan.md,research.md(R15–R17),data-model.md,contracts/branch-cleanup.md,contracts/hooks.mdandquickstart.md(steps 1 and 5) aligned with the decisions above..github/specs/018-claude-cloud-environment/tasks.md: convergence phases 7–11 (T052–T065), including regenerated tasks T061–T063, with correct ticks (65 tasks, 46 done).docs/CLAUDE_CLOUD_ENVIRONMENT.md: says auto-deletion of emptyclaude/*branches is deferred under FR-020, describes the DISCUSS promotion route and hotfix naming.setup-node-install.test.jsadded to the Claude Guard Tests workflow (T057)Why is this documentation important?
The spec is the contract the branch guard and its contract tests are built against. A stale spec makes the next
/speckit-implementpass work towards the wrong behaviour. The guide was also telling Owners that emptyclaude/*branches are deleted automatically, which is no longer true.Acceptance Criteria
Additional Context
These tasks are still open and are out of scope for #3726:
.claude/hooks/**: T045, T049, T052, T054, T055, and the guard halves of T056 and T058. The guard refuses those edits while enforcement is on, so they need a session started withLS_ENFORCE_BRANCH_NAMES=0, or a person.Definition of Ready (DoR)
Definition of Done (DoD)
type:docsPR label or linked issue type or linked issuetype:docslabel🤖 Generated with Claude Code
https://claude.ai/code/session_01Xwegb5oT1vPW6J8UJyNPqT