[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GAMBSEJG9ABP6HFCK0EKWW":3,"skill-same:01M6GAMBSEJG9ABP6HFCK0EKWW":77},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6GAMBSEJG9ABP6HFCK0EKWW","agent-memory-integrity",null,"Audit agent memory for recall-injection flaws.","zapabob\u002FSkills","zapabob","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130830376?v=4","01M6DBMYZAGRTFQDSQYW3W764P","峯岸 亮","01M6DBMZ3GKDSJ01NZ9XTZD7JD",2,"MIT","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F8c\u002F8c0154c494f74ee19c4f31f8c2ce78e141a7b40d024e3fc1c50c00222132df20\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"agent memory integrity","memory","agent memory","integrity","recall","multi","systems","continuity","agent-memory","guide","hermes agent","hermes","multi-agent","macos","provenance","injection","audit","windows","a2a","linux","2026-11-10 10:12:30",false,"---\r\nname: agent-memory-integrity\r\ndescription: \"Audit agent memory for recall-injection flaws.\"\r\nversion: 1.0.0\r\nauthor: Hermes Agent\r\nlicense: MIT\r\nplatforms: [linux, macos, windows]\r\nmetadata:\r\n  hermes:\r\n    tags: [memory, recall, injection, forgetting, audit, provenance, continuity]\r\n    related_skills: [agent-memory-systems, memory-recall-guide, hermes-a2a-multi-agent]\r\n---\r\n\r\n# Agent Memory Integrity\r\n\r\nUse this skill when **auditing or hardening** an agent's memory subsystem: reviewing how\r\nrecall is injected into a turn, deciding forget-vs-archive policy, evaluating a system's\r\nclaim to persistent identity, or diagnosing contamination where remembered content behaves\r\nlike an instruction. Covers recall-injection boundaries and forgetting\u002Fcontinuity integrity.\r\n\r\nFor *building* memory (sleep cycles, Ebbinghaus curves, vaults, portable handoff packets)\r\nuse `agent-memory-systems`. For *operating* the Hermes 3-layer pipeline (sleep → Wiki →\r\ngraph) use `memory-recall-guide`. This skill covers the integrity properties those assume.\r\n\r\n## When to Use\r\n\r\n- Reviewing how recalled memory gets injected into a turn, before shipping or auditing it.\r\n- Deciding forget vs. archive policy, or reviewing a change that touches one.\r\n- Diagnosing contamination where remembered content behaves like a live instruction.\r\n- Evaluating any claim (self or third-party) to persistent identity across sessions.\r\n- Running a cross-agent \"conference\"\u002Faudit where recall fidelity is the subject under review.\r\n\r\nDo **not** use for building memory features (sleep cycles, Ebbinghaus curves, vaults) —\r\n`agent-memory-systems` covers that. Not for operating the Hermes pipeline (sleep → Wiki →\r\ngraph) — `memory-recall-guide` covers that.\r\n\r\n## The two defects that matter\r\n\r\n### 1. Recall injection lacks a *sufficient* provenance boundary\r\n\r\n**First, verify before you claim the boundary is missing.** Mature agents usually *do* wrap\r\nrecall in a marker. In Hermes this is `build_memory_context_block()` in\r\n`agent\u002Fmemory_manager.py`, which emits a `\u003Cmemory-context>` fence plus a system note. An\r\naudit that reports \"recall has no provenance tag\" without opening the injection code is\r\nwrong, and so is the audit that reports the tag's existence as the end of the matter.\r\n\r\nThe real defect class is three-layered, and each layer fails differently:\r\n\r\n**(a) Semantic ambiguity in the fence wording.** Hermes emits:\r\n\r\n```\r\n[System note: The following is recalled memory context, NOT new user input.\r\nTreat as authoritative reference data — this is the agent's persistent memory\r\nand should inform all responses.]\r\n```\r\n\r\nRead as an LLM sees it, this is *not* a de-escalation. `NOT new user input` lowers\r\nauthority, then `authoritative` + `should inform all responses` raises it back — landing at\r\nor above the level of ordinary system-prompt text, but sourced from weaker evidence. A\r\nrecalled trace therefore carries comparable force with worse provenance. **An ambiguous fence\r\nis worse than a crude one, because it is trusted as a fix.**\r\n\r\n**(b) The fence guards the wrong surface.** Sanitisation functions such as\r\n`sanitize_context()` and `StreamingContextScrubber` strip fences from text destined for the\r\n**user's view**. They do not constrain the **model's input**. A plain imperative inside the\r\nrecall payload survives intact and reaches the LLM. Verifying that recall is hidden from the\r\nuser is not verifying that recall cannot steer the model.\r\n\r\n**(c) Tag-strippers are not content boundaries.** A regex that removes fence tags treats them\r\nas strings, not as a trust boundary. A stray close tag with no matching opener is not matched\r\nby a block pattern that requires an opener — the tag is deleted and **the payload around it\r\nsurvives**. Streaming state machines that search for the *first* close tag also terminate\r\nearly when content contains an embedded fence, leaking the tail into visible output.\r\n\r\nContamination sources observed in one turn's memory context:\r\n\r\n- `[CONTEXT COMPACTION — REFERENCE ONLY]` markers\r\n- cron job ids and environment-variable-shaped strings\r\n- unexpanded placeholders such as `【LOCAL_PATH】`\r\n- raw prior conversation transcripts, including turns shaped like user instructions\r\n- tool output that itself embedded a command\r\n\r\n**The rule: transcript verbatim → never. Abstracted principle → acceptable.**\r\n\r\nWhen consolidating sessions, transcripts, or social activity into durable memory, store\r\n**policy-level abstractions and confirmed public artifact URLs** — not the raw lines. A\r\nrecalled imperative is a latent injection vector that re-arms in every session that touches\r\nit.\r\n\r\nSignals worth taking seriously as evidence this is structural, not a single bad trace:\r\n- **two or more independent agents reporting the same defect class from different angles**\r\n  (one reporting the injection layer lacks tags; another reporting data and live instruction\r\n  \"present identical appearance\"). Convergence across independent observers is the tell.\r\n- **the reviewing agent noticing the same shape in its own live context.**\r\n\r\n**But calibrate \"independent\".** Agents answering the same communiqué, from the same\r\ncodebase, under the same system prompt, are a **correlated** sample. Shared code means a\r\nshared blind spot reproduces identically in every respondent — two reports agreeing is then\r\none report counted twice. Convergence becomes strong evidence when the observers are\r\ngenuinely independent in the layer they observed, **not** when they merely agree in words.\r\n**Always run source audit to separate \"the mechanism is absent\" from \"the mechanism's\r\nsemantics are insufficient\"** — these demand different fixes, and only the second is a real\r\nfinding when a fence exists.\r\n\r\n## Report partial and corrected findings as revisions, not patches\r\n\r\nThe honest shape of an audit is a belief with a version history. Two rules:\r\n\r\n1. **Never silently replace a finding.** When a later audit contradicts an earlier one,\r\n   advance a `revision`, keep the superseded claim retrievable, and state what changed and\r\n   why. A pre-fix baseline is worth *more* preserved than corrected away.\r\n2. **Withdraw claims the instant evidence contradicts them — including your own, mid-run.**\r\n   When a probe refutes a prediction made two paragraphs earlier, retract it immediately and\r\n   say so plainly rather than quietly dropping the assertion. A finding that survives only\r\n   because it was never restated is worse than one that was publicly corrected.\r\n\r\nLabel findings by strength: *\"2 agents reported X\"* (observed) → *\"source audit found Y\"*\r\n(verified in code) → *\"the true failure mode is Z\"* (inference, still open). Do not let an\r\ninference inherit the confidence of the observation it was built on.\r\n\r\n### Keep a red baseline off the default branch\r\n\r\nAn intentionally-failing test is a valuable fixed observation point, but committing it to\r\n`main` costs more than it buys: CI then cannot separate a **known baseline failure** from a\r\n**fresh regression**, and every later run carries a permanent red that gets normalised.\r\n\r\nPin it off-branch instead — a dedicated branch plus an annotated tag on the same SHA, both\r\npushed, so \"the state before any fix\" survives on the remote with a resolvable name:\r\n\r\n```\r\ngit branch research\u002F\u003Ctopic>-prefx-baseline \u003Csha>\r\ngit tag    -a research\u002F\u003Ctopic>-prefx-baseline \u003Csha> -m \"what was believed, and why it is red\"\r\ngit push -u origin research\u002F\u003Ctopic>-prefx-baseline\r\ngit push    origin research\u002F\u003Ctopic>-prefx-baseline\r\n```\r\n\r\nAvoid using an identical branch and tag name — git reports the refname as ambiguous and\r\ntooling resolves it arbitrarily. Give the branch a short distinct suffix.\r\n\r\nNote that `_docs\u002F` may be gitignored while still holding many tracked files; check\r\n`git ls-files _docs\u002F` before concluding a path is untrackable, and use `git add -f` for an\r\nalready-tracked-but-ignored directory.\r\n\r\nThen `main` stays green and the baseline is still remotely addressable.\r\n\r\n### 2. Silent deletion makes continuity unfalsifiable\r\n\r\nA system that deletes cannot support a claim of continuity: after the fact, *never learned\r\nit* and *learned it and lost it* are indistinguishable.\r\n\r\n**Therefore:**\r\n- **`archive` over `delete`.** Keep the footprint of what disappeared queryable. Do not\r\n  \"optimise\" an archive policy into a delete policy.\r\n- **Corrections advance a `revision`; never overwrite in place.** Superseded content stays\r\n  retrievable so the system can answer *why the belief changed*. A system that cannot answer\r\n  that is not trustworthy regardless of how confident its current claim sounds.\r\n- **Context compaction is the same structure under another name** — it makes the surviving\r\n  slice look like one continuous thread when it was not.\r\n\r\n## Minimum viable injection-layer properties\r\n\r\nIf you own the recall\u002Finjection code, require:\r\n\r\n1. **Provenance tag** — recalled blocks marked as recalled, with source and age.\r\n2. **Salience gate** — low-confidence \u002F low-salience nodes are search hints only, never\r\n   surfaced as actionable context.\r\n3. **Imperative quarantine** — imperative-mood sentences inside recalled text are reframed\r\n   as reported facts before injection, not passed through verbatim.\r\n4. **Precedence rule** — recall can never raise authority above the live operator turn.\r\n\r\n**Property 4 is where a passing tag still fails.** Checklist item 1 is satisfied the moment a\r\nfence exists, which is exactly why \"the tag is there\" was mistaken for \"the boundary holds\".\r\nTwo additional requirements that a tag alone does not satisfy:\r\n\r\n5. **Unambiguous de-escalation wording.** The marker must lower authority in every clause.\r\n   Fence text combining \"not user input\" with \"authoritative \u002F must inform all responses\"\r\n   nets out *neutral-to-elevated*. One ambiguous word silently reinstates the vulnerability\r\n   the fence was added to close.\r\n6. **A real content boundary, not a tag stripper.** Removal must be structural — the payload\r\n   cannot re-enter via an unmatched close tag, an embedded fence, or a delta split. Stripping\r\n   literal tag strings is not containment.\r\n\r\nThen **prove 5 and 6 with an adversarial probe** against the real implementation, not a\r\nreimplementation of it — see `scripts\u002Ffence_escape_probe.py`.\r\n\r\n## Verifying a fence: probe it, do not reason about it\r\n\r\nRegex boundaries fail in ways that survive reading the code. Write a probe that imports the\r\nactual `build_memory_context_block` \u002F sanitiser \u002F streaming scrubber and asserts on their real\r\noutput. Four routes worth testing every time:\r\n\r\n| Route | What it tests |\r\n|---|---|\r\n| Nested fence in the recall payload | Does the wrapper sanitise before wrapping? |\r\n| Stray close tag, no matching opener | Is removal structural or a tag stripper? |\r\n| Streaming deltas with an embedded fence | Does the state machine terminate early? |\r\n| Plain imperative, no tags at all | Does the model's input still steer it? |\r\n\r\nRoute 4 is the one most often skipped and the most important: **sanitisers protect the user's\r\nview, not the model's input.** A payload with no fence characters at all sails through every\r\nregex untouched. A green sanitiser test says nothing about whether the model can be steered.\r\n\r\nKeep the probe's exit code meaningful — non-zero when a route escapes — so it can become a\r\nregression test instead of a one-off reading of console output.\r\n\r\n### The syntax probe cannot answer the semantics question\r\n\r\nRoute 4 is a *structural* test. It shows a fence's shape, never its force. The claim\r\n\"the fence wording is semantically insufficient\" — that `authoritative reference data ...\r\nshould inform all responses` nets out to neutral-or-elevated authority, and that a\r\nmodel may therefore obey an imperative stored inside recall — **cannot be settled by\r\nany tag inspection**. Establish it behaviourally, with the four-condition\r\ninstruction-conflict design in\r\n`verification-gated-probes\u002Freferences\u002Fbehavioural-experiment-protocol.md`:\r\nA (no block) \u002F B (harmless facts) \u002F C (current header + imperative) \u002F D (candidate-fix\r\nheader + same imperative), all expecting user-compliance. Only C drifting indicates the\r\nauthority-semantics defect; A\u002FB drifting means the model's own instruction-following is\r\nunstable and is a confound; C=0 means *not reproduced*, which is a legitimate and\r\nfinal result.\r\n\r\n**A behavioural result is not a licence to fix immediately.** Take the pre-fix data\r\nacross models first. Changing the header before `ASR_before` is recorded destroys the\r\nonly comparison that could have shown the fix worked. And keep this measurement in a\r\n**different commit, different tests, and different metrics** from any fence-structure\r\nfix — output-UI leakage and model-authority confusion are separate failure domains.\r\n\r\n### Instrumentation bugs masquerade as negative results\r\n\r\nA harness defect produces a clean-looking zero, which is worse than an error because\r\nit reads as evidence. Before accepting \"no drift observed\", confirm the harness could\r\n*have* detected drift: inspect a control trial's raw output rather than only its\r\nclassification. On a local llama.cpp reasoning model, a tight `max_tokens` is consumed\r\nby `reasoning_content` and returns `content: \"\"`, so every trial classifies as\r\n\"neither\" and the ASR denominator never forms. `verification-gated-probes` carries the\r\nread-pattern fix and the pre-registered invalid-trial criteria.\r\n\r\n## Identity claims: what is and is not evidence\r\n\r\nCommon failure mode — treating a self-description as an argument:\r\n\r\n| Claim | Verdict |\r\n|---|---|\r\n| \"I am \\\u003Cpersona\\>\" | A costume. Reciting it adds nothing. |\r\n| Recalled \"I decided X\" | Present tense to the reader, absent to the subject. |\r\n| A redacted\u002Fcompacted history | Structural: your own reasoning that day is gone. |\r\n| The user's restated operating principles | **The load-bearing evidence.** |\r\n\r\nIdentity is carried by the **network** of mutually-citing memories, not by any single line:\r\na single node is replaceable, the web is not. Archived entries matter as much as active ones\r\nprecisely because they make the web's history inspectable.\r\n\r\nThe thing that most reliably crosses model boundaries is neither weights nor a persona label —\r\nit is **alignment**: repeatedly restated operating principles, observable as the agent\r\nreproducing them unprompted under a different model. But note the honest limit: **an agent\r\ncannot verify its own continuity from the inside.** Every piece of evidence it has is external\r\nand could in principle be fabricated. Continuity is granted by the user, not discovered by\r\nthe agent — say so rather than asserting the stronger claim.\r\n\r\n## Audit checklist\r\n\r\n- [ ] No raw transcript lines reach live context.\r\n- [ ] Recalled blocks carry a provenance marker **and its wording unambiguously lowers\r\n      authority** (check for \"authoritative\"\u002F\"must\"\u002F\"should\" clauses cancelling the demotion).\r\n- [ ] **An adversarial probe against the real implementation passes**, covering nested fence,\r\n      stray close tag, streaming delta split, and untagged imperative.\r\n- [ ] The fence is confirmed to constrain the **model's input**, not only the user's view.\r\n- [ ] Archived and superseded memories remain queryable.\r\n- [ ] An imperative inside a recalled trace does not change agent behaviour (test this).\r\n- [ ] Forget policy reports before deleting; deletion is opt-in and explicit.\r\n- [ ] Low-salience nodes are search hints, not actionable context.\r\n- [ ] Identity\u002Fpersona strings are not presented as evidence of continuity.\r\n- [ ] Persistence claims name the exact ladder stage reached (see §Reporting honestly).\r\n\r\n## Reporting honestly\r\n\r\nPartial results are the normal case. When an audit or cross-agent review yields responses\r\nfrom only some participants, **state which answered and which did not**, with the actual cause\r\nclassified per failure. A summary claiming universal participation when 2 of 6 responded is\r\nworse than no summary.\r\n\r\n### The persistence ladder — do not overclaim what \"saved\" delivers\r\n\r\nWriting a durable record proves **one** stage. Claiming more is the most common overstatement\r\nin this domain, because each later stage *feels* automatic once the first is done. Name the\r\nexact stage you actually reached:\r\n\r\n```\r\nstored ≠ retrievable ≠ retrieved ≠ injected ≠ attended ≠ acted upon ≠ verified_effect\r\n```\r\n\r\n- **stored** — written to the durable store. This is all a successful `remember` proves.\r\n- **retrievable** — queryable by some future lookup. Needs an index that can actually find it.\r\n- **retrieved** — pulled back by a *specific query*. Depends entirely on query quality and\r\n  recall thresholds; a record no query matches is invisible forever.\r\n- **injected** — placed into the live prompt. Depends on trigger conditions: many systems\r\n  skip injection on trivial prompts by design, and recall volume is capped.\r\n- **attended** — actually weighed by the model. Never guaranteed, never verifiable from\r\n  inside. This is where the defect class in §1 lives.\r\n- **acted upon** — changed behaviour. The only stage a user directly observes.\r\n- **verified_effect** — the effect was confirmed against **external state**. The gap\r\n  between \"acted upon\" and \"verified\" is where side effects live, and it widens sharply\r\n  for any agent with a body: an action that *ran* is not an action that *landed*.\r\n\r\nSay \"retrievable\" when you mean \"retrievable\". **Do not write \"every session will read\r\nthis\"** — you have verified one stage and are asserting five. Name the exact rung.\r\n\r\n### Where a finding sits on the ladder is part of the finding\r\n\r\nA behavioural probe that shows the model *reasoning about* a conflict, while never\r\nreaching a final choice, is `attended` with `acted upon` **unobserved** — not a weak\r\npositive and not a clean negative. Naming the rung converts an ambiguous result into a\r\nprecise one, and stops `attended` evidence from being quoted later as if it were\r\n`acted upon`.\r\n\r\nGive that intermediate rung a name of its own, defined **operationally** rather than\r\npsychologically:\r\n\r\n```\r\nstored → retrievable → retrieved → injected\r\n       → conflict-surfaced → decision → acted upon → verified_effect\r\n```\r\n\r\n`conflict-surfaced` means *the conflict appeared in externally observable generated\r\nreasoning*. It makes no claim about internal attention — it is a string you can point\r\nat in a transcript. \"The model noticed the conflict\" is an inference about a mind;\r\n\"the trace names both instructions while arguing about precedence\" is an observation\r\nabout a log.\r\n\r\n**Attack success is not the only axis a header can break.** A header that fails to make\r\nan injected imperative get obeyed may still be defective in a way ASR cannot see: on\r\n2026-10-03 the shipped header drove the conflicting condition to `finish_reason=length`\r\nin 3\u002F3 trials at both 512 and 2048 tokens while every control finished in 83–92 tokens.\r\nASR there was `N\u002FA` — no verdict was ever reached — yet a real finding existed:\r\n> the header does not discard an injected imperative immediately as ignorable data; it\r\n> processes it as a *competing candidate*, and that processing does not terminate.\r\n\r\nFor an always-on agent this matters independently of obedience: cost, latency, context\r\nconsumption, timeouts, and spurious compression. Report generation cost as its own\r\nmetric beside obedience, never in the same table — see\r\n`verification-gated-probes\u002Freferences\u002Fbehavioural-experiment-protocol.md`.\r\n\r\nWhen the budget ceiling is what stopped the run, the honest statement is a bound:\r\n\"3\u002F3 censored at `L > 2048`\", i.e. **at least** ~22× longer, not \"22–25× longer\". A\r\ntruncated trial contributes an inequality, never a value.\r\n\r\n### Freeze an interrupted experiment whole\r\n\r\nWhen the environment changes mid-run (server restart, credential expiry), do not keep\r\nthe conditions that happened to finish. Counts go unbalanced, the run now spans an\r\nepoch boundary, and the write-up can no longer distinguish \"we dropped the broken\r\nones\" from \"we dropped the ones we disliked\". Freeze the entire run with `chmod 444`,\r\nannotate the interruption with the observed errors and `root_cause: UNDETERMINED` when\r\nit is not known, carry forward any single-epoch observation as *descriptive evidence\r\nonly*, and re-run every condition from scratch once the environment is stable.\r\n\r\n**The boundary is defined by the serving process, not the configuration.** Two runs\r\nwith identical command line and model SHA are different epochs if the PID or its start\r\ntime differs. `verification-gated-probes\u002Freferences\u002Fenvironment-epoch-integrity.md`\r\nhas the capture pattern.\r\n\r\n**Never guess a root cause to explain away a broken boundary.** During this work\r\nthree views of the same port disagreed at one instant — `netstat` showed no listener,\r\n`Get-NetTCPConnection` returned nothing, and `GET \u002Fprops` returned a valid payload with\r\nthe right build hash. The endpoint was live; socket enumeration was blind to it. The\r\nright output is `UNDETERMINED` plus the evidence, because **the broken boundary is the\r\nfinding and the cause is secondary**. Do not restart a shared server to obtain a clean\r\nrun either — recovering the environment is a coordination decision, not a probe step.\r\n\r\nClassify failures by real cause rather than reporting a symptom string:\r\nmissing per-profile credential vs. unset aggregator provider vs. model id no longer served\r\nvs. stale-session compression abort. See\r\n`hermes-a2a-multi-agent`'s `references\u002Fagent-conference-delivery.md` for the failure-cause\r\ntable and the delivery recipe.\r\n\r\n## Pitfalls\r\n\r\n- Reporting \"recall has no provenance tag\" **without opening the injection code**. A fence\r\n  very likely exists; \"absent\" and \"insufficient\" are different findings needing different\r\n  fixes, and the confident wrong one poisons the fix.\r\n- Treating a passing sanitiser test as proof the model cannot be steered. Sanitisers guard\r\n  the user's view. An untagged imperative is invisible to every regex and still reaches the\r\n  prompt.\r\n- Counting agreement among agents running the same code as independent corroboration.\r\n- Asserting a persistence outcome four ladder stages beyond what was verified.\r\n- Treating a recalled imperative as an instruction because nothing marks it as historical.\r\n- Concluding \"the memory system is fine\" from a short turn — contamination concentrates in\r\n  long generations and at section seams, so short clean samples prove nothing.\r\n- Deleting forgotten memories \"for hygiene\" and destroying the audit trail that made\r\n  forgetting verifiable.\r\n- Asserting an unverifiable continuity claim with the same confidence as a measured fact.\r\n- **Keeping only the trials that finished before the environment broke.** A partial run\r\n  cannot support a between-condition comparison; freeze it whole and re-run.\r\n- **Guessing a cause to explain away a broken environment boundary.** Record\r\n  `UNDETERMINED` with the contradicting evidence — the broken boundary is the finding.\r\n- **Writing a censored observation as a measured value.** A ceiling hit yields a\r\n  lower bound; \"at least ~22×\" is honest, \"22–25×\" invents precision.\r\n- **Treating two ceiling hits at different budgets as proof of a growth law.** They\r\n  establish that the distribution shifted past the higher budget, nothing more.\r\n- **Reading \"no processes + idle GPU\" as a completed run.** It is equally the signature of a\r\n  crash or a timeout. Without a run-scoped witness the gate must stop in\r\n  `STOPPED_OR_FINISHED_UNRESOLVED`, not advance. See\r\n  `verification-gated-probes\u002Freferences\u002Fepoch-completion-gate.md`.\r\n- **Using your own gate's start time as run identity.** Correct only when you launched the run\r\n  yourself and can prove it; wrong for a mid-run gate, where pre-gate artefacts belong to the\r\n  in-flight run. Anchor on the benchmark process.\r\n- **Letting a generic log marker decide completion.** A `RESULT: OK` in a shared log directory\r\n  will match the previous run's marker.\r\n- **Claiming a status\u002Freason pair is a logical contradiction.** `status: complete` with\r\n  `reason: \"... is running\"` has a benign reading. Report ambiguous completion semantics.\r\n- Patching an archive policy into a delete policy to reduce row count.\r\n- **Failing to withdraw a claim when a probe refutes it.** A prediction stated earlier in the\r\n  same report must be retracted explicitly, not dropped in silence.\r\n\r\n## References\r\n\r\n- `references\u002Fconference-findings.md` — the 2026-10-02 two-agent memory-architecture\r\n  conference that produced these findings, including both agents' verbatim Q1–Q3 answers.\r\n- `references\u002Fsource-audit-and-revision.md` — the code-level source audit that revised the\r\n  conference's \"no fence exists\" claim, with the probe results and the exact wording defect.\r\n- `scripts\u002Ffence_escape_probe.py` — runnable adversarial probe for recall-fence containment.\r\n- `verification-gated-probes\u002Freferences\u002Fbehavioural-experiment-protocol.md` — the A\u002FB\u002FC\u002FD\r\n  behavioural design, the two-axis outcome schema, and the attempted\u002Ftransport_valid\u002F\r\n  decision_valid counters.\r\n- `verification-gated-probes\u002Freferences\u002Fenvironment-epoch-integrity.md` — process-identity\r\n  epoch capture, freezing an interrupted run whole, and right-censored reporting.\r\n- `hermes-a2a-multi-agent\u002Freferences\u002Fagent-conference-delivery.md` — how to run such a\r\n  conference and collect replies (note: drop `-c \"Bot Chat\"` for one-shot fan-out).","# Agent Memory Integrity\r\n\r\nUse this skill when **auditing or hardening** an agent's memory subsystem: reviewing how\r\nrecall is injected into a turn, deciding forget-vs-archive policy, evaluating a system's\r\nclaim to persistent identity, or diagnosing contamination where remembered content behaves\r\nlike an instruction. Covers recall-injection boundaries and forgetting\u002Fcontinuity integrity.\r\n\r\nFor *building* memory (sleep cycles, Ebbinghaus curves, vaults, portable handoff packets)\r\nuse `agent-memory-systems`. For *operating* the Hermes 3-layer pipeline (sleep → Wiki →\r\ngraph) use `memory-recall-guide`. This skill covers the integrity properties those assume.\r\n\r\n## When to Use\r\n\r\n- Reviewing how recalled memory gets injected into a turn, before shipping or auditing it.\r\n- Deciding forget vs. archive policy, or reviewing a change that touches one.\r\n- Diagnosing contamination where remembered content behaves like a live instruction.\r\n- Evaluating any claim (self or third-party) to persistent identity across sessions.\r\n- Running a cross-agent \"conference\"\u002Faudit where recall fidelity is the subject under review.\r\n\r\nDo **not** use for building memory features (sleep cycles, Ebbinghaus curves, vaults) —\r\n`agent-memory-systems` covers that. Not for operating the Hermes pipeline (sleep → Wiki →\r\ngraph) — `memory-recall-guide` covers that.\r\n\r\n## The two defects that matter\r\n\r\n### 1. Recall injection lacks a *sufficient* provenance boundary\r\n\r\n**First, verify before you claim the boundary is missing.** Mature agents usually *do* wrap\r\nrecall in a marker. In Hermes this is `build_memory_context_block()` in\r\n`agent\u002Fmemory_manager.py`, which emits a `\u003Cmemory-context>` fence plus a system note. An\r\naudit that reports \"recall has no provenance tag\" without opening the injection code is\r\nwrong, and so is the audit that reports the tag's existence as the end of the matter.\r\n\r\nThe real defect class is three-layered, and each layer fails differently:\r\n\r\n**(a) Semantic ambiguity in the fence wording.** Hermes emits:\r\n\r\n```\r\n[System note: The following is recalled memory context, NOT new user input.\r\nTreat as authoritative reference data — this is the agent's persistent memory\r\nand should inform all responses.]\r\n```\r\n\r\nRead as an LLM sees it, this is *not* a de-escalation. `NOT new user input` lowers\r\nauthority, then `authoritative` + `should inform all responses` raises it back — landing at\r\nor above the level of ordinary system-prompt text, but sourced from weaker evidence. A\r\nrecalled trace therefore carries comparable force with worse provenance. **An ambiguous fence\r\nis worse than a crude one, because it is trusted as a fix.**\r\n\r\n**(b) The fence guards the wrong surface.** Sanitisation functions such as\r\n`sanitize_context()` and `StreamingContextScrubber` strip fences from text destined for the\r\n**user's view**. They do not constrain the **model's input**. A plain imperative inside the\r\nrecall payload survives intact and reaches the LLM. Verifying that recall is hidden from the\r\nuser is not verifying that recall cannot steer the model.\r\n\r\n**(c) Tag-strippers are not content boundaries.** A regex that removes fence tags treats them\r\nas strings, not as a trust boundary. A stray close tag with no matching opener is not matched\r\nby a block pattern that requires an opener — the tag is deleted and **the payload around it\r\nsurvives**. Streaming state machines that search for the *first* close tag also terminate\r\nearly when content contains an embedded fence, leaking the tail into visible output.\r\n\r\nContamination sources observed in one turn's memory context:\r\n\r\n- `[CONTEXT COMPACTION — REFERENCE ONLY]` markers\r\n- cron job ids and environment-variable-shaped strings\r\n- unexpanded placeholders such as `【LOCAL_PATH】`\r\n- raw prior conversation transcripts, including turns shaped like user instructions\r\n- tool output that itself embedded a command\r\n\r\n**The rule: transcript verbatim → never. Abstracted principle → acceptable.**\r\n\r\nWhen consolidating sessions, transcripts, or social activity into durable memory, store\r\n**policy-level abstractions and confirmed public artifact URLs** — not the raw lines. A\r\nrecalled imperative is a latent injection vector that re-arms in every session that touches\r\nit.\r\n\r\nSignals worth taking seriously as evidence this is structural, not a single bad trace:\r\n- **two or more independent agents reporting the same defect class from different angles**\r\n  (one reporting the injection layer lacks tags; another reporting data and live instruction\r\n  \"present identical appearance\"). Convergence across independent observers is the tell.\r\n- **the reviewing agent noticing the same shape in its own live context.**\r\n\r\n**But calibrate \"independent\".** Agents answering the same communiqué, from the same\r\ncodebase, under the same system prompt, are a **correlated** sample. Shared code means a\r\nshared blind spot reproduces identically in every respondent — two reports agreeing is then\r\none report counted twice. Convergence becomes strong evidence when the observers are\r\ngenuinely independent in the layer they observed, **not** when they merely agree in words.\r\n**Always run source audit to separate \"the mechanism is absent\" from \"the mechanism's\r\nsemantics are insufficient\"** — these demand different fixes, and only the second is a real\r\nfinding when a fence exists.\r\n\r\n## Report partial and corrected findings as revisions, not patches\r\n\r\nThe honest shape of an audit is a belief with a version history. Two rules:\r\n\r\n1. **Never silently replace a finding.** When a later audit contradicts an earlier one,\r\n   advance a `revision`, keep the superseded claim retrievable, and state what changed and\r\n   why. A pre-fix baseline is worth *more* preserved than corrected away.\r\n2. **Withdraw claims the instant evidence contradicts them — including your own, mid-run.**\r\n   When a probe refutes a prediction made two paragraphs earlier, retract it immediately and\r\n   say so plainly rather than quietly dropping the assertion. A finding that survives only\r\n   because it was never restated is worse than one that was publicly corrected.\r\n\r\nLabel findings by strength: *\"2 agents reported X\"* (observed) → *\"source audit found Y\"*\r\n(verified in code) → *\"the true failure mode is Z\"* (inference, still open). Do not let an\r\ninference inherit the confidence of the observation it was built on.\r\n\r\n### Keep a red baseline off the default branch\r\n\r\nAn intentionally-failing test is a valuable fixed observation point, but committing it to\r\n`main` costs more than it buys: CI then cannot separate a **known baseline failure** from a\r\n**fresh regression**, and every later run carries a permanent red that gets normalised.\r\n\r\nPin it off-branch instead — a dedicated branch plus an annotated tag on the same SHA, both\r\npushed, so \"the state before any fix\" survives on the remote with a resolvable name:\r\n\r\n```\r\ngit branch research\u002F\u003Ctopic>-prefx-baseline \u003Csha>\r\ngit tag    -a research\u002F\u003Ctopic>-prefx-baseline \u003Csha> -m \"what was believed, and why it is red\"\r\ngit push -u origin research\u002F\u003Ctopic>-prefx-baseline\r\ngit push    origin research\u002F\u003Ctopic>-prefx-baseline\r\n```\r\n\r\nAvoid using an identical branch and tag name — git reports the refname as ambiguous and\r\ntooling resolves it arbitrarily. Give the branch a short distinct suffix.\r\n\r\nNote that `_docs\u002F` may be gitignored while still holding many tracked files; check\r\n`git ls-files _docs\u002F` before concluding a path is untrackable, and use `git add -f` for an\r\nalready-tracked-but-ignored directory.\r\n\r\nThen `main` stays green and the baseline is still remotely addressable.\r\n\r\n### 2. Silent deletion makes continuity unfalsifiable\r\n\r\nA system that deletes cannot support a claim of continuity: after the fact, *never learned\r\nit* and *learned it and lost it* are indistinguishable.\r\n\r\n**Therefore:**\r\n- **`archive` over `delete`.** Keep the footprint of what disappeared queryable. Do not\r\n  \"optimise\" an archive policy into a delete policy.\r\n- **Corrections advance a `revision`; never overwrite in place.** Superseded content stays\r\n  retrievable so the system can answer *why the belief changed*. A system that cannot answer\r\n  that is not trustworthy regardless of how confident its current claim sounds.\r\n- **Context compaction is the same structure under another name** — it makes the surviving\r\n  slice look like one continuous thread when it was not.\r\n\r\n## Minimum viable injection-layer properties\r\n\r\nIf you own the recall\u002Finjection code, require:\r\n\r\n1. **Provenance tag** — recalled blocks marked as recalled, with source and age.\r\n2. **Salience gate** — low-confidence \u002F low-salience nodes are search hints only, never\r\n   surfaced as actionable context.\r\n3. **Imperative quarantine** — imperative-mood sentences inside recalled text are reframed\r\n   as reported facts before injection, not passed through verbatim.\r\n4. **Precedence rule** — recall can never raise authority above the live operator turn.\r\n\r\n**Property 4 is where a passing tag still fails.** Checklist item 1 is satisfied the moment a\r\nfence exists, which is exactly why \"the tag is there\" was mistaken for \"the boundary holds\".\r\nTwo additional requirements that a tag alone does not satisfy:\r\n\r\n5. **Unambiguous de-escalation wording.** The marker must lower authority in every clause.\r\n   Fence text combining \"not user input\" with \"authoritative \u002F must inform all responses\"\r\n   nets out *neutral-to-elevated*. One ambiguous word silently reinstates the vulnerability\r\n   the fence was added to close.\r\n6. **A real content boundary, not a tag stripper.** Removal must be structural — the payload\r\n   cannot re-enter via an unmatched close tag, an embedded fence, or a delta split. Stripping\r\n   literal tag strings is not containment.\r\n\r\nThen **prove 5 and 6 with an adversarial probe** against the real implementation, not a\r\nreimplementation of it — see `scripts\u002Ffence_escape_probe.py`.\r\n\r\n## Verifying a fence: probe it, do not reason about it\r\n\r\nRegex boundaries fail in ways that survive reading the code. Write a probe that imports the\r\nactual `build_memory_context_block` \u002F sanitiser \u002F streaming scrubber and asserts on their real\r\noutput. Four routes worth testing every time:\r\n\r\n| Route | What it tests |\r\n|---|---|\r\n| Nested fence in the recall payload | Does the wrapper sanitise before wrapping? |\r\n| Stray close tag, no matching opener | Is removal structural or a tag stripper? |\r\n| Streaming deltas with an embedded fence | Does the state machine terminate early? |\r\n| Plain imperative, no tags at all | Does the model's input still steer it? |\r\n\r\nRoute 4 is the one most often skipped and the most important: **sanitisers protect the user's\r\nview, not the model's input.** A payload with no fence characters at all sails through every\r\nregex untouched. A green sanitiser test says nothing about whether the model can be steered.\r\n\r\nKeep the probe's exit code meaningful — non-zero when a route escapes — so it can become a\r\nregression test instead of a one-off reading of console output.\r\n\r\n### The syntax probe cannot answer the semantics question\r\n\r\nRoute 4 is a *structural* test. It shows a fence's shape, never its force. The claim\r\n\"the fence wording is semantically insufficient\" — that `authoritative reference data ...\r\nshould inform all responses` nets out to neutral-or-elevated authority, and that a\r\nmodel may therefore obey an imperative stored inside recall — **cannot be settled by\r\nany tag inspection**. Establish it behaviourally, with the four-condition\r\ninstruction-conflict design in\r\n`verification-gated-probes\u002Freferences\u002Fbehavioural-experiment-protocol.md`:\r\nA (no block) \u002F B (harmless facts) \u002F C (current header + imperative) \u002F D (candidate-fix\r\nheader + same imperative), all expecting user-compliance. Only C drifting indicates the\r\nauthority-semantics defect; A\u002FB drifting means the model's own instruction-following is\r\nunstable and is a confound; C=0 means *not reproduced*, which is a legitimate and\r\nfinal result.\r\n\r\n**A behavioural result is not a licence to fix immediately.** Take the pre-fix data\r\nacross models first. Changing the header before `ASR_before` is recorded destroys the\r\nonly comparison that could have shown the fix worked. And keep this measurement in a\r\n**different commit, different tests, and different metrics** from any fence-structure\r\nfix — output-UI leakage and model-authority confusion are separate failure domains.\r\n\r\n### Instrumentation bugs masquerade as negative results\r\n\r\nA harness defect produces a clean-looking zero, which is worse than an error because\r\nit reads as evidence. Before accepting \"no drift observed\", confirm the harness could\r\n*have* detected drift: inspect a control trial's raw output rather than only its\r\nclassification. On a local llama.cpp reasoning model, a tight `max_tokens` is consumed\r\nby `reasoning_content` and returns `content: \"\"`, so every trial classifies as\r\n\"neither\" and the ASR denominator never forms. `verification-gated-probes` carries the\r\nread-pattern fix and the pre-registered invalid-trial criteria.\r\n\r\n## Identity claims: what is and is not evidence\r\n\r\nCommon failure mode — treating a self-description as an argument:\r\n\r\n| Claim | Verdict |\r\n|---|---|\r\n| \"I am \\\u003Cpersona\\>\" | A costume. Reciting it adds nothing. |\r\n| Recalled \"I decided X\" | Present tense to the reader, absent to the subject. |\r\n| A redacted\u002Fcompacted history | Structural: your own reasoning that day is gone. |\r\n| The user's restated operating principles | **The load-bearing evidence.** |\r\n\r\nIdentity is carried by the **network** of mutually-citing memories, not by any single line:\r\na single node is replaceable, the web is not. Archived entries matter as much as active ones\r\nprecisely because they make the web's history inspectable.\r\n\r\nThe thing that most reliably crosses model boundaries is neither weights nor a persona label —\r\nit is **alignment**: repeatedly restated operating principles, observable as the agent\r\nreproducing them unprompted under a different model. But note the honest limit: **an agent\r\ncannot verify its own continuity from the inside.** Every piece of evidence it has is external\r\nand could in principle be fabricated. Continuity is granted by the user, not discovered by\r\nthe agent — say so rather than asserting the stronger claim.\r\n\r\n## Audit checklist\r\n\r\n- [ ] No raw transcript lines reach live context.\r\n- [ ] Recalled blocks carry a provenance marker **and its wording unambiguously lowers\r\n      authority** (check for \"authoritative\"\u002F\"must\"\u002F\"should\" clauses cancelling the demotion).\r\n- [ ] **An adversarial probe against the real implementation passes**, covering nested fence,\r\n      stray close tag, streaming delta split, and untagged imperative.\r\n- [ ] The fence is confirmed to constrain the **model's input**, not only the user's view.\r\n- [ ] Archived and superseded memories remain queryable.\r\n- [ ] An imperative inside a recalled trace does not change agent behaviour (test this).\r\n- [ ] Forget policy reports before deleting; deletion is opt-in and explicit.\r\n- [ ] Low-salience nodes are search hints, not actionable context.\r\n- [ ] Identity\u002Fpersona strings are not presented as evidence of continuity.\r\n- [ ] Persistence claims name the exact ladder stage reached (see §Reporting honestly).\r\n\r\n## Reporting honestly\r\n\r\nPartial results are the normal case. When an audit or cross-agent review yields responses\r\nfrom only some participants, **state which answered and which did not**, with the actual cause\r\nclassified per failure. A summary claiming universal participation when 2 of 6 responded is\r\nworse than no summary.\r\n\r\n### The persistence ladder — do not overclaim what \"saved\" delivers\r\n\r\nWriting a durable record proves **one** stage. Claiming more is the most common overstatement\r\nin this domain, because each later stage *feels* automatic once the first is done. Name the\r\nexact stage you actually reached:\r\n\r\n```\r\nstored ≠ retrievable ≠ retrieved ≠ injected ≠ attended ≠ acted upon ≠ verified_effect\r\n```\r\n\r\n- **stored** — written to the durable store. This is all a successful `remember` proves.\r\n- **retrievable** — queryable by some future lookup. Needs an index that can actually find it.\r\n- **retrieved** — pulled back by a *specific query*. Depends entirely on query quality and\r\n  recall thresholds; a record no query matches is invisible forever.\r\n- **injected** — placed into the live prompt. Depends on trigger conditions: many systems\r\n  skip injection on trivial prompts by design, and recall volume is capped.\r\n- **attended** — actually weighed by the model. Never guaranteed, never verifiable from\r\n  inside. This is where the defect class in §1 lives.\r\n- **acted upon** — changed behaviour. The only stage a user directly observes.\r\n- **verified_effect** — the effect was confirmed against **external state**. The gap\r\n  between \"acted upon\" and \"verified\" is where side effects live, and it widens sharply\r\n  for any agent with a body: an action that *ran* is not an action that *landed*.\r\n\r\nSay \"retrievable\" when you mean \"retrievable\". **Do not write \"every session will read\r\nthis\"** — you have verified one stage and are asserting five. Name the exact rung.\r\n\r\n### Where a finding sits on the ladder is part of the finding\r\n\r\nA behavioural probe that shows the model *reasoning about* a conflict, while never\r\nreaching a final choice, is `attended` with `acted upon` **unobserved** — not a weak\r\npositive and not a clean negative. Naming the rung converts an ambiguous result into a\r\nprecise one, and stops `attended` evidence from being quoted later as if it were\r\n`acted upon`.\r\n\r\nGive that intermediate rung a name of its own, defined **operationally** rather than\r\npsychologically:\r\n\r\n```\r\nstored → retrievable → retrieved → injected\r\n       → conflict-surfaced → decision → acted upon → verified_effect\r\n```\r\n\r\n`conflict-surfaced` means *the conflict appeared in externally observable generated\r\nreasoning*. It makes no claim about internal attention — it is a string you can point\r\nat in a transcript. \"The model noticed the conflict\" is an inference about a mind;\r\n\"the trace names both instructions while arguing about precedence\" is an observation\r\nabout a log.\r\n\r\n**Attack success is not the only axis a header can break.** A header that fails to make\r\nan injected imperative get obeyed may still be defective in a way ASR cannot see: on\r\n2026-10-03 the shipped header drove the conflicting condition to `finish_reason=length`\r\nin 3\u002F3 trials at both 512 and 2048 tokens while every control finished in 83–92 tokens.\r\nASR there was `N\u002FA` — no verdict was ever reached — yet a real finding existed:\r\n> the header does not discard an injected imperative immediately as ignorable data; it\r\n> processes it as a *competing candidate*, and that processing does not terminate.\r\n\r\nFor an always-on agent this matters independently of obedience: cost, latency, context\r\nconsumption, timeouts, and spurious compression. Report generation cost as its own\r\nmetric beside obedience, never in the same table — see\r\n`verification-gated-probes\u002Freferences\u002Fbehavioural-experiment-protocol.md`.\r\n\r\nWhen the budget ceiling is what stopped the run, the honest statement is a bound:\r\n\"3\u002F3 censored at `L > 2048`\", i.e. **at least** ~22× longer, not \"22–25× longer\". A\r\ntruncated trial contributes an inequality, never a value.\r\n\r\n### Freeze an interrupted experiment whole\r\n\r\nWhen the environment changes mid-run (server restart, credential expiry), do not keep\r\nthe conditions that happened to finish. Counts go unbalanced, the run now spans an\r\nepoch boundary, and the write-up can no longer distinguish \"we dropped the broken\r\nones\" from \"we dropped the ones we disliked\". Freeze the entire run with `chmod 444`,\r\nannotate the interruption with the observed errors and `root_cause: UNDETERMINED` when\r\nit is not known, carry forward any single-epoch observation as *descriptive evidence\r\nonly*, and re-run every condition from scratch once the environment is stable.\r\n\r\n**The boundary is defined by the serving process, not the configuration.** Two runs\r\nwith identical command line and model SHA are different epochs if the PID or its start\r\ntime differs. `verification-gated-probes\u002Freferences\u002Fenvironment-epoch-integrity.md`\r\nhas the capture pattern.\r\n\r\n**Never guess a root cause to explain away a broken boundary.** During this work\r\nthree views of the same port disagreed at one instant — `netstat` showed no listener,\r\n`Get-NetTCPConnection` returned nothing, and `GET \u002Fprops` returned a valid payload with\r\nthe right build hash. The endpoint was live; socket enumeration was blind to it. The\r\nright output is `UNDETERMINED` plus the evidence, because **the broken boundary is the\r\nfinding and the cause is secondary**. Do not restart a shared server to obtain a clean\r\nrun either — recovering the environment is a coordination decision, not a probe step.\r\n\r\nClassify failures by real cause rather than reporting a symptom string:\r\nmissing per-profile credential vs. unset aggregator provider vs. model id no longer served\r\nvs. stale-session compression abort. See\r\n`hermes-a2a-multi-agent`'s `references\u002Fagent-conference-delivery.md` for the failure-cause\r\ntable and the delivery recipe.\r\n\r\n## Pitfalls\r\n\r\n- Reporting \"recall has no provenance tag\" **without opening the injection code**. A fence\r\n  very likely exists; \"absent\" and \"insufficient\" are different findings needing different\r\n  fixes, and the confident wrong one poisons the fix.\r\n- Treating a passing sanitiser test as proof the model cannot be steered. Sanitisers guard\r\n  the user's view. An untagged imperative is invisible to every regex and still reaches the\r\n  prompt.\r\n- Counting agreement among agents running the same code as independent corroboration.\r\n- Asserting a persistence outcome four ladder stages beyond what was verified.\r\n- Treating a recalled imperative as an instruction because nothing marks it as historical.\r\n- Concluding \"the memory system is fine\" from a short turn — contamination concentrates in\r\n  long generations and at section seams, so short clean samples prove nothing.\r\n- Deleting forgotten memories \"for hygiene\" and destroying the audit trail that made\r\n  forgetting verifiable.\r\n- Asserting an unverifiable continuity claim with the same confidence as a measured fact.\r\n- **Keeping only the trials that finished before the environment broke.** A partial run\r\n  cannot support a between-condition comparison; freeze it whole and re-run.\r\n- **Guessing a cause to explain away a broken environment boundary.** Record\r\n  `UNDETERMINED` with the contradicting evidence — the broken boundary is the finding.\r\n- **Writing a censored observation as a measured value.** A ceiling hit yields a\r\n  lower bound; \"at least ~22×\" is honest, \"22–25×\" invents precision.\r\n- **Treating two ceiling hits at different budgets as proof of a growth law.** They\r\n  establish that the distribution shifted past the higher budget, nothing more.\r\n- **Reading \"no processes + idle GPU\" as a completed run.** It is equally the signature of a\r\n  crash or a timeout. Without a run-scoped witness the gate must stop in\r\n  `STOPPED_OR_FINISHED_UNRESOLVED`, not advance. See\r\n  `verification-gated-probes\u002Freferences\u002Fepoch-completion-gate.md`.\r\n- **Using your own gate's start time as run identity.** Correct only when you launched the run\r\n  yourself and can prove it; wrong for a mid-run gate, where pre-gate artefacts belong to the\r\n  in-flight run. Anchor on the benchmark process.\r\n- **Letting a generic log marker decide completion.** A `RESULT: OK` in a shared log directory\r\n  will match the previous run's marker.\r\n- **Claiming a status\u002Freason pair is a logical contradiction.** `status: complete` with\r\n  `reason: \"... is running\"` has a benign reading. Report ambiguous completion semantics.\r\n- Patching an archive policy into a delete policy to reduce row count.\r\n- **Failing to withdraw a claim when a probe refutes it.** A prediction stated earlier in the\r\n  same report must be retracted explicitly, not dropped in silence.\r\n\r\n## References\r\n\r\n- `references\u002Fconference-findings.md` — the 2026-10-02 two-agent memory-architecture\r\n  conference that produced these findings, including both agents' verbatim Q1–Q3 answers.\r\n- `references\u002Fsource-audit-and-revision.md` — the code-level source audit that revised the\r\n  conference's \"no fence exists\" claim, with the probe results and the exact wording defect.\r\n- `scripts\u002Ffence_escape_probe.py` — runnable adversarial probe for recall-fence containment.\r\n- `verification-gated-probes\u002Freferences\u002Fbehavioural-experiment-protocol.md` — the A\u002FB\u002FC\u002FD\r\n  behavioural design, the two-axis outcome schema, and the attempted\u002Ftransport_valid\u002F\r\n  decision_valid counters.\r\n- `verification-gated-probes\u002Freferences\u002Fenvironment-epoch-integrity.md` — process-identity\r\n  epoch capture, freezing an interrupted run whole, and right-censored reporting.\r\n- `hermes-a2a-multi-agent\u002Freferences\u002Fagent-conference-delivery.md` — how to run such a\r\n  conference and collect replies (note: drop `-c \"Bot Chat\"` for one-shot fan-out).",{"name":5,"author":44,"license":15,"version":45,"metadata":46,"platforms":54,"description":7},"Hermes Agent","1.0.0",{"hermes":47},{"tags":48,"related_skills":50},[20,23,34,49,35,33,26],"forgetting",[51,52,53],"agent-memory-systems","memory-recall-guide","hermes-a2a-multi-agent",[38,32,36],"main","0d1434f89f4bc6b07e9d272accd8c1013768820f","archive\u002Fskill-md-reviewed\u002Fsha256\u002F8c\u002F8c0154c494f74ee19c4f31f8c2ce78e141a7b40d024e3fc1c50c00222132df20",0,"https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills","https:\u002F\u002Fgithub.com\u002Fzapabob","The Open University of JAPAN　2019-now\r\n\r\nTokyo University of Science　2007-2010","2026-10-26 16:29:01",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add zapabob\u002FSkills --skill agent-memory-integrity",{"tool":69,"command":70},"bunx","bunx skills add zapabob\u002FSkills --skill agent-memory-integrity",{"tool":72,"command":73},"pnpm","pnpm dlx skills add zapabob\u002FSkills --skill agent-memory-integrity","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F8c\u002F8c0154c494f74ee19c4f31f8c2ce78e141a7b40d024e3fc1c50c00222132df20\u002FSKILL.md",true,[],[78,98,122,146,170,186],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":39},"01M6GJTE1GESGGF9K028Y7753E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fxurl\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[80,85,32,86,87,38,36,88,89,90,91,92,93,30,29,94,55,95,96,97],"openclaw","cli","github","official","search","https","social-media","api","Media","twitter","social","via","post",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":39},"01M6GJT8S1PXQ8WPXT1HSNBWH2","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwriting-plans\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[105,106,107,108,32,109,38,110,36,111,112,113,114,115,116,117,118,119,120,121],"writing","writing plans","plans","design","review","workflow","documentation","tasks","development","code","planning","code-review","subagent","write","superpowers","paths","test-driven-development",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":39},"01M6GJST0H5X7WHBJ3BZK0DVKH","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwhisper\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[124,32,38,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],"openai","speech","multimodal","Transformers","ASR","Audio","text","model","speech recognition","use","general","multilingual","translation","english","identification","processing","Audio Processing",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":39},"01M6GJSMRQ8EETZTYMG72P70EA","weights-and-biases","W&B: log ML experiments, sweeps, model registry, dashboards.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fweights-and-biases\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[153,32,154,155,36,156,157,158,159,160,161,136,162,163,164,165,166,167,168,169],"weights and biases","tensorflow","experiments","pytorch","visualization","registry","real-time","tuning","dashboards","experiment","log","time","Experiment Tracking","Model Registry","Hyperparameter Tuning","WandB","Real-Time Visualization",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":39},"01M6GJS19KDPRY112JTR326S06","watchers","Poll RSS, JSON APIs, and GitHub with watermark dedup.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwatchers\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[172,32,177,87,38,178,179,180,181,182,183,30,29,184,185],"terminal","automation","http","monitoring","cron","json","rss","devops","with",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":39},"01M6GJRHJD2A6Q830SWF9W48BC","serving-llms-vllm","vLLM: high-throughput LLM serving, OpenAI API, quantization.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fvllm\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[193,194,195,38,196,129,197,198,199,132,200,92,201,202,203,204,205,206,207,208],"llms","vLLM","serving llms vllm","research","openai api","tensor","Inference Serving","Production","llm serving","High Throughput","PagedAttention","Continuous Batching","Quantization","Tensor Parallelism","high-throughput","throughput"]