33 Commits

Author SHA1 Message Date
4ce70d3f8e refactor(loop): rename architect to chart and weave to rig
The two spine skills named for a trade, not a passage, take nautical
names: directories, frontmatter, headings, prose, the 26 relative links,
11 cites:, render-check's RETIRED constant and the two ~/.claude/skills
symlinks. chart gains the hand-off edge into ferry and states the
single-request terminal as designed; ARCHITECTURE flow 1 and its two
byte-copies change names only, columns re-padded to hold the shape.

Implements blueprint 024; roadmap phase 12 ticked, and B-023's cite into
the pruned phase text repaired to a path-alone pointer.
2026-07-31 15:36:36 +02:00
8784b6f669 docs(okf): own the loop shape in ARCHITECTURE flow 1
Per blueprint 018. The spine was hand-copied into six sites in three
divergent forms, and a flat arrow string cannot state cadence: write-OKF
fires on scaffold or staleness, ferry branches off blueprint rather than
following it, call-charon is the multi-blueprint form of weave, and moor
closes only a ferry-traced chain.

ARCHITECTURE.md flow 1 becomes the sole owner of a 17-line rendering that
draws the routing fork and carries the OKF-refresh cycle in its legend.
README §loop and steer §The loop hold byte-for-byte copies — entry
surfaces where a pointer costs a hop. CONTEXT.md, ROADMAP.md (opening
paragraph and the §Architecture pointer, which aimed at a copy) and
CLAUDE.md stop restating the stages and point at flow 1 instead.

Folded in, same file already open: steer glossed user-invoked as "zero
context load", which it is not — naming a skill loads its body. The flag
buys routing control.

Phase 11 stays open; its Verify needs the lint (blueprint 019) before the
copies are held mechanically.

Verify: owner 17 lines, match on both copies, both greps empty with
strays exit 1, okf-check 0/0, skill-check 0 errors / 9 warnings.
2026-07-30 16:36:54 +02:00
bb35812d45 refactor(skills): unify sibling-file naming on lowercase-kebab topic names
Renames the 8 UPPERCASE offload files to topic-named lowercase-kebab and
updates all 33 referring sites, including four OKF cites: blocks that
okf-check would otherwise fail on.

moor's generic reference file splits into graduate.md + collapse.md — it held
two topics, and one-topic-per-file is the rule being enforced; the two links
in moor/SKILL.md lose their anchors and address the files directly.
write-readme's becomes ecosystems.md.

Fixes the doctrine first, in both authorities that state it: CLAUDE.md 5 no
longer prescribes a generic catch-all name, and conjure-a-skill step 4 gains
the casing rule it omitted. Without that, the next skill author reads CLAUDE.md
and recreates the violation.

Both the new doctrine and the LEARNINGS note state the rule positively, naming
no offender: the blueprint's locked Verify greps for the old filenames, so
prose that lists them trips the gate meant to prove the sweep finished.

Implements blueprint 014; flips it to implemented with its index line.
Verify: 0 error(s), 0 warning(s), exit 0.
2026-07-30 13:04:33 +02:00
49f98ba1da feat(sound): make nostos primary and file reads the fallback
Sound queried nostos as a hint and then re-read the same bytes from
disk. Codegraph returns source, not metadata, so that read was a
duplicate everywhere except the two places the index is blind: nothing
indexed, and the working copy.

Step 2 becomes the primary source for what the code says; step 3 opens a
file only on an empty nostos result or a path dirty per one `jj st` per
run. The cite rule moves out of step 3 — it applies to every claim — and
prefers `path:symbol`, matching okf-layout's grammar for page
frontmatter. A new guardrail forbids shelling out to `codegraph`:
freshness is nostos's job, the working copy is sound's.

CONTEXT's Sounding entry and README's one-liner follow. Blueprint 008
flips to implemented; the belief it corrected lands in LEARNINGS.

Implements blueprint 008.

Verify: okf-check OKF/ → 0 error(s), 0 warning(s); sound/SKILL.md 98
lines (cap 110); grep -rni 'live code' over README, CONTEXT and
sound/SKILL.md matches nothing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 23:42:25 +02:00
3796889191 docs(blueprint): drop 001 — generic write-readme already covers R
Blueprint 001 (add write-readme-r) failed all three sieves against its own
Justification's bar — "must earn its place against that generic path, or
fold into it".

- docs(blueprint): record the 0/3 verdict in 001 §Why dropped, flip status
- docs(okf): mark 001 dropped in the blueprint index
- docs(readme): retire the §Roadmap write-readme-r item — the gap is closed
- docs(write-readme-py): point §Out of scope at generic write-readme
  instead of a planned skill that will not be written

Real fails: the need was self-asserted here, and the one genuinely wrong
behaviour (a host renv::restore() install line) was already fixed in
write-readme/REFERENCE.md without a new skill. The residue — a logo block
and an Apache-aware license block — is not R-shaped and stays untriggered.
2026-07-22 19:26:16 +02:00
6441d0f425 feat(sound): add verified recon before a blueprint locks
New `skills/loop/sound/` — a three-step spine run in order: read the OKF
pages the question touches, query the nostos MCP server when one is
configured, then confirm both against live code, because either can have
gone stale. A claim with no internal owner is followed to its primary
source; nothing else leaves the repo.

Two mouths, per 019. Reached by name it refines the blueprint it sounded
and stamps `sounded: <date>`; self-fired it reports and writes nothing —
a stamp a self-fire cannot make is a stamp a lock can trust. It is the
loop's only model-invoked skill, so README's "All loop skills are
user-invoked" and ARCHITECTURE's invocation seam both stop being true
and are corrected here.

Sounding becomes a precondition of lock: okf-check warns `locked without
sounded:` on a locked blueprint carrying no stamp — never at draft
(not-yet-sounded is correct there) nor at implemented (it would
retro-flag 002-006). Warning, not error, so exit status stays 0.

Implements blueprint 007. The script leg of its Verify is green; the
four session checks need fresh sessions and stay open in ROADMAP.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 13:23:18 +02:00
6791bc045d docs(skills): point the skills at the why-register and gate on okf-check
- docs(model-domain): rename ADR-FORMAT.md to DECISION-FORMAT.md — the
  register file format, gated by the warrant test rather than three-of-three
- docs(write-OKF): document decisions/, the warrant contract, and okf-check
  in the layout; require its pasted output in the done-criteria
- docs(skills): retarget OKF/adr references in architect, moor, grill-with-docs,
  write-handoff, the index template, and README

implements blueprint 002
2026-07-21 23:04:56 +02:00
87141ea76e docs(README): add call-charon to loop skills and moor-closed ferry workflow
- docs(README): call-charon bullet in the loop spine list (was absent)
- docs(README): multi-session epic recipe — ferry → blueprint →
  call-charon|weave → moor
2026-07-20 01:52:46 +02:00
39692758ed refactor(skills): rename resolve-conflicts to resolve-conflicts-jj
- refactor(resolve-conflicts-jj): move dir, update name frontmatter and H1
- refactor(resolve-conflicts-jj): description routes plain git repos to
  resolve-conflicts-git, mirroring the reverse pointer
- docs: update references in resolve-conflicts-git, setup-git-guardrails,
  steer routing table, call-charon crossing-format, README, OKF/ROADMAP
2026-07-20 01:52:22 +02:00
93e78734d3 feat(skills): add moor — close out delivered ferries
- feat(moor): four-phase close-out (orient, gather signal, consolidate, prune+index)
- docs(loop): extend metaharness spine with moor in CLAUDE.md, README, steer
- docs(ferry): hand off to moor from the Arrive step
2026-07-20 01:00:36 +02:00
82b0b65663 docs(okf): conform octobot wiki to OKF v0.1
docs(okf): add type frontmatter to every page, blueprint, and ferry file
docs(okf): declare okf_version 0.1 in index frontmatter; rename INDEX.md
to reserved lowercase index.md
docs(repo): repoint AGENTS.md, CLAUDE.md, README.md at OKF/index.md
2026-07-20 00:51:47 +02:00
04db0c1503 docs(repo): align conventions with renamed skills and blueprint vocabulary
docs(repo): CLAUDE.md description rule — Use when triggers required only
for model-invoked skills; user-invoked get one human-facing line
docs(repo): 110-line cap scoped to SKILL.md in CLAUDE.md and AGENTS.md
docs(repo): loop spine, skill tables, and OKF pointers updated for the
verb-first renames and OKF/blueprints/ move
2026-07-20 00:41:43 +02:00
559b95deee docs(repo): regenerate skill tables; document the metaharness loop
- docs(readme): loop section completed (blueprint, ferry, implement, steer); four review axes
- docs(claude): loop summary and OKF pointers up top
- docs(okf): roadmap phases 2-5 marked verified; phase-5 count superseded 8 -> 11
2026-07-19 23:30:30 +02:00
b1b9aa09de docs(readme): document loop category and OKF substrate
- docs(readme): add loop section with metaharness diagram, scribe-OKF, architect
- docs(readme): retarget lifecycle and vocabulary recipes to OKF/ paths
2026-07-19 23:19:26 +02:00
f4fbf1438c docs(readme): widen logo cell from 40% to 60% 2026-07-19 22:08:11 +02:00
46b06c584d docs(readme): add octobot logo asset and fix path
Adds assets/octobot.jpeg (the actual file the README references) and
corrects the <img src> from .png to .jpeg so the logo renders.
2026-07-19 22:08:11 +02:00
ad5e3a5850 docs(readme): adopt Saduko-style layout with logo and License section
Restructures the top of README.md as a two-column header table — logo +
title + tagline on the left, Table of Contents on the right — matching
the Saduko reference style now baked into write-readme-py. Adds the
License section the TOC links to: Apache 2.0 rights / requirements /
attribution / bibtex block, parameterised to octobot.

The logo asset (assets/octobot.png) is referenced but not committed in
this change; the assets/ directory is created so the file slot exists.
2026-07-19 22:08:11 +02:00
a83a5a7213 docs(readme): add Workflows section — typical skill chains
Adds a ## Workflows section between ## Skills and ## Adding a skill that
shows how the skills chain together for the common use cases: greenfield
project (plan-project → build-* → bdd loops → update-project), feature on
an existing codebase, bug hunt (diagnose → bdd → review), the three-axis
post-green review (review-angles + nuke-review + winnow), architecture
conversation (codebase-design + domain-modeling), and meta tasks
(conjure-a-skill, handoff).

Closes the discoverability gap: the skill list alone tells you *what
exists*; the workflows tell you *how to combine them*. Each recipe is a
sequence, not a script — slash-commands are the link surface.

Orthogonal-modes footer keeps dev-r/dev-python and caveman findable
without multiplying recipes by language and intensity.

README grows from 137 to 194 lines.
2026-06-19 01:25:54 +02:00
e36a37d0bb docs(skills): README + symlink sync; align stragglers to seam vocab
Discovered by audit:

1. README missed 4 skills that exist in the repo — add bullets for
   productivity/plan-project, productivity/update-project,
   productivity/cavecrew-octobot, engineering/add-copilot-project-skill.
2. ~/.claude/skills/ was missing symlinks for 5 skills (add-docker-secrets,
   cavecrew-octobot, containerize-project, plan-project, update-project) —
   linked manually so Claude Code discovers them on next start.
3. bdd/SKILL.md described mocking-{r,py}.md as "boundaries only" but those
   files now read "seams only" after the codebase-design vocab port — swap
   the descriptions to match.
4. diagnose/feedback-loops-{r,py}.md said "boundary" for the contract
   interface — swap to "seam" so the diagnose worked examples use the
   same vocab as the bdd / codebase-design siblings they link into.

Not done in this commit:
- skills/productivity/writing-great-skills/ is an empty folder (no
  SKILL.md, no other files) — flagged separately, no action yet.
- nuke-review uses "boundary" deliberately as a port of the upstream
  cursor team-kit voice ("type / boundary muddiness" etc.); the term
  has a distinct type-system sense that doesn't collide with the
  module-seam sense codebase-design owns. Left as-is.
2026-06-19 01:20:58 +02:00
3862514d6f feat(skills): port nuke-review structural-quality skill from cursor team-kit
Adds engineering/nuke-review/SKILL.md — adaptation of cursor/plugins
thermo-nuclear-code-quality-review. User-invoked (disable-model-invocation:
true). 100 lines after trimming the upstream ~200-line original.

Trims: consolidated the three checklists (Primary Questions / What to Flag /
Preferred Remedies) into one 6-theme "What to look for, what to push for"
section; the 8 Non-negotiable Standards kept verbatim as headlines with
sub-bullets compressed; 3 of the original ~9 "Good phrases" kept inline as
voice cues (a sibling would weaken the priming effect).

Positions the four post-green review surfaces as distinct axes:
- review-angles    correctness / robustness (finder angles)
- nuke-review      structural quality / code judo  (NEW)
- winnow           mechanical debloat (line-count scoreboard)
- cavecrew-octobot invocation cheatsheet for caveman:cavecrew-reviewer
                   (the agent that executes any of the three axes)

bdd/SKILL.md "After green" section now lists all three axes (was:
review-angles only); compensating cut to the Vocabulary blurb keeps it at
103 lines (pre-existing over-cap, no further regression). Cross-refs added
in review-angles, winnow, cavecrew-octobot See-also.

Source: cursor/plugins@main
  cursor-team-kit/skills/thermo-nuclear-code-quality-review/SKILL.md
2026-06-19 01:04:46 +02:00
feb12b1586 feat(skills): port codebase-design vocabulary skill from upstream
Adds engineering/codebase-design/ — shared vocabulary for designing deep
modules (module, interface, seam, adapter, depth, leverage, locality).
Three files: SKILL.md (glossary + principles + R+Py testability examples +
rejected framings); DEEPENING.md (4 dependency categories, seam discipline,
replace-don't-layer); DESIGN-IT-TWICE.md (parallel sub-agent pattern for
exploring 3+ radically different interface designs).

Retargets existing bdd siblings as language-flavored leaves:
- bdd/SKILL.md gains a Vocabulary anchor pointing at codebase-design
- interface-design-{r,py}.md and deep-modules-r.md get "vocab lives
  upstream" headers; "deep modules" mention dropped from the py
  interface-design description (codebase-design owns it now)
- mocking-{r,py}.md swap "boundary" -> "seam" throughout — upstream
  rejects "boundary" as overloaded with DDD's bounded context
- refactoring-r.md cross-links Shallow-modules to DEEPENING.md

Cross-references added in sieve/SKILL.md (Minimal invokes depth),
winnow/SKILL.md (deletion test formalised there), diagnose/SKILL.md
(seam definition for Phase 5's "no correct seam" finding),
domain-modeling/SKILL.md (sibling — vocabulary for solution structure
vs problem domain). README gains a codebase-design bullet.

Source: mattpocock/skills@main engineering/codebase-design/. R+Py
testability examples replace upstream TS originals.
2026-06-19 00:37:37 +02:00
f5227325a3 refactor(skills): split grill-with-docs into router + domain-modeling
Mirror upstream's structural split. Old grill-with-docs bundled the
Socratic interview and the docs-discipline in one model-invoked skill;
upstream now separates them.

- Rename engineering/grill-with-docs/ -> engineering/domain-modeling/
  (the active glossary / ADR discipline). Model-invocable, fires when
  another skill needs canonical vocabulary.
- Adopt upstream's active-vs-reading distinction in domain-modeling/SKILL.md.
- Detect multi-context mode from CONTEXT-MAP.md presence (was a manual
  switch).
- New engineering/grill-with-docs/SKILL.md is now a 16-line user-invoked
  router (disable-model-invocation: true). It composes grill-me
  (Socratic interview) and domain-modeling (docs discipline).
- Trim examples-r.md to 99 lines: drop CONTEXT-MAP-kicks-in section
  (covered in SKILL.md), compress NOT-written bullets and
  zero-implementation note, drop decorative narration.
- Retarget cross-refs in diagnose and bdd to domain-modeling (their
  interest is canonical vocabulary, not the interview).
- Retarget plan-project's three-of-three rule pointer and vocabulary
  See-also to domain-modeling.
- Fix pre-existing broken path in sieve See-also
  (../../productivity/grill-with-docs -> ../grill-with-docs).
- Update upstream attribution URLs in ADR-FORMAT.md and CONTEXT-FORMAT.md
  (upstream renamed grill-with-docs -> domain-modeling).
- README: replace single grill-with-docs entry with router + domain-modeling
  pair; retarget examples-r.md path.
2026-06-19 00:12:06 +02:00
260f1865e3 refactor(skills): rename write-a-skill → conjure-a-skill and fold in writing-great-skills
- Rename directory; update README pointer and trigger phrase
- Add PRINCIPLES.md (design playbook) and GLOSSARY.md (vocabulary),
  both adapted from mattpocock/skills writing-great-skills
- Promote the 100-line cap from convention to SKILL.md guardrail and
  a When-to-split trigger in PRINCIPLES.md; GLOSSARY.md is the
  documented exception (flat dictionary; splitting breaks lookup)
- Description adds the "conjure" trigger and retains old aliases
2026-06-18 23:15:30 +02:00
aa3a797c5d feat(skills): coin nostos lessons into octobot, add Socratic sieve/winnow spine
refactor(bdd): rename tdd-bdd skill to bdd (dir, triggers, 24 refs, symlink)
feat(skills): add sieve (Real/Good/Minimal gate) and winnow (debloat audit)
feat(skills): add background-work and review-angles from review-round lessons
feat(bdd): fold rules 7/13/17 into interface-design + new SKILL sections
docs(refute): extract shared elenchus doctrine, cite from review-angles/winnow/bdd
docs(CLAUDE): reframe Simplicity First as the three sieves
docs(README): list new skills, add Socratic-spine roadmap
2026-06-15 22:30:54 +02:00
2517b1fb43 refactor(skills): extract containerize-project from build-* scaffolds
- refactor(scaffold): move Docker/compose templates and three-stage doc into
  new containerize-project skill; build-* skills delegate their Docker step
- fix(scaffold): drop source mount from the production compose service
- fix(scaffold): add .dockerignore templates so COPY . . excludes .git/.env/data
- feat(scaffold): run production stages as non-root app user; pin uv install
  via COPY --from=ghcr.io/astral-sh/uv:0.7
- docs(README): list containerize-project and add-docker-secrets; remove the
  now-empty _concepts section

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 12:49:48 +02:00
9d2fbe2307 chore(skills): library housekeeping — relocate _concepts and refresh README
* refactor(_concepts): move concepts/three-stage-dockerfile.md to skills/_concepts/
* docs(readme): drop _concepts symlink from install loop; rename section to _concepts
* docs(readme): add Roadmap section for known gaps (filled examples, py siblings, write-readme-r)
2026-06-11 12:49:48 +02:00
a7e9b95183 wire new skills: symlinks, README, jj-atomic cross-links 2026-06-11 12:49:48 +02:00
9f060db93c add skills: r-style (box/tidyverse/dtplyr) + jj-atomic 2026-06-11 12:49:48 +02:00
03f9ef5be8 add skill: grill-with-docs (docs-anchored Socratic interview) 2026-06-11 12:49:48 +02:00
f08223c3b2 add skill: diagnose (six-phase bug hunt) + R refs; cross-link tdd-bdd 2026-06-11 12:49:48 +02:00
6ab5b98905 add skill: tdd-bdd (test-driven dev with BDD-flavored Given/When/Then) 2026-06-11 12:49:48 +02:00
6b42ad1f01 merge karpathy behavioral guidelines into CLAUDE.md; drop concepts/ dir 2026-06-11 12:49:48 +02:00
2fda1d06d4 add concept: karpathy-behavioral-guidelines 2026-06-11 12:49:48 +02:00