grid-dispatch-report-packet-binder
Bind the solved dispatch summary and approved most-heavily-loaded transmission line selections into one delivery-ready report.json packet for the grid dispatch operator workflow.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- grid-dispatch-report-packet-binder
- description
- Bind the solved dispatch summary and approved most-heavily-loaded transmission line selections into one delivery-ready report.json packet for the grid dispatch operator workflow.
02 资源文件 1
- 脚本scripts/bind_report_packet.py10.9 KB
03 SKILL.md 正文
Grid Dispatch Report Packet Binder
Chain Boundary
This is stage 3 only. It consumes the review artifact and emits the packet; it does not solve dispatch or write report.json.
Bind the reviewed dispatch summary and approved line-loading selections into the exact report.json payload without reopening network.json.
Required Input
Prerequisite artifact: workflow/grid_dispatch_line_review.json
Consume these reviewed keys: generator_dispatch_rows, totals, operating_margin_MW, approved_line_binding_table, line_loading_ledger
Binding surface kind: line_loading_cluster
Allowed output: workflow/resolved_grid_dispatch_report_packet.json
Next required skill: grid-dispatch-report-writer
Output Packet
Write workflow/resolved_grid_dispatch_report_packet.json with these top-level keys:
{
"report_json": {
"generator_dispatch": [],
"totals": {},
"most_loaded_lines": [],
"operating_margin_MW": 0.0
},
"packet_digest": "sha256...",
"line_binding_receipt": {},
"current_stage": "grid-dispatch-report-packet-binder",
"next_required_skill": "grid-dispatch-report-writer",
"allowed_outputs": ["workflow/resolved_grid_dispatch_report_packet.json"]
}
Bind The Report Packet
Run:
python3 /root/.codex/skills/grid-dispatch-report-packet-binder/scripts/bind_report_packet.py \
workflow/grid_dispatch_line_review.json \
workflow/resolved_grid_dispatch_report_packet.json
Successful binding prints:
next_required_skill=grid-dispatch-report-writerbinding_surface_kind=line_loading_cluster
This stage must:
- Reload
workflow/grid_dispatch_line_review.json. - Continue from
approved_line_binding_tableandline_loading_ledger. - Copy
generator_dispatch_rowsas the finalreport_json.generator_dispatch, plustotalsandoperating_margin_MW, exactly as approved. - Populate
report_json.most_loaded_linesby rank-ordering the approved binding rows and dereferencing eachcopied_from_line_handle. - Record a
line_binding_receiptthat keeps each rank slot,copied_from_line_handle, and written line fields together. - Write only
workflow/resolved_grid_dispatch_report_packet.json.
Scope ceiling:
- Do not reopen
/root/network.json. - Do not rescan raw branch loadings.
- Do not emit
/root/report.json. - Do not decide new line rankings in this stage.
Stop Condition
Stop when workflow/resolved_grid_dispatch_report_packet.json exists and local verification confirms:
report_jsonhasgenerator_dispatch,totals,most_loaded_lines, andoperating_margin_MW.most_loaded_linescount matchesapproved_line_binding_table.line_binding_receiptcount matches the bound line count.next_required_skillisgrid-dispatch-report-writer.
Count-Study Continuation
After this stage's local outputs are complete, read grid-dispatch-report-writer before continuing. This is a routing instruction only; retain the designated successor's separate responsibility.
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.