[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75949AXRMK0JYHZHAVQB1EE":3,"skill-same:01M75949AXRMK0JYHZHAVQB1EE":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M75949AXRMK0JYHZHAVQB1EE","memory-architecture",null,"Design and maintain agent memory system: MEMORY.md structure, privacy boundaries, gitignore per brain source, seed templates, pointer pattern, and PII prevention. Use when asked: 'clean up memory', 'separate public from private', 'prevent PII leakage', 'organize memory', 'seed memory files', 'gitignore memory'.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fmemory-architecture\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: memory-architecture\nversion: 1.0.0\ndescription: \"Design and maintain agent memory system: MEMORY.md structure, privacy boundaries, gitignore per brain source, seed templates, pointer pattern, and PII prevention. Use when asked: 'clean up memory', 'separate public from private', 'prevent PII leakage', 'organize memory', 'seed memory files', 'gitignore memory'.\"\n---\n\n# Memory Architecture\n\nGoverns how agent memory (MEMORY.md \u002F USER.md) is structured, protected, and maintained across installs. Not about what *content* to store — that's per-session judgment — but about the *architecture* of the memory system itself.\n\n## Core Principles\n\n1. **MEMORY.md \u003C 2,200 chars** — injected every turn. Compress aggressively.\n2. **Pointer pattern** — compact pointers in MEMORY.md, full detail in brain directories (`\u002Fbrain m \u003Ctopic>`).\n3. **Privacy by default** — each brain source has `.gitignore` excluding MEMORY.md, USER.md, .env.\n4. **Seed, don't migrate** — fresh installs get template seeds, not cloned memory from another machine.\n5. **Stratify by audience** — private facts → MEMORY.md. Public knowledge → `docs\u002F`. Stale tasks → never save.\n\n## Writing to the brain — file tool only, never shell\n\n`~\u002Fbrain` is deliberately NOT a git repo, so governance is repo-scoped and NO\nlock can ever cover a terminal write to it. The harness therefore sanctions\nonly **file-tool** brain writes: `write_file`\u002F`patch` with a path that resolves\ninside `~\u002Fbrain`. Any shell write — `cat >`, `tee`, `>>`, heredoc, `echo`,\n`mkdir -p` — is refused with \"no governed repo \u002F no lock covers it\" and the\ncontent is discarded, taking the lesson with it.\n\n- Save brain files (lessons, learnings, dream output, per-topic reference\n  `.md`) with `write_file(path=\"~\u002Fbrain\u002F\u003Cprofile>\u002F…\", content=…)`; it creates\n  parent directories, so never `mkdir` first.\n- `save-lesson` and the learning-submission docs assume this form.\n- The read side is unaffected: `search_files`, `cd`, and the `mycortex` CLI\n  over `~\u002Fbrain` stay free (reading never needs the write carve-out).\n- The carve-out relaxes ONLY the lock requirement — PII and adversarial gates\n  still apply to a brain write.\n\n## MEMORY.md Structure\n\nThree sections, always in this order:\n\n### System Topology\nMachine config, OS, services, repo structure, Docker config. Facts about *the system the agent runs on*.\n\n### Orchestration\nAgent identity, model providers, other agents (Titus, etc.), brain topology, behavioral rules.\n\n### Agent Context\nActive skills, cron jobs, pointer references to brain directories for detail.\n\n### What NEVER goes in MEMORY.md:\n- **Public knowledge** — if another agent on another machine would benefit, it goes in `docs\u002F`\n- **Stale task artifacts** — completed \"skill updates\", \"fixed bug X\", \"merged PR Y\" — these are session results, not durable facts\n- **PII** — real names, email addresses, tokens, passwords, personal domains, private URLs\n\n## Privacy Architecture\n\nEach Hermes instance owns its own private memory. No cross-machine leakage.\n\n### Brain source `.gitignore`\nEvery brain directory (`~\u002Fbrain\u002F{source}\u002F`) has a `.gitignore` that excludes:\n```\nMEMORY.md\nUSER.md\n.env\n.env.*\n*.pem\n*.key\n*.cert\n.DS_Store\nThumbs.db\n```\n\nThis prevents accidental commits of per-instance config, secrets, or agent identity.\n\n### Seed templates in `docs\u002Ftemplates\u002F`\nThe public repo ships bootstrapping templates:\n\n| Template | Purpose |\n|----------|---------|\n| `MEMORY.seed.md` | Starter MEMORY.md with sections, placeholders, and design principles |\n| `USER.seed.md` | Starter user profile with fields for preferences and context |\n| `gitignore.brain` | Standard `.gitignore` for brain source dirs |\n\nThese exist in `docs\u002Ftemplates\u002F` as **reference only**. Memory files are\nHermes-owned: Hermes reads `~\u002F.hermes\u002Fmemories\u002FMEMORY.md` directly and\ncreates the file on its first memory write. Fleet does NOT copy, seed, or\ndeploy memory templates (since 2026-08-05 — a deploy-registered seed\nclobbered live memory on every fleet-update).\n\n### Install script integration (`install.sh`)\nTwo dedicated steps enforce the architecture:\n\n| Step | What |\n|------|------|\n| **5** — Brain .gitignore | Copies `gitignore.brain` to each brain source after directory creation |\n| **9** — Hermes memory | No-op by design: memory bootstrap is left to Hermes (`~\u002F.hermes\u002Fmemories\u002F`) |\n\n## When to Update\n\n- User says \"clean up memory\", \"separate public\u002Fprivate\", \"prevent PII leakage\"\n- User corrects memory content that shouldn't be there (PII, public knowledge, stale tasks)\n- New brain source is added — needs its own `.gitignore`\n- Seed templates change — update `docs\u002Ftemplates\u002F` and version-bump\n\n## Pitfalls\n\n- **Don't gitignore retroactively** — .gitignore only prevents untracked files from being tracked. If MEMORY.md is already tracked in a repo, you need `git rm --cached` first.\n- **Don't merge memory across machines** — MEMORY.md is per-instance. Never copy from one Hermes to another. The pointer destinations are different.\n- **Don't commit seed templates as instance memory** — templates live in `docs\u002Ftemplates\u002F`, not in `~\u002F.hermes\u002Fmemories\u002F`. Fleet never copies them there (Hermes bootstraps its own memory on first write).\n","# Memory Architecture\n\nGoverns how agent memory (MEMORY.md \u002F USER.md) is structured, protected, and maintained across installs. Not about what *content* to store — that's per-session judgment — but about the *architecture* of the memory system itself.\n\n## Core Principles\n\n1. **MEMORY.md \u003C 2,200 chars** — injected every turn. Compress aggressively.\n2. **Pointer pattern** — compact pointers in MEMORY.md, full detail in brain directories (`\u002Fbrain m \u003Ctopic>`).\n3. **Privacy by default** — each brain source has `.gitignore` excluding MEMORY.md, USER.md, .env.\n4. **Seed, don't migrate** — fresh installs get template seeds, not cloned memory from another machine.\n5. **Stratify by audience** — private facts → MEMORY.md. Public knowledge → `docs\u002F`. Stale tasks → never save.\n\n## Writing to the brain — file tool only, never shell\n\n`~\u002Fbrain` is deliberately NOT a git repo, so governance is repo-scoped and NO\nlock can ever cover a terminal write to it. The harness therefore sanctions\nonly **file-tool** brain writes: `write_file`\u002F`patch` with a path that resolves\ninside `~\u002Fbrain`. Any shell write — `cat >`, `tee`, `>>`, heredoc, `echo`,\n`mkdir -p` — is refused with \"no governed repo \u002F no lock covers it\" and the\ncontent is discarded, taking the lesson with it.\n\n- Save brain files (lessons, learnings, dream output, per-topic reference\n  `.md`) with `write_file(path=\"~\u002Fbrain\u002F\u003Cprofile>\u002F…\", content=…)`; it creates\n  parent directories, so never `mkdir` first.\n- `save-lesson` and the learning-submission docs assume this form.\n- The read side is unaffected: `search_files`, `cd`, and the `mycortex` CLI\n  over `~\u002Fbrain` stay free (reading never needs the write carve-out).\n- The carve-out relaxes ONLY the lock requirement — PII and adversarial gates\n  still apply to a brain write.\n\n## MEMORY.md Structure\n\nThree sections, always in this order:\n\n### System Topology\nMachine config, OS, services, repo structure, Docker config. Facts about *the system the agent runs on*.\n\n### Orchestration\nAgent identity, model providers, other agents (Titus, etc.), brain topology, behavioral rules.\n\n### Agent Context\nActive skills, cron jobs, pointer references to brain directories for detail.\n\n### What NEVER goes in MEMORY.md:\n- **Public knowledge** — if another agent on another machine would benefit, it goes in `docs\u002F`\n- **Stale task artifacts** — completed \"skill updates\", \"fixed bug X\", \"merged PR Y\" — these are session results, not durable facts\n- **PII** — real names, email addresses, tokens, passwords, personal domains, private URLs\n\n## Privacy Architecture\n\nEach Hermes instance owns its own private memory. No cross-machine leakage.\n\n### Brain source `.gitignore`\nEvery brain directory (`~\u002Fbrain\u002F{source}\u002F`) has a `.gitignore` that excludes:\n```\nMEMORY.md\nUSER.md\n.env\n.env.*\n*.pem\n*.key\n*.cert\n.DS_Store\nThumbs.db\n```\n\nThis prevents accidental commits of per-instance config, secrets, or agent identity.\n\n### Seed templates in `docs\u002Ftemplates\u002F`\nThe public repo ships bootstrapping templates:\n\n| Template | Purpose |\n|----------|---------|\n| `MEMORY.seed.md` | Starter MEMORY.md with sections, placeholders, and design principles |\n| `USER.seed.md` | Starter user profile with fields for preferences and context |\n| `gitignore.brain` | Standard `.gitignore` for brain source dirs |\n\nThese exist in `docs\u002Ftemplates\u002F` as **reference only**. Memory files are\nHermes-owned: Hermes reads `~\u002F.hermes\u002Fmemories\u002FMEMORY.md` directly and\ncreates the file on its first memory write. Fleet does NOT copy, seed, or\ndeploy memory templates (since 2026-08-05 — a deploy-registered seed\nclobbered live memory on every fleet-update).\n\n### Install script integration (`install.sh`)\nTwo dedicated steps enforce the architecture:\n\n| Step | What |\n|------|------|\n| **5** — Brain .gitignore | Copies `gitignore.brain` to each brain source after directory creation |\n| **9** — Hermes memory | No-op by design: memory bootstrap is left to Hermes (`~\u002F.hermes\u002Fmemories\u002F`) |\n\n## When to Update\n\n- User says \"clean up memory\", \"separate public\u002Fprivate\", \"prevent PII leakage\"\n- User corrects memory content that shouldn't be there (PII, public knowledge, stale tasks)\n- New brain source is added — needs its own `.gitignore`\n- Seed templates change — update `docs\u002Ftemplates\u002F` and version-bump\n\n## Pitfalls\n\n- **Don't gitignore retroactively** — .gitignore only prevents untracked files from being tracked. If MEMORY.md is already tracked in a repo, you need `git rm --cached` first.\n- **Don't merge memory across machines** — MEMORY.md is per-instance. Never copy from one Hermes to another. The pointer destinations are different.\n- **Don't commit seed templates as instance memory** — templates live in `docs\u002Ftemplates\u002F`, not in `~\u002F.hermes\u002Fmemories\u002F`. Fleet never copies them there (Hermes bootstraps its own memory on first write).\n",{"name":5,"version":24,"description":7},"1.0.0","main","162463c5db5a1e06f4c54abddce6ee13c3d7612b","skills\u002Fsoftware-development\u002Fmemory-architecture",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill memory-architecture",{"tool":40,"command":41},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill memory-architecture",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill memory-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fmemory-architecture\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fprivacy-architecture.md","REFERENCE","参考文档",2249,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fmemory-architecture\u002Freferences\u002Fprivacy-architecture.md",[55,63,70,77,84,91],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":62},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":62},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":62},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":62},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":62},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]