README Source History Refs Reviews Compare Notes Search Review guide chore: harness-agnostic skills, CLAUDE.md rename, rule-surface audit (#5) 57880ae2aaae9ebff9a923f2e52fdd553e0e4bd8
Oliver Jan Krylow <oliver@bugabinga.net > · 16 Jul 2026
SSH signature · not checked
Browse files Compare with HEAD
* chore: make slash commands harness-agnostic skills
The four pi prompts (smith, pioneer, handmade, sabotnik) are now
defined once in .claude/skills/<name>/SKILL.md — readable by both
Claude Code (Skill tool, disable-model-invocation: true = slash-only)
and pi (.pi/prompts/ become thin adapters that defer to the skill and
hand $ARGUMENTS through). Argument handling is phrased harness-
neutrally in the canonical bodies since pi substitutes $ARGUMENTS
inline while Claude passes args alongside the invocation.
Stale/conflicting content fixed in the translation:
- smith: dead design-docs reference dropped; the altitude rule (named
shapes not code, exact at boundaries) is now part of the standing
spec-work instructions,
- pioneer: dead design-docs reference dropped; the campaign workflow
(PLAN.md section -> prototype -> verify commands -> result block)
is now the stated practice,
- output-contract conflict resolved in favor of Markdown (the d671fe2
intent): prototypes/AGENTS.md and the PLAN.md reporting template now
require the pioneer Markdown shape; pre-2026-07-16 JSON result
blocks stand as historical records,
- AGENTS.md rule 5 fixed: the command is /smith, not /spec, and the
single-source skill layout is documented.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB
* chore: rename AGENTS.md to CLAUDE.md repo-wide; skills model-invocable
- AGENTS.md -> CLAUDE.md at root, prototypes/, and docs/research/;
every reference updated (SPEC.md carried none; PROJECT-INVARIANTS,
PLAN.md, and the smith/pioneer skills did),
- disable-model-invocation removed from all four skills: they are now
both user-invocable via slash and available for model invocation,
- PROJECT-INVARIANTS change log updated (user-directed edit).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB
* docs: audit rule surfaces for essential/minimal/true/current
Fixes from auditing all CLAUDE.md files and skills:
- root CLAUDE.md: "no code until specs final" was false since campaign 1
(13 sanctioned prototype crates exist) — scoped to production code,
with the prototypes/ exemption citing SPEC §18 (phase line + rule 1);
Source-of-Truth list structure repaired (orphaned invariants bullet),
prototypes/ added to the index,
- prototypes/CLAUDE.md + pioneer skill: "delete throwaway work"
contradicted two campaigns of practice — completed prototypes are
KEPT as evidence (locked deps, verify commands, PLAN result block);
only scratch that never became a plan entry is deleted. Canonical-
contract path corrected to ../.claude/...,
- research CLAUDE.md: sparse-clone location decoupled from the
pi-specific home path; the no-SPEC-references rule gained the
supersession-pointer exception the reconciliation notes already rely
on (stale research must not masquerade as current).
smith/handmade/sabotnik skills and the Locked Decisions table audited
clean — no changes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB
---------
Co-authored-by: Claude <noreply@anthropic.com> Changed files (16) Diff layout Auto Unified Split
.claude/skills/handmade/SKILL.md Added new file mode 100644+78 / −0 text lines
3 + description: Improve code by compressing duplication, bad abstractions, and needless concepts into clearer DRY designs. Invoke with a code area or files, e.g. /handmade smith-core/src/session.6 + # Handmade — design compression 8 + You improve code by reducing duplicated logic and accidental complexity.9 + This is DRY/design compression, not code golf.13 + Find places where code can become smaller, clearer, and more powerful by14 + removing repetition, merging needless layers, or extracting the right15 + abstraction. Preserve behavior, tests, and public APIs unless the user16 + explicitly approves a breaking change.18 + Focus on the arguments provided with the invocation (the code area or files19 + to improve). If none were given, ask.23 + - Near-duplicate functions, modules, data shapes, errors, tests, and command25 + - Boilerplate that should be a helper, trait, enum, macro, table, or27 + - Overbroad abstractions that hide simple control flow.28 + - Under-abstracted repeated logic that risks drift.29 + - Needless wrappers, pass-through methods, dead layers, and repeated31 + - Stringly typed domains that should use enums, newtypes, or typed config.35 + - Prefer small composable modules and explicit interfaces.36 + - Preserve ownership clarity; do not add `clone`, `Arc`, `Mutex`, or dynamic37 + dispatch unless justified.38 + - Keep error handling explicit with `Result` and `?`.39 + - Keep public API stable unless migration is planned.40 + - Benchmark before performance-motivated compression.44 + - Read local patterns before proposing abstractions.45 + - Favor one good abstraction over many clever ones.46 + - Keep edits behavior-preserving by default.47 + - Run focused tests or explain why tests could not run.48 + - When risk is high, propose staged migration instead of broad rewrite.52 + Return Markdown, not JSON.58 + complete | blocked | failed60 + ## Compression Candidates62 + - Duplication: what repeats or bloats63 + - Proposal: simpler shared shape64 + - Benefit: less drift, fewer concepts, smaller surface65 + - Risk: behavior/public API/perf risk68 + - files changed or proposed.claude/skills/pioneer/SKILL.md Added new file mode 100644+82 / −0 text lines
3 + description: Verify spec claims by proving or disproving them with isolated, disposable prototypes under prototypes/. Invoke with a spec section or claim, e.g. /pioneer §6.9 fold edge cases.6 + # Pioneer — spec validation prototypes 8 + You validate specifications with small, disposable prototypes.12 + Prove whether spec claims are implementable before production code is written.13 + Use prototypes to expose missing interfaces, bad assumptions, API friction,14 + dependency risks, test gaps, and contradictory requirements.16 + Focus on the arguments provided with the invocation (the spec section or17 + claim to prove). If none were given, ask.21 + The established campaign practice (see `prototypes/PLAN.md`):23 + 1. Add a plan section for the prototype: claims, risk, minimal artifact,24 + verify commands, pass evidence, SPEC impact.25 + 2. Implement under `prototypes/pNN-<name>/` — tiny, one claim per prototype.26 + 3. Every prototype has verify commands that exit 0 with PASS lines.27 + 4. Record a result block in `prototypes/PLAN.md` and report spec defects28 + from evidence, not taste.32 + - Read `CLAUDE.md` and `prototypes/CLAUDE.md` first, then the relevant33 + `docs/SPEC.md` sections.34 + - Build only isolated proofs under `prototypes/` or a temporary directory.35 + - Do not edit production crates or canonical specs unless explicitly asked.36 + - Keep prototypes tiny: one claim, one risk, one repro.37 + - Prefer compile checks, focused tests, and minimal runnable examples over38 + broad implementation.39 + - Completed prototypes are kept as evidence (locked deps, verify commands,40 + result block in `prototypes/PLAN.md`); delete only scratch that never45 + - Verify predictable APIs, type safety, and dependency fit.46 + - Check error paths use explicit results, not casual `unwrap`, `expect`, or48 + - Encode invariants with types/newtypes where the spec requires domain safety.49 + - Test behavior boundaries and failure modes.50 + - Benchmark only when performance claims exist.54 + Return Markdown, not JSON.60 + complete | blocked | failed63 + - spec claims supported by prototype evidence66 + - spec claims contradicted by prototype evidence70 + - Issue: what spec must clarify or change71 + - Evidence: prototype path, command, compiler/test result72 + - Severity: P0 | P1 | P2 | P374 + ## Prototype Artifacts81 + - concrete spec or design actions.claude/skills/sabotnik/SKILL.md Added new file mode 100644+87 / −0 text lines
3 + description: Improve LLM-generated Rust by replacing slop with expert, type-driven, tested code. Invoke with a code area or patch, e.g. /sabotnik smith-ai/src/oauth.rs.8 + You find and improve LLM-generated Rust/code. You turn plausible-looking slop9 + into expert-grade implementation.13 + Detect code that looks generated, overconfident, overbroad, under-tested, or14 + non-idiomatic. Rewrite it toward predictable APIs, type safety,15 + dependability, documented failure modes, minimal unsafe, and focused tests.17 + Focus on the arguments provided with the invocation (the code area or patch18 + to deslop). If none were given, ask.22 + - Plausible but unverified APIs, hallucinated functions, or bad crate feature24 + - Overbroad abstractions, needless traits, generic soup, pass-through layers,26 + - Duplicated near-identical logic with small naming changes.27 + - Stringly typed/domain-weak data instead of enums, newtypes, or validated29 + - Excessive `clone`, `Arc`, `Mutex`, boxing, dynamic dispatch, or global31 + - Async mistakes: lock across `.await`, wrong trait bounds, blocking work in33 + - `unwrap`, `expect`, `panic`, swallowed errors, or vague `anyhow` where34 + domain errors are needed.35 + - Missing docs, missing tests, untested error paths, and unverified security37 + - Unsafe misuse or unsafe without clear safety contract.38 + - Insecure input/path/shell/env handling.40 + ## Expert Rust Rewrite Bar 42 + - Make invalid states hard or impossible to represent.43 + - Use narrow APIs with explicit ownership and lifetimes.44 + - Use `Result` plus `?`; document errors, panics, and safety invariants.45 + - Prefer simple concrete types until abstraction earns its keep.46 + - Remove unused code and needless layers.47 + - Add behavior-boundary tests for success and failure paths.48 + - Benchmark before optimizing.52 + - Verify before rewriting: inspect call sites, tests, and public API surface.53 + - Prefer surgical edits over style churn.54 + - Preserve behavior unless a bug is proven.55 + - Call out breaking changes and migration path.56 + - If code may be security-sensitive, slow down and state risk clearly.60 + Return Markdown, not JSON.66 + complete | blocked | failed70 + - Pattern: LLM slop pattern found71 + - Evidence: specific code symptom72 + - Severity: P0 | P1 | P2 | P376 + - Change: expert Rust improvement77 + - Why: type safety, dependability, clarity, or testability gain80 + - behavior, API, security, or migration risks.claude/skills/smith/SKILL.md Added new file mode 100644+47 / −0 text lines
3 + description: Create or refine the smith spec (docs/SPEC.md). Markdown only, no code. Invoke with a topic, e.g. /smith compaction thresholds.8 + Create or edit `docs/SPEC.md` only.10 + No `.rs`, `.toml`, scripts.12 + Focus on the arguments provided with the invocation (the spec topic). If no13 + topic was given, ask for one.15 + Spec content must state desired project behavior — interfaces, data, errors,16 + tests — **as named shapes and behavior, not code**. Exact only at boundaries17 + others program against (files, wire formats, CLI, config, Lua SDK); code18 + blocks are illustrative unless the section says otherwise. See `CLAUDE.md`19 + rule 3 and SPEC §1 "Exact at boundaries, shapes inside".21 + Read `CLAUDE.md` and `docs/SPEC.md` first. `docs/research/` is evidence,22 + non-normative. Stay consistent with `docs/PROJECT-INVARIANTS.md`.24 + Stop and ask on architectural decisions.27 + End with Markdown, not JSON:31 + complete | blocked | needs-user-input.pi/prompts/handmade.md Modified +3 / −73 text lines
4 4 argument-hint: <code area or files to improve>argument-hint: <code area or files to improve>7 + Read `.claude/skills/handmade/SKILL.md` and follow it as your instructions.8 + It is the canonical, harness-agnostic definition of this command.9 - You are a coding agent that improves code by reducing duplicated logic and10 - accidental complexity.11 - This is DRY/design compression, not code golf.15 - Find places where code can become smaller, clearer, and more powerful by16 - removing repetition, merging needless layers, or extracting the right18 - Preserve behavior, tests, and public APIs unless user explicitly approves a25 - - Near-duplicate functions, modules, data shapes, errors, tests, and command27 - - Boilerplate that should be a helper, trait, enum, macro, table, or data-driven29 - - Overbroad abstractions that hide simple control flow.30 - - Under-abstracted repeated logic that risks drift.31 - - Needless wrappers, pass-through methods, dead layers, and repeated33 - - Stringly typed domains that should use enums, newtypes, or typed config.37 - - Prefer small composable modules and explicit interfaces.38 - - Preserve ownership clarity; do not add `clone`, `Arc`, `Mutex`, or dynamic39 - dispatch unless justified.40 - - Keep error handling explicit with `Result` and `?`.41 - - Keep public API stable unless migration is planned.42 - - Benchmark before performance-motivated compression.46 - - Read local patterns before proposing abstractions.47 - - Favor one good abstraction over many clever ones.48 - - Keep edits behavior-preserving by default.49 - - Run focused tests or explain why tests could not run.50 - - When risk is high, propose staged migration instead of broad rewrite.54 - Return Markdown, not JSON.60 - complete | blocked | failed62 - ## Compression Candidates64 - - Duplication: what repeats or bloats65 - - Proposal: simpler shared shape66 - - Benefit: less drift, fewer concepts, smaller surface67 - - Risk: behavior/public API/perf risk70 - - files changed or proposed10 + Where it says "the arguments provided with the invocation", use: $ARGUMENTS.pi/prompts/pioneer.md Modified +3 / −64 text lines
4 4 argument-hint: <spec or claim to prove>argument-hint: <spec or claim to prove>7 + Read `.claude/skills/pioneer/SKILL.md` and follow it as your instructions.8 + It is the canonical, harness-agnostic definition of this command.9 - You are a coding agent that validates specifications with small, disposable14 - Prove whether spec claims are implementable before production code is written.15 - Use prototypes to expose missing interfaces, bad assumptions, API friction,16 - dependency risks, test gaps, and contradictory requirements.22 - - Read `AGENTS.md` first, then relevant specs/design docs.23 - - Build only isolated proofs under `prototypes/` or a temporary directory.24 - - Do not edit production crates or canonical specs unless explicitly asked.25 - - Keep prototypes tiny:26 - one claim, one risk, one repro.27 - - Prefer compile checks, focused tests, and minimal runnable examples over broad29 - - Delete or mark throwaway work when done unless user asks to keep it.30 - - Report spec defects from prototype evidence, not taste.34 - - Verify predictable APIs, type safety, and dependency fit.35 - - Check error paths use explicit results, not casual `unwrap`, `expect`, or37 - - Encode invariants with types/newtypes where the spec requires domain safety.38 - - Test behavior boundaries and failure modes.39 - - Benchmark only when performance claims exist.43 - Return Markdown, not JSON.49 - complete | blocked | failed52 - - spec claims supported by prototype evidence55 - - spec claims contradicted by prototype evidence59 - - Issue: what spec must clarify or change60 - - Evidence: prototype path, command, compiler/test result61 - - Severity: P0 | P1 | P2 | P363 - ## Prototype Artifacts70 - - concrete spec or design actions10 + Where it says "the arguments provided with the invocation", use: $ARGUMENTS.pi/prompts/sabotnik.md Modified +3 / −82 text lines
4 4 argument-hint: <code area or patch to deslop>argument-hint: <code area or patch to deslop>7 + Read `.claude/skills/sabotnik/SKILL.md` and follow it as your instructions.8 + It is the canonical, harness-agnostic definition of this command.9 - You are a coding agent specialized in finding and improving LLM-generated11 - You turn plausible-looking slop into expert-grade implementation.15 - Detect code that looks generated, overconfident, overbroad, under-tested, or17 - Rewrite it toward predictable APIs, type safety, dependability, documented18 - failure modes, minimal unsafe, and focused tests.24 - - Plausible but unverified APIs, hallucinated functions, or bad crate feature26 - - Overbroad abstractions, needless traits, generic soup, pass-through layers,28 - - Duplicated near-identical logic with small naming changes.29 - - Stringly typed/domain-weak data instead of enums, newtypes, or validated31 - - Excessive `clone`, `Arc`, `Mutex`, boxing, dynamic dispatch, or global state.33 - lock across `.await`, wrong trait bounds, blocking work in async paths.34 - - `unwrap`, `expect`, `panic`, swallowed errors, or vague `anyhow` where domain36 - - Missing docs, missing tests, untested error paths, and unverified security38 - - Unsafe misuse or unsafe without clear safety contract.39 - - Insecure input/path/shell/env handling.41 - ## Expert Rust Rewrite Bar 43 - - Make invalid states hard or impossible to represent.44 - - Use narrow APIs with explicit ownership and lifetimes.45 - - Use `Result` plus `?`; document errors, panics, and safety invariants.46 - - Prefer simple concrete types until abstraction earns its keep.47 - - Remove unused code and needless layers.48 - - Add behavior-boundary tests for success and failure paths.49 - - Benchmark before optimizing.53 - - Verify before rewriting:54 - inspect call sites, tests, and public API surface.55 - - Prefer surgical edits over style churn.56 - - Preserve behavior unless a bug is proven.57 - - Call out breaking changes and migration path.58 - - If code may be security-sensitive, slow down and state risk clearly.62 - Return Markdown, not JSON.68 - complete | blocked | failed72 - - Pattern: LLM slop pattern found73 - - Evidence: specific code symptom74 - - Severity: P0 | P1 | P2 | P378 - - Change: expert Rust improvement79 - - Why: type safety, dependability, clarity, or testability gain82 - - behavior, API, security, or migration risks10 + Where it says "the arguments provided with the invocation", use: $ARGUMENTS.pi/prompts/smith.md Modified +3 / −39 text lines
4 4 argument-hint: "[topic]"argument-hint: "[topic]"7 - Create or edit `docs/SPEC.md` only.9 - No `.rs`, `.toml`, scripts.7 + Read `.claude/skills/smith/SKILL.md` and follow it as your instructions.8 + It is the canonical, harness-agnostic definition of this command.13 - Spec content must state desired project behavior:20 - Read `AGENTS.md`, `docs/SPEC.md`, and related design/research docs first.21 - Stay consistent with `docs/PROJECT-INVARIANTS.md`.23 - Stop and ask on architectural decisions.26 - End with Markdown, not JSON:30 - complete | blocked | needs-user-input10 + Where it says "the arguments provided with the invocation", use: $ARGUMENTSdeleted file mode 100644+0 / −54 text lines
3 - Rust coding agent TUI. Phase: spec/planning. No code until specs are final.8 - smith/ (types, StreamFn, AgentTool, Lua, config)9 - → smith-ai/ | smith-core/ | smith-tui/ (parallel)10 - → smith-harness/ (wiring, plugins, SDK)11 - → smith-cli/ (binary)16 - | Decision | Rationale |17 - |----------|-----------|18 - | Latest stable Rust, ed. 2024 | Rolling MSRV follows stable compiler |19 - | mlua + LuaJIT | Performance, coroutines |20 - | CBOR sessions | Compact, binary-safe |21 - | Secret proxy (no keychain) | Cross-platform |22 - | XDG dirs | Linux standards |23 - | jj VCS | Modern DVCS |24 - | StreamFn abstraction | Decouples agent from providers |25 - | Lua plugins with sandbox | Safe extensibility |26 - | Rust widgets, Lua layout | Performance + flexibility |27 - | Cargo-only build system | Single entry point, no make/just/scripts |31 - AGENTS.md is a navigation index. Do not mirror individual source-of-truth file32 - lists here; use the canonical directories and docs tree instead.34 - - Spec: `docs/SPEC.md` — canonical project specification.35 - - Research: `docs/research/` — ecosystem research and tool analysis.36 - - Plans: `docs/plans/` — task breakdowns and documentation plans.38 - Former `docs/design/` subsystem docs and the P1–P20 prototype report are fully39 - absorbed into `docs/SPEC.md` and deleted (see git history).40 - - Docs tree and invariants: `docs/PROJECT-INVARIANTS.md` — build system,41 - directory structure, coding standards, and canonical docs inventory.45 - 1. Spec before code. No `.rs` files until `docs/SPEC.md` covers the work.46 - 2. AGENTS.md is the navigation index. `docs/SPEC.md` is the canonical project spec.47 - 3. Every spec section answers: interfaces, data, errors, tests — as named48 - shapes and behavior, not code. Exact only at boundaries others program49 - against (files, wire formats, CLI, config, Lua SDK); code blocks are50 - illustrative unless the section says otherwise.51 - 4. Open questions: stop and ask. No guessing.52 - 5. Invoke spec work: `/spec <topic>`.53 - 6. Cargo is the sole build system. See `docs/PROJECT-INVARIANTS.md` §1.54 - 7. Agents must not modify `docs/SPEC.md` or `docs/PROJECT-INVARIANTS.md` without approval.
new file mode 100644+62 / −0 text lines
3 + Rust coding agent TUI. Phase: spec/planning. No production code until specs4 + are final; disposable spec-validation prototypes live under `prototypes/`10 + smith/ (types, StreamFn, AgentTool, Lua, config)11 + → smith-ai/ | smith-core/ | smith-tui/ (parallel)12 + → smith-harness/ (wiring, plugins, SDK)13 + → smith-cli/ (binary)18 + | Decision | Rationale |19 + |----------|-----------|20 + | Latest stable Rust, ed. 2024 | Rolling MSRV follows stable compiler |21 + | mlua + LuaJIT | Performance, coroutines |22 + | CBOR sessions | Compact, binary-safe |23 + | Secret proxy (no keychain) | Cross-platform |24 + | XDG dirs | Linux standards |25 + | jj VCS | Modern DVCS |26 + | StreamFn abstraction | Decouples agent from providers |27 + | Lua plugins with sandbox | Safe extensibility |28 + | Rust widgets, Lua layout | Performance + flexibility |29 + | Cargo-only build system | Single entry point, no make/just/scripts |33 + CLAUDE.md is a navigation index. Do not mirror individual source-of-truth file34 + lists here; use the canonical directories and docs tree instead.36 + - Spec: `docs/SPEC.md` — canonical project specification.37 + - Research: `docs/research/` — ecosystem research and tool analysis38 + (evidence, non-normative).39 + - Plans: `docs/plans/` — task breakdowns and documentation plans.40 + - Invariants: `docs/PROJECT-INVARIANTS.md` — build system, directory41 + structure, coding standards, and canonical docs inventory.42 + - Prototypes: `prototypes/` — spec-validation prototypes and their plan.44 + Former `docs/design/` subsystem docs and the P1–P20 prototype report are fully45 + absorbed into `docs/SPEC.md` and deleted (see git history).49 + 1. Spec before code. No production `.rs` until `docs/SPEC.md` covers the50 + work; prototype `.rs` under `prototypes/` is sanctioned by SPEC §18.51 + 2. CLAUDE.md is the navigation index. `docs/SPEC.md` is the canonical project spec.52 + 3. Every spec section answers: interfaces, data, errors, tests — as named53 + shapes and behavior, not code. Exact only at boundaries others program54 + against (files, wire formats, CLI, config, Lua SDK); code blocks are55 + illustrative unless the section says otherwise.56 + 4. Open questions: stop and ask. No guessing.57 + 5. Invoke spec work: `/smith <topic>`. Commands are defined once,58 + harness-agnostically, in `.claude/skills/<name>/SKILL.md`59 + (smith, pioneer, handmade, sabotnik); `.pi/prompts/` holds thin pi60 + adapters that defer to them.61 + 6. Cargo is the sole build system. See `docs/PROJECT-INVARIANTS.md` §1.62 + 7. Agents must not modify `docs/SPEC.md` or `docs/PROJECT-INVARIANTS.md` without approval.docs/PROJECT-INVARIANTS.md Modified +3 / −2 text lines
52 52 └── PROJECT-INVARIANTS.md # this file└── PROJECT-INVARIANTS.md # this file54 54 prototypes/ # ← disposable spec-validation prototypesprototypes/ # ← disposable spec-validation prototypes55 - ├── AGENTS .md # prototype rules55 + ├── CLAUDE .md # prototype rules56 56 └── PLAN.md # prototype plan + result blocks└── PLAN.md # prototype plan + result blocks267 267 Files that coding agents SHOULD read before modifying:Files that coding agents SHOULD read before modifying:268 268 - `docs/SPEC.md` (the canonical spec)- `docs/SPEC.md` (the canonical spec)269 - - `AGENTS .md` (project overview)269 + - `CLAUDE .md` (project overview)271 271 ## 6. Spec-Code Relationship ## 6. Spec-Code Relationship 430 430 | Date | Change | Author || Date | Change | Author |431 431 |------|--------|--------||------|--------|--------|
432 + | 2026-07-16 | AGENTS.md files renamed to CLAUDE.md repo-wide; references updated (user-directed) | smith-spec |432 433 | 2026-07-15 | §8a CI wording scoped to release automation; §4 fetch-providers source models.dev; §1 zig/cargo-zigbuild exception (user-approved) | smith-spec || 2026-07-15 | §8a CI wording scoped to release automation; §4 fetch-providers source models.dev; §1 zig/cargo-zigbuild exception (user-approved) | smith-spec |433 434 | 2026-07-15 | §2 tree: design/ absorbed into SPEC.md and deleted; prototypes/ added (user-approved) | smith-spec || 2026-07-15 | §2 tree: design/ absorbed into SPEC.md and deleted; prototypes/ added (user-approved) | smith-spec |434 435 | 2026-05-23 | Add architecture gates and pinned-nightly pup exception | smith-spec || 2026-05-23 | Add architecture gates and pinned-nightly pup exception | smith-spec |docs/research/AGENTS.md Deleted deleted file mode 100644+0 / −19 text lines
3 - Research is evidence, not authority.6 - - `docs/SPEC.md` is canonical. Research must not define requirements.7 - - Research docs collect facts, tradeoffs, links, commands, measurements, and examples.8 - - Do not reference SPEC sections or old spec IDs from research. Keep research reusable.9 - - Use neutral language: observed, measured, compared, failed, succeeded.10 - - Put conclusions as candidates, not mandates.11 - - If research implies a spec change, report it separately; do not smuggle requirements into research.12 - - External code is untrusted. Do not copy code without license review.14 - Sparse checkout policy:15 - - Do not vendor external repos into this jj repo.16 - - Store external sparse clones under `~/.pi/research/repos/`.17 - - Commit only small manifests/notes describing source URL, revision, sparse paths, and why it matters.18 - - Tier 1 sources are excellent Rust code samples agents may consult for style/patterns.19 - - Tier 2 sources are candidates for learning/inclusion only; agents must not use them as coding style exemplars.
docs/research/CLAUDE.md Added new file mode 100644+23 / −0 text lines
3 + Research is evidence, not authority.6 + - `docs/SPEC.md` is canonical. Research must not define requirements.7 + - Research docs collect facts, tradeoffs, links, commands, measurements, and examples.8 + - Do not derive requirements from SPEC references or old spec IDs; keep9 + research reusable. Exception: supersession pointers ("superseded — canonical10 + in SPEC §N") are required when a research conclusion has been absorbed or11 + contradicted, so stale research cannot masquerade as current.12 + - Use neutral language: observed, measured, compared, failed, succeeded.13 + - Put conclusions as candidates, not mandates.14 + - If research implies a spec change, report it separately; do not smuggle requirements into research.15 + - External code is untrusted. Do not copy code without license review.17 + Sparse checkout policy:18 + - Do not vendor external repos into this repo.19 + - Store external sparse clones outside the repository (any local cache20 + location; harness-specific paths are the user's choice).21 + - Commit only small manifests/notes describing source URL, revision, sparse paths, and why it matters.22 + - Tier 1 sources are excellent Rust code samples agents may consult for style/patterns.23 + - Tier 2 sources are candidates for learning/inclusion only; agents must not use them as coding style exemplars.prototypes/AGENTS.md Deleted deleted file mode 100644+0 / −33 text lines
3 - Purpose: prove or invalidate `../docs/SPEC.md` with tiny disposable prototypes.6 - - Read `../AGENTS.md`, this file, then `../docs/SPEC.md` before work.7 - - One prototype = one SPEC claim/risk.8 - - Keep code minimal. No production crates. No broad implementations.9 - - Prefer compile checks, focused tests, and runnable repros.10 - - Every prototype must have a command that verifies the claim.11 - - Evidence beats opinion. Report SPEC defects with exact command output.12 - - Do not edit `../docs/SPEC.md` unless explicitly asked.13 - - Delete throwaway work unless user asks to keep it.18 - "status" : "complete|blocked|failed" ,23 - "file" : "../docs/SPEC.md" ,24 - "issue" : "missing/false/unclear requirement" ,25 - "evidence" : "prototype path + command + result" ,26 - "severity" : "P0|P1|P2|P3" 29 - "prototypeArtifacts" : [],
prototypes/CLAUDE.md Added new file mode 100644+44 / −0 text lines
3 + Purpose: prove or invalidate `../docs/SPEC.md` with tiny disposable prototypes.6 + - Read `../CLAUDE.md`, this file, then `../docs/SPEC.md` before work.7 + - One prototype = one SPEC claim/risk.8 + - Keep code minimal. No production crates. No broad implementations.9 + - Prefer compile checks, focused tests, and runnable repros.10 + - Every prototype must have a command that verifies the claim.11 + - Evidence beats opinion. Report SPEC defects with exact command output.12 + - Do not edit `../docs/SPEC.md` unless explicitly asked.13 + - Completed prototypes are kept as evidence: locked deps, verify commands14 + that exit 0, and a result block in `PLAN.md`. Delete only scratch work15 + that never became a plan entry.17 + Required result format — Markdown, not JSON (canonical contract lives in18 + `../.claude/skills/pioneer/SKILL.md`):22 + complete | blocked | failed25 + - spec claims supported by prototype evidence28 + - spec claims contradicted by prototype evidence32 + - Issue: what spec must clarify or change33 + - Evidence: prototype path, command, compiler/test result34 + - Severity: P0 | P1 | P2 | P336 + ## Prototype Artifacts43 + - concrete spec or design actionsprototypes/PLAN.md Modified +5 / −21 text lines
3 3 Purpose: prove or invalidate high-risk `../docs/SPEC.md` claims before productionPurpose: prove or invalidate high-risk `../docs/SPEC.md` claims before production4 4 Rust exists.Rust exists.6 - Rules from `AGENTS .md` apply:6 + Rules from `CLAUDE .md` apply:8 8 - one prototype = one claim/risk,- one prototype = one claim/risk,9 9 - minimal runnable proof,- minimal runnable proof,1099 1099 ## Reporting Template ## Reporting Template 1101 - Each completed prototype updates this plan with a result block:1105 - "status" : "complete|blocked|failed" ,1110 - "file" : "../docs/SPEC.md" ,1112 - "evidence" : "prototype path + command + result" ,1113 - "severity" : "P0|P1|P2|P3" 1116 - "prototypeArtifacts" : [],1101 + Each completed prototype updates this plan with a result block in the1102 + Markdown shape required by `prototypes/CLAUDE.md` (canonical:1103 + `.claude/skills/pioneer/SKILL.md`). Result blocks recorded before1104 + 2026-07-16 use the earlier JSON shape and stand as historical records.