203 Commits

Author SHA1 Message Date
0d07011d71 docs(okf): close blueprint 002 — flip status, tick phase 7
- docs(okf): mark 002 implemented in its frontmatter and the index line
- docs(okf): tick the register half of phase 7 with its verified date
- docs(okf): record that a page-cap plan must price the frontmatter it
  mandates — the warrant cost ROADMAP more than the blueprint budgeted
- docs(model-domain): forbid an em-dash inside a register question, since
  it is the index line delimiter

implements blueprint 002
2026-07-21 23:05:34 +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
4dd65c22be feat(write-OKF): add the okf-check validator
Errors on a missing type, a missing or duplicate warrant, an unresolvable
cite, a page unreachable from index.md, and a register index line that
disagrees with its decision file. Over-cap pages and pages with no cites
warn, so the validator exits 0 on a clean tree.

Stdlib only; the OKF directory is an argument, so callers reach it from
the skill base directory rather than a repo-relative path.

implements blueprint 002
2026-07-21 23:04:50 +02:00
e8a769864a docs(okf): extract the why-register from ROADMAP
- docs(okf): add OKF/decisions/ — one file per settled decision, bodies
  migrated verbatim, warrant frontmatter added, numbers 1-16 preserved
- docs(okf): index the register by the question each decision settles
- docs(okf): shed both registers from ROADMAP — decisions to the register,
  believed/true entries to LEARNINGS.md, §Risks keeps forward-looking risk
- docs(okf): compress §Why to its conclusion so ROADMAP clears the 110-line
  cap once warrant frontmatter is added; prior-art scan moves to LEARNINGS
- docs(okf): give every durable page a warrant (purpose, answers, cites)
- docs(okf): retire the empty adr/ for the register

implements blueprint 002
2026-07-21 23:04:44 +02:00
196eacf1ee docs(blueprint): add 002 extract-why-register 2026-07-21 23:04:31 +02:00
421f4a1a69 docs(okf): plan adaptive taxonomy, page warrants, and the why-register
Prior-art scan (OpenWiki, DeepWiki, deepwiki-skill) found a convergent
pattern octobot lacks: a declared, human-editable page plan that
generation must conform to. Without one, write-OKF has no legal home for
module reference, how-to, or analysis pages, so they land as loose files
in the OKF root.

Locks decisions 7-16 and adds phases 6 and 7:

- Page taxonomy is derived per repo, never fixed - an analysis repo keeps
  analyses in directories and may have no plotting module, a library has
  neither, and a hard-coded layout yields empty ceremonial pages.
- Every page carries a warrant (purpose / answers[] / cites[]) after
  type. A page that answers no question, or one another page owns, is
  inadmissible; the same field doubles as the routing index.
- index.md is the locked page plan; a separate TOC file would duplicate
  its existing job.
- Module and analysis pages are two-zone, so a scan cannot launder
  hand-written judgement.
- One why-register at OKF/decisions/, absorbing the roadmap's locked
  decisions and the empty adr/ directory. Zero ADRs in the project's life
  is evidence the three-of-three rule was unusable where it sat.
- Ferry decisions graduate at moor and the ferry directory collapses to a
  single page, pinned by sealed: to the parent commit where the
  deliberation still exists. The OKF is not the archive of record.
- One okf-check validator, built to the doctrine already written in
  add-copilot-project-skill/project-validator.md. write-OKF and moor gate
  on its pasted output, making the done-gate a run rather than a claim.

ROADMAP is over the 110-line cap until phase 7 lands; closing it is that
phase's first verify clause. Execution order is 7 then 6 - run the
register on octobot itself before freezing it into a contract for other
repos. Phase 7 ships as two blueprints because ferry graduation depends
on the register already existing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 22:32:28 +02:00
c1643b75b9 docs(commit-atomic-jj): fix jj split parent/child semantics
The workflow labelled split paths <paths-for-second-change>, but jj split
extracts the selected paths into the FIRST (parent) commit and leaves the
rest in @ (the child). Correct the semantics, surface -m (sets the first
commit; @ keeps the original message) and the JJ_EDITOR=true guard at the
point of use, and cross-ref both the backgrounding and headless-editor
anti-patterns. Verified against jj 0.38.
2026-07-21 02:41:58 +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
0a81ac6691 docs(commit-atomic-git): backlink setup-git-guardrails in See also
- docs(commit-atomic-git): name the hook as mechanical backstop for the
  force-push and destructive-command anti-patterns
2026-07-20 01:49:37 +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
362de528b7 docs(call-charon): route git-mode seal and conflicts to new git skills
- docs(call-charon): git-mode seal cites commit-atomic-git instead of
  "plain commit" hand-wave
- docs(call-charon): git-mode integration conflicts point at
  resolve-conflicts-git
2026-07-20 01:37:21 +02:00
d0e02823cb feat(skills): add resolve-conflicts-git — git counterpart of resolve-conflicts
- feat(resolve-conflicts-git): topology-first rule ported; abort+rebase
  --onto replaces jj rebase -s for phantom conflicts
- feat(resolve-conflicts-git): both-intents reading via zdiff3 markers,
  git show :1:/:2:/:3:, git log --merge -p
- feat(resolve-conflicts-git): headless guards — GIT_EDITOR=true on
  continue, marker grep before continuing, rerere for rebase replays
2026-07-20 01:37:16 +02:00
15e995bcf6 feat(skills): add commit-atomic-git — git counterpart of commit-atomic-jj
- feat(commit-atomic-git): same atomic principles; staging area replaces
  jj split, headless hunk split via git apply --cached
- feat(commit-atomic-git): git-specific anti-patterns — blind -am/add .,
  unread --cached diff, invisible untracked files, headless editor hang
- docs(commit-atomic-git): description scoped to non-jj repos so "commit"
  routes to commit-atomic-jj when .jj exists
2026-07-20 01:37:10 +02:00
9be133618c fix(call-charon): make crossings VCS-aware and briefs self-contained
- fix(call-charon): detect jj vs git at ORIENT; jj workspaces for dispatch
  (Agent worktree isolation is git-only — jj cannot run in git worktrees)
- fix(call-charon): add §isolation and §integration contracts per mode;
  run Verify post-integration in the main workspace
- fix(call-charon): inline axis criteria verbatim into reviewer briefs —
  subagent-side skill paths break in worktrees/remote runners and
  disable-model-invocation axes are invisible to Skill tool
- fix(call-charon): builder brief uses absolute weave/bdd paths and ends
  with a commit in git mode
- docs(call-charon): clarify guardrail — blueprint content frozen,
  status frontmatter flips allowed
2026-07-20 01:34:55 +02:00
b4a32de692 feat(skills): add call-charon — agent-orchestrated ferry crossing
One worktree builder per blueprint, four-axis review flotilla,
orchestrator-run Verify gate, passage logged in the ferry's MAP.md.
Sibling crossing-format.md holds the brief and log contracts; steer
gains its row.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 01:18:54 +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
07afbe8473 feat(write-OKF): conform OKF contract to Google OKF v0.1 spec
feat(write-OKF): require type frontmatter on every page; okf_version in
index; conformance block + page-type vocabulary in okf-layout.md
feat(write-OKF): rename INDEX.md to reserved lowercase index.md across
templates and cross-referencing skills
feat(blueprint): add type: Blueprint to blueprint-format frontmatter
feat(ferry): add type: Ferry Map / Decision to decision-format
docs(write-OKF): cite Google OKF v0.1 spec alongside Karpathy and
LangChain OpenWiki in the layout contract
2026-07-20 00:51:43 +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
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
4a112e864d refactor(okf): move specs/ to blueprints/ and ferries/; supersede spec term
refactor(okf): OKF/specs/ becomes flat OKF/blueprints/ (NNN files only); ferry
dirs move to OKF/ferries/<topic>/ so numbering and status greps need no exclusions
docs(okf): INDEX.md gains Blueprints (NNN — title — status) and Ferries
(<topic> — n/m resolved → MAP.md) sections; decisions stay in MAP.md only
docs(okf): CONTEXT.md supersedes spec with blueprint and records the
Contract section; loop pages updated for renamed skills
2026-07-20 00:41:15 +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
3481fbdbd2 feat(conjure): enforce imperative-verb names and invocation-cost choice
- feat(conjure): noun-first names rejected at gather and review; please-test
- feat(conjure): user-invoked default with steer registration; Use when only if model-invoked
- docs(conjure): legacy non-verb names grandfathered explicitly
2026-07-19 23:29:34 +02:00
d704f2bbae feat(loop): add steer router skill 2026-07-19 23:29:06 +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
997f435b12 feat(productivity): add resolve-conflicts skill — jj conflict discipline
- feat(resolve-conflicts): topology-first rule for phantom conflicts from wrong rebase roots
- feat(resolve-conflicts): marker-header intent reading; both-intents resolution
- feat(resolve-conflicts): headless squash gotcha and immutable-commit note
2026-07-19 23:27:26 +02:00
b2b1a1f286 feat(handoff): add redaction, reference-dont-duplicate, suggested-skills
- feat(handoff): two exits — session file and subagent brief payload
- feat(handoff): redact secrets; cite OKF/spec/ferry artifacts by path, never restate
- feat(handoff): suggested-skills template section; temp-dir target option
2026-07-19 23:26:48 +02:00
dcec931589 feat(bdd): add tautological-test anti-pattern and pre-agreed-seams step
- feat(bdd): step 0.5 — seams under test confirmed before any test exists
- feat(bdd): tautological-test anti-pattern — expected values from independent truth
- docs(bdd): note the deliberate refactor-inside-loop divergence from upstream
2026-07-19 23:26:02 +02:00
18d48ce850 docs(spec): ferry the python-siblings feature into three edged decisions
- docs(spec): MAP plus D-1 structure, D-2 mocking doctrine, D-3 content split
- docs(okf): index the ferry directory
2026-07-19 23:24:38 +02:00
794b25a666 feat(productivity): enforce handoff gate for mutating subagents
- feat(cavecrew-octobot): builders require a brief — goal, spec refs, verify command
- docs(jj-atomic): implement commits cite their spec number
2026-07-19 23:24:12 +02:00
f19eb4bfa1 feat(loop): add implement skill — spec-driven execution with verify gate 2026-07-19 23:24:12 +02:00
c587a0d60f feat(loop): add ferry skill — decision maps for multi-session work 2026-07-19 23:24:12 +02:00
810ac7bb80 docs(spec): add 001 add-write-readme-r
- docs(spec): first blueprint-format spec, drafted from the README roadmap gap
- docs(okf): index the spec in OKF/INDEX.md
2026-07-19 23:22:37 +02:00
e14fae6331 feat(review): add review-blueprint axis — diff versus originating spec
- feat(review-blueprint): complete/contained/verified gate with pasted-output rule
- docs(skills): wire the fourth axis into bdd after-green and review cross-links
2026-07-19 23:22:10 +02:00
7fb4450fa8 feat(loop): add blueprint skill — specs with justification into OKF/specs 2026-07-19 23:22:10 +02:00
517777e5df docs(okf): dogfood the open-knowledge-format wiki on octobot itself
- docs(okf): INDEX, SUMMARY, ARCHITECTURE, CONTEXT, ROADMAP, LEARNINGS pages
- docs(okf): ROADMAP carries the 5-phase metaharness build-out, phase 1 verified
- docs(agents): AGENTS.md with the scribe-OKF hook block and house rules
2026-07-19 23:20:42 +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
246a81d0dc refactor(skills): retarget canonical knowledge paths into OKF/
- refactor(domain-modeling): CONTEXT.md, adr/ and multi-context layout move under OKF/
- refactor(domain-modeling): bounded-context-only split rule; per-issue glossaries forbidden
- refactor(grill-with-docs): glossary and ADR updates target OKF/ paths
2026-07-19 23:18:16 +02:00
7ec15a4e9d feat(loop): merge plan-project and update-project into architect
- feat(architect): mode router — greenfield vs revision by OKF/ROADMAP.md state
- refactor(architect): plan-project body becomes greenfield.md, update-project becomes revise.md
- refactor(architect): roadmap and glossary paths retargeted to OKF/
- chore(skills): delete plan-project and update-project
2026-07-19 23:16:49 +02:00
03ddb4ed01 feat(loop): add scribe-OKF skill — open-knowledge-format scaffold and refresh
- feat(scribe-OKF): mode-routed SKILL.md (scaffold vs refresh) with okf-layout contract
- feat(scribe-OKF): AGENTS.md hook block with Karpathy behavioral guardrails
- feat(scribe-OKF): TODO-marker templates for INDEX, SUMMARY, ARCHITECTURE, LEARNINGS
2026-07-19 23:16:05 +02:00
878a5e063d fix(skills): read python floor from requires-python in write-readme-py
- fix(skills): stop hardcoding "≥ 3.11"; substitute project.requires-python
2026-07-19 22:08:11 +02:00
7cd2e44799 fix(skills): harden write-readme from review findings
- fix(skills): guard against clobbering an existing README before overwrite
- fix(skills): require manifest fields present, not just marker file, before trusting ecosystem
- fix(skills): resolve detection rule contradiction (ask when several markers match)
- fix(skills): read project.requires-python instead of hardcoding python floor
- fix(skills): make usage fence language a placeholder, not hardcoded bash
2026-07-19 22:08:11 +02:00
5ea282ec03 feat(skills): add general write-readme skill
- feat(skills): detect ecosystem from marker files (py/r/node/rust/generic)
- feat(skills): add shared readme.template.md generalizing the py card layout
- docs(skills): add REFERENCE.md with per-ecosystem extraction snippets
- generalizes write-readme-py, which stays as the worked python example
2026-07-19 22:08:11 +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
a595106cc5 feat(write-readme-py): adopt Saduko-style README layout
Extends the template and skill so a generated README matches the Saduko
reference: logo block in the header table, multi-extras install, local-
checks subsection, and an Apache-aware License block with attribution.

- readme-py.template.md: add <logo-block>, <install-block>,
  <local-checks-preamble>, <local-section>, <license-block> placeholders;
  Project layout block trimmed to match Saduko's flatter form
- SKILL.md: read every project.optional-dependencies group (not just dev),
  detect logo asset, detect local-* recipes, branch the License block on
  the licence string; refuse to invent author or repo URL
- saduko-license-block.md: new topic file with the parameterised Apache
  2.0 rights / requirements / attribution / bibtex template, token
  resolution table, and a minimal NOTICE companion
2026-07-19 22:08:11 +02:00
c3621678de chore(license): switch from MIT to Apache 2.0
Replaces the MIT license with the full Apache License 2.0 text,
preserving "Copyright 2026 Lukasz Boryn". Apache 2.0 adds an explicit
patent grant and is the more conventional choice for skill-set
distribution.
2026-07-19 22:08:11 +02:00
51ae52709d docs(add-copilot-project-skill): pivot to GitHub-native .github/skills layout
Drops the dual-surface "skills/ + .github/prompts/" framing in favour of
the Copilot cloud agent's documented .github/skills/<name>/SKILL.md
autodiscovery with description-matching routing.

- replace .github/prompts/ mirror with .github/instructions/*.instructions.md
  path-scoped auto-apply
- AGENTS.md becomes the single source of style; copilot-instructions.md
  reduced to a redirect + skills-menu for discoverability
- add frontmatter spec table (name/description/license/allowed-tools)
- restate handoff rationale as cloud-agent per-turn routing
2026-07-19 22:08:11 +02:00