githubnext/chopinPublic

Let's compose rich plans together

Allow authenticated agents to claim approved implementation graphs #47

MergedMaggieAppletonmerged 8 commits intomainfromrefs/pull/47/head
  1. MA

    ## Summary

    Authenticated local agents can read and atomically claim the current approved implementation graph through MCP. A successful claim persists the GitHub identity and local execution details, locks the graph, and freezes plan mutations.

    ## What changed

    - Expose approved implementation context and claim operations through MCP. - Keep hosted graph policy in `tasks/plan-graphs.ts`; validate graph history and every restored run against the locked graph revision. - Atomically persist graph locking and execution metadata for live and closed plans. - Close every plan mutation path while a claim is draining or an implementation is active. - Add graph, persistence, MCP, and hosted-adapter coverage for claim boundaries.

    ## Verification

    - `bun test`: 771 passed, 2 skipped. - `bun run types` and `bun run ci`: passed. - Targeted hosted MCP and graph persistence tests: 17 passed. - `bun run e2e` reaches 155 passing browser tests, then fails in the unchanged `origin/main` callout keyboard-path test; it is unrelated to this server-only PR.

  2. MaggieAppletonreferenced this in Expose MCP task lifecycle reporting with durable progress state #483 months ago on GitHub

  3. MaggieAppletonbase-ref-force-pushed2 months ago on GitHub

  4. MaggieAppletonhead-ref-force-pushed 16532edb289f2 months ago on GitHub

  5. MaggieAppletonbase-ref-force-pushed2 months ago on GitHub

  6. MaggieAppletonhead-ref-force-pushed d6f31cbf76992 months ago on GitHub

  7. MaggieAppletonbase-ref-force-pushed2 months ago on GitHub

  8. MaggieAppletonhead-ref-force-pushed 1b5500ebad642 months ago on GitHub

  9. MaggieAppletonbase-ref-force-pushed2 months ago on GitHub

  10. MaggieAppletonhead-ref-force-pushed 06e63741118a2 months ago on GitHub

  11. MaggieAppletonbase-ref-force-pushed2 months ago on GitHub

  12. MaggieAppletonautomatic-base-change-succeeded2 months ago on GitHub

  13. MaggieAppletonhead-ref-force-pushed 330802f350422 months ago on GitHub

  14. MaggieAppletonmerged bbb4340165e92 months ago on GitHub

  15. MaggieAppletonclosed2 months ago on GitHub

  16. MaggieAppletonhead-ref-deleted2 months ago on GitHub