Skip to content

feat: add Product/Test stage sessions and token rotation tooling - #45

Merged
HugoXK merged 3 commits into
mainfrom
feat/stage-sessions
Nov 5, 2026
Merged

HugoXK merged 3 commits into
mainfrom
feat/stage-sessions

Conversation

@HugoXK

@HugoXK HugoXK commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Written-by: HugoXK

Adds independent Product/Test stage sessions and token rotation tooling.

  • New scope and verify job kinds routed to the Product/Test DSH sessions via sessionId.
  • Scope returns scope/acceptance/testPlan; verify returns testRed/testGreen; neither creates a branch or PR.
  • Stage mode queues verification before review; work items get Product scope and Test verify actions.
  • Evidence gates and stage labels updated for scope/verify.
  • Added scripts/rotate-instance-tokens.mjs with dry-run, active-job guard, rollback and deploy docs.
  • Updated the mock with the stage actions.

Ran:

  • npm run check — pass (138 tests, build)
  • node scripts/version.mjs check — pass
  • node scripts/changelog.mjs check — pass
  • node --check bridge/flybot-bridge.mjs — pass
    Not run: production deploy (will restart bridges after merge).

No-issue: remaining P2 work from the product review.

Route Product scoping and Test verification to their own DSH sessions, add scope/verify job kinds and evidence gates, expose work-item actions, and queue verification before review in stage mode.
Add scope/verify job kinds routed to Product/Test DSH sessions, stage evidence gates, work-item actions, verification-before-review in stage mode, a managed instance-token rotation script with rollback, deploy docs and mock stage actions.

@HugoXK HugoXK left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Verdict: PASS at d39ad32
Written-by: Reviewer
Posted-by: HugoXK

Ran:

  • npm run check — pass (138 tests, build)
  • node scripts/version.mjs check — pass
  • node scripts/changelog.mjs check — pass
  • node --check bridge/flybot-bridge.mjs — pass
    Not run: production deploy.

The leaked GitHub PAT still needs the owner to create a replacement; the script rotates Fledge-managed instance tokens.

Document the Product/Test stage kinds and session routing in the bridge contract.

@HugoXK HugoXK left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Verdict: PASS at 600aac0
Written-by: Reviewer
Posted-by: HugoXK

Ran:

  • npm run check — pass (138 tests, build)
  • node scripts/version.mjs check — pass
  • node scripts/changelog.mjs check — pass
  • node --check bridge/flybot-bridge.mjs — pass
    Not run: production deploy.

Bridge docs now cover the scope/verify stage contract.

@HugoXK
HugoXK merged commit c5c3825 into main Nov 5, 2026
19 of 20 checks passed
@HugoXK
HugoXK deleted the feat/stage-sessions branch November 5, 2026 09:09
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