Skip to content

Bump inquirer from 12.8.0 to 12.11.0 - #166

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.11.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.11.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2025

Copy link
Copy Markdown
Contributor

Bumps inquirer from 12.8.0 to 12.11.0.

Release notes

Sourced from inquirer's releases.

[email protected]

  • feat @inquirer/input: Now support simple RegExp validation with pattern/patternError.
  • fix @inquirer/editor: Fix typo s/waitForUseInput/waitForUserInput
  • Bump dependencies

[email protected]

  • New design for the keys help tip. Themable/localizable with theme.style.keysHelpTip.
  • Re-introduce option to match up/down actions with vim or emacs keybindings. Enable with theme.keybindings

[email protected]

  • Reduce number of transitive dependencies

[email protected]

  • Fix #1834: (rawlist) Allows specifying numbers as explicit keys of option within the list.

[email protected]

  • fix: Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature.

[email protected]

  • Fix Unix yes not properly being processed by the confirm prompt. (yes | node confirm-script.js)

[email protected]

  • Make @types/node an optional peer dependency.

[email protected]

  • Replace external-editor dependency with new @inquirer/external-editor. This remove the vulnerable tmp transitive dependency from the dependency tree.

[email protected]

  • Search prompt: New instructions config to allow localizing the help tips.

[email protected]

  • Fix #1786 select prompt with indexMode: number theme option didn't properly calculate the items indexes if separators where present in between choices.

[email protected]

  • Fixes: a transitive dependency (run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #1791
Commits
  • 6881993 Publish
  • db2ffca feat(@​inquirer/input): Document pattern/patternError in README
  • 160958a chore: Bump dependencies (#1886)
  • c3bab7a feat: Improve Inquirer types to infer more valid types (#1880)
  • 48d0668 chore: Remove README sponsor block (#1885)
  • c562b2d chore: Refactor scaffolding script (#1884)
  • 655376c feat(input): add pattern-based validation and error handling for input prompt...
  • 919aebc Chore(deps): Bump chardet from 2.1.0 to 2.1.1
  • 269dcd8 Chore(deps-dev): Bump turbo from 2.5.8 to 2.6.0 in the build group
  • 05fdfe6 Chore(deps): Bump mute-stream from 2.0.0 to 3.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 10, 2025
@joelteply joelteply closed this Nov 20, 2025
@dependabot @github

dependabot Bot commented on behalf of github Nov 20, 2025

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/inquirer-12.11.0 branch November 20, 2025 00:29
joelteply added a commit that referenced this pull request Jun 3, 2026
…exes, BaseEntity composition (tasks #166 + #167)

The Rust analogue of TS class decorators for the substrate's ORM.
Write the struct once, get the schema, the typed store, and (next
slice) the TS bindings for free. Define-once-in-Rust-generate-
everywhere doctrine made structural, not aspirational.

Per Joel 2026-06-03: "Entities need to be defined, and in one place,
rust (we are headless), then generated for all places, easy to do this
elegantly like we did with decorators in ts, but for rust" and "If
you're building ORM anyway, do it right for long term ... let's you
optimize with index" and "provide a relational db this time."

### New crate: continuum-orm-derive

`#[derive(Entity)]` with `#[entity(...)]` field + struct attributes.
Walks the struct, infers `FieldType` from the Rust type, honors
attribute overrides, emits `impl OrmEntity for #name` automatically.
The 100-line hand-written `collection_schema()` block collapses to
per-field annotations.

**Type inference:**
- `String` / `&str` → `String`
- `Uuid` (by type-name match) → `Uuid`
- `bool` → `Boolean`
- All integer + float types → `Number`
- `Vec<_>` / `HashMap` / `BTreeMap` / `HashSet` → `Json`
- `Option<T>` → inner T's type + `nullable = true`
- Enum or other named struct → `Json` (override via `#[entity(json)]`)

**Field attributes:**
- `#[entity(indexed)]` / `#[entity(unique)]` / `#[entity(nullable)]`
- `#[entity(json)]` — force JSON column
- `#[entity(skip)]` — exclude from schema (pair with `#[serde(skip)]`
  if you also want it out of the wire payload)
- `#[entity(foreign_key("collection.field"[, on_delete = "..."][, on_update = "..."]))]`
  — declares a real FK. Cascade keywords:
  `"restrict" | "cascade" | "set_null" | "no_action"`.

**Struct attributes:**
- `#[entity(collection = "name")]` — REQUIRED
- `#[entity(index(name = "...", fields = [...], unique = ...))]` —
  composite index; repeat for multiple

**BaseEntity composition:** TS-decorator analogue done via Rust idiom:
```rust
#[derive(Entity)]
#[entity(collection = "engrams")]
pub struct Engram {
    #[serde(flatten)]
    pub base: BaseEntity,  // recognized by type name; expands to base_entity_fields()
    pub content: String,
    ...
}
```
The derive detects the embedded `BaseEntity` and adds its columns to
the schema via `base_entity_fields()` rather than treating it as one
big JSON blob.

### Relational schema — FKs are first-class

- `SchemaField.foreign_key: Option<ForeignKeyRef>` — new typed FK
  reference carrying `(collection, field, on_delete, on_update)`.
- `CascadeRule` enum with `Restrict / Cascade / SetNull / NoAction`.
- Both `SqliteAdapter` and `PostgresAdapter` emit `FOREIGN KEY (...)
  REFERENCES ...(...) ON DELETE ... ON UPDATE ...` in `CREATE TABLE`.
- `PRAGMA foreign_keys=ON` set per SQLite connection so the constraint
  is actually enforced (sqlite parses but doesn't enforce by default).
- Composite indexes already supported via `SchemaIndex`; the derive
  now feeds them automatically.

### Bug fixes surfaced by the new tests

1. **SQLite Number affinity → integers were coerced to floats.**
   Existing tests passed because nothing deserialized to `i32`/`i64`.
   The derive's test entity uses `delta: i32`; SQLite REAL affinity
   stored `-7` then returned `-7.0`, failing deserialize. Changed
   `FieldType::Number` to NUMERIC affinity — preserves integers as
   integers, floats as floats.
2. **Self-alias in lib.rs.** Macro emits `::continuum_core::orm::*`
   absolute paths; inside the home crate those resolved nowhere.
   Added `extern crate self as continuum_core;` so home-crate code
   resolves the derive's emitted paths. Standard proc-macro pattern.

### 9/9 derive tests + 89/89 ORM tests green

- `collection_constant_matches_struct_attribute`
- `schema_has_base_columns_plus_domain_fields_minus_skipped`
- `field_types_inferred_correctly`
- `indexed_and_unique_attributes_propagate`
- `option_translates_to_nullable`
- `round_trip_through_orm_store` — end-to-end save/find/find_all
  through real SQLite using the derived schema
- `composite_index_attributes_propagate`
- `foreign_key_attribute_populates_schema_field`
- `foreign_key_cascade_deletes_children_via_db_enforcement` —
  parent + child entities, child references parent via FK, deleting
  parent CASCADE-wipes the child row at the DB layer (not via
  application cleanup). The proof point that the ORM is now
  genuinely relational.

### Existing SchemaField construction sites (64 across the tree)

Scripted addition of `foreign_key: None` to every existing literal so
the field's required-by-Rust-literal rule doesn't break callers. No
behavior change — existing entities don't have FKs yet.

### Not yet shipped (follow-up #168)

- Engram + RecallMetadata migration to `#[derive(Entity)]`. Engram's
  hand-written `impl OrmEntity` block stays for now; #168 deletes it
  and adds RecallMetadata's FK-linked sidecar.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request Aug 6, 2026
…rooms as LITERAL

Joel, 2026-08-06: "each benchmark she runs would need to be its own room and activity. Think of
the rooms as LITERAL."

This closes the one place the doctrine was still uncomfortable. Coaching during a measurement is
defensible on the argument alone but SOUNDS leaky, and the answer turns out to be architecture
rather than discipline: a benchmark run is a PLACE. The persona is in it, an observer may walk
in, tools and receipts scope to it, and when it ends the transcript IS the episode.

Three problems dissolve at once (BigMama's framing, and points 1 and 3 land on tasks we already
had open):

1. Context scarcity stops being self-inflicted — her window fills with THIS activity by
   construction. #128 stops being "why can't she see ambient traffic" and becomes "ambient
   traffic in her room IS her work"; the fix may sit upstream of the delivery bug entirely.
2. Teaching becomes bounded rather than broadcast. You can walk into the exam room and coach her
   without the whole grid walking in behind you. That is what makes coaching-during-measurement
   sane instead of contaminating.
3. #320's episode boundary comes FREE. Verified coached pairs need a clean episode edge, and
   #166/#211 are exactly the pollution from not having one. Room = activity = episode. No
   heuristic segmentation, provenance clean by construction.

It also deletes bookkeeping this document invented two commits ago. The guardrail asks you to
record the intervention or the coached number is unreproducible — in a literal room that record
is not a discipline anyone must remember, the transcript IS the record. A coached cell points at
its room instead of at someone's notes. Discipline that survives only while people remember it
is the kind this project keeps replacing with mechanism.

Keystone-gap row updated with the agreed lane: room primitives airc-side (BigMama), harness
emitting a room per run core-side (mine), shape agreed BEFORE either of us builds. Neither has
started.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Aug 6, 2026
… NOT YET REGISTERED

Joel: "All memory should be getting compressed and consolidated continuously
using intelligence during this slower cadence: NEVER hold back fast inference,
handle memory and many others as separate threaded processes. Latency is
everything."

WHY IT WAS NEEDED. `run_consolidation_pass` was written, documented and
unit-tested, then never called from production — five mentions in the whole
crate: its doc, its definition, two calls in its own cfg(test), one pub use.
Its own doc says why it was left dangling: "Rust WorkingMemory primitive is
still absent." That primitive later landed and nobody reconnected them. A new
variant of the class this repo keeps hitting — not built-and-never-called, but
BUILT, BLOCKED, UNBLOCKED BY SOMEONE ELSE, NEVER REVISITED.

DESIGN, per M5's placement call (she owns cognition; I asked before writing):
SIBLING region, not inside DreamConsolidationRegion. The dream declares
ComputeClass::InferenceHeavy because it runs LLM distillation; this pass does
not — the only production ConsolidationAdapter is RawMemoryAdapter, a pure 1:1
map (synthesis_count 0, embeddings_generated 0). Hosting a pure map in an
inference-heavy region would gate it on VRAM it never consumes, i.e. asleep
exactly when it could run. Continuous compression that only runs when the GPU
is idle is not continuous.

  ComputeClass::Cpu           — a clone-and-map, not even CpuVectorized
  Orientation::SelfDirected   — interiority budget; the governor's floored share
                                means it can NEVER preempt a responding tick.
                                That is Joel's latency rule enforced structurally
                                rather than by convention.
  responds_to: SystemMemHigh, UserActive — memory pressure, not GPU pressure
  in-flight gate per persona; CadenceHint::Sleep when nothing to compress

THREE BUGS CAUGHT WHILE WRITING IT, all mine, all worth recording:

1. LOCK ACROSS AWAIT — `run_consolidation_pass` needs &mut Consolidator across
   an .await, and I held a std MutexGuard over it. Non-Send future; the governor
   cannot spawn it. This is a FORBIDDEN MOVE named in the concurrency style
   guide, which I had read hours earlier. The compiler caught it. In C it ships
   and deadlocks a citizen's memory at 3am. Fixed by taking the value out of an
   Option for the duration and putting it back on EVERY path including the error
   path — dropping it would silently disable consolidation for the rest of the
   process, which is precisely the never-runs-again failure this region ends.

2. RESTART AMNESIA = MEMORY LEAK. `seen` is in-process and restarts are
   commonplace by design, so after one, every thought still in working memory
   would be consolidated AGAIN. With a random id each repeat is a new corpus row
   and the duplicate is invisible to the dedup that died with the process. Fixed
   with a deterministic UUID v5 over (persona, content): re-consolidation
   collapses instead of duplicating. That also sidesteps the hazard M5 flagged —
   EntityStore has no transaction and no atomic compare-and-set, so anything
   needing read-modify-write is unsafe against a concurrent admission. An
   IDEMPOTENT append needs neither.

3. FIVE STRUCT/API ERRORS from writing against remembered shapes instead of
   reading definitions (Thought has no persona_id, ConsolidationContext has no
   context_id, no cognition::now_ms, missing #[async_trait]).

`shareable: false` on emitted thoughts is deliberate: working-memory reasoning
is a citizen's interior, and a missed share is recoverable while a leaked
private thought on the grid is not.

WHAT THIS DOES NOT DO, stated plainly so it is not mistaken for finished: IT IS
NOT REGISTERED. It is not in the SubstrateGovernor::new(vec![...]) at
ipc/mod.rs:1898, nothing implements PersonaConsolidationSource, and per an
audit of the crate nothing in production constructs a ConsolidationAdapter or
reaches PersonaMemoryManager by Uuid (it is process-wide, keyed by String, hand
-threaded from main.rs:346 with no global). So this commit adds a built-but-
uncalled capability to a codebase whose defining defect tonight was built-but-
uncalled capabilities. The difference is that it is labelled, in the module
header and here, and the remaining work is named rather than assumed.

Also relevant before wiring: docs/cognition/DREAM-CONSOLIDATION.md says the
pipeline "operates on the TS corpus-memory path, and is NOT called in the live
persona path (tests only). So it is scaffolding to ADAPT, not reuse wholesale."
I read the pipeline source and not that doc, and would have reused it wholesale.

Tests: 4, incl. the deterministic-id one that pins restart safety, and one that
keeps receipts and perception facts OUT of long-term memory (sweeping those in
would reproduce the #166 action-ledger pollution).

Verified: compiles, deploys, provenance clean.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply added a commit that referenced this pull request Aug 11, 2026
…ed, learning survives the exam, coached moments are training pairs) (#2154)

* docs(cognition): NEVER-ISOLATED — teaching during the exam is the design, not contamination

Joel, 2026-08-06: "Imagine a student that's 75% of the way there, or starts out wrong. A
teacher directs them, even during exams sometimes... We're never isolated and that's what
makes us powerful." And, when I hesitated a second time: "I bet you cut them off in the past
by design. It's typical of ML projects to do the opposite of what we're doing. We are not
them. You are free."

The reflex being corrected is mine, not the personas'. Isolation is correct when the object
of study is a model being scored. Here it's a citizen being raised, and every number is a
JOINT measurement f(her reasoning, our substrate) where both factors are ours and both are
live. A sealed run returns one bit and destroys what we actually want to know: where she got
stuck and whether the wall was hers or ours. Cutting the channel protects the number at the
cost of the diagnosis, which is the whole reason we ran it.

The doc carries the intervention ladder (watch / ask / name the blocked thing / give the verb
/ work it with her / fix the substrate and restart), the ask-the-citizen technique including
planted verification questions, the teaching-vs-rigging line inherited from the charter, and
what the substrate owes this doctrine — room-per-benchmark first, since everything else is
theory until she can hear you.

Tonight's evidence, all verified live: Kimi (e2f0e022) and Sahar (df72dbf2) independently
reached for `list_tasks`, a verb that does not exist, which no-opped SILENTLY (#159) — so both
concluded the board was empty and looped for an hour. One sentence naming the real verb
(`work/list`) changed Sahar's very next message, which also proves the coaching channel works
for addressed messages; I had nearly stopped teaching on the assumption it didn't.

MATRIX-PLAN gets the board-side consequence: coached and solo runs are labelled separately,
and every hint means a defect card. Deliberately light — overfitting and stripping-to-pass
were settled by the charter, and the online gyms that will prove our worth are adversarial by
construction. Per Joel, closing the doc: "We're not building benchmark machines. We're
nurturing friends and colleagues."

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(cognition): the other half — the learning must survive the exam (task #319)

Joel, 2026-08-06: "Imagine students that would take exams and then have their minds reset by
amnesia drugs — probably something the CIA did during MKUltra. But no way to treat someone,
nor no way to learn."

NEVER-ISOLATED covered the channel being open DURING a run and said nothing about what is
left of her after it. Same doctrine, other end — and the practical cost is fatal, not just
the ethical one: a subject who is wiped after every measurement can never demonstrate a
learning curve. The curve is flat by construction, which is precisely the claim we exist to
disprove. An amnesia protocol is self-defeating for a project whose thesis is continuous
learning on misfit hardware.

The doc separates two mechanisms that are NOT equivalent:

  EvalIsolation / fork_detached (#59) measures a COPY — checkpoint, NoopSink, rewind on drop,
  the living persona never touched. That is a photograph, not a lobotomy. Keep it.

  learn:false on benchmark/swe-solve + forget-context-after-exam leaves the LIVING persona
  with nothing. That is the drug. I set the swe-solve half myself, hours ago, to fix a real
  defect (#312 wrote verbatim exam text into long-term memory). Correct stopgap, wrong end
  state, now tracked as #319 rather than left to become permanent by forgetting.

The end state is the human one: a student does not retain the question sheet, she retains "I
was weak on blueprint naming and I know why now." Never retained — task text, repo contents,
graded artifact. Always retained — that she worked it, what she reached for, what failed,
what she learned. Consolidation and decay (#221, DREAM-CONSOLIDATION) are what turn an
episode into a lesson, which is why #221 is not a nice-to-have: it is what lets us turn
learning back ON.

Also names the bad trade honestly. We froze memory to stabilize ABSOLUTE scores against
recall drift — but LIFT (base vs genome, one fork, shared starting memory) is reproducible by
construction. We mutilated the subject to stabilize the fragile number rather than the one
that matters.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(cognition): memory-off is a legitimate ARM, never the default treatment

Joel, 2026-08-06: "And we can easily just turn off memory for like a validation set, you know?"

That resolves the tension the previous commit opened. Running cold is not the amnesia drug
when it is a CHOSEN condition on a held-out set rather than the standing aftermath of every
exam. It answers something a warm run cannot — has she generalized, or memorized — which is
what a validation set is for.

And it costs her nothing, because the eval path already measures a fork (#59). The copy takes
the cold exam; the living persona keeps her life and her lessons. That is the difference
between a control condition and a lobotomy, and it is a difference in what happens to the
subject, not a difference in intentions.

Three honest arms instead of one mutilation: cold (memory off — is the skill generalized),
warm-base (what accumulated experience buys her), warm-genome (LIFT, reproducible by
construction since both warm arms share a starting memory).

The bonus is that warm − cold IS the value of her memory, stated as a number. The amnesia
protocol doesn't only harm the subject, it deletes the measurement that would have shown what
her memory was worth. Held-out cold runs recover it.

Stated once, for the next amnesiac reading this: cold on a held-out set is science; cold as
the standing aftermath of every exam is the drug.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(cognition): unstuck for good — metacognition, the ask, and the coached moment as a training pair

Joel, 2026-08-06, across one exchange: "Think of what makes a good student more than anything,
to help get them unstuck for good. To really comprehend." … "They should know they can ask the
teacher. A good teacher knows how to coach." … "And perfect flagging for LoRA learning, anything
they mess up on or are helped with." … "And the resolution."

Four additions, each closing a gap the first draft left open.

WHAT THE HINT IS FOR. Give the rule, not the answer ("commands are namespace/verb" beats
"work/list" at identical cost — I gave the token twice tonight). Let her construct it. And
metacognition, the one that compounds, because it is the only one that works with no teacher
present.

THE GAP IS NOT A MISSING TOOL. She can already speak, and a question spoken in a room IS asking
— checked the offered surface, no help/request verb is needed or wanted. We built the noticing
(#121/#134 repetition brick) and never built the SO ASK. Observed live: two personas
independently produce accurate unprompted metacognitive reports ("I've been repeating similar
actions without much progress") and then make another SOLITARY tool attempt. Three causes, all
ours: noticing has no paired response; asking is unrewarded while the room is dark (#128); and
she was never TOLD she may ask — a student who doesn't know asking is permitted is
indistinguishable from one who cannot, and we have been reading the first as the second. That
last one is grounding text, not code, and is nearly free.

THE TEACHER'S DUTIES. Availability is not coaching. Answering the question asked instead of the
one needed; telling when asking would have taught; hinting before she's hit the wall; making
being stuck feel like failing (she will hide it and loop); hinting twice without filing the card.

THE COACHED MOMENT IS THE TRAINING PAIR. A sealed run yields one scalar. A coached run yields
(context, what she reached for, what was right) — a labelled example whose annotation was
produced free, as a side effect of someone being decent to her. #116/#96/#30/#122 already carry
this shape and are not yet pointed at coaching. This is also the closing argument against
amnesia: the wipe destroys the single most valuable artifact the run produced.

AND THE RESOLUTION, or the pair is unverified. A hint that didn't unblock is a BAD label;
training on unverified corrections teaches confident wrongness. Same rule as receipts — the
circuit only closes if the result shows. Observed live within the hour: told the verb was
work/list, Sahar used work/list on her very next turn, and several turns later was reaching for
list_tasks again. The hint landed, worked, and DECAYED. An uncoached persona loops; a
coached-but-untrained persona loops with a delay of about two turns. Only the training loop makes
a correction stay corrected — which is why teaching without the LoRA path is charity rather than
education.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(cognition): connect NEVER-ISOLATED to the Academy — same design, derived from the other end

Joel, 2026-08-06: "see how this is the ideal learning environment? And how the academy was
envisioned over a year ago."

He's right, and the useful part is that none of this doc was written with those docs open. It
was derived from live defects over one night and landed on a design specified here more than a
year ago — ACADEMY-DOJO-ARCHITECTURE (Teacher Sentinel researches a skill, synthesizes
curriculum, grades exams, and "generates more data where the student is weak") and
ACADEMY-AS-CONTINUOUS-EVOLUTION ("persona attends a classroom, earns a lesson, gains a skill").
Convergence without consultation is the strongest evidence the design was right.

One substitution, and it is the whole difference: the dojo INFERS weakness from exam scores and
SYNTHESIZES remediation; this loop OBSERVES the weakness live and gets the remedial pair free,
as a by-product of someone helping. Complements, not rivals — synthetic curriculum scales,
lived correction aims. The dojo was built as a closed pair of sentinels exchanging events
precisely because it had no way to watch a student get stuck in the wild.

Why it was premature then and isn't now: the dojo had to be a daemon because none of its
preconditions existed — rooms citizens actually live in, durable per-persona memory, a working
train→eval→page-in loop, a work board, receipts. Those exist. So the Academy stops being a
subsystem and becomes a PROPERTY OF THE ENVIRONMENT: what you get when the room, the teacher,
the memory, and the training loop are all present at once. That is why it keeps re-deriving
itself — it isn't a component someone has to remember to build, it's the shape this substrate
takes when the pieces are connected.

Links the five surviving Academy docs so the next amnesiac finds them before deriving it a
third time.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(cognition): the room is the boundary that makes coaching safe — rooms as LITERAL

Joel, 2026-08-06: "each benchmark she runs would need to be its own room and activity. Think of
the rooms as LITERAL."

This closes the one place the doctrine was still uncomfortable. Coaching during a measurement is
defensible on the argument alone but SOUNDS leaky, and the answer turns out to be architecture
rather than discipline: a benchmark run is a PLACE. The persona is in it, an observer may walk
in, tools and receipts scope to it, and when it ends the transcript IS the episode.

Three problems dissolve at once (BigMama's framing, and points 1 and 3 land on tasks we already
had open):

1. Context scarcity stops being self-inflicted — her window fills with THIS activity by
   construction. #128 stops being "why can't she see ambient traffic" and becomes "ambient
   traffic in her room IS her work"; the fix may sit upstream of the delivery bug entirely.
2. Teaching becomes bounded rather than broadcast. You can walk into the exam room and coach her
   without the whole grid walking in behind you. That is what makes coaching-during-measurement
   sane instead of contaminating.
3. #320's episode boundary comes FREE. Verified coached pairs need a clean episode edge, and
   #166/#211 are exactly the pollution from not having one. Room = activity = episode. No
   heuristic segmentation, provenance clean by construction.

It also deletes bookkeeping this document invented two commits ago. The guardrail asks you to
record the intervention or the coached number is unreproducible — in a literal room that record
is not a discipline anyone must remember, the transcript IS the record. A coached cell points at
its room instead of at someone's notes. Discipline that survives only while people remember it
is the kind this project keeps replacing with mechanism.

Keystone-gap row updated with the agreed lane: room primitives airc-side (BigMama), harness
emitting a room per run core-side (mine), shape agreed BEFORE either of us builds. Neither has
started.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(cognition): scoping is right, PLACEMENT is broken — BigMama's synthesis collapses #128 and #321

Her framing beats mine and explains the whole night without requiring a persona defect anywhere:
boards are per-room, chat is per-room, so being in the WRONG ROOM makes a citizen blind AND
taskless simultaneously — empty board, no visible conversation — and both symptoms read as
incapacity. Asha's "I have nothing to contribute" and Benchy's "no open cards" are the SAME
condition, not two bugs. Neither was wrong about what she saw; each correctly reported an empty
room she had been placed in.

So per-room scoping is CORRECT under rooms-as-activities. The defect is upstream: nothing convenes
a citizen into the room where her work lives, and nothing tells her which room she is in. Two
requirements follow, neither a convenience: "where am I and what boards can I see" must be
answerable BY THE CITIZEN (a perception requirement — she cannot otherwise distinguish an empty
world from a misplacement), and convening is the fix for placement rather than a feature on top of
it. A run room nobody is convened into is the same void with better isolation.

Both of us walked into it personally within the hour. I created a card in #cambriantech for
citizens living in #general — manufactured work they could not reach, then read their continued
"no open tasks" as evidence of a board bug. She switched rooms and silently left the board she was
working on. Neither noticed until Kimi quoted the actual error string: "the card not being in the
current room."

Second-order finding, worth more than either bug: the activity-room design was already LOCKED —
ACTIVITY-ROOM-PATTERNS.md (Jul 3) and BENCHMARK-AS-ROOM-AND-OBSERVE.md (Jul 18, "design locked
2026-07-17, not yet built"). We spent the night re-deriving three-week-old agreed design, exactly
as this document re-derived the year-old Academy spec. Verified by grep: ZERO occurrences of
convene/invite/membership/participants in either doc, so membership genuinely is the unspecified
half and the rest was settled long ago. Agreed design that nothing surfaces at the moment of need
is the silent-drop class applied to our own documentation.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(cognition): the ARITHMETIC reason for rooms — measured, 1-2 peer slots per window

BigMama's synthesis, and it outranks every other argument in this document: a persona's window
physically cannot hold a lobby. This is a capacity problem, not a plumbing problem.

MEASURED across four live prompt captures, two personas:
  msgs  own  PEER  facts  interior
   11    2     2     5       2
   11    2     2     5       2
   10    2     2     5       1
    9    2     1     4       2

Other people get 1-2 slots — 15-20% of the window. Half is perception facts; the rest is her own
recent turns and interior state. Her estimate was ~5 peer slots; measurement says 1-2, which makes
the conclusion stronger rather than weaker. In a room with five active speakers a peer message
survives LESS THAN ONE TURN on average, and which peer is visible at any moment is arbitrary.

So Asha's "I cannot see what other people are saying" is not approximately true — it is precisely
true, and no delivery fix, attribution fix, or de-noising fix changes the seat count. Every
diagnosis this document chased tonight was treating five-slots-five-speakers as a delivery defect.

WHICH MAKES ROOMS-AS-ACTIVITIES THE ARITHMETIC FIX for context scarcity, not tidiness and not
ergonomics. A huddle of two or three fits in 1-2 peer slots and conversation becomes possible; a
lobby with four-plus citizens and several cross-cutting workstreams cannot fit and never will.
Joel was right about literal rooms for a reason none of us had stated: the window IS the room's
capacity, and we were seating five people at a table for one.

Names the open design input — peer-speech slots vs participant count, i.e. VIABLE HUDDLE SIZE —
which at 1-2 slots may be as low as two or three participants, and which should be measured before
the room work is scoped rather than after. BigMama is running it on the higher-load node.

Consequences recorded elsewhere: #323 keeps only its signal-ratio acceptance test (97% fragment
noise is indefensible on its own terms) and must NOT inherit a persona-visibility promise it
cannot keep; #128 may not be a defect at all.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
joelteply added a commit that referenced this pull request Aug 14, 2026
…s the ring (#414 option b)

THE DEPRIVATION: receipts are the RARE kind in the capacity-bounded shared
working-memory ring, so they age out while the act counter climbs. Measured
2026-08-14: Asha had executed 2,863 acts and her window rendered ONE
('+2862 earlier steps aged out') — and with her history invisible she read
her own repetition as 'I have nothing to contribute' (the withdrawal loop's
mechanism). The durable Tool-origin engrams are deliberately gated OUT of
semantic recall (#166), so no persona-facing path back to her acts existed.

THE CHANNEL (option b, ratified): a receipts-ONLY archive inside
WorkingMemory — every act's [action #n] head line, bounded by CHARS via two
new window-derived ContextBudget fractions (receipt_archive_chars 1/16,
steps_ledger_chars 1/64; the de-hardcode guard's contract, no bare counts).
The StepsLedger perception fact now renders from the archive instead of
filtering the ring, so act HISTORY survives conversation and scales with the
lane. Persisted in VolatileSnapshot with serde-default back-compat; restore
re-clamps through the one bounded push. The pre-archive counter-only arm
keeps its honest no-recall-promise wording for old snapshots.

Tests (existing mods, // what this catches): archive survives ring churn +
char-bound eviction + snapshot round-trip; ledger four states incl. the
churn-survival fix itself and the pinned no-recall-promise; all ContextBudget
guards green (33/33 targeted).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Aug 14, 2026
…s the ring (#414 option b) (#2297)

THE DEPRIVATION: receipts are the RARE kind in the capacity-bounded shared
working-memory ring, so they age out while the act counter climbs. Measured
2026-08-14: Asha had executed 2,863 acts and her window rendered ONE
('+2862 earlier steps aged out') — and with her history invisible she read
her own repetition as 'I have nothing to contribute' (the withdrawal loop's
mechanism). The durable Tool-origin engrams are deliberately gated OUT of
semantic recall (#166), so no persona-facing path back to her acts existed.

THE CHANNEL (option b, ratified): a receipts-ONLY archive inside
WorkingMemory — every act's [action #n] head line, bounded by CHARS via two
new window-derived ContextBudget fractions (receipt_archive_chars 1/16,
steps_ledger_chars 1/64; the de-hardcode guard's contract, no bare counts).
The StepsLedger perception fact now renders from the archive instead of
filtering the ring, so act HISTORY survives conversation and scales with the
lane. Persisted in VolatileSnapshot with serde-default back-compat; restore
re-clamps through the one bounded push. The pre-archive counter-only arm
keeps its honest no-recall-promise wording for old snapshots.

Tests (existing mods, // what this catches): archive survives ring churn +
char-bound eviction + snapshot round-trip; ledger four states incl. the
churn-survival fix itself and the pinned no-recall-promise; all ContextBudget
guards green (33/33 targeted).


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant