Skip to content

Archive abandoned cleanup OpenSpec change - #361

Merged
brettheap merged 2 commits into
mainfrom
change/archive-fix-abandoned-session-cleanup-terminal-states
Aug 26, 2026
Merged

brettheap merged 2 commits into
mainfrom
change/archive-fix-abandoned-session-cleanup-terminal-states

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Summary

  • sync the merged abandoned-session cleanup retention and transaction requirements into the canonical ideation-dashboard spec
  • archive the completed fix-abandoned-session-cleanup-terminal-states OpenSpec change
  • preserve all proposal, design, delta, and 30/30 completed task artifacts under the dated archive

Validation

  • openspec validate --all --strict: 77 passed, 0 failed
  • canonical Staged-topic proposal commissioning requirement matches the archived 124-line delta exactly
  • git diff --check passed

Post-merge housekeeping for #336 and contract-v1.43.

Copilot AI lite review requested due to automatic review settings August 25, 2026 19:24

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request performs post-merge OpenSpec housekeeping for the abandoned-session cleanup work: it syncs the merged retention/transaction requirements into the canonical ideation-dashboard specification, and archives the completed OpenSpec change packet (proposal/design/delta/tasks) under a dated archive path.

Changes:

  • Updated openspec/specs/ideation-dashboard/spec.md to reflect the merged abandoned-session cleanup retention-release evidence rules and transactional deletion constraints.
  • Archived the completed fix-abandoned-session-cleanup-terminal-states OpenSpec change artifacts (proposal/design/spec delta/tasks plus .openspec.yaml) under openspec/changes/archive/2026-08-25-.../.

Reviewed changes

Copilot reviewed 1 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
openspec/specs/ideation-dashboard/spec.md Syncs canonical ideation-dashboard spec text to include the merged cleanup retention-release/transaction requirements.
openspec/changes/archive/2026-08-25-fix-abandoned-session-cleanup-terminal-states/tasks.md Preserves the completed task checklist for the archived change.
openspec/changes/archive/2026-08-25-fix-abandoned-session-cleanup-terminal-states/specs/ideation-dashboard/spec.md Preserves the archived delta excerpt for the ideation-dashboard spec.
openspec/changes/archive/2026-08-25-fix-abandoned-session-cleanup-terminal-states/proposal.md Preserves the archived change proposal rationale and scope.
openspec/changes/archive/2026-08-25-fix-abandoned-session-cleanup-terminal-states/design.md Preserves the archived design decisions, risks, and migration plan.
openspec/changes/archive/2026-08-25-fix-abandoned-session-cleanup-terminal-states/.openspec.yaml Records the archived change’s machine-readable origin/approval metadata.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +296 to +298
An abandoned branch SHALL remain reviewable evidence until a human invokes cleanup with a durable RETENTION-RELEASE basis. The console SHALL accept an exact-tile active proposal, an archived change carrying that exact staged origin, or an executed demotion returning the proposal to that exact tile as machine-resolved preservation evidence. A demotion plan, proposal dispatch, missing change, missing worktree, missing tile, or non-live session state MUST NOT itself release retention. Demotion execution SHALL be proved by a durable execution receipt for new demotions; a pre-receipt demotion MAY be accepted only when the exact transition manifest and an exact returned-topic artifact jointly prove execution.

Where no machine-resolved preservation evidence exists, cleanup MAY proceed only through an explicit human retention release carrying a nonblank reason. This lane SHALL support staged-topic, cluster, possible, missing, renamed, and otherwise orphaned tile identities without inferring that absence is disposition. Every successful cleanup SHALL remain human-invoked, local-only, and non-automatic; SHALL verify the branch belongs to the supplied tile, the session is not live, no worktree is attached, and a durable `abandon-session` proof names the ref; and SHALL write a main-resident cleanup record naming the exact tile scope, pre-delete head, abandonment proof, retention-release evidence, and reason where explicitly supplied. A failed deletion MUST NOT leave a record claiming success.
Copilot AI review requested due to automatic review settings August 26, 2026 07:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 6 changed files in this pull request and generated no new comments.

@brettheap
brettheap merged commit 77a7a82 into main Aug 26, 2026
3 checks passed
@brettheap
brettheap deleted the change/archive-fix-abandoned-session-cleanup-terminal-states branch August 26, 2026 07:17
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.

2 participants