weave
Orchestrator convergence: mine JSONLs, cite findings, route actions. Triggers: weave, run weave.
- License 许可
- Apache-2.0
- 所属仓库
- EtanHey/golems
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- weave
- description
- Orchestrator convergence: mine JSONLs, cite findings, route actions. Triggers: weave, run weave.
02 资源文件 46
- 参考文档EVAL.md8.7 KB
- 参考文档evals/evals.json6.1 KB
- 参考文档evals/fixtures/correction-sweep/CORRECTIONS.md2.0 KB
- 参考文档evals/fixtures/correction-sweep/tree-green/handoff.md730 B
- 参考文档evals/fixtures/correction-sweep/tree-red/handoff.md770 B
- 参考文档evals/fixtures/corrections-rate/denominators.json50 B
- 参考文档evals/fixtures/corrections-rate/expected.json2.8 KB
- 其他evals/fixtures/corrections-rate/missing-denominator.jsonl117 B
- 参考文档evals/fixtures/corrections-rate/missing-denominators.json33 B
- 其他evals/fixtures/corrections-rate/sample.jsonl924 B
- 其他evals/fixtures/corrections-rate/unknown-bucket.jsonl123 B
- 参考文档evals/fixtures/corrections-rate/zero-denominators.json19 B
- 其他evals/fixtures/findings-clean/sample.jsonl1.8 KB
- 其他evals/fixtures/findings-violations/sample.jsonl648 B
- 其他evals/fixtures/mine-context/user-message-count.jsonl1.7 KB
- 参考文档evals/fixtures/t3-fleet-state/converged.json1.0 KB
- 参考文档evals/fixtures/t3-fleet-state/live-2026-10-19-slim.json56.1 KB
- 参考文档evals/fixtures/t3-fleet-state/malformed.json45 B
- 参考文档evals/fixtures/t3-fleet-state/pending-question.json1.3 KB
- 参考文档evals/fixtures/t3-fleet-state/unsettled-result.json711 B
- 参考文档evals/fixtures/t3-fleet-state/working-child.json697 B
- 参考文档references/continuity-and-registry.md10.0 KB
- 参考文档references/outputs-and-coordination.md8.4 KB
- 参考文档references/run-lifecycle.md48.7 KB
- 参考文档references/topology.md6.7 KB
- 参考文档references/verification-and-discharge.md21.1 KB
- 脚本registry/validate-registry.sh3.5 KB
- 参考文档retros/README.md385 B
- 脚本scripts/__tests__/fixtures/cursor-agent.py1.3 KB
- 脚本scripts/__tests__/test_convergence_gate.py16.8 KB
- 脚本scripts/__tests__/test_correction_sweep.py7.3 KB
- 脚本scripts/__tests__/test_corrections_rate.py1.8 KB
- 脚本scripts/__tests__/test_fanout_cache_shape.py6.1 KB
- 脚本scripts/__tests__/test_loop_miner_brief.py2.0 KB
- 脚本scripts/__tests__/test_prepare_mine_context.py2.7 KB
- 脚本scripts/__tests__/test_t3_fleet_state.py32.4 KB
- 脚本scripts/__tests__/test_weave_loop.py12.8 KB
- 脚本scripts/convergence-gate.sh10.8 KB
- 脚本scripts/correction-sweep.py13.5 KB
- 脚本scripts/corrections-rate.py4.9 KB
- 脚本scripts/prepare-mine-context.py8.6 KB
- 脚本scripts/t3-fleet-state.py17.8 KB
- 脚本scripts/validate-dispatch-brief.py2.2 KB
- 脚本scripts/weave_loop.py12.4 KB
- 脚本scripts/weave-ledger.py13.0 KB
- 脚本scripts/weave-run.py11.2 KB
03 SKILL.md 正文
/weave
Version: v1.3
At convergence, fan out deep cross-session mining, then prove each finding turned into a real change — or kill it.
/weave is an orchestrator-only convergence skill. Workers do not self-invoke
it. It mines across recent Claude and Codex sessions, verifies the findings, and
routes every finding through an action ledger. The ledger's strict
conversion-to-change metric is the anti-waste spine: fan-out without disposition
and verified change is not convergence.
Non-negotiable law
- A weave run uses the formal skill through
skillcreator; no ad-hoc "lite weave." - The harness, high-importance routed conclusions, conversion metrics, registry
transitions, and retro are committed artifacts. Scratch digests and findings
may be regenerated; conclusions may not live only in
docs.local/. - Gather runs off-Claude; Claude performs judgment.
/agent-routingreferences/model-and-effort.md§ Decide From the Mission owns model/effort choice; quota-probe before launch, preserve worker lineage. For Cursor, use T3delegate_taskwithtarget: {providerInstanceId: "cursor", model: "default"}(Auto). One pointer brief per child; each reports to the collab. No AutoCursor, headless CLI fan-out or background Cursor loops. - New/manual dispatches give each miner K sessions with a STATIC-first prompt (centerpieces
keep a dedicated miner; cache shape),
centerpieces first, in bounded waves. The retained legacy cursor runner is not a route
for new work (see
/cursor-workflows). Expand one flat frontier per depth; never nestparallel()calls. - Rounds create rounds; stop after 2 non-empty dry rounds, the second a confirmation sweep (or explicit confirmation exhaustion); synthesis last; caps are backstops (§2a). A zero-agent work batch is a coverage defect.
- Disk artifacts outrank agent receipts. Missing miner outputs are re-mined.
- Every finding needs cited evidence and a disposition. "Never landed" claims
require live
gh/git verification. - After synthesis, run the mandatory Red/Blue/Red fact-check until dry, apply corrections everywhere, discharge every skill edit, update the rule registry, and let the final boss—not the workflow—decide whether the loop may finish.
- Re-score the prior run against what actually landed. Re-poll terminal state at
write time; stamps come from
date; every write gets same-turn read-back. - The successor reads the entire weave, corrections, discharge table, and every BROKEN-OPEN registry row, then ACKs them item by item.
- Keep this frontmatter
descriptionat 1024 characters or fewer; an over-long description silently skip-loads the skill (weave's own 1272-char description tripped this). [g1:86 → 2026-05-31.md:69]
Trigger and decision table
| Situation | Action |
|---|---|
| "weave" | Arm the skill, run scripts/convergence-gate.sh with the fleet's mode, and wait. Never auto-fire. In a T3 fleet that means the §1.1 capture, then --fleet t3 --t3-state <file> --t3-projects "<ids>". Inside T3 with cmux on PATH, auto checks both fleets. |
| "weave now" | Fire immediately, skipping the gate. Operator override — use only when the operator knows the fleet is quiet. |
| Gate path | Require 0 open fleet PRs, idle and settled workers, no in-flight Codex, RAM headroom, and explicit demo approval. Prefer orc's SENTINEL over raw PR count when present. |
T3 fleet (leads/workers are T3 threads or delegate_task children) |
Capture the weave-t3-fleet/v1 snapshot (references/run-lifecycle.md §1.1): t3_thread_list for every fleet project, task_status per task, t3_thread_read per child the listing misses, t3_pending_request_list for your own thread. Then run the gate with --fleet t3 --t3-state <file> --t3-projects "<ids>". It passes only when convergence is proven: any working, waiting or unknown state, missing field, duplicate row, unswept project or missing child blocks. A result_available task whose worker thread is unsettled blocks too: settle it first. |
| cmux fleet | Run the gate with --fleet cmux; it reads cmux list-status pane idleness. |
| Gate cannot detect a fleet | BLOCKED. Pass --fleet and its input; never treat "nothing to check" as converged. |
| Small corpus (about 10 sessions or fewer) | Flat fan-out may be appropriate; still verify on disk and loop until dry. |
| Large or centerpiece-heavy corpus | Use staged mining, with centerpiece digests first and later rounds seeded by earlier findings. |
| Finding is a failure | Add evidence-cited cause_layer and route the fix to code, instructions, or tool description. |
| Skill edit/new candidate | End APPLIED, DISPATCHED with acknowledged owner, or TRACKED with evidence; no fourth state. |
| Live sessions grow during the run | Run the delta wave and re-aggregate before close. |
| Roadmap-only model-change tracking | Do not block the run or claim it is implemented. |
Phase gates
- Enter through the fleet-canon-#7 claim/guard contract;
/collab-monitorowns the concrete watcher. - Converge, discover, prepare, batch, mine, and verify files on disk.
- Aggregate the ledger; report both strict and refined conversion metrics.
- Re-score the prior run, red-team every load-bearing claim, and propagate corrections.
- Discharge every edit, emit verified intent briefs and grill carryover, then run the delta wave.
- Update the committed retro and rule registry, perform full relay, and exit only through the final boss.
Read the relevant reference
- Running the gate (T3 snapshot schema: §1.1; cmux fleet: §1.2), discovery, mining, dispatch, delta wave, or miner contract? Read references/run-lifecycle.md.
- Aggregating, re-scoring, red-teaming, correcting, discharging edits, or computing correction rates? Read references/verification-and-discharge.md.
- Emitting track intents, self-QA gates, grill carryover, name claims, or monitors? Read references/outputs-and-coordination.md.
- Writing retros, model-change roadmap notes, registry transitions, or checking the artifact inventory? Read references/continuity-and-registry.md.
- Choosing flat versus staged topology, batch width, or centerpiece ordering? Read references/topology.md.
Cross-skill routing
/skill-creatorowns the session-mining engine and skill evaluation./agent-routing§ Review routing owns review topology; never start a reviewer yourself./large-planreceives mined track intents; domain leads author the plans./never-fabricateowns evidence and verification discipline./pr-loopowns PR conversion and review handling./orcowns convergence detection and miner dispatch.- Fleet canon #7 owns lead/orchestrator monitor law;
/collab-monitorowns the concrete watcher.
04 同仓库更多 Skills
yash
Push dependency bugs upstream. Triggers: dependency bug, workaround, monkey-patch, fork/fix. NOT app bugs.
whats-new
Diff Claude/Codex/Cursor/Wispr/agy changelogs vs local setup. Triggers: whats new, changelog, version bump.
unslop
Cut AI tells while keeping every receipt, number, path, and hedge intact. Triggers: unslop, cut the slop, wall of text, too verbose, rambly, make this readable. NOT for delivery cadence (see i-have-adhd), channel choice, or artifact length governance.
tmp-block
Guard denying durable writes to /tmp, /private/tmp, /var/folders, $TMPDIR; enforces <repo>/.worktrees/<name>. Triggers: tmp guard, TMP-BLOCK deny, WORKTREE-CONVENTION deny, bypass ledger. NOT for storage policy.
t3-visuals
Show/visualize/chart/diagram/compare/status board in T3 with compact interactive HTML. Not standalone dashboards.
stitch-design
Use Google Stitch for design-to-code prototypes/tokens, then implement. Triggers: Stitch, screen prototypes.