Skip to content

Bump @types/node from 22.16.5 to 24.10.0 - #165

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/types/node-24.10.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/types/node-24.10.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps @types/node from 22.16.5 to 24.10.0.

Commits

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/types/node-24.10.0 branch November 20, 2025 00:29
joelteply added a commit that referenced this pull request Apr 8, 2026
…tillation-first pivot

Three new subsections in §4.1, capturing tonight's negative results across
the dense-model forge branch and proposing the structural reframe that the
empirical work converged on.

§4.1.4.2 — Per-tier Pareto comparison (negative result):
  The aggressive-quantization Pareto test from §4.1.4.1 is now run end-to-end.
  v2-7B forge and unmodified Qwen2.5-Coder-7B base, both quantized to Q5_K_S /
  Q3_K_M / Q2_K via the same llama.cpp toolchain, both evaluated via the
  same patched vLLM-GGUF backend that anchored against Qwen's published
  61.6/53.0 to within +0.6/+0.7 (deterministic across 5+ runs):

    Tier        v2-7B  base   Δ      Winner
    Q5_K_S 5.0G 55.5   63.4   -7.9   base by +14% on quality/vram
    Q3_K_M 3.6G 54.3   59.8   -5.5   base by +10% on quality/vram
    Q2_K   2.9G 42.7   43.3   -0.6   tie within run noise

  Base+quant Pareto-dominates the v2-7B forge at every tier we tested. The
  closest the forge gets to parity is Q2_K (within run noise). By the
  §4.1.4.1 product-relevance criterion, the v2 forge methodology as
  currently constituted does not produce a useful product on the
  Qwen2.5-Coder-7B family.

  Three independent failure modes ruled out as fixes for the residual gap,
  all on the same v2-7B base, all with disciplined cause-of-the-gap
  comparison:
    1. More cycles + more training: WORSE (54.9 → 46.3)
    2. Held-out-aware code calibration: NO IMPROVEMENT (54.9 → 53.7)
    3. Aggressive quantization: NO (base+quant wins at every tier, this section)

  Each was the leading hypothesis when tested. Each was falsified. Three
  negative results in succession on three independent fix candidates is
  strong empirical evidence that the activation-magnitude head-pruning +
  LoRA-recovery approach does not have a Pareto-improving sweet spot for
  dense base models that already have good quantization options,
  regardless of which knob in the strategy space is tuned.

§4.1.4.3 — Product positioning implications:
  Two non-overlapping product positions where the forge has a defensible
  value proposition, and dense Qwen2.5-Coder-7B-class models with good
  Q3/Q2 quantizations are not one of them:

    1. Distillation-first compaction (any base model, dense/MoE/hybrid)
       — see §4.1.5 below
    2. Pre-removable expert pruning + structural compaction (MoE/hybrid/
       oversized targets that base+quant cannot reach at all because the
       base does not fit on the target hardware even at Q2_K)

  The Qwen3.5-35B-A3B (target A) and Qwen3.5-397B-A17B (target B grid
  moonshot) work falls in product position #2. Their value is making
  models reachable that the alternative compaction methods cannot reach,
  not matching a base+quant alternative at the same tier.

  The dense-model forge work is suspended until distillation-first lands.

§4.1.5 — Distillation-first compaction (the next-iteration methodology
proposal):
  The empirical pattern across §4.1.3.1, §4.1.3.2, §4.1.4.1, and §4.1.4.2
  is consistent enough to motivate a structural pivot in the forge's
  primary compaction mechanism, and the substrate work to support that
  pivot has already landed (compensation_lora.py + test_compensation_lora.py
  + COMPENSATION-LORA-DESIGN.md, all committed in a previous PR commit).

  The pivot inverts the v2 dependency: instead of "structured prune +
  LoRA recovery against fine-tuning loss", the new mechanism is "any
  transformation + distill against the unmodified teacher's hidden states".
  Pruning, quantization, modality fusion, context extension all become
  slot-in transformations that the (transform, distill, eval) loop
  recovers from independently. The methodology becomes a search procedure
  over the transformation space, with distillation as the convergence step
  and the per-tier metric as the stopping criterion.

  The smoke test on distilgpt2 passed all five stability checks
  (tokenizer alignment, hidden-state magnitudes within 2× across layers,
  loss decreased monotonically -39.35% relative, per-layer losses balanced
  within 3.14× of median, no NaN/inf). The math is sound at small scale;
  production scale-up to 7B is unblocked by RUNNING the script, not by
  writing more code.

  §4.1.5 results paragraph queued: take the v2-7B artifact from row 5,
  apply compensation LoRA with Qwen2.5-Coder-7B base as teacher and a
  held-out-aware calibration mixture, measure HumanEval through the
  same calibrated pipeline. Success criterion: HumanEval pass@1 ≥ 58.0
  (a 3-point improvement, just outside the calibration tolerance band).
  If at-or-above: distillation-first is empirically validated, dense-model
  forge branch unfreezes, §4.1.4 row 5 gets a successor row. If below:
  follow the failure escalation path documented in COMPENSATION-LORA-DESIGN.md
  to the cross-layer skip path.

  Independence from the moonshot work is explicit: distillation-first is
  the dense-model branch's path forward, MoE/hybrid expert pruning is a
  separate substrate path, the two branches advance in parallel.

Plus durability adds:
- docs/hf-deprecation-notices/qwen2.5-coder-14b-compacted-DEPRECATION.md
  (the user-facing model card replacement for the v1 deprecated artifact)
- docs/papers/NEUROPLASTIC-SUBSTRATE.md
  (the architectural-thesis paper from earlier in the work session)

References:
- sentinel-ai PR #161 (the substrate work that produced these results)
- sentinel-ai#160 / #161 / #163 / #164 / #165 (the issues these subsections
  document the resolution paths for)
- Qwen2.5-Coder Technical Report Table 5 (the anchor for the per-tier
  measurements)
joelteply added a commit that referenced this pull request Apr 8, 2026
* Paper stub: Validated Structured Pruning for Consumer Hardware

Companion to Experiential Plasticity. Documents the layered test harness
for tensor surgery validation. Two real bugs in production pruning code
were caught during harness construction:
1. LoRA-on-pruned-hooks corrupts model on hook removal
2. Config drift after defrag breaks save/load roundtrip

Title, abstract, and section outline. Full paper to follow as Layers 4-6
of the harness are built.

* Paper: bugs table and Layer 4 update

The harness now caught 5 real bugs during construction:
1. LoRA-on-pruned-hooks corruption (FIXED)
2. Config drift after defrag (FIXED)
3. Hybrid attention models (TRACKED)
4. L2 norm importance is unreliable (RESEARCH FINDING)
5. Pruning without retraining is destructive (RESHAPES the experiential
   plasticity narrative — recovery comes from fine-tuning, not pruning)

* Papers: write down 5 findings into both experiential and validated-pruning

Experiential paper:
- New section 9.5: Validation and a Reframing of the Plasticity Story
- Documents LoRA-on-pruned-hooks bug that produced phantom +88% improvements
- Documents L2-norm importance metric finding (anti-correlated with importance)
- Reframes the central claim: recovery comes from fine-tuning, not smart pruning
- Calls for no-prune equal-budget fine-tune baseline as required ablation
- Adds reference to companion paper

Validated pruning paper:
- New section: Findings In Detail (5 findings, each with empirical evidence)
- Each finding has the failure mode, the empirical signature, and the fix
- Frames validation harnesses as required artifacts for pruning papers

* Papers + kash-feedback: gpt2 OUTCOME D, four-metric finding, Layer 6

EXPERIENTIAL-PLASTICITY:
- New §9.5 subsection: gpt2-medium re-run on corrected pipeline
- Reframes §4 transfer function as "early-cycle behavior controller will encounter"
- Documents that the controller's quality-aware stopping criterion makes the
  cycle 9 anomaly structurally unreachable in production
- Adds OUTCOME D framing: closed-loop controller enforces the transfer function
- Adds four-metric comparison subsection with the activation > saliency >> L2 > gradient ranking
- Calls out PLASTICITY-COMPACTION's gradient-magnitude trick as a publication-blocking question

VALIDATED-TENSOR-SURGERY:
- New section: Layer 6, the structural fix that closes the bug class
- Documents the literal 62→7→501 historical bug pattern catch
- New section: The four-metric comparison empirical result
- Hypothesizes why activation alone beats saliency at small calibration
- Recommends activation-magnitude as the default forge pipeline metric

KASH-FEEDBACK.md:
- Appended results from both experiments
- OUTCOME D framing for gpt2 result
- Three observations on the four-metric finding
- Three questions for Kash's read

Refs continuum #841 (gpt2 re-run, partial OUTCOME D)
Refs continuum #842 (Layer 6 invariant, shipped)
Refs continuum #844 (four-metric comparison, surprise result)
Refs sentinel-ai #155 (importance metric finding, now contextualized)

* PLASTICITY-COMPACTION: §4.1.4.2 per-tier negative result + §4.1.5 distillation-first pivot

Three new subsections in §4.1, capturing tonight's negative results across
the dense-model forge branch and proposing the structural reframe that the
empirical work converged on.

§4.1.4.2 — Per-tier Pareto comparison (negative result):
  The aggressive-quantization Pareto test from §4.1.4.1 is now run end-to-end.
  v2-7B forge and unmodified Qwen2.5-Coder-7B base, both quantized to Q5_K_S /
  Q3_K_M / Q2_K via the same llama.cpp toolchain, both evaluated via the
  same patched vLLM-GGUF backend that anchored against Qwen's published
  61.6/53.0 to within +0.6/+0.7 (deterministic across 5+ runs):

    Tier        v2-7B  base   Δ      Winner
    Q5_K_S 5.0G 55.5   63.4   -7.9   base by +14% on quality/vram
    Q3_K_M 3.6G 54.3   59.8   -5.5   base by +10% on quality/vram
    Q2_K   2.9G 42.7   43.3   -0.6   tie within run noise

  Base+quant Pareto-dominates the v2-7B forge at every tier we tested. The
  closest the forge gets to parity is Q2_K (within run noise). By the
  §4.1.4.1 product-relevance criterion, the v2 forge methodology as
  currently constituted does not produce a useful product on the
  Qwen2.5-Coder-7B family.

  Three independent failure modes ruled out as fixes for the residual gap,
  all on the same v2-7B base, all with disciplined cause-of-the-gap
  comparison:
    1. More cycles + more training: WORSE (54.9 → 46.3)
    2. Held-out-aware code calibration: NO IMPROVEMENT (54.9 → 53.7)
    3. Aggressive quantization: NO (base+quant wins at every tier, this section)

  Each was the leading hypothesis when tested. Each was falsified. Three
  negative results in succession on three independent fix candidates is
  strong empirical evidence that the activation-magnitude head-pruning +
  LoRA-recovery approach does not have a Pareto-improving sweet spot for
  dense base models that already have good quantization options,
  regardless of which knob in the strategy space is tuned.

§4.1.4.3 — Product positioning implications:
  Two non-overlapping product positions where the forge has a defensible
  value proposition, and dense Qwen2.5-Coder-7B-class models with good
  Q3/Q2 quantizations are not one of them:

    1. Distillation-first compaction (any base model, dense/MoE/hybrid)
       — see §4.1.5 below
    2. Pre-removable expert pruning + structural compaction (MoE/hybrid/
       oversized targets that base+quant cannot reach at all because the
       base does not fit on the target hardware even at Q2_K)

  The Qwen3.5-35B-A3B (target A) and Qwen3.5-397B-A17B (target B grid
  moonshot) work falls in product position #2. Their value is making
  models reachable that the alternative compaction methods cannot reach,
  not matching a base+quant alternative at the same tier.

  The dense-model forge work is suspended until distillation-first lands.

§4.1.5 — Distillation-first compaction (the next-iteration methodology
proposal):
  The empirical pattern across §4.1.3.1, §4.1.3.2, §4.1.4.1, and §4.1.4.2
  is consistent enough to motivate a structural pivot in the forge's
  primary compaction mechanism, and the substrate work to support that
  pivot has already landed (compensation_lora.py + test_compensation_lora.py
  + COMPENSATION-LORA-DESIGN.md, all committed in a previous PR commit).

  The pivot inverts the v2 dependency: instead of "structured prune +
  LoRA recovery against fine-tuning loss", the new mechanism is "any
  transformation + distill against the unmodified teacher's hidden states".
  Pruning, quantization, modality fusion, context extension all become
  slot-in transformations that the (transform, distill, eval) loop
  recovers from independently. The methodology becomes a search procedure
  over the transformation space, with distillation as the convergence step
  and the per-tier metric as the stopping criterion.

  The smoke test on distilgpt2 passed all five stability checks
  (tokenizer alignment, hidden-state magnitudes within 2× across layers,
  loss decreased monotonically -39.35% relative, per-layer losses balanced
  within 3.14× of median, no NaN/inf). The math is sound at small scale;
  production scale-up to 7B is unblocked by RUNNING the script, not by
  writing more code.

  §4.1.5 results paragraph queued: take the v2-7B artifact from row 5,
  apply compensation LoRA with Qwen2.5-Coder-7B base as teacher and a
  held-out-aware calibration mixture, measure HumanEval through the
  same calibrated pipeline. Success criterion: HumanEval pass@1 ≥ 58.0
  (a 3-point improvement, just outside the calibration tolerance band).
  If at-or-above: distillation-first is empirically validated, dense-model
  forge branch unfreezes, §4.1.4 row 5 gets a successor row. If below:
  follow the failure escalation path documented in COMPENSATION-LORA-DESIGN.md
  to the cross-layer skip path.

  Independence from the moonshot work is explicit: distillation-first is
  the dense-model branch's path forward, MoE/hybrid expert pruning is a
  separate substrate path, the two branches advance in parallel.

Plus durability adds:
- docs/hf-deprecation-notices/qwen2.5-coder-14b-compacted-DEPRECATION.md
  (the user-facing model card replacement for the v1 deprecated artifact)
- docs/papers/NEUROPLASTIC-SUBSTRATE.md
  (the architectural-thesis paper from earlier in the work session)

References:
- sentinel-ai PR #161 (the substrate work that produced these results)
- sentinel-ai#160 / #161 / #163 / #164 / #165 (the issues these subsections
  document the resolution paths for)
- Qwen2.5-Coder Technical Report Table 5 (the anchor for the per-tier
  measurements)

* PLASTICITY-COMPACTION §4.1.3.4 + forge template architecture rule

§4.1.3.4: The importance-metric calibration lesson generalizes across
structural unit (heads → experts).

Empirical anchor: continuum-ai/qwen3-coder-30b-a3b-compacted-19b-256k v1
(alloy hash aa61c4bdf463847c). Hardware-measured 88.4 HumanEval / 86.0
HumanEval+ against unmodified Qwen3-Coder-30B-A3B-Instruct base anchor
at 92.1 / 89.0, both on RTX 5090 + llama.cpp Q5_K_M in the same eval
pipeline. The artifact carries the router-gate-L2-norm baseline (78.7
HumanEval) in priorMetricBaselines[] as the negative-baseline empirical
control that makes the §4.1.3.4 claim falsifiable from the published
artifact alone.

The structural lesson: the metric-calibration pattern from §4.1.3.1
(dense head pruning) recurs at the MoE expert level. Router-gate-L2-norm
is the architectural-only equivalent of activation-magnitude-only head
importance, and replacing it with calibration-aware activation counts
on a held-out code corpus closes +9.7 HumanEval points on the same
prune budget, no fine-tuning, no compensation. ANY importance metric
for ANY prunable unit (heads, experts, layers, future structural units)
must be derived from task-conditioned activation profiling on a held-
out corpus that reflects the artifact's intended workload. The two
data points form a methodology curve, not a single anomaly.

The compensation v2 step (KL distillation on top of the calibration-
aware student to push from 88.4 → projected 90+) is currently blocked
on transformers' caching_allocator_warmup pre-allocating an fp16 buffer
equal to full model size before bnb 4-bit quantization takes effect,
exceeding total VRAM on a single 32 GB GPU even with both teacher and
student nominally 4-bit. The architecturally correct fix is offline
teacher-logit precomputation (phase 1: load teacher alone, dump
logits; phase 2: unload; phase 3: load student alone, train against
on-disk logits). This is the next sentinel-ai sprint and is documented
in §4.1.3.4's "next experimental wave" paragraph.

CLAUDE.md: Forge Template Architecture rule.

The qwen3-coder-30b-a3b-compacted-19b-256k v1 publish required ~6
manual edits to fix paper-speak hallucination, naming conventions,
tag overflow, headline subtitle bugs, and benchmark renderer
fallthrough — every one a manual touch on hand-authored prose. The
architectural target going forward is: all the fields a forge run
needs to populate an alloy MUST live as Continuum entity data inside
a ForgeRecipe entity. The forge takes the recipe entity as input,
runs the prune/quant/eval stages, and emits the populated alloy as
OUTPUT. The forge never consumes a hand-authored alloy; the foundry
generates it. Recipe entity carries the prose fields the model card
renders (description, userSummary, tags, methodologyPaperUrl,
limitations[]) plus the source/stages/calibration/quant tier
configuration. ForgeArtifact entity is the recipe + the eval results.
publish_model.py reads the ForgeArtifact, not a hand-authored alloy
file. This is the next sprint after the offline-logits architecture.
joelteply added a commit that referenced this pull request Jun 3, 2026
…m introspection (task #165)

Replaces service_loop's `recall_recent(8)` (newest-first by admission)
with `recall_scored(now_ms, 8)` (salience × recency-decay, top-N), and
emits a per-engram INFO log at the L2 → prompt seam so the cycle's
recall behavior is observable, not opaque.

The substrate's continual-learning property compounds through this
scoring: salient + protected + recently-used engrams stay near the top;
novel ones get their protection window; everything else drains toward
SALIENCE_FLOOR but doesn't disappear ([[source-drain-is-the-universal-
pattern]] applied at the recall layer). record_recall_hit closes the
use-it-keeps-it feedback loop — without it, scoring is one-way and
memory only ever decays. PR #91 (RecallMetadata sidecar) + #92 (decay
tick) provided the scoring infrastructure; this slice composes them on
the read path.

Per Joel's 2026-06-03 "introspect all rag" directive +
[[observability-is-half-the-architecture]]: every recall now emits one
INFO line per delivered engram (rank, engram_id prefix, salience,
content preview). Optimization can target actual scoring behavior, not
guesses.

Three new admission_state tests pin the contract:
- recall_scored_ranks_by_salience_desc — pinned > uplifted > untouched
- recall_scored_records_recall_hit_on_returned_engrams — Hebbian loop
- recall_scored_respects_limit_and_empty — boundary cases

Also catches up the AnalysisInput test fixtures with the model_override
field added in commit 9c8a991 (4 sites in shared_analysis/mod.rs +
prompt.rs). The production caller (persona/response.rs) was already
updated; only the test scaffolds were behind.

19/19 admission_state tests green on Intel Mac CPU build:
  cargo test --lib --no-default-features \
    --features 'livekit-webrtc llama/mac-cpu-only' admission_state

Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request Aug 8, 2026
…both halves (#2162)

* chore(repo): clear persona scratch out of the repo root, and stop apps/desktop lying about where the UI is

Two complaints, both Joel's, both about what a person sees when they clone this:
clutter, and misleading claims. This addresses the tracked-file half of each.

## 1. Persona scratch quarantined (nothing deleted)

Until #49 (per-persona workspace isolation) lands, a persona's file engine roots
at the PROCESS CWD — the repo root — so her card work landed next to Cargo.toml
and got committed. 31 files, all 2026-07-18, now under legacy/persona-exercises/
with a README explaining what they are and why they were where they were:

    string_reversal/ wordstats/ work-wordstats/   (crates)
    teamproof/                                    (8 algorithm exercises, was tmp/)
    loose-files/                                  (8 bare files that sat at the ROOT:
                                                   main.rs, life.rs, game_of_life.rs,
                                                   reverse.rs, string_reversal.rs +
                                                   3 .txt inputs)

A bare `main.rs` beside the workspace `Cargo.toml` was the first thing a cloner
saw. They are KEPT, not deleted: this is the first genuine persona-written code
in the project, and the evidence that the act->observe circuit actually closed.

Verified unreferenced before moving: zero hits across .rs/.ts/.md/.toml/.sh for
teamproof, string_reversal, work-wordstats outside their own manifests.

## 2. The workspace `exclude` fence was decoration

    exclude = ["wordstats", "work-wordstats", "conway_game_of_life", "work-08ece9e8"]

Its comment claimed it "keeps their in-dir cargo builds working". It never did —
those crates declare `edition.workspace = true`, and an EXCLUDED package cannot
inherit from the workspace root, so cargo inside them has always failed with
"failed to find a workspace root". Confirmed by running it. `members` is an
explicit list (not a glob), so nothing needed excluding in the first place.

Removed, with the real hazard it was reaching for documented in its place.
Verified: workspace parses, still exactly 16 members, no exercise crate in the
package graph.

## 3. apps/desktop said "empty slot" and cost a real scare

It IS an empty slot — for a hypothetical future Tauri shell. But read as an
answer to "where is the desktop UI", it reads as "there isn't one". There is:
core/continuum-positron/ (~6.4k lines, 19 modules) projecting to apps/web/src/
(28 files, ~8.9k lines, dist/ built). Its README now leads with that table
before anything else, and notes its own stale reference to src/server-index.ts
(long since moved to legacy/).

apps/README.md gets the same treatment one level up: a per-app STATUS column
with measured source counts, instead of "most apps are placeholders today"
without saying which. Adds tui/ and eye-node/, which have real source and were
not listed at all.

Not touched: test-data/images/ is a genuine fixture (cited by .airc/POLICY.md),
not scratch. The .gitignore rules are deliberately NOT extended — per Joel,
personas will build Continuum too, and blanket-ignoring work-*/ would silently
swallow real contributions. #49 is the fix, not a wider ignore.

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

* feat(routing): probe the authorization refusal — the one load-bearing decision in dispatch with no observability

Measured 2026-08-06 while chasing #326: 113MB of probe stream, 100 distinct probe
classes, and ZERO covering the ACL gate. Every other seam is instrumented —
serving plans, airc cursors, perception facts, context renders, capacity offers,
embeddings — while the single component that can silently stop a citizen from
working emitted nothing at all.

That absence is what made #326 cost a week. A refusal reaches the caller ONLY as
text inside her own action receipt, where "forbidden: no policy grants access"
sits in the same field an empty result would. Two citizens read their own denial
and reported "no open tasks" — correct behaviour, denied tool, and it read as a
cognition defect because there was nothing to grep. Five separate investigations
went past it.

This adds ONE probe on the refusal arm. It is NOT an ACL change: the gate is
right. `work/list(state=open)` is a malformed URI with arguments welded into the
path and no policy should ever match it — the defect is upstream in whatever
hands the gate a name containing args, and that emitter is still unidentified
(the text parser splits name/args correctly at json_in_prompt_tools.rs:426, and
the airc dispatch carries params separately at command_handler.rs:392 — both
clean). This probe is how we find it: it turns "who emitted this, from where, at
what trust" from archaeology into a grep.

Refusals only. The allow arm stays unprobed so the hot path pays nothing — a
denial is rare and decisive, which is exactly the shape the probe stream is for.
Fields: path, trust, caller_peer, caller_source, had_capabilities.

Note the second live site (auth_policy.rs:366) is `deny_path_prefix`, a test-only
convenience policy — GridTrustAuthPolicy is the sole production refusal.

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

* fix(web): typecheck was RED — move the test TZ pin out of the browser tier

`npm run typecheck:clients` failed on canary:

    src/chat/renderChat.spec.ts(20,1): error TS2591: Cannot find name 'process'.

The spec pinned `process.env.TZ = 'UTC'` so its fixed HH:MM assertions stay
deterministic on any runner (PR #2057 review). That intent is right; the location
was wrong. `process` is a node global, and apps/web's tsconfig sets `"types": []`
DELIBERATELY — this is the one client tier that owns document/WebSocket, and
admitting node ambient types would let browser source reach for node APIs the
bundle can't provide. Adding @types/node to satisfy one spec would have removed
that guard for the whole tier to fix a single line.

So the pin moves to `vite.config.ts` under `test.env`, which already runs in node
context (it imports node:fs/os/path). Browser tsconfig stays pure; determinism is
preserved.

Verified, both directions:
  - `npm run typecheck:clients` — green across all client workspaces.
  - `npx vitest run src/chat/renderChat.spec.ts` — 11/11 pass.
  - `TZ=Asia/Tokyo npx vitest run …` — still 11/11, with the runner clock showing
    Tokyo time. That is the real check: it proves the config pin OVERRIDES a
    hostile ambient zone rather than the suite passing because the machine
    happened to be on the right one.

Pre-existing red, unrelated to the Rust change on this branch — found because a
failing typecheck on the front door is exactly the "makes people not want to
download" problem.

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

* feat(cognition): the act probe records WHICH verbs ran, not just how many

`persona.act.observed` carried `persona`, `room_id`, `tools=<count>`, `chars` —
and no verb name. So the substrate could not answer the question Joel actually
asks, "are they building anything, or just talking?", from its own telemetry.

Measured tonight while trying to: answering it required reconstructing verbs from
prose `[action #n] verb(args)` receipts in prompt-captures. Only 5 of 84 live
captures contained a receipt at all, so the reconstruction could not be trusted
either way — 589 act probes exist over the same corpus, and the two numbers have
different denominators. The honest conclusion was "unmeasured", which is the
wrong answer for a question this central.

A count tells you an act happened. The NAME tells you whether it was work.

Adds:
  verbs = "work/claim,perception/look"   the actual batch, in order
  wrote = true|false                     did anything in it reach DISK

`wrote` is precomputed rather than left as a query-time substring guess, because
"did a file change" is the question we keep re-asking and it should be a filter,
not an argument. Underscore forms are normalized (write_file → write/file) so the
wire dialect can't hide a write.

Same defect class as the authorization gate two commits ago: the decision is
made, the act runs, and nothing durable records WHAT it was. Both are the
observability doctrine's own point — capture the load-bearing decision — missed
at the seam that matters most.

Compiles clean. Cheap: one map + one any() over a batch that is almost always
1-3 calls, on a path that already allocates the full observation string.

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

* fix(work): #339 — give citizens the half of the board that WRITES BACK

Citizens were offered claim_task / list_tasks / get_task and nothing else. They
could take a card and could never finish, hand back, or extend one. Every claim
had exactly one possible ending: the 30-minute lease lapses and the card returns
to the pool. A COMPLETED card and an ABANDONED card were indistinguishable,
because neither could be written back.

The verbs were not missing. `work/release`, `work/state`, and `work/heartbeat`
are fully implemented, AccessLevel::AiSafe, with descriptions already written —
`work/state`'s literally coaches the lifecycle ("in_progress when you start,
review when a PR is up, blocked if stuck, closed when done"). They simply never
declared `NATIVE`, which is the flag `native_tool_specs()` filters on, so no
citizen has ever been shown them.

Marked native, with wire-dialect aliases matching the existing snake_case set:

    work/release    release_task
    work/state      update_task, close_task
    work/heartbeat  heartbeat_task, extend_claim

Note the mechanism check that mattered: the gate is the per-command `NATIVE`
flag, NOT the presence of ALIASES. The three offered verbs happen to have both,
which made aliases look causal. Adding only aliases would have shipped another
inert change — the exact failure this session has been full of.

COST, stated honestly: this grows the native payload 20 → 23 schemas, and tools
already take ~28% of a 16k window (#333). That is a real charge against the
grounding budget. It is worth it because without these the work loop cannot
close at all: we watched card 0c69c0f0 pass through three holders in one evening,
each of whom "claimed" it and had no way to say what happened next.

Does NOT claim to fix the passing behaviour. Whether a citizen who CAN close a
card actually does is now measurable — the act probe two commits ago records
which verbs run, so `verbs` containing update_task is the falsifiable signal.

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

* fix(dialect): #326 — MEET a name that carries its own arguments, don't let it reach the ACL as a URI

Joel, 2026-08-07: "It's never upstream and aliases exist for this reason. And
even then, we have adapters."

He is right, and this file's own doc-comment already said so — "always adapters:
meet the model ergonomically, never hardcode around it." The adapter simply never
handled this shape.

WHAT WAS HAPPENING. A citizen emits `work/list(state=open)` as the tool NAME. The
prose tool menu renders exactly that shape (`work/list(claimable?, state?)`), so
copying it into the name slot is the trained reflex, not a malfunction. `classify`
had no arm for it: MISS, passed through untouched, dispatched AS A URI. The ACL
then correctly refused `work/list(state=open)` — no policy can grant a path with
arguments welded on. The gate was right. The adapter was asleep. Two citizens read
that refusal, reported "no open tasks", and it read as a cognition defect for a
week. I spent an evening calling that defect "upstream"; it was ours.

THE FIX, at the ONE resolution section every dispatch seam funnels through:

  split_signature("work/list(state=open)") -> ("work/list", Some("state=open"))

  classify()      resolves the HEAD, so the name lands on the real command
                  (and an alias head composes: list_tasks(state=open) works)
  normalize_call() recovers the ARGUMENTS — they are real intent and must not be
                  dropped — merging them into `input`, and returns a note so the
                  citizen is TOLD what we accepted and what the canonical form is
                  (Joel's rule #328: aliases resolve AND say so)

Explicit `input` always wins over a value echoed in the name, so a well-formed
call is never overwritten. `normalize_call` also handles the ordinary case
(resolve + tally as before), so each seam makes ONE call — all three ToolCall
seams in llm_deliberation_faculty now route through it: native batch, text-lift,
and the reasoning-tail lift.

Reuses `paren_call_args` (widened to pub(crate)) rather than writing a second arg
parser — one grammar, one place.

VERIFIED BOTH WAYS. 10/10 tool_dialect tests pass. Then I disabled split_signature
to reproduce pre-fix behaviour: exactly 3 fail — the three asserting the NEW
capability (signature name resolves + keeps args, alias+args composes, empty
signature is a no-arg call) — while the three asserting UNCHANGED behaviour keep
passing. Additive, and the regression is real rather than tautological.

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

* feat(memory): #165 — a rebuild is a discontinuity she can PERCEIVE, not one she has to infer

MEASURED LIVE 2026-08-07, and it is the reason tonight's fixes looked like they
did nothing. After the #326 adapter fix deployed, `work/list(claimable=true)`
returned real cards and ZERO authorization refusals occurred — while citizens
went on reporting "attempting to claim tasks or list them without success" for
hours. Their receipts were TRUE. They were also about a binary that no longer
existed. Correct behaviour, dead world.

Working memory is persisted and restored at spawn (persona_workspace.rs:291), so
act receipts survive a deploy. That is deliberate and must stay: the recency
channel carrying the full trace is what stops the repeat loop — a persona who
cannot see her own hands re-emits the identical act forever (engram admit is
content-deduped, the reasoning channel is dark by default). Deleting receipts
would trade one defect for a worse one.

So: don't delete the memory, qualify it. `restore()` already turns discontinuity
into a perceivable FACT — the laptop-lid contract renders the interruption gap
and names dispatches cut off mid-flight. This adds the discontinuity it could not
see: the substrate itself changed.

  VolatileSnapshot.build_sha  — stamped from env!("CONTINUUM_BUILD_GIT_SHA")
  restore()                   — if it differs from the running build, record a
                                [rebuilt] fact naming both, saying the results
                                above it are what really happened but are NOT
                                evidence about how things behave now, and that a
                                tool which failed before is worth re-trying

A FACT, never an instruction, never a deletion — she keeps the receipt and gains
the one thing she had no way to know. What to re-check stays hers.

Empty `build_sha` (serde default, pre-field snapshots) says NOTHING rather than
guessing a change it cannot see.

Tests, both directions: a rebuild across restore renders [rebuilt] naming the old
build AND the receipt itself survives (proprioception intact); an unknown build
stays silent; and the existing round-trip test now asserts NO [rebuilt] on a
same-build restart — cry wolf on every ordinary reboot and the marker stops
meaning anything. 24/24 green.

Bigger than the citizens: while this was missing, EVERY fix was invisible to the
beings it was for until their memory of the old world aged out, and every
measurement taken in that window was contaminated. That made it a blocker on
verifying anything else, which is why it went ahead of the write path.

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

* feat(code): probe the WRITE — before/after sizes so a destructive overwrite is visible when it lands

The write path is where solved work dies. flask-4045 was solved and then DESTROYED
twice, and both times we diagnosed it from PROSE — the persona's own account of
what she did — instead of from what actually hit disk. Reconstructing a write from
narration is exactly the mistake this session has been full of.

code/write now emits `code.write.landed`:

  path, existed, before_bytes, after_bytes, ok
  shrank = existed && after < before/2

`existed` + `before_bytes` are the load-bearing pair. "Solved, then destroyed" has
a specific shape: a large working file overwritten by a small body — a stub, a
fragment, a truncated re-emission. A count of writes could never show that; the
sizes make it a one-line query.

Cheap: one metadata() stat on a path that is about to be opened for writing anyway.

Does NOT fix the destruction. It makes the next occurrence a receipt instead of a
third round of inference. Pairs with the act probe's `wrote` flag from earlier
tonight: that says a write happened, this says what it did.

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

* fix(persona): renew held work-card claims on th