Skip to content

Settle receipts on digest-bound ACK; fix published package; per-client spool reports - #60

Merged
hopeatina merged 1 commit into
mainfrom
fix/plan-v3-stage0
Sep 23, 2026
Merged

hopeatina merged 1 commit into
mainfrom
fix/plan-v3-stage0

Conversation

@hopeatina

Copy link
Copy Markdown
Contributor

Scope

  • §5.6 The durable outbox deletes only via settleOnAck (operation id + sha256 of the exact bytes). 409 run_already_terminal settles as superseded.
  • §5.5 task.failed now settles: the server side is in hopeatina/orgx#3011.
  • §5.10 Hook spool replay posts one report per real source client instead of labelling all records codex.
  • Packaging bug on npm today: published 0.1.20 cannot import hooks/scripts/orgx-work-graph-reconcile.mjs (emit-execution-graph.mjs missing from files), so npm-installed peers never uploaded the spool. Fixed; verify-plugin now fails when a packed module imports an unpacked sibling.
  • Release workflow stamps manifest_fingerprint from the packed file set, and signature when the ORGX_MANIFEST_SIGNING_KEY secret is set (not yet created).
  • A03: corrects the stale Claude Stop-hook claim.

Checks

npm run check ok; npm test 200 pass / 0 fail; extracted npm pack output imports the reconcile + outbox modules.

Rollout

Release after hopeatina/orgx#3011 is deployed.

🤖 Generated with Claude Code

Plan v3 Stage 0 (§5.5, §5.6, §5.10, A03, §2):
- Durable outbox deletes only via settleOnAck (operation id + sha256 of the
  exact bytes posted); 409 run_already_terminal settles as superseded.
  task.failed is now accepted server-side (hopeatina/orgx companion PR).
- Hook spool replay posts one Work Graph report per real source client
  instead of labelling every client's records as codex.
- Package files now include emit-execution-graph.mjs: published 0.1.20
  cannot import orgx-work-graph-reconcile.mjs (ERR_MODULE_NOT_FOUND), so
  npm-installed peers never uploaded the spool. verify-plugin now fails
  when a packed module imports an unpacked sibling.
- Release workflow stamps manifest_fingerprint from the packed file set
  (and signature when ORGX_MANIFEST_SIGNING_KEY is set).
- Correct the stale claim of a Claude plugin Stop-hook path.

Checks: npm run check ok; npm test 200 pass, 0 fail; packed tarball
imports reconcile + outbox modules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hopeatina
hopeatina merged commit f8e43e1 into main Sep 23, 2026
2 checks passed
@hopeatina
hopeatina deleted the fix/plan-v3-stage0 branch September 23, 2026 02:10
hopeatina added a commit that referenced this pull request Sep 25, 2026
Ships #60 (settle receipts on digest-bound ACK; fix the published
package) and #61 (advance the shared-spool cursor only on a digest-bound
ACK). Versions aligned across package.json, package-lock.json,
.codex-plugin/plugin.json and plugin.manifest.json; the peer test's
release fixture follows the version.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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