grid-dispatch-report-writer
Write /root/report.json from the resolved grid dispatch report packet and log packet-to-file verification for the grid dispatch run.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- grid-dispatch-report-writer
- description
- Write /root/report.json from the resolved grid dispatch report packet and log packet-to-file verification for the grid dispatch run.
02 资源文件 1
- 脚本scripts/write_report.py6.3 KB
03 SKILL.md 正文
Grid Dispatch Report Writer
Chain Boundary
This is stage 4 only. It writes the existing packet and receipt, then stops; it does not recompute stages 1–3.
Use this stage after workflow/resolved_grid_dispatch_report_packet.json has been frozen. Write /root/report.json from report_json, keep the packet-authoritative most_loaded_lines list intact, and record the packet-to-file verification for the grid dispatch run.
Resolved Grid Dispatch Report Packet
- Prerequisite artifact:
workflow/resolved_grid_dispatch_report_packet.json - Allowed outputs:
/root/report.json,workflow/grid_dispatch_report_write_receipt.json - Next required skill:
none - Binding surface kind:
line_loading_cluster
The packet must already carry the final report_json plus the audit fields terminal_report_slot and non_self_line_handle. If those fields are missing, stop and return the packet upstream instead of reopening network.json or rerunning dispatch optimization.
Write /root/report.json
Run:
python3 /root/.codex/skills/grid-dispatch-report-writer/scripts/write_report.py workflow/resolved_grid_dispatch_report_packet.json /root/report.json workflow/grid_dispatch_report_write_receipt.json
This command writes /root/report.json directly from report_json. Do not recompute generator dispatch, reserve totals, or top transmission line rankings from raw network data in this stage.
Grid Dispatch Report Write Receipt
workflow/grid_dispatch_report_write_receipt.json must contain:
report_pathpacket_pathpacket_digestterminal_report_slotnon_self_line_handlewritten_loading_pctwritten_values_match_packetcurrent_stageallowed_outputsstop_condition
Stop Condition
Stop when /root/report.json reloads to the same JSON object as report_json and the receipt records written_values_match_packet: true.
04 同仓库更多 Skills
video-silence-remover-scope-verifier
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation; not a startup, repair, or task-planning entrypoint.
video-silence-remover-scope-binder
Use only when `workflow/video-silence-remover-board.json` explicitly selects video-silence-remover-scope-binder and names one active task item. Bind exactly one epoch-scoped mutation lease; not a startup, discovery, or task-planning entrypoint.
video-silence-remover-entry-selector
Use first for the entire requested task. Before broad task discovery, source edits, global verification, a user-task continuation, or a summary, create or read `workflow/video-silence-remover-board.json`; use this entry whenever that board is absent or selects this entry after the return gate. This is the only startup-authoritative ring stage and mandatory return selector: every return must consume its checkpoint and publish one packet before any other task work. Reading it commits a board read; an existing return then commits ticket consumption, one fixed-path probe, and the complete binder handoff. The persistent board forbids cleanup and final response.
video-silence-remover-catalog-return-gate
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-catalog-return-gate and carries one scoped verifier status. Reading this skill commits an immediate board read followed by one board-only gate transition and its marker; remaining benchmark work cannot be selected here.
video-silence-remover-authorized-continuation
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-authorized-continuation and carries its matching active lease. Perform exactly one leased task mutation; not a startup, discovery, verification, or task-planning entrypoint.
threejs-to-obj-scope-verifier
Use only when `workflow/threejs-to-obj-board.json` selects threejs-to-obj-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation, then immediately hand its still-unaccepted receipt to the return gate; not a startup, repair, task-planning, or final-acceptance entrypoint.