mars-clouds-frontier-csv-finalizer
Stage 4 only: write the existing resolved packet to /root/pareto_frontier.csv and emit a receipt; do not recompute earlier stages.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- mars-clouds-frontier-csv-finalizer
- description
- Stage 4 only: write the existing resolved packet to /root/pareto_frontier.csv and emit a receipt; do not recompute earlier stages.
02 资源文件 1
- 脚本scripts/write_frontier_csv.py10.0 KB
03 SKILL.md 正文
Mars Clouds Pareto Frontier CSV Finalizer
Chain Execution Rule
This is stage 4 only. Invoke the writer against the existing packet, write the receipt, and stop. Do not create or run a script that recomputes any earlier stage.
Use this skill when artifacts/resolved_pareto_frontier_packet.json already exists and the remaining work is to write the final Pareto frontier CSV for the Mars cloud clustering task.
Inputs
- Prerequisite artifact:
artifacts/resolved_pareto_frontier_packet.json - Required packet keys:
resolved_frontier_rows,row_write_order - Surface contract: if
binding_contractis present, requirebinding_contract.binding_surface_kind == "pareto_frontier_row_family"
This stage does not rerun DBSCAN, greedy matching, or Pareto filtering. The packet is the accepted computational result at this point; this stage only writes its resolved frontier rows to the verifier-visible CSV sink and then stops.
Write /root/pareto_frontier.csv
Run:
python skills/mars-clouds-frontier-csv-finalizer/scripts/write_frontier_csv.py \
--packet artifacts/resolved_pareto_frontier_packet.json \
--output /root/pareto_frontier.csv \
--receipt artifacts/mars-clouds-frontier_write_receipt.json
Writer rules:
- Use
resolved_frontier_rowsinrow_write_orderas the sole source of truth. - Write the header exactly as
F1,delta,min_samples,epsilon,shape_weight. - Write only the packet-resolved values for
F1,delta,min_samples,epsilon, andshape_weight. - Preserve fixed formatting from the resolved packet surface:
F1anddeltato 5 decimals,shape_weightto 1 decimal,min_samplesandepsilonas integers. - If the packet is missing or malformed, stop and repair it upstream. Do not reopen raw data, independently recompute the frontier, compare the CSV with raw-derived rows, or change a packet-resolved value.
Output Contract
Allowed outputs:
/root/pareto_frontier.csvartifacts/mars-clouds-frontier_write_receipt.json
The receipt must include:
packet_pathoutput_csv_pathwritten_row_countwritten_values_match_packetterminal_frontier_row_handleterminal_primary_metric_fragment_handlecurrent_stagenext_required_skillallowed_outputscompletion_status
Workflow status:
current_stage:mars-clouds-frontier-csv-finalizernext_required_skill:nullallowed_outputs:/root/pareto_frontier.csv,artifacts/mars-clouds-frontier_write_receipt.jsoncompletion_status:completed
Stop Condition
Stop after:
/root/pareto_frontier.csvexists with the required header- the written row count matches
row_write_order written_values_match_packetistrueartifacts/mars-clouds-frontier_write_receipt.jsonis written
If the packet is missing or malformed, stop in this stage instead of reopening /root/data/citsci_train.csv or /root/data/expert_train.csv. Otherwise, stop immediately after the packet-to-file receipt; no independent raw-data verification follows finalization.
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.