19 Commits

Author SHA1 Message Date
558664db0d feat(init-octobot): gitignore HANDOFF.md in scaffolded repos
write-handoff defaults to ./HANDOFF.md everywhere octobot runs, but
nothing kept it out of git for a freshly scaffolded repo.

Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE
2026-09-23 14:42:32 +02:00
4b3423d91b fix(skills): init-octobot — close two upstream-CLAUDE.md gaps
Diffed simplicity-block.md against the actual upstream source
(multica-ai/andrej-karpathy-skills/CLAUDE.md) rather than just octobot's
own adapted copy. Two rules named nowhere in the merged AGENTS.md:
§3's 'notice unrelated dead code, mention it — don't delete it', and
§2's 'no error handling for impossible scenarios' / 'no unrequested
flexibility or configurability' (previously folded silently into
'not speculative'). Also restored §4's worked examples and the
strong-vs-weak success-criteria line, dropped earlier for terseness.

Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE
2026-09-23 12:52:42 +02:00
f20f05eb38 fix(skills): init-octobot — substitute <project> everywhere, dedupe simplicity block
Dry run surfaced two bugs: the Knowledge block's <project> placeholder
was never substituted outside the OKF templates, and the new Simplicity
& rigor section restated three of Behavioral guardrails' bullets instead
of adding only their delta — real duplication, not essence-merging.
Rewrote simplicity-block.md as a union-minus-overlap of CLAUDE.md §1-4
against agents-md-hook.md, verified no information lost by checking
every CLAUDE.md §1-4 claim resolves in one of the two sections.

Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE
2026-09-23 12:47:33 +02:00
e216fcc7ca feat(skills): add init-octobot skill
Bootstraps AGENTS.md, optional CLAUDE.md, a bare OKF/, and README.md
into any repo that never ran octobot before — fixes the gap where
octobot was dropped into an ongoing repo with no ROADMAP, OKF, AGENTS.md,
or CLAUDE.md. Adds its /steer row so it's discoverable.

Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE
2026-09-23 12:39:48 +02:00
277ec801de refactor(skills): convert cross-skill links to /skill-name references
- implements blueprint 028
- rewrite 290 cross-skill markdown links across 59 files to unchecked
  backtick-wrapped /skill-name prose (R-023), so skill content resolves
  under any install depth — symlinked, flat-copied, or whole-tree
- add skills/productivity/conjure-a-skill/scripts/skill-ref-check —
  validates every /skill-name mention resolves to a real skill folder,
  the replacement coverage link-check lost on these references
- add scripts/link-skills.sh, mirroring mattpocock/skills, symlinking
  every skill into ~/.claude/skills and ~/.agents/skills
- docs(readme): point Install at link-skills.sh and npx skills@latest
  add for non-Claude-Code harnesses
2026-09-23 11:03:25 +02:00
e6f92335f9 docs(okf): cite registers with a B-/R- prefix in prose
Blueprints and the why-register number independently, so 013, 017 and
019 each already name two unrelated pages. A markdown link is safe —
its path says which — but a bare number in prose is not. Prose now
takes a register prefix: B-NNN blueprint, R-NNN why-register, D-n
ferry decision. Filenames, link targets, index labels and
superseded-by-NNN status values are untouched.

- adds decision 022 with the reasoning, including why D- was rejected:
  D-<n> already names a ferry decision on disk and in CONTEXT.md, so
  reusing it would fuse two namespaces that today collide only in type:
- CONTEXT.md states the rule in the intro; 109 of 110 after compressing
  the entry twice, since R-020 gives it no growth path short of a split
  it does not qualify for
- retrofits the live pages rather than applying it forward-only, which
  would leave two dialects — the defect phase 10 exists to remove
- ROADMAP.md:43, :84, :87, :94 and 021:32; moor and build-r-package
  each carried one genuinely ambiguous cite

LEARNINGS.md is deliberately not retrofitted: it is append-only by its
own header, so its bare numbers stand and new entries carry the prefix.
Locked blueprints are left as written for the same reason.

Nothing enforces this yet — a bare three-digit number outside a link is
a lint the okf-check blueprint should carry, or the rule decays exactly
as R-020 prune did. okf-check 0 errors, skill-check 0 errors.
2026-07-30 17:24:17 +02:00
6cb19302ea fix(write-readme): read the R install path from evidence, not a default
REFERENCE.md told a README reader to run renv::restore() on the host.
For anything the R scaffolds produce that is wrong: renv::init() is the
user's post-scaffold step, and renv::restore() then runs inside the
image build (containerize-project/Dockerfile.r-*.tpl), so the reader's
entry point is 'just build-dev' then 'just up'. The rule is now stated
as evidence — justfile, Dockerfile, lockfile — with 'omit the section'
as the fallback, since a bare restore is right only for a repo with a
committed lockfile and no container.

build-r-package pointed at a README 'Out of scope' heading that does not
exist; it now names generic write-readme, which already covers
r-package, and blueprint 001 for the dedicated skill.

Blueprint 001 was sounded against the earlier, half-right reading and is
corrected with it: the install clause now says what the Dockerfiles do,
and the REFERENCE fix leaves its seam list and Out of scope, having
landed here instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 14:05:19 +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
ddfcdb787f feat(skills): add setup-git-guardrails — tuned port of mattpocock git hook
- feat(setup-git-guardrails): PreToolUse hook blocks reset --hard,
  clean -f combos, branch -D, checkout/restore ., force push
- feat(setup-git-guardrails): tuned vs upstream — plain push and jj git
  push allowed, --force-with-lease exempt, short -f caught, dotfile
  paths (checkout .config) not false-positived
- docs(setup-git-guardrails): three-case verify contract; jj mutations
  left unblocked (op log recoverable)
2026-07-20 01:44:47 +02:00
ded5759973 feat(skills): rename skills to verb-first names; adopt blueprint vocabulary
feat(skills): rename scribe-OKF>write-OKF, implement>weave,
domain-modeling>model-domain, codebase-design>design-codebase,
caveman>talk-caveman, background-work>harden-background-work,
dev-python>develop-python, dev-r>develop-r, r-style>style-r,
handoff>write-handoff, cavecrew-octobot>spawn-cavecrew,
jj-atomic>commit-atomic-jj; bdd stays as the single grandfathered name
docs(skills): sweep spec>blueprint across skill prose; spec-format.md
becomes blueprint-format.md; internal Spec section becomes Contract;
commit citations now read implements blueprint NNN
docs(blueprint): numbering starts at 001 when OKF/blueprints/ is empty
docs(conjure): 110-line cap applies to SKILL.md only; siblings uncapped
fix(containerize): read an existing build-dev recipe and surface
semantic mismatch instead of trusting the name
2026-07-20 00:41:24 +02:00
2dbb579b35 refactor(skills): disable model invocation on orchestrators and rituals
- refactor(skills): 16 user-ritual skills flagged disable-model-invocation
- refactor(skills): their descriptions shrink to one human-facing line
- 11 stay model-invoked: r-style, bdd, diagnose, jj-atomic, background-work,
  review-angles, review-blueprint, codebase-design, domain-modeling,
  cavecrew-octobot, resolve-conflicts
2026-07-19 23:28: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
a4abd1d95c fix(scaffold): ship stub README.md in build-py-project
- pyproject.toml.tpl declares readme = "README.md"; without the file,
  hatchling fails the in-container uv sync (OSError: Readme file does
  not exist) on the very first just build-dev
- stub is replaced by /write-readme-py after the first successful build

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 12:49:48 +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
79141458d3 feat(skills): add add-docker-secrets skill 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
d33f7046c6 add skill: scaffold/build-r-analysis (renv + targets + Quarto + rocker/verse) 2026-06-11 12:49:48 +02:00
356fb7fce7 add skill: scaffold/build-r-package (renv + rocker/r-ver + DESCRIPTION) 2026-06-11 12:49:48 +02:00
66907fc37f add skill: scaffold/build-py-project (uv + Docker + justfile) 2026-06-11 12:49:48 +02:00