Skip to content

fix(protocol): require session close before branch merge #2

@mmilanez

Description

@mmilanez

Problem

Lead Protocol sessions need a clear ordering rule for branch-based work: operational state updates must be completed before the branch is merged. If handoff or decision state is written only after merge, protected branches make the state update awkward and can create unnecessary follow-up PRs.

Proposed change

Add an explicit protocol rule:

Session close must be the final operational step on the feature branch. Complete handoff, decisions, lessons, and journal updates before opening or merging the PR.

Acceptance criteria

  • The rule is documented in the session-close procedure.
  • The checklist makes the ordering visible to agents.
  • Validation or documentation warns against writing operational closeout state directly on the default branch after merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationprotocolProtocol rules or framework behaviorroadmapTracked work item on the project roadmap

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions