Skip to content

Align Work Graph reports with OrgX schema#284

Merged
hopeatina merged 1 commit into
mainfrom
codex/work-graph-schema-contract
May 26, 2026
Merged

Align Work Graph reports with OrgX schema#284
hopeatina merged 1 commit into
mainfrom
codex/work-graph-schema-contract

Conversation

@hopeatina
Copy link
Copy Markdown
Contributor

Summary

  • maps hook-derived top-level events to the Work Graph report schema enum while preserving runtime hook detail in metadata
  • adds required investigation fingerprint/generated_at fields and object-shaped why_not_100 entries
  • keeps the attribution spine runtime_hook source events intact for richer review context

Verification

  • HOME=$(mktemp -d) env -u ORGX_API_KEY npm run build:core
  • HOME=$(mktemp -d) env -u ORGX_API_KEY node ./scripts/run-targeted-test.mjs tests/hooks/post-reporting-event.test.mjs tests/hooks/work-graph-reconcile.test.mjs
  • npm pack --dry-run --json and package entry inspection
  • generated a Codex reconciler report and parsed it with Code/orgx clientWorkGraphReportSchema
  • pnpm vitest run tests/api.client.work-graph.reports.route.spec.ts --reporter=dot in Code/orgx/orgx

@hopeatina hopeatina merged commit bf2a1d4 into main May 26, 2026
3 checks passed
@hopeatina hopeatina deleted the codex/work-graph-schema-contract branch May 26, 2026 23:37
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