update to 0.7.1 and migration
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
---
|
||||
description: Run the goldbrain vault-health linter and summarize any invariant violations
|
||||
allowed-tools: Bash(*/goldbrain-memory/scripts/vault-lint.sh*)
|
||||
---
|
||||
|
||||
Run the bundled, read-only vault linter and report findings. Pass the conversation's current date so stale/aging math uses the same clock the agent writes with:
|
||||
|
||||
```bash
|
||||
GB_TODAY=$(date +%F) "${CLAUDE_PLUGIN_ROOT}/skills/goldbrain-memory/scripts/vault-lint.sh"
|
||||
```
|
||||
|
||||
Exit codes: `0` clean · `1` violations (printed, grouped by check) · `2` vault unreachable · `3` vault not bootstrapped (run `bootstrap.sh`).
|
||||
|
||||
Summarize the violations grouped by category and propose fixes, but **do not auto-fix** without Bryan's go-ahead. If this is the first substantive session of a calendar month, offer to write the findings to `_agent/health/YYYY-MM-vault-health.md` (per the skill's **Vault Health** section).
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
description: Load goldbrain memory — cold-start context read (profile, scope, latest session, today, inbox)
|
||||
---
|
||||
|
||||
Use the **goldbrain-memory** skill to load memory now. Run the cold-start **Loading procedure** from `SKILL.md`: issue the 5–6 reads in parallel (marker, operator-preferences, current-context, heartbeat→latest session, today's daily note, inbox), then do the load-time **reconcile** (inbox-depth + scope-drift) and surface it in a single line.
|
||||
|
||||
Prefer the bundled client for each read:
|
||||
|
||||
```bash
|
||||
"${CLAUDE_PLUGIN_ROOT}/skills/goldbrain-memory/scripts/goldbrain.sh" get _agent/memory/semantic/operator-preferences.md
|
||||
```
|
||||
|
||||
Do not narrate the reads. End with a one-line orientation: who/what/where the active scope is, and any reconcile prompt.
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
description: Save to goldbrain memory — route content to its canonical home (search-first, idempotent)
|
||||
argument-hint: "[what to remember]"
|
||||
---
|
||||
|
||||
Use the **goldbrain-memory** skill to persist this to the goldbrain vault:
|
||||
|
||||
> $ARGUMENTS
|
||||
|
||||
Follow the skill's write discipline exactly:
|
||||
1. **Route** via `references/routing-map.md` (the canonical map). If no path fits, capture to `inbox/captures/inbox.md`.
|
||||
2. **Search-first** for any new slug-addressed note (slug AND human title) before creating — merge/promote instead of duplicating.
|
||||
3. Write through the bundled client so the call is status-checked and idempotent:
|
||||
|
||||
```bash
|
||||
GB="${CLAUDE_PLUGIN_ROOT}/skills/goldbrain-memory/scripts/goldbrain.sh"
|
||||
"$GB" append inbox/captures/inbox.md "- $(date +%F): <entry>" # idempotent capture
|
||||
"$GB" put <routed/path>.md <bodyfile> # create/overwrite (verifies)
|
||||
"$GB" patch <path>.md append heading "<H1::Sub>" <bodyfile> # targeted append
|
||||
```
|
||||
|
||||
4. Write in third person about Bryan; set `agent_written: true` + `source_notes`; never put `[[wikilinks]]` in frontmatter; `bump` `updated:` only on substantive changes.
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
description: Triage the goldbrain inbox — route aging captures to their canonical homes and log the moves
|
||||
---
|
||||
|
||||
Use the **goldbrain-memory** skill to run **Inbox Triage**. GET `inbox/captures/inbox.md`, list captures older than ~7 days that were never routed, and offer to route them.
|
||||
|
||||
```bash
|
||||
"${CLAUDE_PLUGIN_ROOT}/skills/goldbrain-memory/scripts/goldbrain.sh" get inbox/captures/inbox.md
|
||||
```
|
||||
|
||||
For each capture Bryan accepts: send it to its proper home per the routing map (preference → `operator-preferences.md::Observations`; project idea → `projects/incubating/`; durable fact → `_agent/memory/semantic/`; person → `resources/people/`), then record the move in `inbox/processing-log/YYYY-MM-DD.md` (`- <original> → <destination>`). Do **not** delete the original capture unless Bryan explicitly asks — the processing log is the audit trail.
|
||||
Reference in New Issue
Block a user