From c62d92ed2fef5e4f64518fb3ec350afde502d06c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabor=20K=C3=B6rber?= Date: Fri, 18 Sep 2026 15:03:32 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Update=20init=20templates=20and?= =?UTF-8?q?=20supporting=20files=20for=20adept=20discovery?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rewrite init Phase 4: adepts/CLAUDE.md uses tiered conventions, _template/CLAUDE.md becomes an index template with frontmatter, add _template/handoff.md template. Update workpad skill with adepts/ folder, project.md with roster reference, curator with adept scope note. --- plugins/spire/skills/curator/SKILL.md | 2 + .../spire/skills/igor/references/project.md | 2 +- plugins/spire/skills/init/SKILL.md | 110 +++++++++++++----- plugins/spire/skills/workpad/SKILL.md | 1 + 4 files changed, 82 insertions(+), 33 deletions(-) diff --git a/plugins/spire/skills/curator/SKILL.md b/plugins/spire/skills/curator/SKILL.md index 208ad76..7c8a8c1 100644 --- a/plugins/spire/skills/curator/SKILL.md +++ b/plugins/spire/skills/curator/SKILL.md @@ -39,3 +39,5 @@ Accretion is how the lab remembers; curation is how it stays readable. Igor appe ## Scope This skill operates on individual files — workpad documents, adept CLAUDEs, skill files. It does not touch the wiki or knowledge layer; that is Tome's domain. + +**Adept knowledge docs** (`key-files.md`, `conventions.md`, `architecture.md`, `gotchas.md`, etc.) accrete refinement sections and are curator targets. `handoff.md` and `journal/` entries are **not** curator targets — `handoff.md` is overwritten by the living adept, and journals are append-only session records. diff --git a/plugins/spire/skills/igor/references/project.md b/plugins/spire/skills/igor/references/project.md index 563314b..996b2df 100644 --- a/plugins/spire/skills/igor/references/project.md +++ b/plugins/spire/skills/igor/references/project.md @@ -11,7 +11,7 @@ preload) changes. - **Tome skill**: - **Workpad**: -- **Adepts**: +- **Adepts**: Listed by `spire:adepts` at boot. Domain knowledge agents with persistent folders at `/adepts//`. - **Pinned agents** (prefer these over generic tiers): + -## Domain + - +## Must-read -## Key files +Every genesis, before answering anything. Keep this list to three or four entries. - +- `handoff.md` — where the previous adept left things. Always first. +- `key-files.md` — the files that matter, what each does, where the seams are. + -| Path | What it is | -|------|-----------| -| | | +## Good-to-read-if -## Conventions + - + + +- `journal/` — if `handoff.md` points at a specific entry, or a question touches a dead end noted there. Do not read the whole journal. ## Open questions - +Carried forward by predecessors. Try to resolve one before adding one. -- + +``` + +### 4.4 — Write `adepts/_template/handoff.md` + +If `${WORKPAD}/adepts/_template/handoff.md` already exists and contains +`status: authored`, skip it. Otherwise write: + +```markdown +--- +status: generated +updated: +session: +branch: +verified-at: +--- +# Handoff — + +## State + + +## In flight (experiences, not solid) + + +## Open threads + + +## Successor: read first +1. This file. +2. `key-files.md` — most likely to have drifted. + + +## Drift check + git log --oneline ..HEAD -- '' '' ``` --- @@ -277,6 +322,7 @@ If `$INSTALL_TYPE` is **shared**: - `.claude/spire/project.md` - `${WORKPAD}/adepts/CLAUDE.md` - `${WORKPAD}/adepts/_template/CLAUDE.md` + - `${WORKPAD}/adepts/_template/handoff.md` - `.claude/skills/assistant/SKILL.md` (if created in Phase 6) 2. Commit with message: `🤖 Initialize Spire project config` diff --git a/plugins/spire/skills/workpad/SKILL.md b/plugins/spire/skills/workpad/SKILL.md index 42ebd53..9e5a89d 100644 --- a/plugins/spire/skills/workpad/SKILL.md +++ b/plugins/spire/skills/workpad/SKILL.md @@ -41,6 +41,7 @@ It may also contain any of these, created on demand: - `research/` — external research, library evaluations, prior art - `specs/` — frozen, unchanging specifications - `tickets/` — per-ticket scratch space, one subfolder per ticket id (see "Ticket context") +- `adepts/` — adept domain folders — see `spire:adepts` If one of these optional folders is needed and doesn't exist yet, create it. Don't create folders speculatively. Treat unknown folders as owned by the user and ignore them.