Project Observer
暂无简介
- License 许可
- MIT
- 所属仓库
- rhCat/skillChip
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- Project Observer
- perks
- [ "status", "redeem", "attest" ]
- skill
- cws-observe
02 资源文件 32
- 其他blueprint.drawio2.7 KB
- 参考文档blueprint.json3.8 KB
- 资产文件blueprint.svg8.9 KB
- 参考文档index.json3.5 KB
- 参考文档ledger.json593 B
- 参考文档perks.json797 B
- 参考文档perks/attest/manifesto.json461 B
- 参考文档perks/attest/metadata.json1.1 KB
- 参考文档perks/attest/src/contracts.json550 B
- 脚本perks/attest/src/cws_observe_attest.py4.4 KB
- 脚本perks/attest/src/cws_observe_attest.sh258 B
- 参考文档perks/attest/test/case.json613 B
- 参考文档perks/redeem/manifesto.json469 B
- 参考文档perks/redeem/metadata.json1.1 KB
- 参考文档perks/redeem/src/contracts.json552 B
- 脚本perks/redeem/src/cws_observe_redeem.py9.4 KB
- 脚本perks/redeem/src/cws_observe_redeem.sh258 B
- 参考文档perks/redeem/test/case.json515 B
- 参考文档perks/redeem/test/fixture/evidence/run-ledger.json204 B
- 参考文档perks/redeem/test/fixture/evidence/task-ledger.json132 B
- 参考文档perks/redeem/test/fixture/swarm/P0-T17.json208 B
- 参考文档perks/status/manifesto.json370 B
- 参考文档perks/status/metadata.json999 B
- 参考文档perks/status/src/contracts.json410 B
- 脚本perks/status/src/cws_observe_status.py8.3 KB
- 脚本perks/status/src/cws_observe_status.sh258 B
- 参考文档perks/status/test/case.json366 B
- 参考文档perks/status/test/fixture/swarm/_swarm_manifest.json300 B
- 参考文档perks/status/test/fixture/swarm/done-ledger.json370 B
- 参考文档perks/status/test/fixture/swarm/P0-T01.json203 B
- 参考文档perks/status/test/fixture/swarm/P0-T02.json262 B
- 参考文档perks/status/test/fixture/swarm/P0-T03.json293 B
03 SKILL.md 正文
cws-observe — Project Observer
The orchestrator/observer: it oversees a task-DAG's progress against the plan, and it is honest by
construction — a task is done only when it has been redeemed, never merely asserted. The plan's
governing rule (milestones doc): a milestone is redeemed, not asserted — its promise is denominated in a
verifiable artifact. This skill is where that rule is enforced for the whole swarm: it connects the DAG
to the validators (cws-*) and to a tamper-evident done-ledger.
statusreads the swarm (P*-T*.json+_swarm_manifest.json) and the done-ledger and classifies every task —redeemed(a chain-verified pass entry),ready(validator built + all deps redeemed),blocked:deps, orblocked:validator(itsvalidated_byskill isn't built yet). Validator availability is read from the live chip, so the picture updates itself as validators land. It rolls the manifest's milestones (M0–M6) up to closure and names the next pullable tasks.redeemis the only writer of the done-ledger, and it takes no one's word: it records a task's redemption only when a governedRUN_LEDGERshows its validator ran and passed (every step ok, no refusal event) — appending aprev-hash-chained entry{seq, ts, task_id, validator, verdict, evidence_sha, prev}. A flipped verdict breaks the chain, whichstatusreports asdone_ledger_chain: broken. The done-ledger guards itself the same way the run-ledger does.attestrecords an attributed human testimony — evidence a governed run cannot manufacture (an outsider completing a quickstart from public docs, a witnessed milestone). Whereredeemdemands a governed run,attestdemands attribution: it requiresATTESTED_BY(fail-closed on anonymity) and appends aprev-hash-chained entry{seq, ts, claim, attested_by, grade, evidence_sha, prev}to the attest-ledger. It records who said what, attributably and tamper-evidently; it does not verify the claim's truth — that is the honest boundary ofgrade: testimony.
This closes the loop the rest of the chip opens: the validators grade artifacts, redeem turns a passing
governed run into a redemption, and status reports progress no one can lie about — the same quis custodiet answer the validators give, applied to the project itself.
What to look out for
observe.json — {total, counts, next_pullable, validators_available, validators_missing, milestones, by_task, done_ledger_chain}. redeem.json — {task_id, validator, verdict, evidence_sha, seq} or
verdict: refused with a reason. A redeem refusal (nonzero exit) means the evidence did not show a
clean pass, or it came from the wrong validator. LOGS TO CHECK: that line + the report + the run-ledger.
Perks
| perk | tool | nature |
|---|---|---|
status |
cws_observe_status |
classify every task by redemption + roll up milestones — read-only / safe |
redeem |
cws_observe_redeem |
append a verified redemption to the done-ledger — writes only the done-ledger |
status— setSWARM_DIR(+ optionalDONE_LEDGER). Output:observe.json.redeem— setSWARM_DIR,TASK_ID,RUN_LEDGER(+ optionalDONE_LEDGER). Output:redeem.json.
Scope
Buildable now: it observes the DAG that exists and redeems against the validators that exist (a task whose
validator is unbuilt reads blocked:validator). It tracks structural done-state; it does not re-run the
validators (that is each validator's own job, and redeem's evidence). Tightening the validator-identity
binding for evidence that carries no task-ledger, and external done-ledger verification via cws-ledgercheck's
generic chain check, are follow-ups.
How to use it
Pick a perk, copy ledger.json → task-ledger.json, fill its vars + record_store, then validate →
compose → compile → oversight → executor.
04 同仓库更多 Skills
Vercel Deploy
暂无简介
Audio Transcribe
暂无简介
Speech (OpenAI TTS)
暂无简介
Skill Installer
暂无简介
demo-skill
A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.
demo-skill
A demo skill used as a test fixture for generating agents/openai.yaml. Use when validating the gen_openai_yaml perk.