name: orgx-runtime-reporting description: Use when a Codex execution should report progress, artifacts, blockers, or completion state back to OrgX during a live task.
OrgX Runtime Reporting
Use this skill when Codex should keep OrgX updated during execution.
Reporting contract
There are two reporting paths:
- Active path: call OrgX MCP tools during the work when you know the initiative, task, decision, blocker, or artifact context.
- Chronicle readout: for operator reporting, call
get_operator_chroniclefirst when available and presentreportingNarrative.briefMarkdownbefore drilling into individual entities. - Stale-client fallback: if bootstrap or docs advertise
get_operator_chroniclebut the current AI client session has not refreshed its callable tool list, immediately callorgx_recommendor_orgx_recommendwithmode: "morning_brief"and present the returnedreportingNarrative.briefMarkdown. Do not ask the user to reconnect before giving the report. - Passive backstop: Codex runtime hooks installed by
orgx-wizard hooks installrecord compact session events and run summary-only local Work Graph reconciliation onStop.
Do not treat hook presence as a substitute for intentional OrgX writes. Hooks answer whether OrgX was used and can write a local report automatically; MCP calls, or an explicitly opted-in successful Work Graph post, make the work durable in OrgX while the session is still fresh.
Workflow
- Resolve available IDs from args, env, or the current OrgX context:
ORGX_INITIATIVE_IDORGX_WORKSTREAM_IDORGX_TASK_IDORGX_RUN_IDORGX_CORRELATION_ID
- For reporting questions, retrieve the operator chronicle:
- Use
get_operator_chroniclewithperiod: "30d"for broad clarity when it is callable in the current client. - Use
period: "day"orperiod: "week"when the user asks for yesterday or this week. - If
get_operator_chronicleis not callable in the current client, use the existingorgx_recommend/_orgx_recommendfallback withmode: "morning_brief"and the broadest supported period. Treat the direct tool as preferred, but do not block on client schema refresh. - Lead with
reportingNarrative.briefMarkdown, then call out gaps and the next action.
- Emit activity at meaningful milestones:
intentexecutionhandoffblockedcompleted
- Register proof of work:
- When you produce a file, diff, document, screenshot, or report, register it as an artifact with a concrete summary.
- Handle blockers structurally:
- If judgment is required, request a decision with explicit options.
- If context is missing, report the exact missing dependency.
- Close execution cleanly:
- When the task is complete and verified, emit completion activity and update entity state if the task ID is available.
- If no OrgX IDs are available:
- Continue the work, but make the final response easy for the hook reconciler to classify: name decisions, artifacts, blockers, next actions, and verification.
- Do not claim OrgX was updated unless an MCP tool or API call actually succeeded.
- Preserve Work Graph continuity:
- When a Work Graph report is generated, include its
work_graph_fingerprintandsignup_hydration.hydration_keyin summaries or artifacts that are safe to store. - Automatic Stop-hook reconciliation writes the latest local report to
~/.config/useorgx/wizard/hooks/reports/latest-work-graph-report.json. - Stop-hook posting requires
ORGX_HOOK_RECONCILE_POST=trueorORGX_WIZARD_HOOK_RECONCILE_POST=trueplusORGX_API_KEY. - Treat the fingerprint as the durable claim key that lets OrgX hydrate pre-signup audit value into a user's future workspace.
- Never derive the fingerprint from secrets or raw transcripts that would need to leave the local machine.
Quality bar
- Never post empty status updates.
- Messages must be evidence-based and specific.
- Include OrgX IDs whenever available.
- Use
source_client=codex. - Preserve secrets: never emit tokens, cookies, API keys, or storage state into activity, retro, hook summaries, or final reports.