[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M759REGQCV6RMCNP1R1DQCY5":3,"skill-same:01M759REGQCV6RMCNP1R1DQCY5":95},{"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":72,"commitSha":73,"skillDirectory":74,"forksCount":75,"repositoryHtmlUrl":76,"repositoryHomepageUrl":6,"ownerHtmlUrl":77,"ownerBlogUrl":78,"ownerDescription":79,"updatedAt":80,"install":81,"resources":94},"01M759REGQCV6RMCNP1R1DQCY5","amico-vault",null,"Vault schema and conventions for creating, reading, and querying Amico Obsidian vault notes. Use when creating experiment notes, reading vault context, or querying the knowledge graph.","harmoniqs\u002Famicode","harmoniqs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199011497?v=4","01M759PQCJ9Y093EC5HC3344DW","Harmoniqs","01M759PQD5S85W68FZKV3XD1X0",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Fskills\u002Famico-vault\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: amico-vault\ndescription: Vault schema and conventions for creating, reading, and querying Amico Obsidian vault notes. Use when creating experiment notes, reading vault context, or querying the knowledge graph.\nagents: [researcher, librarian, dreamer]\nsurface: public\nvault_contract:\n  folders: [experiments, insights, methods, papers, specs, plans, hopper, notes, references,\n            meetings, people, orgs, sessions, briefs, templates]\n  note_types: [experiment, insight, method, paper, spec, plan, system-context, device, person,\n               org, meeting, hypothesis, hopper, retrospective, research-brief, charter,\n               control-hardware, reference, note, project]\n  frontmatter: [session_id, visibility, promoted_from, promoted_to, route_intent]\n---\n\nVault schema and conventions for the Amico Obsidian vault. Governs all note types: experiment, insight, method, system-context, paper, device, spec, plan.\n\n## Folder Responsibility Table\n\n| Folder | Note Types | Naming |\n|--------|-----------|--------|\n| qubit-hardware-context\u002F | system-context | descriptive (e.g., rydberg-global.md) |\n| control-hardware-context\u002F | control-hardware | descriptive |\n| model-of-lab\u002F | device | descriptive (e.g., local-workstation.md) |\n| experiments\u002F | experiment | timestamped: experiment-YYYYMMDD-HHMMSS-desc.md |\n| methods\u002F | method | timestamped: method-YYYYMMDD-HHMMSS-desc.md |\n| papers\u002F | paper | timestamped: paper-YYYYMMDD-HHMMSS-desc.md |\n| insights\u002F | insight | timestamped: insight-YYYYMMDD-HHMMSS-desc.md |\n| specs\u002F | spec | timestamped: spec-YYYYMMDD-HHMMSS-desc.md |\n| plans\u002F | plan | timestamped: plan-YYYYMMDD-HHMMSS-desc.md |\n| dashboards\u002F | dashboard | descriptive |\n| templates\u002F | template | descriptive |\n| meetings\u002F | meeting | timestamped: meeting-YYYYMMDD-HHMMSS-desc.md |\n| people\u002F | person | descriptive: person-\u003Cname>.md |\n| orgs\u002F | org | descriptive: org-\u003Cname>.md |\n| hypotheses\u002F | hypothesis | timestamped: hypothesis-YYYYMMDD-HHMMSS-desc.md |\n| hopper\u002F | hopper | timestamped: hopper-YYYYMMDD-desc.md (+ a `HOPPER.md` index) |\n| retrospectives\u002F | retrospective | timestamped: retro-YYYYMMDD-HHMMSS-desc.md |\n| research-briefs\u002F | research-brief | timestamped |\n| charter\u002F | charter | numbered + descriptive (e.g. `19-visibility-doctrine.md`) |\n| notes\u002F | note | descriptive — the catch-all tier; prefer a typed folder when one fits |\n| references\u002F | reference | descriptive |\n| sessions\u002F | session distillate | timestamped |\n| briefs\u002F | brief | dated: morning-brief-YYYY-MM-DD.md |\n| catalog\u002F | catalog entry | `catalog\u002Fpulses\u002F\u003Cid>\u002Fmetadata.toml` (+ artifact, git-lfs) |\n\n**This table is a contract, not documentation.** It is declared in this skill's\n`vault_contract` frontmatter and checked against the mounted vaults by\n`tests\u002Flint_vault_contract.sh`, in both directions: a folder here that no vault has is a\nstale claim, and a note type any vault holds that is missing here is a gap an agent will\nmeet with no schema to follow. When you add a note type to a vault, add it here in the same\nchange — that is the whole point of the entanglement.\n\n## Tag Taxonomy\n\n- **Platform:** rydberg, fluxonium, transmon, bosonic, trapped-ion, nv-center\n- **Gate:** gate\u002FX, gate\u002FY, gate\u002FH, gate\u002FCZ, gate\u002FCNOT, gate\u002FCPHASE\n- **Method:** method\u002Fcold-start, method\u002Fwarm-start, method\u002Ffree-phase, method\u002Frobustness, method\u002Flindblad\n- **Status:** status\u002Factive, status\u002Fcompleted, status\u002Ffailed, status\u002Fblocked, status\u002Fdraft, status\u002Fapproved, status\u002Fexecuting, status\u002Fabandoned\n\n## Mounts & resolution\n\nThe vault is no longer a single directory. A user's vault set is mounted under `~\u002F.amico\u002Fvaults\u002F`, discovered by convention (every dir with a `.amico-vault.toml` marker is a mount). The session-start hook injects a \"Mount stack\" summary each session; follow that stack for reads and the routing rules below for writes.\n\n### Naming, layout & sync health (the rule of record)\n\n- **Vaults minted by `armonia-init` are named `vault-\u003Cowner-or-purpose>`** — minted names never carry \"armonia\": it names the **workspace** (`~\u002Farmonia` = repos + data), never a vault. **Team vaults riding code repos keep the repo's own name** (e.g. `armonissima` is a code repo first, doubling as team vault) — exempt by construction, never \"overridden\". The lint at minting enforces this; existing vaults converge opportunistically, never by renaming history.\n- The mount's public identity is the `.amico-vault.toml` `name` field — the directory name should match it.\n- **Layout invariant**: every machine resolves BOTH `~\u002F.amico\u002Fvaults` and `~\u002Farmonia\u002Fdata\u002Fvaults` to the same storage (`~\u002F.amico\u002Fvaults` is a symlink into `~\u002Farmonia\u002Fdata\u002Fvaults`). A real directory at `~\u002F.amico\u002Fvaults` holding clones is the divergence class — refuse it, never work around it.\n- **Sync health is sensed, never silent**: `armonia-sync-once` writes a per-mount status record (ops dir, outside vault content, keyed by resolved storage path so symlinked aliases collapse to one record). `armonia-vault-status` renders the states: **OK** (last round green, within threshold) · **STALE** (consecutive failures, behind-count over threshold, or fetch-blocked) · **UNKNOWN** (no record — a pre-sidecar script version, or a mount the loop never reached) · **ZOMBIE** (newest record older than 3× the sync cadence — a dead scheduler is not a quiet all-clear) · **ro-by-policy** (a personal vault failing on a non-writable mount — an expected failure, muted, detected from the mount's own facts, never a policy table). No state is silent; a vault sitting months behind surfaces within one cycle.\n- **Two layers, documented as two layers**: the sync script's commit\u002Fpush behavior is keyed on the vault's **kind** (from the toml); a mount's read-only service is a **per-machine policy** — distinct layers, and their interaction is the `ro-by-policy` state, not an error.\n- **Alias dedupe is a rendering rule**: one row per resolved storage, the ruled name displayed — never a precedence change (read precedence stays first-hit top→bottom).\n\n### The six kinds and read precedence\n\n| Kind | Marker | Repo naming (minted) | Holds | Writable |\n|------|--------|-------------|-------|----------|\n| **personal** | `kind = \"personal\"` | `vault-\u003Cname>` | Own research notes, hopper, solo specs\u002Fplans, session distillates, experiments-in-progress | single-writer (you) |\n| **engagement** | `kind = \"engagement\"` | `vault-\u003Cengagement>` | Engagement-scoped notes; lab state (`lab.toml`, device\u002Fmodel-of-lab notes, calibration, per-lab catalog) once hardware deploys | engagement staff |\n| **project** | `kind = \"project\"` | `vault-\u003Cproject>` | Proprietary-package knowledge (your private package internals, hopper, insights) | per-person grant |\n| **restricted** | `kind = \"restricted\"` | `vault-\u003Cname>` | Business\u002Fconfidential tier — dataroom, cap table, financials, legal. **Not attached by default**: every mount carries a read grant, so attach only for the session that needs it | narrow roster, read-only |\n| **team** | `kind = \"team\"` | repo's own name when riding a code repo; else `vault-\u003Cteam>` | Your team knowledge tier: hardware\u002Fcontrol context, methods + patterns, strategy\u002Fspecs\u002Fplans, experiments + insights, papers, people\u002Forgs, central pulse catalog (git-lfs) | PR-gated promotion |\n| **public** | `kind = \"public\"` | `vault-public` (org-owned) | Best-practice usage patterns for public packages, hazard notes, platform cards, recipes | world read-only |\n\n**Read precedence: personal → engagement → project(s) → restricted → team → public.** Queries search the **union** of all mounts; on a path collision the higher-precedence mount wins (first hit). `mounts.toml` (in `~\u002F.amico\u002F`) overrides order, kind, and writability; absent, kind-order applies. A dir with no marker, a duplicate id, or a manifest `path` that doesn't exist is dropped from the mount set with a warning in the hook summary — never guessed at, never fatal.\n\n### Write routing (Claude is the resolver pre-Amicode)\n\nRoute every note-write by intent:\n\n| If the note is… | Write it to | Mechanism |\n|---|---|---|\n| spec \u002F plan for **shared** work | **team** (your team vault) | PR flow |\n| lab state, calibration, device params, engagement notes | **engagement** vault | direct commit |\n| proprietary-package knowledge, solver hopper items | **project** vault (e.g. `armonia-\u003Cproject>`) | direct commit |\n| business-confidential (dataroom, cap table, financials, legal) | **restricted** vault (rarely attached — the session that needs it carries the grant) | direct commit (the mount is read-only by default) |\n| personal research, sessions, scratch, solo specs | **personal** vault | direct commit (auto-synced) |\n| **ambiguous** | ask the user once → default personal | — |\n\n**`route_intent` fallback:** if the routed target isn't mounted on this machine (no engagement vault here; not a member of the project vault), write to the **personal** vault and stamp frontmatter `route_intent: \u003Ckind>` so it can be re-homed later. Never silently drop a write or write to the wrong tier.\n\n### Vault-path references (role, not name)\n\nHow vault paths are written down — in notes, specs, skills, and examples — is a rule of record, not a style preference: **reference mounts by role, never by name.**\n\n- The **personal** mount by **role** — \"the personal vault\", resolved from the mount stack — never by its directory or marker name.\n- The **team** mount by **kind** — \"the team mount\". A concrete instance (`armonissima`) may appear in an example, labeled as an instance — never as the identifier.\n- The ops tree only ever as `$AMICO_OPS\u002F…`.\n- **Never a raw home path embedding a vault or repo name** in prose or examples — those are the ones that rot on renames. Proof case: the 2026-08-21 personal-vault rename (the personal vault's directory name changed under it), whose aftermath — clients silently riding the rename redirect — is exactly the silent rot this rule exists to prevent. This doctrine obeys its own rule: the rotted names are deliberately NOT reproduced here — the mechanical `[vpath]` rule cannot tell a proof case from a violation, and that is the point.\n\nThe skills lint's `[vpath]` rule (`lint-skills.mjs`, #1100) flags the known-rotted shapes mechanically; this section is the doctrine it serves.\n\n### Visibility and the two-note authoring pattern\n\n`visibility: local | team | public` (default `local`). Visibility is the federation gate: **only `team`\u002F`public` notes are eligible for promotion to the company vault; `local` notes never leave their mount.**\n\nWhen a note mixes a publishable claim with proprietary mechanism, **split it into two**:\n\n1. **Public-safe statement** — the general, device-agnostic, IP-free claim. Lives in (or promotes to) the **team**\u002F**public** vault. Frontmatter links to the mechanism: `mechanism: \"[[\u003Cprivate-note>]]\"`.\n2. **Private mechanism** — the chip-identifying params, raw pulses, proprietary algorithm. Stays `visibility: local` in the **personal**\u002F**project** vault, wikilinked back to the public-safe statement.\n\nNever put the mechanism in a `team`\u002F`public` note expecting a later scrub — author the split up front. (Example: a convergence-behavior insight is public-safe; the exact device-identifying parameters and raw pulse binary that produced it are `local`.)\n\n### Promotion semantics (copy, never move)\n\nCrystallization to the company vault is double-gated: **gate 1** = author tags `visibility: team`; **gate 2** = a human merges the dream-promote PR. On promotion:\n\n- The **copy** lands in the **team** vault carrying `promoted_from: armonia-\u003Cname>` + `promoted_date: YYYY-MM-DD`.\n- The **original stays put** in its source vault and gains `promoted_to: \"[[\u003Ccentral-note>]]\"` (a frontmatter-only stamp written back *only after* the PR merges). It is never re-proposed.\n- Move is wrong — copy preserves the source vault's local graph and the provenance backlink. `promoted_from`\u002F`promoted_date`\u002F`promoted_to` are the charter\u002F12 provenance fields, carried over unchanged.\n\n## YAML Frontmatter Schemas (nucleus types only)\n\n### experiment\n\n```yaml\ntype: experiment\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nsource: null | \"demo-ingest\" | \"doc-ingest\" | \"agent\"  # optional, omit for agent experiments\nsource_path: null | \"path\u002Frelative\u002Fto\u002Frepo\"  # optional, for ingested content\nplatform: \"{platform}\"\ngate: \"{gate}\"\ntask_type: experiment | validation | regression | reproduction | parameter-study\nstatus: running | completed | failed | stalled\nfidelity: {float}\nduration_us: {float}\nfailure_mode: null | stagnation | divergence | constraint_violation | infeasible\nwarm_started_from: \"{catalog-id}\" | null\ntags: [experiment, {platform}, gate\u002F{gate}]\n```\n\n### paper\n\n```yaml\ntype: paper\narxiv: \"{id}\"\ntitle: \"{title}\"\nauthors: [{authors}]\ndate_read: YYYY-MM-DD\nsession_id: null\nrelevance: high | medium | low\nsystems: [{platforms}]\ntags: [paper, {platform}, ...]\n```\n\n### insight\n\n```yaml\ntype: insight\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nevidence: [\"[[experiment-note]]\"]\nconfidence: high | medium | low\ntags: [insight, ...]\n```\n\n### method\n\n```yaml\ntype: method\nname: \"{name}\"\ndate: YYYY-MM-DD\nsession_id: null\napplicability: [{platforms}]\ntags: [method, method\u002F{tag}]\n```\n\n### spec\n\n```yaml\ntype: spec\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nstatus: draft | approved | in-progress | completed | abandoned\npriority: P1 | P2 | ... | null\nplatform: \"{platform}\" | null\ntags: [spec, ...]\nvisibility: local | team | public   # shared work → team (promotable via dream-promote + the promote skill); default local\nlinked_plan: \"[[plan-YYYYMMDD-HHMMSS-desc]]\" | null\n```\n\n### plan\n\n```yaml\ntype: plan\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nstatus: draft | approved | executing | completed | abandoned | failed\nspec: \"[[spec-YYYYMMDD-HHMMSS-desc]]\"\ntags: [plan, ...]\nvisibility: local | team | public   # shared work → team (promotable via dream-promote + the promote skill); default local\n```\n\n### hypothesis\n\n```yaml\ntype: hypothesis\ndate: YYYY-MM-DD\nsession_id: \"uuid\" | null\nstatus: open | untested | confirmed | refuted | abandoned\nplatform: \"{platform}\" | null\nevidence: [\"[[experiment-note]]\"]   # accumulates as tests run\ntags: [hypothesis, {platform}]\n```\n\n`status` is what `\u002Fhypothesis-review` ranks on — an untriaged hypothesis is invisible to it.\n\n### hopper\n\n```yaml\ntype: hopper\ndate: YYYY-MM-DD\nstatus: open | promoted | pruned\npromoted_to: \"[[spec-YYYYMMDD-HHMMSS-desc]]\" | null\ntags: [hopper, ...]\n```\n\nAn idea inbox entry. It leaves the hopper in exactly two ways: promoted to a spec (stamp\n`promoted_to`) or pruned with a reason. Neither is optional — an unresolved hopper item that\naccumulates is the failure mode this type exists to make visible.\n\n### retrospective\n\n```yaml\ntype: retrospective\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\noutcome: success | partial | failed | abandoned\ntags: [retrospective, ...]\n```\n\n### research-brief \u002F charter \u002F reference \u002F note\n\n```yaml\ntype: research-brief | charter | reference | note\ndate: YYYY-MM-DD\nsession_id: \"uuid\" | null\ntags: [{type}, ...]\n```\n\nThe generic tier: `date` + `session_id` + `tags` is the floor every note type meets. Reach\nfor `note` only when no typed folder fits — an untyped note is one nothing can query.\n\n### system-context\n\n```yaml\ntype: system-context\nplatform: \"{platform}\"\nvariant: \"{variant}\"\n# ... (full schema in vault\u002Ftemplates\u002Fsystem-context.md)\n```\n\n### device\n```yaml\ntype: device\nname: \"local-workstation\"\nstatus: online  # online | offline | maintenance\ndevice_class: classical  # classical | quantum\nplatforms: [fluxonium, transmon, bosonic]\nlocation: \"local\"\ntags: [device]\n```\n\n### person\n```yaml\ntype: person\nname: \"Jane Researcher\"\norg: \"[[org-example-lab]]\"\nrole: \"Principal Investigator\"\ncontact: null  # optional email or URL\ntags: [person]\n```\n\n### org\n```yaml\ntype: org\nname: \"Example Lab\"\ndomain: \"superconducting qubits\"\nrelationship: partner  # partner | customer | academic\ntags: [org]\n```\n\n### meeting\n```yaml\ntype: meeting\ndate: 2026-04-02\nattendees: [\"[[person-jane-researcher]]\"]\norg: \"[[org-example-lab]]\"\ntopic: \"CZ partnership scoping\"\ntags: [meeting]\n```\n\n## Session ID\n\n- All agent-generated notes MUST include `session_id: \"{uuid}\"` from the current session\n- Human-curated notes use `session_id: null`\n- Used for provenance tracking and concurrent access\n- Generate a UUID at the start of each session and reuse it for all notes created in that session\n\n## Wikilink Conventions\n\n- Use `[[note-name-without-extension]]` format\n- Experiments link to: method notes used, system-context, catalog entry, plan that spawned them\n- Insights link to: experiment evidence\n- Papers link to: system-context where relevant\n- Specs link to: linked plan, related insights that motivated the spec\n- Plans link to: parent spec, experiments spawned from the plan\n\n## Quality Checklist\n\nBefore finalizing any vault note, verify:\n\n- [ ] Valid YAML frontmatter with `---` delimiters\n- [ ] All required fields present for the note type\n- [ ] `session_id` set appropriately (uuid for agent notes, null for human notes)\n- [ ] Tags include at least: type tag + platform tag\n- [ ] Timestamped filename if applicable (experiments, methods, papers, insights, specs, plans)\n- [ ] Wikilinks to related notes present\n\n## Provenance Chain\n\nThe full research lifecycle flows through the vault:\n\n**insight → hypothesis → spec → plan → experiment → result → insight**\n\nEvery node should link to its neighbors via wikilinks. An experiment should link back to the plan that spawned it; a plan should link to its parent spec; insights should cite the experiments that produced them.\n","Vault schema and conventions for the Amico Obsidian vault. Governs all note types: experiment, insight, method, system-context, paper, device, spec, plan.\n\n## Folder Responsibility Table\n\n| Folder | Note Types | Naming |\n|--------|-----------|--------|\n| qubit-hardware-context\u002F | system-context | descriptive (e.g., rydberg-global.md) |\n| control-hardware-context\u002F | control-hardware | descriptive |\n| model-of-lab\u002F | device | descriptive (e.g., local-workstation.md) |\n| experiments\u002F | experiment | timestamped: experiment-YYYYMMDD-HHMMSS-desc.md |\n| methods\u002F | method | timestamped: method-YYYYMMDD-HHMMSS-desc.md |\n| papers\u002F | paper | timestamped: paper-YYYYMMDD-HHMMSS-desc.md |\n| insights\u002F | insight | timestamped: insight-YYYYMMDD-HHMMSS-desc.md |\n| specs\u002F | spec | timestamped: spec-YYYYMMDD-HHMMSS-desc.md |\n| plans\u002F | plan | timestamped: plan-YYYYMMDD-HHMMSS-desc.md |\n| dashboards\u002F | dashboard | descriptive |\n| templates\u002F | template | descriptive |\n| meetings\u002F | meeting | timestamped: meeting-YYYYMMDD-HHMMSS-desc.md |\n| people\u002F | person | descriptive: person-\u003Cname>.md |\n| orgs\u002F | org | descriptive: org-\u003Cname>.md |\n| hypotheses\u002F | hypothesis | timestamped: hypothesis-YYYYMMDD-HHMMSS-desc.md |\n| hopper\u002F | hopper | timestamped: hopper-YYYYMMDD-desc.md (+ a `HOPPER.md` index) |\n| retrospectives\u002F | retrospective | timestamped: retro-YYYYMMDD-HHMMSS-desc.md |\n| research-briefs\u002F | research-brief | timestamped |\n| charter\u002F | charter | numbered + descriptive (e.g. `19-visibility-doctrine.md`) |\n| notes\u002F | note | descriptive — the catch-all tier; prefer a typed folder when one fits |\n| references\u002F | reference | descriptive |\n| sessions\u002F | session distillate | timestamped |\n| briefs\u002F | brief | dated: morning-brief-YYYY-MM-DD.md |\n| catalog\u002F | catalog entry | `catalog\u002Fpulses\u002F\u003Cid>\u002Fmetadata.toml` (+ artifact, git-lfs) |\n\n**This table is a contract, not documentation.** It is declared in this skill's\n`vault_contract` frontmatter and checked against the mounted vaults by\n`tests\u002Flint_vault_contract.sh`, in both directions: a folder here that no vault has is a\nstale claim, and a note type any vault holds that is missing here is a gap an agent will\nmeet with no schema to follow. When you add a note type to a vault, add it here in the same\nchange — that is the whole point of the entanglement.\n\n## Tag Taxonomy\n\n- **Platform:** rydberg, fluxonium, transmon, bosonic, trapped-ion, nv-center\n- **Gate:** gate\u002FX, gate\u002FY, gate\u002FH, gate\u002FCZ, gate\u002FCNOT, gate\u002FCPHASE\n- **Method:** method\u002Fcold-start, method\u002Fwarm-start, method\u002Ffree-phase, method\u002Frobustness, method\u002Flindblad\n- **Status:** status\u002Factive, status\u002Fcompleted, status\u002Ffailed, status\u002Fblocked, status\u002Fdraft, status\u002Fapproved, status\u002Fexecuting, status\u002Fabandoned\n\n## Mounts & resolution\n\nThe vault is no longer a single directory. A user's vault set is mounted under `~\u002F.amico\u002Fvaults\u002F`, discovered by convention (every dir with a `.amico-vault.toml` marker is a mount). The session-start hook injects a \"Mount stack\" summary each session; follow that stack for reads and the routing rules below for writes.\n\n### Naming, layout & sync health (the rule of record)\n\n- **Vaults minted by `armonia-init` are named `vault-\u003Cowner-or-purpose>`** — minted names never carry \"armonia\": it names the **workspace** (`~\u002Farmonia` = repos + data), never a vault. **Team vaults riding code repos keep the repo's own name** (e.g. `armonissima` is a code repo first, doubling as team vault) — exempt by construction, never \"overridden\". The lint at minting enforces this; existing vaults converge opportunistically, never by renaming history.\n- The mount's public identity is the `.amico-vault.toml` `name` field — the directory name should match it.\n- **Layout invariant**: every machine resolves BOTH `~\u002F.amico\u002Fvaults` and `~\u002Farmonia\u002Fdata\u002Fvaults` to the same storage (`~\u002F.amico\u002Fvaults` is a symlink into `~\u002Farmonia\u002Fdata\u002Fvaults`). A real directory at `~\u002F.amico\u002Fvaults` holding clones is the divergence class — refuse it, never work around it.\n- **Sync health is sensed, never silent**: `armonia-sync-once` writes a per-mount status record (ops dir, outside vault content, keyed by resolved storage path so symlinked aliases collapse to one record). `armonia-vault-status` renders the states: **OK** (last round green, within threshold) · **STALE** (consecutive failures, behind-count over threshold, or fetch-blocked) · **UNKNOWN** (no record — a pre-sidecar script version, or a mount the loop never reached) · **ZOMBIE** (newest record older than 3× the sync cadence — a dead scheduler is not a quiet all-clear) · **ro-by-policy** (a personal vault failing on a non-writable mount — an expected failure, muted, detected from the mount's own facts, never a policy table). No state is silent; a vault sitting months behind surfaces within one cycle.\n- **Two layers, documented as two layers**: the sync script's commit\u002Fpush behavior is keyed on the vault's **kind** (from the toml); a mount's read-only service is a **per-machine policy** — distinct layers, and their interaction is the `ro-by-policy` state, not an error.\n- **Alias dedupe is a rendering rule**: one row per resolved storage, the ruled name displayed — never a precedence change (read precedence stays first-hit top→bottom).\n\n### The six kinds and read precedence\n\n| Kind | Marker | Repo naming (minted) | Holds | Writable |\n|------|--------|-------------|-------|----------|\n| **personal** | `kind = \"personal\"` | `vault-\u003Cname>` | Own research notes, hopper, solo specs\u002Fplans, session distillates, experiments-in-progress | single-writer (you) |\n| **engagement** | `kind = \"engagement\"` | `vault-\u003Cengagement>` | Engagement-scoped notes; lab state (`lab.toml`, device\u002Fmodel-of-lab notes, calibration, per-lab catalog) once hardware deploys | engagement staff |\n| **project** | `kind = \"project\"` | `vault-\u003Cproject>` | Proprietary-package knowledge (your private package internals, hopper, insights) | per-person grant |\n| **restricted** | `kind = \"restricted\"` | `vault-\u003Cname>` | Business\u002Fconfidential tier — dataroom, cap table, financials, legal. **Not attached by default**: every mount carries a read grant, so attach only for the session that needs it | narrow roster, read-only |\n| **team** | `kind = \"team\"` | repo's own name when riding a code repo; else `vault-\u003Cteam>` | Your team knowledge tier: hardware\u002Fcontrol context, methods + patterns, strategy\u002Fspecs\u002Fplans, experiments + insights, papers, people\u002Forgs, central pulse catalog (git-lfs) | PR-gated promotion |\n| **public** | `kind = \"public\"` | `vault-public` (org-owned) | Best-practice usage patterns for public packages, hazard notes, platform cards, recipes | world read-only |\n\n**Read precedence: personal → engagement → project(s) → restricted → team → public.** Queries search the **union** of all mounts; on a path collision the higher-precedence mount wins (first hit). `mounts.toml` (in `~\u002F.amico\u002F`) overrides order, kind, and writability; absent, kind-order applies. A dir with no marker, a duplicate id, or a manifest `path` that doesn't exist is dropped from the mount set with a warning in the hook summary — never guessed at, never fatal.\n\n### Write routing (Claude is the resolver pre-Amicode)\n\nRoute every note-write by intent:\n\n| If the note is… | Write it to | Mechanism |\n|---|---|---|\n| spec \u002F plan for **shared** work | **team** (your team vault) | PR flow |\n| lab state, calibration, device params, engagement notes | **engagement** vault | direct commit |\n| proprietary-package knowledge, solver hopper items | **project** vault (e.g. `armonia-\u003Cproject>`) | direct commit |\n| business-confidential (dataroom, cap table, financials, legal) | **restricted** vault (rarely attached — the session that needs it carries the grant) | direct commit (the mount is read-only by default) |\n| personal research, sessions, scratch, solo specs | **personal** vault | direct commit (auto-synced) |\n| **ambiguous** | ask the user once → default personal | — |\n\n**`route_intent` fallback:** if the routed target isn't mounted on this machine (no engagement vault here; not a member of the project vault), write to the **personal** vault and stamp frontmatter `route_intent: \u003Ckind>` so it can be re-homed later. Never silently drop a write or write to the wrong tier.\n\n### Vault-path references (role, not name)\n\nHow vault paths are written down — in notes, specs, skills, and examples — is a rule of record, not a style preference: **reference mounts by role, never by name.**\n\n- The **personal** mount by **role** — \"the personal vault\", resolved from the mount stack — never by its directory or marker name.\n- The **team** mount by **kind** — \"the team mount\". A concrete instance (`armonissima`) may appear in an example, labeled as an instance — never as the identifier.\n- The ops tree only ever as `$AMICO_OPS\u002F…`.\n- **Never a raw home path embedding a vault or repo name** in prose or examples — those are the ones that rot on renames. Proof case: the 2026-08-21 personal-vault rename (the personal vault's directory name changed under it), whose aftermath — clients silently riding the rename redirect — is exactly the silent rot this rule exists to prevent. This doctrine obeys its own rule: the rotted names are deliberately NOT reproduced here — the mechanical `[vpath]` rule cannot tell a proof case from a violation, and that is the point.\n\nThe skills lint's `[vpath]` rule (`lint-skills.mjs`, #1100) flags the known-rotted shapes mechanically; this section is the doctrine it serves.\n\n### Visibility and the two-note authoring pattern\n\n`visibility: local | team | public` (default `local`). Visibility is the federation gate: **only `team`\u002F`public` notes are eligible for promotion to the company vault; `local` notes never leave their mount.**\n\nWhen a note mixes a publishable claim with proprietary mechanism, **split it into two**:\n\n1. **Public-safe statement** — the general, device-agnostic, IP-free claim. Lives in (or promotes to) the **team**\u002F**public** vault. Frontmatter links to the mechanism: `mechanism: \"[[\u003Cprivate-note>]]\"`.\n2. **Private mechanism** — the chip-identifying params, raw pulses, proprietary algorithm. Stays `visibility: local` in the **personal**\u002F**project** vault, wikilinked back to the public-safe statement.\n\nNever put the mechanism in a `team`\u002F`public` note expecting a later scrub — author the split up front. (Example: a convergence-behavior insight is public-safe; the exact device-identifying parameters and raw pulse binary that produced it are `local`.)\n\n### Promotion semantics (copy, never move)\n\nCrystallization to the company vault is double-gated: **gate 1** = author tags `visibility: team`; **gate 2** = a human merges the dream-promote PR. On promotion:\n\n- The **copy** lands in the **team** vault carrying `promoted_from: armonia-\u003Cname>` + `promoted_date: YYYY-MM-DD`.\n- The **original stays put** in its source vault and gains `promoted_to: \"[[\u003Ccentral-note>]]\"` (a frontmatter-only stamp written back *only after* the PR merges). It is never re-proposed.\n- Move is wrong — copy preserves the source vault's local graph and the provenance backlink. `promoted_from`\u002F`promoted_date`\u002F`promoted_to` are the charter\u002F12 provenance fields, carried over unchanged.\n\n## YAML Frontmatter Schemas (nucleus types only)\n\n### experiment\n\n```yaml\ntype: experiment\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nsource: null | \"demo-ingest\" | \"doc-ingest\" | \"agent\"  # optional, omit for agent experiments\nsource_path: null | \"path\u002Frelative\u002Fto\u002Frepo\"  # optional, for ingested content\nplatform: \"{platform}\"\ngate: \"{gate}\"\ntask_type: experiment | validation | regression | reproduction | parameter-study\nstatus: running | completed | failed | stalled\nfidelity: {float}\nduration_us: {float}\nfailure_mode: null | stagnation | divergence | constraint_violation | infeasible\nwarm_started_from: \"{catalog-id}\" | null\ntags: [experiment, {platform}, gate\u002F{gate}]\n```\n\n### paper\n\n```yaml\ntype: paper\narxiv: \"{id}\"\ntitle: \"{title}\"\nauthors: [{authors}]\ndate_read: YYYY-MM-DD\nsession_id: null\nrelevance: high | medium | low\nsystems: [{platforms}]\ntags: [paper, {platform}, ...]\n```\n\n### insight\n\n```yaml\ntype: insight\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nevidence: [\"[[experiment-note]]\"]\nconfidence: high | medium | low\ntags: [insight, ...]\n```\n\n### method\n\n```yaml\ntype: method\nname: \"{name}\"\ndate: YYYY-MM-DD\nsession_id: null\napplicability: [{platforms}]\ntags: [method, method\u002F{tag}]\n```\n\n### spec\n\n```yaml\ntype: spec\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nstatus: draft | approved | in-progress | completed | abandoned\npriority: P1 | P2 | ... | null\nplatform: \"{platform}\" | null\ntags: [spec, ...]\nvisibility: local | team | public   # shared work → team (promotable via dream-promote + the promote skill); default local\nlinked_plan: \"[[plan-YYYYMMDD-HHMMSS-desc]]\" | null\n```\n\n### plan\n\n```yaml\ntype: plan\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\nstatus: draft | approved | executing | completed | abandoned | failed\nspec: \"[[spec-YYYYMMDD-HHMMSS-desc]]\"\ntags: [plan, ...]\nvisibility: local | team | public   # shared work → team (promotable via dream-promote + the promote skill); default local\n```\n\n### hypothesis\n\n```yaml\ntype: hypothesis\ndate: YYYY-MM-DD\nsession_id: \"uuid\" | null\nstatus: open | untested | confirmed | refuted | abandoned\nplatform: \"{platform}\" | null\nevidence: [\"[[experiment-note]]\"]   # accumulates as tests run\ntags: [hypothesis, {platform}]\n```\n\n`status` is what `\u002Fhypothesis-review` ranks on — an untriaged hypothesis is invisible to it.\n\n### hopper\n\n```yaml\ntype: hopper\ndate: YYYY-MM-DD\nstatus: open | promoted | pruned\npromoted_to: \"[[spec-YYYYMMDD-HHMMSS-desc]]\" | null\ntags: [hopper, ...]\n```\n\nAn idea inbox entry. It leaves the hopper in exactly two ways: promoted to a spec (stamp\n`promoted_to`) or pruned with a reason. Neither is optional — an unresolved hopper item that\naccumulates is the failure mode this type exists to make visible.\n\n### retrospective\n\n```yaml\ntype: retrospective\ndate: YYYY-MM-DD\nsession_id: \"uuid\"\noutcome: success | partial | failed | abandoned\ntags: [retrospective, ...]\n```\n\n### research-brief \u002F charter \u002F reference \u002F note\n\n```yaml\ntype: research-brief | charter | reference | note\ndate: YYYY-MM-DD\nsession_id: \"uuid\" | null\ntags: [{type}, ...]\n```\n\nThe generic tier: `date` + `session_id` + `tags` is the floor every note type meets. Reach\nfor `note` only when no typed folder fits — an untyped note is one nothing can query.\n\n### system-context\n\n```yaml\ntype: system-context\nplatform: \"{platform}\"\nvariant: \"{variant}\"\n# ... (full schema in vault\u002Ftemplates\u002Fsystem-context.md)\n```\n\n### device\n```yaml\ntype: device\nname: \"local-workstation\"\nstatus: online  # online | offline | maintenance\ndevice_class: classical  # classical | quantum\nplatforms: [fluxonium, transmon, bosonic]\nlocation: \"local\"\ntags: [device]\n```\n\n### person\n```yaml\ntype: person\nname: \"Jane Researcher\"\norg: \"[[org-example-lab]]\"\nrole: \"Principal Investigator\"\ncontact: null  # optional email or URL\ntags: [person]\n```\n\n### org\n```yaml\ntype: org\nname: \"Example Lab\"\ndomain: \"superconducting qubits\"\nrelationship: partner  # partner | customer | academic\ntags: [org]\n```\n\n### meeting\n```yaml\ntype: meeting\ndate: 2026-04-02\nattendees: [\"[[person-jane-researcher]]\"]\norg: \"[[org-example-lab]]\"\ntopic: \"CZ partnership scoping\"\ntags: [meeting]\n```\n\n## Session ID\n\n- All agent-generated notes MUST include `session_id: \"{uuid}\"` from the current session\n- Human-curated notes use `session_id: null`\n- Used for provenance tracking and concurrent access\n- Generate a UUID at the start of each session and reuse it for all notes created in that session\n\n## Wikilink Conventions\n\n- Use `[[note-name-without-extension]]` format\n- Experiments link to: method notes used, system-context, catalog entry, plan that spawned them\n- Insights link to: experiment evidence\n- Papers link to: system-context where relevant\n- Specs link to: linked plan, related insights that motivated the spec\n- Plans link to: parent spec, experiments spawned from the plan\n\n## Quality Checklist\n\nBefore finalizing any vault note, verify:\n\n- [ ] Valid YAML frontmatter with `---` delimiters\n- [ ] All required fields present for the note type\n- [ ] `session_id` set appropriately (uuid for agent notes, null for human notes)\n- [ ] Tags include at least: type tag + platform tag\n- [ ] Timestamped filename if applicable (experiments, methods, papers, insights, specs, plans)\n- [ ] Wikilinks to related notes present\n\n## Provenance Chain\n\nThe full research lifecycle flows through the vault:\n\n**insight → hypothesis → spec → plan → experiment → result → insight**\n\nEvery node should link to its neighbors via wikilinks. An experiment should link back to the plan that spawned it; a plan should link to its parent spec; insights should cite the experiments that produced them.\n",{"name":5,"agents":24,"surface":28,"description":7,"vault_contract":29},[25,26,27],"researcher","librarian","dreamer","public",{"folders":30,"note_types":46,"frontmatter":66},[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"experiments","insights","methods","papers","specs","plans","hopper","notes","references","meetings","people","orgs","sessions","briefs","templates",[47,48,49,50,51,52,53,54,55,56,57,58,37,59,60,61,62,63,64,65],"experiment","insight","method","paper","spec","plan","system-context","device","person","org","meeting","hypothesis","retrospective","research-brief","charter","control-hardware","reference","note","project",[67,68,69,70,71],"session_id","visibility","promoted_from","promoted_to","route_intent","main","bf84fdd4c1494800695bd5881702b3118dbf98be","packages\u002Fextension\u002Fskills\u002Famico-vault",2,"https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode","https:\u002F\u002Fgithub.com\u002Fharmoniqs","harmoniqs.ai","research tools, for researchers, by reseachers","2026-11-12 14:46:24",{"source":8,"skillName":5,"commands":82,"prompt":92,"zipAvailable":93},[83,86,89],{"tool":84,"command":85},"npx","npx skills add harmoniqs\u002Famicode --skill amico-vault",{"tool":87,"command":88},"bunx","bunx skills add harmoniqs\u002Famicode --skill amico-vault",{"tool":90,"command":91},"pnpm","pnpm dlx skills add harmoniqs\u002Famicode --skill amico-vault","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Fskills\u002Famico-vault\u002FSKILL.md",true,[],[96,103,110,116,123,130],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M759XGHEQRJ1GWZTPRFF9Z1W","malformed","Frontmatter that parses as YAML but is missing the required name field.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fmalformed\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M759XDVQ1PYPMT876X8J21TQ","duplicated","Second skill carrying the duplicated frontmatter name.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fdup-two\u002FSKILL.md",[],[],{"skillNo":111,"name":105,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M759XBZYBHF38JDWSRHAC6E1","First skill carrying the duplicated frontmatter name.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fdup-one\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M759XAQBSP29BKTTXR1WF2D7","drifted","A skill whose API claims have drifted from the fixture packages.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fdrifted\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M759X8CNBPVK98C6M45D0QMB","clean","A clean skill whose every extracted claim resolves against the fixture packages.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fclean\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M759X73H6N2G0VDH8CJ5TF11","broken-paths","A skill with a broken relative link and a broken cited package path.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fbroken-paths\u002FSKILL.md",[],[]]