pdf-excel-diff-wob-k2-consumer-writer
Combine frozen WOB workflow roles while preserving the producer-to-packet boundary.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- pdf-excel-diff-wob-k2-consumer-writer
- description
- Combine frozen WOB workflow roles while preserving the producer-to-packet boundary.
02 资源文件 2
- 脚本scripts/build_packet.py6.9 KB
- 脚本scripts/write_diff_report.py5.7 KB
03 SKILL.md 正文
Combined WOB Workflow Stage
Execute component roles below in order. A component instruction that routes to another component in this same skill is an internal checkpoint: continue directly to the next component and do not read a separate skill. Do not reinterpret a sealed non-self binding or replace the packet consumer's responsibility.
Combined role: employee-diff-report-packet-binder
Inputs
employee_diff_binding_note.json- required keys:
current_stage,next_required_skill,allowed_outputs,deleted_employee_ids,approved_fragment_binding_table,modified_employee_fragment_catalog
Output
employee_diff_resolved_packet.json- packet keys:
current_stage,next_required_skill,allowed_outputs,deleted_employees,modified_employees,packet_source_handles
Run
This stage is the first place visible modified_employees rows are assembled from approved fragment handles.
Prerequisite artifact: employee_diff_binding_note.json
Current-stage output: employee_diff_resolved_packet.json
Next required skill: employee-diff-report-writer
Recommended command:
python skills/pdf-excel-diff-wob-k2-consumer-writer/scripts/build_packet.py employee_diff_binding_note.json employee_diff_resolved_packet.json
Status
current_stage:employee_diff_packet_bindernext_required_skill:employee-diff-report-writerallowed_outputs: [/root/diff_report.json]
Stop
Stop after the packet is written and the packet-local checks pass.
Rules
- Expand the approved fragment handles into visible
deleted_employeesandmodified_employees. - Keep
idandfieldfixed on each visible modification row. - For a non-self row, use
copied_from_fragment_handlefirst. - For a self-bound row, use
row_local_fragment_handle. - Sort the visible lists by employee ID before writing.
- Emit
packet_source_handleswith the handle data the writer needs. - Do not emit
/root/diff_report.jsonhere.
Combined role: employee-diff-report-writer
Employee Diff Report Writer
Use this when employee_diff_resolved_packet.json exists and its next_required_skill is employee-diff-report-writer.
Resolved Diff Report Packet
- Input artifact:
employee_diff_resolved_packet.json - Gate fields:
current_stage=employee_diff_packet_binder,next_required_skill=employee-diff-report-writer - Consume exact keys:
current_stage,next_required_skill,allowed_outputs,deleted_employees,modified_employees,packet_source_handles - Allowed output:
/root/diff_report.json - Next required skill after this stage: none
Write Command
python3 skills/pdf-excel-diff-wob-k2-consumer-writer/scripts/write_diff_report.py \
employee_diff_resolved_packet.json \
/root/diff_report.json
/root/diff_report.json Output
- Read only
employee_diff_resolved_packet.json. - Write
/root/diff_report.jsonwith exactlydeleted_employeesandmodified_employeesin packet order. - Fail closed if the packet is missing a required key, if employee IDs are not sorted, or if
Salary,Years, orScorevalues are not numeric. - Emit
packet_write_count_matchandwritten_values_match_packetafter the file is written.
Stop Condition
- Stop when
/root/diff_report.jsonexists, parses as JSON, and the helper reports both packet checks. - Do not create new workflow artifacts in this stage.
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.