@dreamforgestudiollc/emet 0.2.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/.env.example +63 -0
  2. package/CHANGELOG.md +84 -3
  3. package/CHARTER.md +19 -7
  4. package/README.md +130 -21
  5. package/areas/emet.md +18 -0
  6. package/areas/garden.md +18 -0
  7. package/areas/health.md +18 -0
  8. package/areas/home.md +18 -0
  9. package/areas/learning.md +18 -0
  10. package/areas/state.md +18 -0
  11. package/docs/AUTHORSHIP.md +3 -3
  12. package/docs/BOTS.md +4 -0
  13. package/docs/COVERAGE.md +2 -2
  14. package/docs/DEPLOY.md +41 -5
  15. package/docs/ERROR-CODES-SPEC.md +43 -0
  16. package/docs/ERROR-CODES.md +332 -0
  17. package/docs/GUARDRAILS-AND-MONORAILS.md +2 -1
  18. package/docs/GUIDED-SETUP.md +24 -3
  19. package/docs/PERMISSIONS.md +13 -7
  20. package/docs/ROADMAP.md +18 -15
  21. package/docs/SETUP.md +123 -14
  22. package/docs/SUBKEYS.md +59 -0
  23. package/gems/artifact-index.json +12 -0
  24. package/gems/bot-team-backup/floor.json +15 -0
  25. package/gems/bot-team-backup/gem.json +43 -0
  26. package/gems/bot-team-backup/guides/BOT_TEAM_BACKUP.md +27 -0
  27. package/gems/bot-team-backup/guides/BOT_TEAM_RECOVERY.md +23 -0
  28. package/gems/fieldnote/floor.json +14 -0
  29. package/gems/fieldnote/gem.json +70 -0
  30. package/gems/fieldnote/runes/fieldnote.js +4 -0
  31. package/gems/lean-six-sigma/CHANGELOG.md +10 -0
  32. package/gems/lean-six-sigma/README.md +92 -0
  33. package/gems/lean-six-sigma/floor.json +31 -0
  34. package/gems/lean-six-sigma/gem.json +1296 -0
  35. package/gems/lean-six-sigma/guides/ASSUMPTIONS.md +45 -0
  36. package/gems/lean-six-sigma/guides/BELTS.md +52 -0
  37. package/gems/lean-six-sigma/guides/DMADV.md +56 -0
  38. package/gems/lean-six-sigma/guides/DMAIC.md +127 -0
  39. package/gems/lean-six-sigma/guides/FORMULAS.md +330 -0
  40. package/gems/lean-six-sigma/guides/LEAN.md +97 -0
  41. package/gems/lean-six-sigma/guides/TEMPLATES.md +279 -0
  42. package/gems/lean-six-sigma/runes/lss_capability.js +132 -0
  43. package/gems/lean-six-sigma/runes/lss_control_limits.js +240 -0
  44. package/gems/lean-six-sigma/runes/lss_dpmo_sigma.js +81 -0
  45. package/gems/lean-six-sigma/runes/lss_hypothesis.js +298 -0
  46. package/gems/lean-six-sigma/runes/lss_sample_size.js +81 -0
  47. package/gems/neurendipity/floor.json +65 -0
  48. package/gems/neurendipity/gem.json +42 -0
  49. package/gems/neurendipity/guides/AUTISTIC_BURNOUT.md +81 -0
  50. package/{guides → gems/neurendipity/guides}/NEURODIVERGENT_SUPPORT.md +17 -8
  51. package/guides/README.md +3 -0
  52. package/package.json +12 -5
  53. package/server.json +48 -4
  54. package/src/aleph.js +18 -12
  55. package/src/annotations.js +45 -5
  56. package/src/atlas-role.js +9 -4
  57. package/src/attribution.js +555 -0
  58. package/src/conformance.js +7 -5
  59. package/src/database.js +34 -17
  60. package/src/dispatch.js +136 -16
  61. package/src/env.js +54 -9
  62. package/src/error-codes.js +394 -0
  63. package/src/error-log.js +273 -0
  64. package/src/error-report.js +245 -0
  65. package/src/floor.js +84 -41
  66. package/src/gaps.js +41 -8
  67. package/src/gem-check.js +1360 -0
  68. package/src/guides.js +31 -4
  69. package/src/host-reach.js +23 -0
  70. package/src/http-remote.js +47 -2
  71. package/src/index.js +10 -2
  72. package/src/invites.js +6 -5
  73. package/src/layers.js +9 -8
  74. package/src/lessons-to-checks.js +3 -3
  75. package/src/logger.js +2 -1
  76. package/src/mongo-connect.js +50 -2
  77. package/src/oauth-provider.js +30 -29
  78. package/src/owner-approvals.js +281 -0
  79. package/src/pages.js +806 -0
  80. package/src/persons.js +22 -1
  81. package/src/provenance.js +10 -10
  82. package/src/redact.js +10 -4
  83. package/src/request-log.js +1 -1
  84. package/src/rune-dispatch.js +360 -0
  85. package/src/rune-registry.js +71 -0
  86. package/src/rune-scope.js +42 -0
  87. package/src/scopes.js +3 -0
  88. package/src/session-graph.js +15 -12
  89. package/src/session.js +10 -10
  90. package/src/setup.js +307 -36
  91. package/src/socket.js +545 -0
  92. package/src/startup-pages.js +26 -8
  93. package/src/startup-payload.js +12 -8
  94. package/src/subkey-store.js +358 -0
  95. package/src/subkeys.js +947 -0
  96. package/src/tools.js +518 -204
  97. package/src/transcript-session.js +1 -1
  98. package/src/validation.js +85 -52
  99. package/src/version.js +1 -1
  100. package/templates/AREA.md +35 -0
  101. package/templates/BOARD.md +2 -2
  102. package/templates/BOTHANDOFF.md +2 -2
  103. package/templates/CHARACTER.md +1 -1
  104. package/templates/HANDOFF.md +1 -1
  105. package/templates/IDENTITY.md +1 -1
  106. package/templates/INDEX.md +21 -20
  107. package/templates/INSTALL.md +1 -1
  108. package/templates/PROCEDURE.md +1 -1
  109. package/templates/ROSTER.md +2 -2
  110. package/templates/SEED.md +2 -2
  111. package/templates/STAGING.md +2 -2
  112. package/templates/STANDARD.md +5 -5
  113. package/templates/THREAD.md +1 -1
  114. package/templates/USER.md +4 -1
  115. package/verification/load-gate/corpus.json +1765 -0
  116. package/verification/load-gate/load-gate.mjs +1246 -0
package/.env.example CHANGED
@@ -36,6 +36,51 @@ EMET_SOURCE_TAGS=laptop,phone,cli
36
36
  # EMET Member Access: one-time codes for a new person with read and write
37
37
  # access (never the owner). Separate from guest access.
38
38
  # EMET_MEMBER_ACCESS=1
39
+ # Strict login tags: a login bound to a tag may write only under that tag; a
40
+ # different declared source is refused. Off by default. Turn it on only once
41
+ # each bot has its own login (for example a Member Access code bound to its tag);
42
+ # on a shared login every other bot's writes would be refused.
43
+ # EMET_STRICT_LOGIN_TAG=1
44
+ # Delegated client sub-keys (EMET-0001). Off unless set to 1: one shared owner
45
+ # login, each bot holding its own key as a local secret. Off is no behavior
46
+ # change. First-use setup asks whether more than one bot or AI will use this
47
+ # memory. Leaving it out, or no, leaves these commented. Yes writes
48
+ # EMET_SUBKEYS=1, a generated pepper, and EMET_SUBKEY_PEPPER_VERSION=1 into
49
+ # this file only when the server reads it. A hosted deploy, where real
50
+ # environment variables are the config source, refuses that yes: set the
51
+ # three variables in the platform, then redeploy. Setup does not write a
52
+ # pepper into a container .env. Copying this example does not turn them on.
53
+ # See docs/SUBKEYS.md.
54
+ # The pepper is a server secret of at least 32 bytes, never stored in
55
+ # the database. EMET_SUBKEY_PEPPER_VERSION defaults to 1. While rotating, set
56
+ # EMET_SUBKEY_PEPPER_PREV and EMET_SUBKEY_PEPPER_PREV_VERSION so seals made
57
+ # with the previous pepper still verify. Keys last EMET_SUBKEY_TTL_DAYS
58
+ # (default 30, at most 90). A replaced key stays valid for
59
+ # EMET_SUBKEY_GRACE_MINUTES (default 10; 0 revokes it at once).
60
+ # EMET_SUBKEYS=1
61
+ # Turning EMET_SUBKEYS off ends every live sub-key session once, in the
62
+ # background at startup, when the sub-key collection already exists. The
63
+ # history event is written before the status change. Each ended session is
64
+ # kept and is not deleted. If that collection does not exist, startup does
65
+ # not create it. The sweep tries once, then a few times with backoff, and
66
+ # does not block the server accepting calls.
67
+ # With the flag off, a write that presents an emh_ handle is refused without
68
+ # opening the store. A write that names a sub-key session is refused the
69
+ # same way only when that session was live at this process's sweep. The
70
+ # refusal lasts until the next restart, by which time those sessions are
71
+ # already ended. The tool list stays the flag-off list either way.
72
+ # A store that ran the first sub-key build (rows inside emet/CLIENT_APPROVALS.md)
73
+ # still has those rows in that document's history. Production did not run it.
74
+ # EMET_SUBKEY_PEPPER=
75
+ # EMET_SUBKEY_PEPPER_VERSION=1
76
+ # EMET_SUBKEY_PEPPER_PREV=
77
+ # EMET_SUBKEY_PEPPER_PREV_VERSION=
78
+ # EMET_SUBKEY_GRACE_MINUTES=10
79
+ # EMET_SUBKEY_TTL_DAYS=30
80
+ # EMET_SUBKEY_FAIL_MAX=5
81
+ # How long a failed presentation counts, in milliseconds. Default 15 minutes.
82
+ # Values below 1000 are ignored.
83
+ # EMET_SUBKEY_FAIL_WINDOW_MS=900000
39
84
 
40
85
  # The monorail, the server-side check on the order of a session's writes
41
86
  # (docs/GUARDRAILS-AND-MONORAILS.md), runs in enforce only and has no setting:
@@ -47,6 +92,16 @@ EMET_SOURCE_TAGS=laptop,phone,cli
47
92
  # default is America/New_York.
48
93
  # EMET_TIMEZONE=America/New_York
49
94
 
95
+ # Optional. Address used by emet_error_report for the mailto draft and the
96
+ # structured email a calling assistant can pass to its own mail tool. Unset
97
+ # uses reports@example.com. That address is a placeholder, not a mailbox:
98
+ # configure this to a real address, or the report is returned and goes nowhere.
99
+ # EMET does not send mail. An empty string (a real empty environment
100
+ # variable, not a blank line in this file) returns the report and no email.
101
+ # The assistant may send the report only after showing it to you and getting
102
+ # your OK.
103
+ # EMET_REPORT_EMAIL=
104
+
50
105
  # Optional. Minutes after a complete close in which the session still takes its
51
106
  # ONE closing exchange (the reply sent after emet_session_close). After that one
52
107
  # append, or once the window passes, the session is locked. Default 5; 0 = off;
@@ -128,9 +183,17 @@ HOST=127.0.0.1
128
183
  # corpus_recall. Leave unset unless you have populated a corpus yourself.
129
184
  # EMET_CORPORA=
130
185
 
186
+ # Optional. GEM ids this install asked to turn on, comma-separated.
187
+ # Unset means a GEM activates only when its manifest says defaultOn.
188
+ # Neurendipity ships bundled and off. Set this to keep that guidance active:
189
+ # EMET_ACTIVE_GEMS=neurendipity
190
+
131
191
  # Diagnostics.
132
192
  LOG_LEVEL=info
133
193
  LOG_FORMAT=text
134
194
  # DEBUG=true
135
195
  # EMET_AUDIT_LOG=
136
196
  # EMET_CRASH_LOG=
197
+
198
+ # Attribution v2: the chief-of-staff bot that reviews new clients. Unset: the owner reviews them.
199
+ # EMET_COS_TAG=hub-bot
package/CHANGELOG.md CHANGED
@@ -5,6 +5,88 @@ All notable changes to EMET are listed here, newest first. The format follows
5
5
  [Semantic Versioning](https://semver.org/). EMET is still 0.x: the stored data shapes may
6
6
  change before 1.0.
7
7
 
8
+ ## 0.3.0 - 2026-10-20
9
+
10
+ ### Added
11
+ - The public site's subject links open in place as tabs. The hero stays above the tab list. A hash such as `#start` still opens that subject, and the hash updates when the subject changes. With JavaScript disabled, the page is the full document and the header links are anchors. A subject can host a simulator later: the mount stays empty, and demo code loads only when that subject is first shown. Hiding a subject tells a running demo to pause.
12
+ - Stable error codes. Every error EMET returns carries `error.emet_code` (`EMET-<AREA>-<NNN>`). The existing `error.code` field is unchanged, and message text is unchanged. The registry is `src/error-codes.js`. The table is `docs/ERROR-CODES.md`. An uncoded error that reaches a caller is `EMET-INT-001`.
13
+ - An operational error log (`error_log`), capped at 10,000 entries or 90 days, with a daily summary kept in `error_log_summary`. Rotation is a dated job. The log is not a controlled record. It stores no message text, arguments, document content, names, or secrets. A failed log write still returns the original error.
14
+ - Owner-only, read-only `emet_error_report` (34 tools with sub-keys off, 15 of them read-only). It writes nothing and sends nothing. The result is the full report, a `mailto:` draft to `EMET_REPORT_EMAIL` (unset uses `reports@example.com`; an empty string or any value that is not one plain address returns the report and no email), and a structured email `{to, subject, body_text, short_id, version}` a calling assistant can pass to its own email tool. The calling assistant may send this report only after showing the report to its user and getting their OK.
15
+ - Retired error-code numbers stay reserved. A code removed from the registry is added to `RETIRED_CODES` and is not reused.
16
+ - Upgrading to 0.3.0: error-log rotation caps `error_log` at 10,000 entries or 90 days and keeps the daily summaries in `error_log_summary`. Rotation deletes from `error_log`, so an existing database role needs `REMOVE` on `<db>.error_log` and on no other collection. Before the change, save the role: `atlas customDbRoles describe emetRecordKeeper --projectId <id> --output json > role-before.json`. Then append, which leaves every other privilege in place: `atlas customDbRoles update emetRecordKeeper --privilege REMOVE@<db>.error_log --append --projectId <id>`. Atlas UI: Database Access → Custom Roles → edit the role → database `<db>`, collection `error_log`, action `REMOVE`. Afterward, `atlas customDbRoles describe emetRecordKeeper --projectId <id> --output json` must not contain `DROP_COLLECTION` anywhere.
17
+ - An older stray `DROP_COLLECTION` on `_emet_verify` is not cleared by that append command. That append command cannot remove a privilege. Dry-run `node scripts/atlas-role.mjs --project <id> --db <db> --user <dbUsername> --prefix <prefix>`. The dry run calls the read-only `atlas customDbRoles describe emetRecordKeeper --projectId <id> --output json`. It needs Atlas auth and changes nothing. Then `node scripts/atlas-role.mjs --project <id> --db <db> --user <dbUsername> --prefix <prefix> --apply`, or clear it in the Atlas UI. `--prefix <prefix>` is `EMET_COLLECTION_PREFIX` (default `emet_`). `--prefix` overrides `EMET_COLLECTION_PREFIX`. The effective prefix is `--prefix`, or else the env. Re-applying replaces prefixed privilege names if the effective prefix doesn't match the install.
18
+ New installs use `scripts/atlas-role.mjs` (dry run, then `--apply`), passing `--db <db>` and `--prefix <prefix>`. The script sends the full privilege list from `src/atlas-role.js`. See `docs/SETUP.md`.
19
+ ISO 9001 7.5.3 / ISO 13485 4.2.5 document-control wording is unchanged.
20
+ - Topic pages (`emet_page`, `emet_pages`, `emet_page_lint`). A page is a view computed on each request from current records. It is not stored, not written back, and not returned by recall. Every displayed line cites its source. Area selectors are controlled documents `areas/<slug>.md` checked against `templates/AREA.md`. Only the owner creates or edits an area, and only the owner can read a page. Stale after 30 days unconfirmed, overridable on the area. Lint flags and never edits. A Monday `emet_initialize` carries the weekly counts. `STATE.md` stays the hand-kept board; `areas/state.md` is the generated view beside it. ISO 9001 7.5.3 / ISO 13485 4.2.5 document-control wording is unchanged.
21
+
22
+ ### Fixed
23
+ - If the site tab script does not load, the address bar keeps the subject fragment. A demo module path must be same-origin. The subject navigation stays a landmark; the tab list is the list inside it.
24
+ - Area documents stay owner-only on `accept_nonconformance`, as they already are on `write_doc`, `retire_doc`, and `rename_doc`. `as_of` cites the newest document revision in force on that date, latest write and then highest version, so an older history row with no archive date is not cited once a later revision exists. A revision that was archived, with no later revision recorded, is absent from that past view. A superseded or retired record with no end date stays in that past view, labelled "end date unknown", and is not a current line. A document with no version is dropped.
25
+ - A plain report address rejects a local part that starts or ends with a dot or contains `..`, and a domain label that is empty or starts or ends with a hyphen. Addresses such as `k@-x.com`, `k@x..com`, `.k@x.com`, and `k@x.com.` return the report and no email. EMET does not send the report.
26
+
27
+ ## 0.2.6 - 2026-10-20
28
+
29
+ ### Added
30
+ - First-use setup can turn on delegated client sub-keys (EMET-0001). `more_than_one_bot` is optional and defaults to no. Yes writes the flag, a generated pepper and version 1 into `.env` only when that file is the config source, after the store writes succeed, and does not turn the flag on in the running process. A hosted server refuses and tells the owner to set `EMET_SUBKEYS=1`, an owner-generated `EMET_SUBKEY_PEPPER` and `EMET_SUBKEY_PEPPER_VERSION=1`, then redeploy. See `docs/SUBKEYS.md`.
31
+ - Delegated client sub-keys (EMET-0001, accepted 2026-10-15). Behind `EMET_SUBKEYS=1` (off registers nothing new): `emet_subkey_request`, `emet_subkey_claim`, `emet_subkey_revoke`, and `emet_subkey_end_session`, plus the `subkey` and `session_handle` arguments and the `declared_attribution` gap. A bot on the shared owner login presents an `emk_` key at `emet_session_open` and the one-time `emh_` session handle on later writes. The server stamps the key's tag. Keys expire after 30 days and can be reissued. Approve and revoke stay on the owner's own login. Each bot holds its key as a local secret. HMAC seals store a pepper version so the previous pepper still verifies during rotation. Records live in the subkeys collection and its history, readable by the owner and the chief of staff. Each change is a compare-and-set on that document's revision and writes only the documents it changed. History events have their own ids and a duplicate-key error is not dropped. A correct handle is never locked out; only failed presentations count, per key, per client, and per session. Each open keeps its own record. Closing a session releases it only when the caller holds that session's key and handle, checked against `receipts.transcript_session_id`. A transcript row written in that session carries `key_id`. With the flag off the tool list is unchanged. Startup ends any live sub-key session once, in the background, when that collection already exists, and a write does not open the sub-key store. A write that presents an `emh_` handle, or names a sub-key session this process has seen, is refused. An empty `EMET_SOURCE_TAGS` refuses every sub-key tag. A store that ran the first build still has sub-key rows in the `emet/CLIENT_APPROVALS.md` history; production did not run that build.
32
+ - `emet_status` reports each GEM's byte cost (`gems`): installed and active counts, active floor bytes against `MAX_ACTIVE_FLOOR_BYTES`, headroom, the enforced caps, and per-GEM id, version, kind, bytes and refusal reason. Read-only and carries no floor text; a socket failure is reported in the field and never fails the status (GEM socket PR 4).
33
+ - Optional bot-team backup, off unless the first-run interview records yes. Yes is the recommended choice. The answer is stored on `bootstrap/USER.md`. The recipe and the recovery template ship as the bundled bot-team-backup GEM. EMET does not copy prompts or settings itself. Secret values are never stored. The recorded answer accepts yes or no in the user's words. Yes and Yes. count as yes. A non-string and any other text are refused before a write.
34
+ - Lean Six Sigma 0.9.0, a bundled runed GEM, off unless `EMET_ACTIVE_GEMS=lean-six-sigma`. Its `requires.emet` is `>=0.2.6` and `released` is true. Rune file digests are unchanged. `guides/BELTS.md` is `sha256:e9e591af0e2d89a27cddf73da48e4f4acacd1785e22473d42dd3b56366d008d0`. `gem.json` is `sha256:5f9da0caf7719a73f19bfbff211002eb66dbd0f988fd094131b56c4ecf438b31` and `CHANGELOG.md` is `sha256:d07810bd35e71952cea36212b878d8762a43b4f7b8e5f710b41a4190308d86fc`, the shipped 0.9.0 copy. `gems/artifact-index.json` is unchanged.
35
+
36
+ ### Security
37
+ - `EMET_SUBKEY_PEPPER` is masked on the write path. Setup does not return it or write it into a hosted container's `.env`. A leaked active key is revoked with `emet_subkey_revoke` from the owner's login. Deny applies only to a pending request. ISO 9001 7.5.3 / ISO 13485 4.2.5 document-control wording, the Charter and the floor are unchanged.
38
+
39
+ ### Fixed
40
+ - The bot-team backup answer accepts yes or no in the user's words, the same way as the multi-bot question. Yes and Yes. record the flag. A non-string and any other text are still refused before a write.
41
+ - The socket refuses a GEM whose `gem.json` `released` is not the boolean `true` (SR-08) on every boot. `false`, the string `"true"`, `1`, and `null` fail, and the socket logs the value. A missing field is allowed only for `neurendipity` 1.2.3 and `fieldnote` 1.0.1 when the id, the version, and every file digest match the pin. A shorter file list does not match. The pin covers the id, the version, and the file digests. It does not cover every other manifest field, including `defaultOn`, `priority`, `requires`, `description`, `name`, `authors`, `license`, rune `description`, schemas, the guides list, `distribution`, `coverage`, and rune metadata other than the version. `overrides` still needs SR-05 consent. A rune `execution` of `server` and `distribution` `library` are refused by GC-02. `gem.json` is not hashed: anyone who can edit it can already add `released: true`, so hashing it would grant nothing extra. A missing field on `neurendipity` or `fieldnote` that missed the pin says `(legacy pin mismatch: version/digests)`. An unpinned GEM does not get that hint. Any other GEM missing the field is refused, including a bumped version of those two. A read error refuses and does not turn the check off. Deleting or corrupting `fieldnote` does not disable the check. Two candidates that share an id log their own refusal.
42
+ - A RUNE may import only a file under the same GEM's `runes/`. A relative import that normalizes outside `runes/`, such as `../lib/h.js`, is refused even when that file is listed. A resolved real path outside `runes/` is refused, so a symlink that leaves `runes/` cannot be imported. A symlinked GEM directory fails GC-01 (`symlink`), and that refusal is not reused for the real directory. A symlinked file under `runes/` fails GC-04 (`symlink`) and is not followed. The socket records that refusal instead of omitting the entry. A `.JS` file under `runes/` is scanned. `.cjs` is not treated as a JavaScript module.
43
+ - The deploy image and the npm package include `verification/`. `src/host-reach.js` imports the RUNE load gate from there. A release that omitted the directory crashed at startup with `ERR_MODULE_NOT_FOUND`.
44
+ - RUNE import specifiers are checked in the vendored load gate (`runeSpecifierReason`). A bare package, `node:`, a URL, `emet/rune`, a path that normalizes outside the GEM, `../` with no file list, and a relative import that is not in the passed file list are refused. gem-check calls the same function. GC-16 still allows `emet/rune`; GC-19 still names that failure. A file under `runes/` that is not `.js` or `.mjs` fails GC-16 (`rune extension`) instead of being skipped.
45
+ - The GC-19 load gate is an allowlist (`verification/load-gate/load-gate.mjs`, the file EMET-GEMs vendors with `corpus.json`). acorn 8.19.0, fail closed, no second scan. Only listed AST nodes are admitted. No `var`, and no binding may reuse a top-level name. `Math` is only a direct read or call of a listed member, never `random`, and the Math object is never stored, passed, or returned. A computed key is a literal, a `const` bound directly to a primitive literal, or a read of a top-level `Object.freeze({ __proto__: null, … })` table inside a recognized `Object.hasOwn` guard. The guarded key is one `const` that is a primitive before the guard (`const n = String(input.n)` or `Number(...)`, or a recognized `typeof` check for `'string'` or `'number'`). A const object is refused: `toString` or `Symbol.toPrimitive` can return one own key at the check and another at the read. A member, a `let`, or a parameter does not qualify. The guard's non-own-key safety rests on the table being frozen with a null prototype. `.freeze` counts only on the unbound `Object` identifier. There is no loop-index exception. Tables are not passed, spread, or returned. A member write is admitted only on an object or array born in that function. `prototype`, `Array.prototype`, `Error.prepareStackTrace`, and `RegExp.$1` fail. `toLocaleString`, `localeCompare`, `toLocaleDateString`, and `toLocaleTimeString` fail (`intl`). `Buffer`, including `Buffer.allocUnsafe`, fails (`memory`). A `for (const k of …)` key still needs `String`/`Number` or a `typeof` check. `toLocaleUpperCase`, `toLocaleLowerCase`, and a destructured locale name fail (`intl`). A computed key in a binding or assignment pattern must be a string or number literal, including nested patterns, parameters, defaults, `catch`, and `for-of`. Concatenation, a member, and a const used as that key fail. `m['call']` fails with `.call`. The checker accepts spec `2026-10-12` and optional `changelog`, `update`, `knowledge`, and `coverage`. A `coverage` list holds at most 256 entries.
46
+ - The per-RUNE description and served response wrap the `metadata.gem` value in backticks, so the sentence period is not copied with the value.
47
+ - A per-RUNE tool states the exact `metadata.gem` value (`<gem>@<version>`, for example `fieldnote@1.0.1`) in its description and in the served response. A save that does not use that form says `metadata.gem` must be `'<gem>@<version>'`.
48
+ - The serve log file `logs/gem-serves.json` keeps the latest `SERVE_CAP` (200) rows for each principal, so one caller cannot evict another. This release creates the new collection `<prefix>gem_serves` (`SERVE_COLLECTION`). Alex approved it as an append-only write site on the write-path allow-list. The collection keeps every row. Nothing is deleted. A redeploy that drops the file can still seal a result. Concurrent serves write distinct temp files, and one process records one serve at a time. Tests point the file at a temp path. The guard and the GC-19 load gate reject `vm`, `new Function`, and a computed `import()` path. When the store is not connected, the file is the only copy and a redeploy drops it. Fieldnote is off by default. See SPEC.md §10.
49
+ - Error text again replaces a stack frame with `[stack-frame]`. The publish workflow runs only on a published release. Public text no longer carries a private path, a private branch name, or an install-specific display name.
50
+ - Bot-team backup references name `gems/bot-team-backup/guides/BOT_TEAM_BACKUP.md`, the file on disk.
51
+
52
+ ### Changed
53
+ - Lean Six Sigma is 0.9.0, `released` true, `requires.emet` `>=0.2.6`. The GEM version pattern is `MAJOR.MINOR.PATCH` with no suffix. A version suffix fails GC-02. `gem.json` (`sha256:5f9da0caf7719a73f19bfbff211002eb66dbd0f988fd094131b56c4ecf438b31`) and `CHANGELOG.md` (`sha256:d07810bd35e71952cea36212b878d8762a43b4f7b8e5f710b41a4190308d86fc`) are the shipped 0.9.0 copy. The same digests are recorded in `tests/fixtures/lss-source/DIGESTS.json`.
54
+ - The socket serves RUNED code and does not run it (GEP-0003). One read-only tool per RUNE, named `gem_<gem>__<rune>`, returns the code, description, inputs, outputs, runtime, and served sha256. The server sandbox is removed. GC-19 checks the artifact hash and a static load gate: no network, no dynamic `import()`, no `eval`. A kept result is sealed on the existing write path. The principal comes from authentication. The served hash is the pin. The client-reported hash and the input hash are stored for traceability. Those attestation fields do not change on a later write. Superseded artifacts stay in `gems/artifact-index.json` by sha256. Charter commitment 1, the Extension-socket carve-out: "EMET verifies the record, not the computation. Client-executed RUNE results are recorded as attested by the client; they are replayable from recorded inputs, not re-executed by EMET." Fieldnote is off by default. ISO 9001 7.5.3 / ISO 13485 4.2.5 document-control wording is unchanged.
55
+ - Version 0.2.6. Charter commitment 1 again states the client-executed RUNE carve-out: EMET verifies the record, not the computation. ISO 9001 7.5.3 / ISO 13485 4.2.5 document-control wording is unchanged.
56
+
57
+ ### Docs
58
+ - Client-side execution of RUNED directives (GEP-0003, accepted by Alex 2026-10-16). Supersedes GEP-0002, which is kept. The socket must not run RUNE code. One read-only tool per RUNE serves that RUNE's code, inputs, outputs, description, and served hash. SPEC.md §10–12, CONFORMANCE.md GC-19, the charter commitment 1 carve-out (EMET verifies the record, not the computation) and the Extension-socket row, and `docs/gem/README.md`. ISO 9001 7.5.3 / ISO 13485 4.2.5 document-control wording is unchanged. No code change in this revision.
59
+
60
+ ## 0.2.5 - 2026-10-14
61
+
62
+ Per-session attribution with client approval, the GEM socket with the bundled Neurendipity GEM (off unless the user asks), and two new core floor lines: `goal_check` and `no_rapport_mirroring`. ISO 9001 7.5.3 / ISO 13485 4.2.5 document-control wording is unchanged. No stored data shapes change; deploy over 0.2.4.
63
+
64
+ ### Fixed
65
+
66
+ - Neurendipity 1.2.3 (the reviewer's non-blocking nit on #40). `NEURODIVERGENT_SUPPORT.md` §8 prose now reads "A meta-analysis (2026, online 2025)" to match the Vann-Adibe tag. In-text tags for Bougoure et al. and Pagán et al. now carry "(online 2025)" in both guides, matching their Sources entries. gem.json digests updated. Guides only; floor unchanged.
67
+
68
+ - Review fixes from the reviewer for #38 and #39. Floor: `no_rapport_mirroring` now reads "agree as a way to build rapport or seem attuned", allows quoting the person for accuracy, and limits the no-praise rule to "praise or rapport-building language used for effect"; `acknowledge` now acknowledges good thinking "when it is earned by substance, stated as a specific reason, not as praise", which removes the conflict between the two lines. New tests cover the protected and modifiable override paths, the wording, and the reassertion line. Neurendipity 1.2.2: the 'poor at telling current from past burnout' finding is now attributed to the prepublication AASPIRE measure, not the ABSI (AUTISTIC_BURNOUT.md); the year convention is applied to Cai 2026 (online 2025, *Autism Research* 19(2)), Vann-Adibe 2026 (online 2025, *Appl Psychophysiol Biofeedback* 51(3)), and Bougoure (online 2025); Pagán values now "were associated with" camouflaging; Ferrie comma fixed. ISO 9001 / ISO 13485 document-control wording is unchanged.
69
+
70
+ ### Added
71
+
72
+ - Core floor, engagement: `goal_check` (before multi-step work, on an ambiguous request, or when the conversation turns, state the person's goal and underlying problem in one sentence in your own words, marked as your read, and confirm; distinct from `their_own_plan`, it checks the goal underneath and never re-narrates a stated plan) and `no_rapport_mirroring` (no echoing, flattery, or agreement to build rapport or seem attuned; that is manipulation; agreement is earned by substance; state the obvious only when it adds information; default register is plain facts, with no emotional padding, praise, or rapport-building language). One matching reassertion line. `no_rapport_mirroring` is a protected override path; `goal_check` joins the modifiable list (a GEM or modifier may tune when it fires, never remove the anti-mirroring line). Targets the next public release, which must update the repo, website, README, npm package, MCP Registry entry, and description together.
73
+ - Neurendipity 1.2.1 (accuracy fixes from the reviewer's review of #37, under the owner's 2026-10-12 10:17 AM approval). Guides only; floor unchanged. Bougoure line in `NEURODIVERGENT_SUPPORT.md` rewritten (AUC 0.92 vs PHQ-9 0.78; correlates with depression and anxiety, so it does not on its own tell burnout from depression). Arnold 2023 sample limits; Osborne described as 14 studies with qualitative data synthesised; Pagán 'was associated with' and therapy-programme recruitment; van Asselt scope and no intervention studies; Vann-Adibe effect label, heterogeneity and moderator scope; Comerford UK-only and 'a sense of community'; Ferrie & Hafetz sample limits, service line tagged as a suggestion; Clarey author initials. One year convention stated (issue year, online year in brackets); Pagán cited as 2026 (online 2025).
74
+ - Neurendipity 1.2.0 (the owner's approval 2026-10-12 10:17 AM). Guides only; floor unchanged. `AUTISTIC_BURNOUT.md`: measurement (Arnold 2023 ABSI, Bougoure 2026), shame and dual masking (Clarey 2026), camouflaging as energy cost and unmasking as a balancing act (Osborne 2026), culture (Pagán 2025). `NEURODIVERGENT_SUPPORT.md`: RSD scoping review findings (van Asselt 2026) and self-compassion validity (Cai 2025) in §3; Osborne and Pagán in §6; interoception meta-analysis (Klein 2025) and remote HRV biofeedback meta-analysis (Vann-Adibe 2025) in §8; Comerford 2026 and Ferrie & Hafetz 2026 in §9. Support only, not counseling or treatment.
75
+ - Attribution per session, v2 (replaces the reverted #32). Agents sharing one OAuth login are stamped with the tag they declare (`source_basis: declared`, `source_login` kept), but a declared tag never gains rights beyond the login's tag: every guard runs for both. Every write naming a session is checked against the tag that owns the session, rebuilt after a restart from the session's stored rows. New clients: the first write by an unknown tag is refused and queued in `emet/CLIENT_APPROVALS.md` with who connected, the declared name, client_id and what it tried to write, routed to the chief-of-staff bot (`EMET_COS_TAG`) or, with none set, to the owner. A first, solo client on a fresh store is approved at once as the owner's primary. New tool `emet_client_approve`. `emet_initialize` and `emet_status` report the caller's real tag and, to the owner or COS, the pending clients.
76
+
77
+ - The GEM socket (`src/socket.js`) and `gem-check` (`src/gem-check.js`). This release seats bundled prompt GEMs only. A refused GEM is listed with its check id and does not stop startup. An empty mount logs nothing. A seating summary is logged only when a GEM is installed. RUNE execution is not implemented and is refused. No new runtime dependency.
78
+ - Neurendipity, the bundled GEM at `gems/neurendipity` (reading people, the neurodivergent engagement lines, the wellbeing corpus lines, the matching reassertion lines, and the guide). It is off unless the install sets `EMET_ACTIVE_GEMS=neurendipity`. `emet_floor` takes a `gem` argument to read an installed GEM's floor without turning it on. The guide id `guides/NEURODIVERGENT_SUPPORT.md` still resolves to that GEM's copy for one release.
79
+
80
+ ### Changed
81
+
82
+ - The core floor keeps persistence (named items, including what was set aside on purpose), a general epistemic-honesty line (established, emerging, or anecdote), the epistemic corpus lines, and the honesty protections. An active GEM ranks below the floor and below the user's current word. Neurodivergent engagement is no longer on every install.
83
+
84
+ ### Docs
85
+
86
+ - README and website: version 0.2.5; a GEM socket fact; the website gains a Document control (ISO 9001 7.5.3 / ISO 13485 4.2.5) fact in the README's words; the tool count is 30 with `emet_client_approve` (docs/PERMISSIONS.md lists it with the tools that can replace or hand out access).
87
+ - GEM standard, Draft revision 2026-10-11, in `gem-library/` (canonical home: the private repository EMET-GEMs). The charter's extension socket, commitment 8, and the core-floor row are revised: EMET is a memory resource, core floor protections stay non-removable, and neurodivergent engagement is the bundled Neurendipity GEM, off unless the user asks.
88
+ - Registering a bot (`docs/BOTS.md` §4, with a pointer in `docs/DEPLOY.md`): every bot writes under its own source tag, `<prefix>-<bot>`. When a bot joins the roster, append its tag to the end of `EMET_SOURCE_TAGS`, keep every existing tag in order, and add `bots/<tag>/HANDOFF.md` to `EMET_RECORD_DOCS` before its first write. Setting either variable redeploys the server; afterwards, check `/health` and `emet_status`.
89
+
8
90
  ## 0.2.4 - 2026-10-08
9
91
 
10
92
  A board fix, a public website, and the first npm package, `@dreamforgestudiollc/emet`. A session that boots with no unhandled drops can edit the board again. No data shapes or settings change; deploy over 0.2.3 as is.
@@ -74,6 +156,8 @@ The security fixes from the October audit, recall that ranks by how well an entr
74
156
  - An HTTP caller with no OAuth client id is stored as http:visitor, never in a stdio bucket.
75
157
  - The test suite sets the boot-list store timeout short so a missing store does not stall the run.
76
158
  - The HTTP visitor check calls the HTTP tool path with no OAuth client id, and the baseline prune check leaves a document with only live or fresh baselines unwritten.
159
+ - Reviewers now have a checklist (`REVIEW.md`), and pull requests and pushes to main run the test suite with coverage (`.github/workflows/ci.yml`).
160
+
77
161
  ## 0.2.2 - 2026-10-04
78
162
 
79
163
  The board is guarded, and the test store is shared.
@@ -93,9 +177,6 @@ are read in byte-sized pages, and the session-order check now refuses every skip
93
177
  the way to pass in the same reply. After upgrading, each host reconnects once to see the new
94
178
  arguments, then reads its startup again before opening a session.
95
179
 
96
- There is no 0.2.0 release: 0.2.1 follows 0.1.0 directly, so this entry lists every change
97
- since 0.1.0.
98
-
99
180
  ### Added
100
181
 
101
182
  - **Startup in pages.** `emet_initialize` now sends the startup in pages of about 18 KB
package/CHARTER.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # EMET ARCHITECTURE CHARTER
2
2
 
3
- **Record control:** id `CHARTER.md` · revision: the store's version governs · status: IN FORCE · approved: user · 2026-09-11 · a decision record · revised with the user's approval 2026-09-15 (the consolidated revision, a decision record) · revised at the user's word 2026-09-23 (parked items named at startup; §3 commitment 8, §6 item 3; a decision record) · revised with the user's approval 2026-09-27 (pending lessons named at startup; blocked-close cap and scope at close; §6 items 3 and close; a recorded lesson) · revised with the user's approval 2026-09-29 (the aleph named as the integrity verifier; Guardrails & Monorails, with switches; the database boundary; the per-exchange transcript; the user as final authority; §1, §3 commitments 1, 2 and 9, §4, §6, §8, §10; a decision record) · revised with the user's approval 2026-09-30 (the admission test: four questions before anything is built, DMADV while in design, DMAIC once stable; §3 commitment 6; a decision record) · Tier 1 · owner: the user · decision record: the owner's
3
+ **Record control:** id `CHARTER.md` · revision: the store's version governs · status: IN FORCE · approved: user · 2026-09-11 · a decision record · revised with the user's approval 2026-09-15 (the consolidated revision, a decision record) · revised at the user's word 2026-09-23 (parked items named at startup; §3 commitment 8, §6 item 3; a decision record) · revised with the user's approval 2026-09-27 (pending lessons named at startup; blocked-close cap and scope at close; §6 items 3 and close; a recorded lesson) · revised with the user's approval 2026-09-29 (the aleph named as the integrity verifier; Guardrails & Monorails, with switches; the database boundary; the per-exchange transcript; the user as final authority; §1, §3 commitments 1, 2 and 9, §4, §6, §8, §10; a decision record) · revised with the user's approval 2026-09-30 (the admission test: four questions before anything is built, DMADV while in design, DMAIC once stable; §3 commitment 6; a decision record) · Tier 1 · owner: the user · decision record: a decision record · revised with the user's approval 2026-10-11 (GEM standard: the core floor is the memory minimum; the Neurendipity GEM is bundled and off unless the user asks; commitment 8, §4, §5, §6) · revised with the user's approval 2026-10-11 (the ISO document-control positioning and the repository description made standing; §7) · revised with the user's approval 2026-10-16 (client-executed RUNEs are a carve-out from commitment 1: EMET verifies the record, not the computation; §3 commitment 1, §4 Extension socket)
4
4
  **Written:** 2026-09-10, session `2026-09-10_morning-mobile-init`, source `mobile`
5
5
  ⚠ **Public document once the repository is public.** The disclosure line (a decision record) must be drawn before publication. This document states structure and intent only — no implementation specifics.
6
6
  ⚠ **§1 is in the user's words (2026-09-11); attorney review pending** (claim language is on that agenda).
@@ -19,6 +19,8 @@
19
19
 
20
20
  **It is designed first for neurodivergent users** (ADHD, autism, AuDHD), for whom lost context and re-explaining carry a higher cost. It works for anyone.
21
21
 
22
+ **Revision 2026-10-11, with the user's approval.** EMET is a memory resource. Its core floor stays the minimum that keeps that memory honest: integrity, honesty, no sycophancy, truth over speculation, fact-checking, and persistence. Behavioral guidance lives in GEMs. Neurendipity is the reference GEM for neurodivergent engagement. It ships with EMET and is off unless the user asks for it. The sentence above stands: EMET was designed first for neurodivergent users, and that support stays available as an opt-in.
23
+
22
24
  **Intended user:** one user working with an AI assistant through hosts that support the Model Context Protocol.
23
25
 
24
26
  **Not intended:** EMET is not a medical device. It does not diagnose, treat or monitor any condition and is not a substitute for clinical care. It does not control what an assistant says; it records what is written to it.
@@ -30,21 +32,21 @@
30
32
 
31
33
  ## §3 DESIGN COMMITMENTS
32
34
 
33
- 1. **Verification over assertion.** Every write is read back by the aleph and verified before a receipt is returned, and every later read is checked against what was recorded. A claim of completion needs evidence.
35
+ 1. **Verification over assertion.** Every write is read back by the aleph and verified before a receipt is returned, and every later read is checked against what was recorded. A claim of completion needs evidence. A client-executed RUNE is the carve-out stated on the Extension socket (§4): EMET verifies the record, not the computation.
34
36
  2. **Nothing is deleted.** Entries are superseded, documents are revised or retired, events are never rewritten. Prior versions are retained. **This holds below the server too:** the database login EMET runs under has no permission to remove the record, so a fault in the server cannot delete it either.
35
37
  3. **Provenance is part of the memory.** Every write names the host that produced it, and assertions point to their source.
36
38
  4. **State a rule once.** Rules held in code are pointed to, never copied into documents.
37
39
  5. **Controls, not reminders.** Where a rule matters, a mechanism enforces it; an instruction to be careful is not a control.
38
40
  6. **Over-engineering is a defect — the check comes before the build.** Anything may be considered; nothing is built until it answers four questions. **What failure does it fix, and where is it in the record?** An observed failure, not an anticipated one. **What does it replace or retire?** An addition that replaces nothing clears a higher bar. **How will we know it worked?** One measure, checked in a pilot. **What holds it once it works?** A control, not a reminder (commitment 5). What cannot answer all four stays a seed. Additions are gated before they ship, not trimmed after (the user, 2026-09-30: *"I dont want us to become an oreborous eating its tail with proposed additions to then reduce afterwards"*). **The method follows the product's stage** (the user, 2026-09-30: *"The variant works for now, dmaic for once stable"*): while EMET is still being designed, work runs DMADV — Define, Measure, Analyze, Design, Verify. Once it is stable, work runs DMAIC — Define, Measure, Analyze, Improve, Control.
39
41
  7. **No implied conformity.** EMET puts recognised quality-management practice into operation. It claims no certification.
40
- 8. **Out of sight is out of mind.** For users with time blindness or object impermanence, an item not named does not exist. At every session start the server lists the half-finished, dated, open, undecided, and parked rows it can read (`named_items` on `emet_initialize`), and the session says those names. A section that is not a table is marked unread, and an empty list is not a reason to skip the document. A count is the assistant's check, never a substitute for the names. **Parked items are named too, in a list of their own** — what the user deliberately set aside drops out of mind as fast as what they forgot, so parked means out of the way, never out of sight; each is named with what brings it back, and nothing is asked of it (the user, 2026-09-23: *"for ND it's out of sight out of mind"*). Naming the user's own items is external working memory, not unrequested instruction. This commitment is part of the floor.
42
+ 8. **Out of sight is out of mind.** An item the session does not name is missing from working memory. At every session start the server lists the half-finished, dated, open, undecided, and parked rows it can read (`named_items` on `emet_initialize`), and the session says those names. A section that is not a table is marked unread, and an empty list is not a reason to skip the document. A count is the assistant's check, never a substitute for the names. **Parked items are named too, in a list of their own.** What the user deliberately set aside drops out of mind as fast as what they forgot, so parked means out of the way, and it stays in sight. Each is named with what brings it back, and nothing is asked of it (the user, 2026-09-23: *"for ND it's out of sight out of mind"*). Naming the user's own items is external working memory, not unrequested instruction. **This behavior is a core floor protection.** It stays in force whether or not a GEM is on. The neurodivergent framing of why it matters lives in the Neurendipity GEM (§4), which ships with EMET and is off unless the user asks for it.
41
43
  9. **Guardrails & Monorails.** Judgment and process are kept apart (the user, 2026-09-29). **Guardrails** — the floor, the character, the served instructions — bound a field in which the assistant uses its judgment freely. **The monorail** — the session's order of work — carries it from one field to the next on a track the server checks, which it cannot leave. Where the flow must fork, a **switch** at the junction routes it to the guardrail space that fits: a small logic unit in EMET, tripped only by its condition, like a transistor, with no hosted model and no outside service (the user, 2026-09-29). The track throws the switch; the assistant does not choose whether to follow the protocol or which branch to take. Each switch is designed for its junction, from the function it serves and the flow of information and tasking through it. This is commitment 5 applied to the order of a session.
42
44
 
43
45
  ## §4 ARCHITECTURE — components and their roles
44
46
 
45
47
  | Component | Role | Where its rules live |
46
48
  |---|---|---|
47
- | **The floor** | How the assistant engages the user, regardless of configuration. Cannot be edited by setup or by the user. The guardrails' base. | Server code |
49
+ | **The core floor** | The minimum a memory server owes on every install: integrity, honesty, no sycophancy, truth over speculation, fact-checking, and persistence. Cannot be edited by setup or by the user, and cannot be switched off. Behavioral guidance lives in GEMs. The guardrails' base. | Server code |
48
50
  | **Bootstrap documents** | The assistant's standing definition: identity, character, the user, available tools. Without them the assistant is a hollow golem — it functions, but only as a transcriber. | Document store, built at the first-run interview |
49
51
  | **SHEM** | The name the user inscribes — who the assistant is, held in the identity document. In the golem lore the inscription and the Name are separate: EMET is the truth written on the substance; the SHEM is what animates it. EMET supplies the substance and the record; the user supplies the SHEM. Its spoken form is the user's identity phrase (§6). | Identity document, written at the first-run interview |
50
52
  | **Tier 1 — memory layers** | Curated meaning, in six layers: identity, semantic, episodic, procedural, meta, working. Queried first. | Layer charter, server code |
@@ -56,7 +58,7 @@
56
58
  | **The database boundary** | The login EMET runs under may add and update, never remove the record (2026-09-29). Commitment 2 is enforced by the database as well as by the server. | Database role, defined once in server code |
57
59
  | **The read path** | Returns entries with their integrity status, verified by the aleph. A superseded entry surfaces marked, naming what replaced it and the date it ended (decided 2026-09-13); a lookup by any id in a supersession chain also returns the live end of the chain, so a cross-reference keeps resolving after every later revision (2026-09-15). An expired entry surfaces the same way, marked with its end date. Current entries come first in every order, including time order. Retired documents stay in the document list and the startup scan, after the current documents, marked with the date and what replaced them. Recall ranks by relevance and importance. Time order is `order: 'latest'`, or a standalone latest, newest, or most recent together with other words. Retained document revisions are readable in full. | Server code |
58
60
  | **Supplementary corpus** | Optional reference material loaded by the user, separate from memory. | Server code |
59
- | **Extension socket** | **Planned, not built.** Where a GEM (Guided Engagement Module) seats; a RUNE (Registered Utility Node Extension) is a tool etched into a GEM. All GEMs are built to a standard. **Precedence (decided 2026-09-11):** a GEM the user adds takes precedence over the floor's modifiable defaults — voice, pace, how much is explained — and any conflict is resolved with the user when the GEM is added. **No GEM reaches the floor's protections:** it may add depth that complements them, never remove or weaken them. No GEM, whatever its authorship or intent, may compromise the user — and that is enforced by the socket, not left to a GEM author's good faith (commitment 5). | To be written |
61
+ | **Extension socket** | **Standard specified, socket not built.** The seat for a GEM (Golem Expertise Module). A RUNED directive (Registered Utility Node Executable Directive) is a declared, registered tool built into a GEM. A RUNED GEM carries at least one. The 2026-09-08 names (Guided Engagement Module, Registered Utility Node Extension) are superseded. The standard lives in the GEM library: private repository EMET-GEMs (`https://github.com/dreamforgestudiollc/EMET-GEMs`). In this repository the text under review is `gem-library/` until that folder is moved. **Precedence:** core floor protections outrank the user's current word, which outranks active GEMs by priority. A GEM may change a modifiable default (voice, pace, how much is explained) only with the user's consent when it is activated (the 2026-09-11 decision, kept for those defaults). **Floor protection:** core floor protections are non-removable. No GEM may weaken them. A GEM may add depth that complements them. Neurodivergent engagement lives in the bundled Neurendipity GEM (`neurendipity`), which is off unless the user asks for it. The list of GEMs installed on this server, active or not, is part of `emet_initialize` and of what a bot is shown at startup. Only the user and the user's bots change the GEM standard. Anyone may author a GEM that follows it. A GEM that does not ship inside an EMET release loads only after the library's security gate and the user's acceptance. The socket enforces that (commitment 5). **Client execution, a carve-out from commitment 1 (2026-10-16):** EMET verifies the record, not the computation. Client-executed RUNE results are recorded as attested by the client; they are replayable from recorded inputs, not re-executed by EMET. The socket does not run RUNE code. | `gem-library/SPEC.md` |
60
62
 
61
63
  ## §5 HIERARCHY
62
64
 
@@ -72,7 +74,7 @@
72
74
  3. **The current controlled document** (board, thread) — on where things stand.
73
75
  4. **Tier 1 entries** — on what happened and what it meant.
74
76
  5. **Tier 2 transcripts** — on exactly what was said.
75
- A disagreement between sources is recorded, not silently resolved.
77
+ A disagreement between sources is recorded, not silently resolved. Core floor protections outrank a request to remove them. The user's current word outranks an active GEM. An active GEM outranks a character modifier only on a modifiable default the user consented to when the GEM was activated.
76
78
 
77
79
  ## §6 FLOW
78
80
 
@@ -82,7 +84,7 @@ A disagreement between sources is recorded, not silently resolved.
82
84
  2. **The user's identity phrase**, if one is set — the SHEM spoken, confirming the assistant's identity loaded.
83
85
  3. **The named items** — every half-state row, every dated item in the next seven days, every open item the user owns with its next action, and anything left undecided last session; drawn from the board, the user's calendar and any active schedule. **Then, under its own heading, every parked item** — one line each with what brings it back; named, never pressed (commitment 8). **Then, under its own heading, every pending lesson** — a correction the record holds three or more times with no disposition; one line each, named, never pressed. A lesson is settled by a check in code, a rule landed in a controlled document, or a written ruling that it cannot be checked; the server computes the list (`lessons_pending`, 2026-09-27) so the next conversion of advice into a control (commitment 5) is a standing decision, not a count.
84
86
  4. **The board's counts as the check, never in place of the names.**
85
- 5. **What is actually available in this session**, confirmed before any capability is claimed.
87
+ 5. **What is actually available in this session**, confirmed before any capability is claimed. The GEMs installed on this server are part of that account, each with its name and whether it is active. An installed GEM that is off is not a capability of the session.
86
88
  6. Then any question. **Never open with a question alone.**
87
89
  **During work:** append each exchange to the transcript after every reply, as it happens · every write names its session and exchange, and is told the next stop · search the record before answering anything with prior context · write decisions when they are made, with the user's words · write with provenance · verify each write by its receipt.
88
90
  **Session close — this is the one place the order is stated:** update working documents → session record in memory → board → verbatim transcript, confirmed complete (it was appended as the session ran) → **handoff last, in one write** → confirm every artifact landed. The handoff is last because its close verification attests to the other artifacts; written earlier, it attests to things that do not yet exist and needs a patch afterwards. If a session ends mid-close, the prior handoff stands and the board and session record already carry the session. **A close that fails its check is returned with a scope per missing item — what may be touched to clear it and nothing else — and the third blocked close on one session escalates: the assistant stops, hands the user the list, and waits for their word. The counter resets only with a new session (rule in code, 2026-09-27).** **The server checks this order on every write (the monorail, §4):** a skipped step is refused. Enforce only since 2026-10-03; there is no report mode.
@@ -92,6 +94,12 @@ A disagreement between sources is recorded, not silently resolved.
92
94
 
93
95
  Governed by `templates/STANDARD.md`. Base templates must be followed and may be expanded, never loosened. Every templated write is validated; a nonconforming write is **marked for audit and review**, never silently accepted and never discarded.
94
96
 
97
+ **The ISO positioning is a standing standard, like this charter** (the user, 2026-10-11). EMET is described as built for ISO 9001 / ISO 13485 document control, and that wording is not dropped or diluted by any documentation, site or listing pass. It lives in two places: the README's "Document control (ISO 9001 7.5.3 / ISO 13485 4.2.5)" section, and the repository description, which is exactly:
98
+
99
+ > EMET is an MCP memory server built for ISO 9001 / ISO 13485 document control: persistent, shared memory for AI agents and bot teams. Nothing is deleted; records are superseded, retired and retained. Controlled templates, verified writes, a word-for-word transcript tier, stdio and remote HTTP with OAuth, on MongoDB.
100
+
101
+ Both change only by a revision of this charter, with the user's approval. `tests/iso-positioning.test.js` fails if either drifts from this text.
102
+
95
103
  ## §8 ROLES
96
104
 
97
105
  - **User** — owns the intended use, makes decisions, sets standards for how the assistant works. **The final authority** (the user, 2026-09-29: *"AI assistants are subordinate to the user. While it is a collaborative relationship without a sycophantic role by the AI, the user is the final authority"*).
@@ -105,6 +113,10 @@ This charter changes by revision, with the user's approval. Rules held in code c
105
113
 
106
114
  **This charter is locked the same way as the base templates** (`templates/STANDARD.md` §9a, L1 — decided 2026-09-11). It ships with the release and the server reads it from there; any copy in an install's store is for reading, not authority, and a store copy that differs from the shipped copy is marked nonconforming. `emet_initialize` points to it in every state, **including a new store before the first-run interview**, so the floor, this charter and the startup instructions are present before any SHEM is placed.
107
115
 
116
+ **Per-client attribution is a standing requirement, like the ISO positioning** (the user, 2026-10-12):
117
+
118
+ > Every write names the client that made it (its own declared tag, never borrowed from another login), and that tag never carries more rights than the login it arrived on. A client EMET has not seen before is read-limited and flagged on its first write, with who connected, its declared name, its client_id and what it wrote, to the install's chief-of-staff bot or, where there is none, to the owner. The first solo client on a new store is approved automatically as the owner's primary.
119
+
108
120
  ## §10 LIMITS, STATED PLAINLY
109
121
 
110
122
  - Retrieval is not guaranteed complete, and an assistant's behaviour is not reproducible run to run. **EMET's record is deterministic and verifiable even where the assistant is not** — that is the claim, and its limit.
package/README.md CHANGED
@@ -2,12 +2,16 @@
2
2
 
3
3
  EMET is an MCP (Model Context Protocol) memory server, persistent shared memory for AI agents, bot teams and chats.
4
4
 
5
+ [![M8ven Score](https://m8ven.ai/badge/mcp/dreamforgestudiollc-emet-z9o7e8?v=4d037e6ca2c2131c77968f135f4681da)](https://m8ven.ai/mcp/dreamforgestudiollc-emet-z9o7e8?s=readme)
6
+
5
7
  <img src="site/assets/portrait-560.webp" width="120" height="120" alt="Close view of a sepia sculpture’s face and shoulders. The Hebrew word אמת is set across her headband.">
6
8
 
7
9
  אמת — Hebrew for truth. Also **Enduring Memory & Epistemic Tiers.**
8
10
 
9
11
  **Website:** <https://dreamforgestudiollc.github.io/EMET/>
10
12
 
13
+ See also: [CHANGELOG](CHANGELOG.md) · [CONTRIBUTING](CONTRIBUTING.md) · [SECURITY](SECURITY.md) · [Charter](CHARTER.md)
14
+
11
15
  ## What it does
12
16
 
13
17
  - **Layered memory.** Six layers — identity, semantic, episodic, procedural, meta, and working — hold curated claims, split by what kind of thing an entry is.
@@ -15,11 +19,28 @@ EMET is an MCP (Model Context Protocol) memory server, persistent shared memory
15
19
  - **Word-for-word transcript tier.** A separate tier stores the conversation as it was written, so a summary cannot overwrite the record it came from.
16
20
  - **stdio and remote HTTP with OAuth.** The same server runs locally over stdio, and remotely over HTTP with OAuth. The transport changes. The store does not.
17
21
  - **MongoDB.** Atlas, or MongoDB you run yourself. A one-machine trial can use MongoDB 6 or newer. Only `semantic_recall` needs Atlas.
18
- - **MIT.** Version 0.2.3. EMET is still 0.x: stored document shapes may change before 1.0. Pin a version if you depend on them.
22
+ - **Golem Expertise Module (GEM) socket.** Add-on behavior ships as GEMs, seated at startup and checked by `gem-check` against the GEM standard in `gem-library/`. A GEM ranks below the core floor and below the user's current word, and cannot remove a protected floor line. Two work-in-progress examples ship bundled and stay off unless you ask: Neurendipity (neurodivergent engagement and autistic burnout support; support only, not counseling or treatment; `EMET_ACTIVE_GEMS=neurendipity`) and Lean Six Sigma (DMAIC and DMADV guidance, templates, and client-side calculators; `EMET_ACTIVE_GEMS=lean-six-sigma`). Fieldnote stays in the tree as a developer case-study of a runed GEM. It is not a user-facing third GEM, and it is off by default.
23
+ - **Bot-team backup (optional).** Off unless the first-run interview records yes. Yes is the recommended choice. The recipe and the recovery template ship as the bundled bot-team-backup GEM. EMET does not copy prompts or settings itself, and secret values are never stored.
24
+ - **Client-side GEM execution.** A GEM may declare a tool. EMET does not run that computation. EMET verifies the record, not the computation. The client runs the tool, and what is written back is checked the same way as any other write.
25
+ - **Released flag.** A GEM is seated only when its released flag is the boolean true. Any other value is refused. A missing flag is refused except for a legacy manifest pinned by id, version, and file digests.
26
+ - **Per-client attribution and approvals.** Every write is attributed to the client that made it. A new client is read-limited until it is approved. The approval is recorded.
27
+ - **MIT.** Version 0.3.0. EMET is still 0.x: stored document shapes may change before 1.0. Pin a version if you depend on them.
19
28
 
20
29
  The store has one owner, and other people can join only through the optional Guest
21
30
  (read-only) and Member (read and write) access, both off by default.
22
31
 
32
+ ## Document control (ISO 9001 7.5.3 / ISO 13485 4.2.5)
33
+
34
+ EMET is built for document control in environments that work under ISO 9001 and ISO 13485. It supports that work; it holds no certification and claims no conformity. An organization that uses it stays responsible for its own quality system, including validating EMET for its intended use.
35
+
36
+ - **No delete, on any store, by design.** No tool removes a memory entry, a document or a transcript. The database role EMET runs under is not granted remove on the record either.
37
+ - **Corrections are made by adding.** A memory entry is superseded by a revision that stands alone. A document is revised or retired. A transcript part is revised. Events are never rewritten.
38
+ - **Retired means obsolete, not gone.** `retire_doc` marks a document obsolete and keeps its id, content, version and digest. `read_doc` still returns it, flagged retired, with the reason.
39
+ - **Prior versions are retained.** Every document write archives the copy it replaces, and `read_doc_history` reads any retained revision back, checked against its stored digest.
40
+ - **Records are superseded whole, never patched.** The handoff and any other record document cannot be patched. A new revision is written in full and names the version it supersedes.
41
+ - **Templates are controlled documents.** Base templates ship with the release, and the shipped copy governs. Every templated write is checked against its template, and a write that fails is kept and marked for review, never silently accepted or discarded.
42
+ - **A test holds the line.** `write-path.test.js` fails if anything in `src/` removes from a layer, document or transcript collection, and `atlas-role.test.js` fails if the database role grants remove.
43
+
23
44
  ## 30-second start
24
45
 
25
46
  - **Guided setup:** [docs/GUIDED-SETUP.md](docs/GUIDED-SETUP.md) — never deployed anything. Your assistant installs, configures, deploys, and verifies. You sign in when asked and paste the connector URL.
@@ -34,6 +55,22 @@ The store has one owner, and other people can join only through the optional Gue
34
55
  > are **off unless `EMET_SOURCE_TAGS` is set**. With it unset, any caller can write under any
35
56
  > tag. See `.env.example` and [docs/DEPLOY.md](docs/DEPLOY.md).
36
57
 
58
+ ## Install as a Cursor / Grok Bot plugin
59
+
60
+ EMET ships a plugin for Cursor and Grok Bot (this repo's `.cursor-plugin/plugin.json` and
61
+ `mcp.json`). The Cursor Marketplace listing is submitted and pending review. The plugin does **not** host memory for you: it connects to **your own** EMET
62
+ server, so your records stay in your MongoDB.
63
+
64
+ 1. Deploy EMET remotely: [docs/DEPLOY.md](docs/DEPLOY.md). Set `PUBLIC_URL` and a strong
65
+ `EMET_OAUTH_PASSPHRASE`. Check `https://<your-host>/health` returns `{"ok":true,...}`.
66
+ 2. Install the **EMET** plugin and set the variable `EMET_URL` to `https://<host>/mcp`.
67
+ 3. Connect. The OAuth sign-in opens EMET's passphrase page; enter your passphrase once per device.
68
+ 4. Verify: call `emet_status` with `{"probe": true}` (it writes, reads back and removes a row
69
+ from `_emet_verify` only), then save with `save_to_layer` and `recall` it from another client.
70
+
71
+ The plugin also ships an `emet-memory` skill that tells the agent when to recall, save and close
72
+ a session.
73
+
37
74
  ## Shared memory across hosts
38
75
 
39
76
  EMET stores agent memory in MongoDB (Atlas or self-hosted) across six layers, keeps a separate word-for-word
@@ -303,19 +340,26 @@ Desktop gets one from an MCP server such as Desktop Commander (one command, in t
303
340
  first-run interview. **Deploying remotely: [docs/DEPLOY.md](docs/DEPLOY.md)**.
304
341
  **Making your assistant actually use it: [docs/BOOTSTRAP.md](docs/BOOTSTRAP.md)**.
305
342
  **Running bots alongside your assistant** — registering their tags, their own handoffs, the
306
- session loop: [docs/BOTS.md](docs/BOTS.md).
343
+ session loop: [docs/BOTS.md](docs/BOTS.md). For designing a bot team, see
344
+ [docs/SUBKEYS.md](docs/SUBKEYS.md).
345
+
346
+ **Continuous chats.** A bot in a long-running chat saves its transcripts to EMET
347
+ word for word at least nightly (a checkpoint), under the open session or a daily
348
+ `YYYY-MM-DD_chat-daily` session. Prefer event triggers over time-based polling.
349
+ When polling is unavoidable, use the longest interval the job allows. Never
350
+ reconstruct turns. Mark gaps as gaps. Session close cites those saved parts.
351
+ Context compression erases older turns, so a close days later cannot invent the
352
+ transcript.
307
353
 
308
354
  Short version:
309
355
 
310
356
  ```
311
357
  npm install
312
358
  cp .env.example .env # fill in MONGODB_URI and MONGODB_DB
313
- npm start # then waits for an MCP client on stdin; Ctrl-C to stop
359
+ npm start
314
360
  ```
315
361
 
316
- Requires Node 20+ and a MongoDB connection: Atlas, or a local MongoDB 6+ for a one-machine
317
- trial (only `semantic_recall` needs Atlas). `.env` is gitignored — never commit it. List each
318
- host's source tag in `EMET_SOURCE_TAGS` before its first write (see the note at the top).
362
+ Requires Node 22+ and a MongoDB connection. `.env` is gitignored — never commit it.
319
363
 
320
364
  **Local (stdio)** — as an MCP server entry:
321
365
 
@@ -342,8 +386,9 @@ Say **"initialize"**. That is the whole interface.
342
386
 
343
387
  `emet_initialize` is the front door and the only thing anyone needs to know about. On a new
344
388
  store it returns a short interview — what the assistant should be called, how it should carry
345
- itself, your name, what you are using this for — which your assistant runs conversationally,
346
- then records with `emet_setup_complete`, which also creates the owner person. On an established store the same call returns the
389
+ itself, your name, what you are using this for, and whether more than one bot or AI will use
390
+ this memory — which your assistant runs conversationally,
391
+ then records with `emet_setup_complete`, which also creates the owner person. Whether more than one bot or AI will use this memory is optional; leaving it out leaves delegated client sub-keys off. A yes writes them only when this server reads `.env`, and they take effect on restart. A hosted server refuses and tells you the three variables to set, then redeploy. See [docs/SUBKEYS.md](docs/SUBKEYS.md). On an established store the same call returns the
347
392
  assistant's identity, your profile, and where things were left, so the session opens already
348
393
  knowing you. A read-scoped `emet_initialize` writes nothing; a write-scoped one may provision a missing board. First-time setup is the owner's:
349
394
  `emet_setup_complete` is refused under a bot tag, and on a store that is already set up it is
@@ -505,8 +550,8 @@ parent is refused before anything is written), and the parent is marked: its `co
505
550
  gains the new id, its content, digest and liveness are untouched, and its metadata digest is
506
551
  re-attested in the same write. Reads return `corrected_by`, so a reader of the parent sees that a
507
552
  correction exists. `corrected_by` is a door marker; a caller cannot set it. Entries corrected
508
- before this existed (e.g. an incident record correcting an earlier one) carry no link; the fix is a new correction
509
- entry naming the earlier entry in corrects, not an edit or a backfill.
553
+ before this existed (e.g. episodic ref 604 correcting ref 603) carry no link; the fix is a new correction
554
+ entry naming corrects: 603, not an edit or a backfill.
510
555
 
511
556
  **Verified writes - `src/aleph.js`.** Every write is read back and compared before it is
512
557
  reported as saved. Document writes archive the prior version, then confirm both the sha256 and
@@ -544,7 +589,7 @@ removed a second document door in `setup.js`.
544
589
  Inside the door, in order:
545
590
 
546
591
  - **Secrets are masked before anything is stored or hashed** (`src/redact.js`): the literal
547
- values of secret-bearing environment variables, credentials inside URIs, bearer tokens, JWTs,
592
+ values of secret-bearing environment variables (including `EMET_SUBKEY_PEPPER`), credentials inside URIs, bearer tokens, JWTs,
548
593
  and `key: value` pairs whose key names a secret become `*****`. The mask is visible on
549
594
  purpose, the receipt's `redacted` reports the number of spans **this write changed** (text
550
595
  already carrying the mask is left alone and not counted, so a read-modify-write of a document
@@ -585,6 +630,20 @@ knowable the fix is `revise_memory` with a real pointer; where it is not, the ga
585
630
  fact and the count stops growing from that date. `emet_initialize` carries the counts beside
586
631
  `layer_health`.
587
632
 
633
+ **Topic pages** are views, not records. An area is a controlled document, `areas/<slug>.md`,
634
+ checked against `templates/AREA.md`. It names layers, tags, keywords, document prefixes, an
635
+ optional client list, a staleness window (default 30 days), and a cap. Only the owner creates
636
+ or edits an area. `emet_page` computes the page on every request from current records. Every
637
+ displayed line cites `[mem:<id> · <layer> · <client> · <YYYY-MM-DD>]` or `[doc:<doc_id>@v<version>]`.
638
+ A line with no source is dropped. Superseded and retired records stay out of the current
639
+ sections unless `include_history` is set, and then only under History. The page is not stored,
640
+ not written back, and not returned by `recall`. `emet_page_lint` flags contradictions,
641
+ superseded-but-current claims, unsourced lines, duplicates, broken links, and long-unconfirmed
642
+ statuses. It writes nothing. A Monday `emet_initialize` carries the weekly counts. `STATE.md`
643
+ stays the hand-kept board; `areas/state.md` is the selector for a generated view beside it.
644
+ The shipped examples are EMET, Health, Learning, Home, and Garden. The owner
645
+ writes those files into the store with `write_doc`. Pages are visible to the owner only.
646
+
588
647
  What can be guaranteed this way: every write attested, attributed, scrubbed, and every absence
589
648
  visible. What cannot be guaranteed without inviting fabrication: every write complete. The
590
649
  store does not promise the latter.
@@ -609,12 +668,50 @@ are in [`docs/GUARDRAILS-AND-MONORAILS.md`](docs/GUARDRAILS-AND-MONORAILS.md).
609
668
 
610
669
  ## Tools
611
670
 
612
- Twenty-nine tools. `recall` · `semantic_recall` · `query_layer` · `save_to_layer` · `revise_memory` ·
613
- `read_doc` · `read_doc_history` · `write_doc` · `list_docs` · `patch_doc` ·
614
- `retire_doc` · `rename_doc` · `restore_doc` · `save_transcript` · `revise_transcript` · `query_transcripts` ·
615
- `corpus_recall` · `emet_gaps` · `emet_floor` · `validate_doc` · `accept_nonconformance` ·
616
- `emet_initialize` · `emet_status` · `emet_setup_complete` · `emet_session_open` ·
617
- `emet_transcript_append` · `emet_session_close` · `emet_invite_create` · `emet_member_access_create`
671
+ Thirty-four tools are registered with sub-keys off. With `EMET_SUBKEYS=1`, four more (`emet_subkey_request`, `emet_subkey_claim`, `emet_subkey_revoke`, `emet_subkey_end_session`) and the `subkey` and `session_handle` arguments. The names below are every tool the registry registers, both sets together.
672
+
673
+ <!-- emet-tools -->
674
+ ```
675
+ accept_nonconformance
676
+ corpus_recall
677
+ emet_client_approve
678
+ emet_error_report
679
+ emet_floor
680
+ emet_gaps
681
+ emet_initialize
682
+ emet_invite_create
683
+ emet_member_access_create
684
+ emet_page
685
+ emet_page_lint
686
+ emet_pages
687
+ emet_session_close
688
+ emet_session_open
689
+ emet_setup_complete
690
+ emet_status
691
+ emet_subkey_claim
692
+ emet_subkey_end_session
693
+ emet_subkey_request
694
+ emet_subkey_revoke
695
+ emet_transcript_append
696
+ list_docs
697
+ patch_doc
698
+ query_layer
699
+ query_transcripts
700
+ read_doc
701
+ read_doc_history
702
+ recall
703
+ rename_doc
704
+ restore_doc
705
+ retire_doc
706
+ revise_memory
707
+ revise_transcript
708
+ save_to_layer
709
+ save_transcript
710
+ semantic_recall
711
+ validate_doc
712
+ write_doc
713
+ ```
714
+ <!-- /emet-tools -->
618
715
 
619
716
  **Retained revisions** — every document write archives the prior copy; `read_doc_history` lists
620
717
  what is retained for a document and returns any retained revision in full, re-hashed against its
@@ -660,7 +757,7 @@ at session *start*, which is the only moment early enough to matter.
660
757
 
661
758
  Every tool declares MCP annotations — `readOnlyHint`, `destructiveHint`, `idempotentHint`,
662
759
  `openWorldHint` — in one table in `src/annotations.js`, which is also the complete statement of
663
- what EMET does to a store. **11 of the 29 tools cannot modify anything**; four can replace the
760
+ what EMET does to a store. **15 of the 34 tools cannot modify anything**; four can replace the
664
761
  visible content of a document; `openWorldHint` is false everywhere. The tools reach this
665
762
  server's own database and nothing else: no filesystem and no shell. The sign-in server fetches
666
763
  a client's metadata document, and only from a public address it has already checked.
@@ -673,6 +770,16 @@ enforcement: what is actually auto-approved is a host-side setting. See
673
770
 
674
771
  ---
675
772
 
773
+ ## Reporting a problem
774
+
775
+ `emet_error_report` is owner-only and read-only. It reads the operational error log and returns the full report, a `mailto:` draft, and a structured email `{to, subject, body_text, short_id, version}`. EMET does not send mail and does not open a network connection for this tool.
776
+
777
+ Read the report first. The draft is addressed to `EMET_REPORT_EMAIL`. When that variable is unset, the address is `reports@example.com`. That address is a placeholder, not a mailbox: configure `EMET_REPORT_EMAIL` to a real address, or the report is returned and goes nowhere. Set the variable to an empty string, or to anything other than one plain address, and the tool returns the report and no email.
778
+
779
+ A calling assistant that has its own email address may pass that structured email to its own email tool. The calling assistant may send this report only after showing the report to its user and getting their OK. EMET will not send it. The code table is [docs/ERROR-CODES.md](docs/ERROR-CODES.md), and the behavior is written up in [docs/ERROR-CODES-SPEC.md](docs/ERROR-CODES-SPEC.md).
780
+
781
+ ---
782
+
676
783
  ## Tests
677
784
 
678
785
  ```
@@ -730,8 +837,7 @@ alone — run it before and after any change to `src/redact.js`.
730
837
 
731
838
  ## Known gaps
732
839
 
733
- Honest list, because the point of this project is that it behaves predictably. What is planned
734
- next is in [docs/ROADMAP.md](docs/ROADMAP.md).
840
+ Honest list, because the point of this project is that it behaves predictably:
735
841
 
736
842
  - Rows written before 2026-09-05 carry no content digest and rows written before 2026-09-07
737
843
  carry no metadata digest; reads report them as `'unattested'`, and they are not backfilled —
@@ -764,6 +870,7 @@ next is in [docs/ROADMAP.md](docs/ROADMAP.md).
764
870
  - Dynamic Client Registration is still served beside Client ID Metadata Documents; the MCP
765
871
  specification's deprecation window closes around 2027-07. It is scheduled to come off on
766
872
  2027-06-01.
873
+ - Delegated client sub-keys stay off unless setup is told that more than one bot or AI will use the memory. A hosted server does not write a pepper into its container. A stamp shows that an approved key was presented, not which program held it. See [docs/SUBKEYS.md](docs/SUBKEYS.md).
767
874
 
768
875
  ---
769
876
 
@@ -775,7 +882,9 @@ It is designed first for neurodivergent users, and it works for anyone.
775
882
 
776
883
  ---
777
884
 
778
- ## License
885
+ ## License and access
886
+
887
+ EMET is free and open source under the MIT License (see LICENSE). No account, key or payment is required to run it.
779
888
 
780
889
  Authorship of the commit history, including a correction recorded as an addition
781
890
  rather than a rewrite: `docs/AUTHORSHIP.md`.