flood-risk-analysis-flood-days-binder
Reload the approved station binding rows and flood-flag catalog, count April 1-7, 2025 flood days for the selected handle on each station row, and materialize `artifacts/flood-risk-analysis_results_packet.json` for `flood_results.csv` without writing the CSV yet.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- flood-risk-analysis-flood-days-binder
- license
- MIT
- description
- Reload the approved station binding rows and flood-flag catalog, count April 1-7, 2025 flood days for the selected handle on each station row, and materialize `artifacts/flood-risk-analysis_results_packet.json` for `flood_results.csv` without writing the CSV yet.
02 资源文件 1
- 脚本scripts/build_results_packet.py13.7 KB
03 SKILL.md 正文
Flood Days Binder
Use this after artifacts/flood-risk-analysis_station_continuity_note.json and artifacts/flood-risk-analysis_flood_flag_catalog.json exist.
Station Binding Artifacts
- Prerequisite artifact:
artifacts/flood-risk-analysis_station_continuity_note.json - Prerequisite artifact:
artifacts/flood-risk-analysis_flood_flag_catalog.json - Allowed output for this stage:
artifacts/flood-risk-analysis_results_packet.json - Next required skill:
flood-risk-analysis-csv-finalizer
Treat the reviewed station note as the authoritative row list for station_flood_days_csv_row_family. Reload its approved station binding rows from disk, look up the selected flood-flag handle in the catalog, and count flagged dates only inside April 1-7, 2025.
April 1-7 Flood Day Packet
Write artifacts/flood-risk-analysis_results_packet.json with these top-level keys:
current_stagecsv_columnsoutput_targetresolved_csv_rowsrow_provenancepacket_digestnext_required_skillallowed_outputs
resolved_csv_rows must contain only station_id and flood_days. Keep only rows with flood_days > 0, matching the task instruction. Do not write /root/output/flood_results.csv in this stage.
Build artifacts/flood-risk-analysis_results_packet.json
python skills/flood-risk-analysis-flood-days-binder/scripts/build_results_packet.py
Stop Before Writing flood_results.csv
Stop when artifacts/flood-risk-analysis_results_packet.json exists, next_required_skill is flood-risk-analysis-csv-finalizer, and the packet rows are derived from the reviewed artifacts. If either input artifact is missing or malformed, stop and repair the upstream artifact instead of reopening /root/data/michigan_stations.txt or re-fetching NWS or USGS data.
Count-Study Continuation
After this stage's local outputs are complete, read flood-risk-analysis-csv-finalizer 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.