Skip to content

docs(probes): emitted deep-module E0308 baseline pre-#6981 - #7023

Merged
briansrls merged 7 commits into
mainfrom
session/crisp-fox-839
Jul 21, 2026
Merged

briansrls merged 7 commits into
mainfrom
session/crisp-fox-839

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

Made with Cursor

briansrls and others added 7 commits July 21, 2026 19:08
…-839)

Measure repr_mismatch_emitted_e0308_probe on 04_infer and materialization_carriers
at main@3bd736d230: E0308 already 0 on 04_infer and module-level on materialization_carriers
(post-#6983 repr grounding); remaining cargo refuse is dotted-alias (#6981) and E0425 extdeps.

Co-authored-by: Cursor <cursoragent@cursor.com>
04_infer dotted-alias cleared (110->106); layer N+1 is generic-T + dup Witness.
materialization_carriers E0425 is value-position qualified emit (sidecar, not fan-out gate).

Co-authored-by: Cursor <cursoragent@cursor.com>
Map generic-T fold closures, Witness-dup prelude, and value-position
qualified emit back to 05_emit_rust.dag / 04_emit_info.dag sites.

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls merged commit 50bb7e9 into main Jul 21, 2026
3 checks passed
@briansrls
briansrls deleted the session/crisp-fox-839 branch July 21, 2026 21:22
briansrls added a commit that referenced this pull request Jul 21, 2026
Register docs/probes/emitter_residual_site_map_2026-07-21.md via bind:
provenance so doc_graph_has_no_orphan_docs stops REDing on main.

Co-authored-by: Cursor <cursoragent@cursor.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jul 21, 2026
…-graph root

PR #7023 landed this probe doc without a dag-side bind: citation, so it
minted a doc_graph_has_no_orphan_docs orphan on main (confirmed red at
main@d36515b6a4, independent of this PR's own diff) that arrived here via
an auto-merge from main. Bind it following the existing
curated_probe_report_doc_provenance pattern in the same file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jul 21, 2026
PR #7028 CI failed doc_graph_has_no_orphan_docs because
docs/probes/emitter_residual_site_map_2026-07-21.md landed on main
(#7023) without a reachability edge; add a probe-receipts backlink
from rc-ownership-wrap-decision-design.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jul 21, 2026
…d: provenance row (orphan minted by #7023, first surfaced on the merged-with-main floor)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jul 21, 2026
…ual_site_map_2026-07-21.md

The doc landed on main via #7023 with no doc-graph link, which is a
pre-existing main-red (main failed at 50bb7e9 and d36515b too) that
bled into this PR's CI once it merged main. Mirrors the existing
bind: pattern in this file for curated_cargo_frontier_probe_report.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
briansrls pushed a commit that referenced this pull request Jul 21, 2026
…d: provenance row (orphan minted by #7023, first surfaced on the merged-with-main floor) (#7035)

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 21, 2026
#7023 added docs/probes/emitter_residual_site_map_2026-07-21.md without
a reachability edge; doc_graph_has_no_orphan_docs failed on CI after main merge.

Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls added a commit that referenced this pull request Jul 21, 2026
#7028)

* docs(floor-time): post-#6999 validation read + cap-saturation receipts

§5 log-diff compares PRE/POST/POST-FIX batch walls (runs 29763408563,
29819122813, 29855080611): ~0% recovery at batch grain on capped hosts;
residual attributed to once-per-entry #6848 fixpoint + governor throttle.
design_document.dag open-thread updated (M1 landed).

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(docs): regen DESIGN.md after design_document.dag open-thread update

Unblocks generated_artifact_drift_gate on PR #7028.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(docs): dedupe §1.4 cross-ref after section renumber

§6 is Provenance; cap-saturation residual points to §5.2.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(docs): link emitter residual probe into doc graph

PR #7028 CI failed doc_graph_has_no_orphan_docs because
docs/probes/emitter_residual_site_map_2026-07-21.md landed on main
(#7023) without a reachability edge; add a probe-receipts backlink
from rc-ownership-wrap-decision-design.md.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: gunbai-bot[bot] <289086189+gunbai-bot[bot]@users.noreply.github.com>
briansrls added a commit that referenced this pull request Jul 22, 2026
…lement native execution rides the lane-6 family crate (eval-anchored cached member agreements, all-alt wrong-fixture rebuild); 13 per-witness crate builds deleted (#7029)

* WIP: witness_native_flip lane (parallel, NOT post-fixed-point — operator-dire

* WIP: witness_native_flip lane (parallel, NOT post-fixed-point — operator-dire

* WIP: witness_native_flip lane (parallel, NOT post-fixed-point — operator-dire

* WIP: witness_native_flip lane (parallel, NOT post-fixed-point — operator-dire

* WIP: witness_native_flip lane (parallel, NOT post-fixed-point — operator-dire

* witness family migration: meet_join + complement suites onto the lane-6 family crate — per-witness native builds deleted, eval-anchored member agreements ride the cached family workspace (run_test_claim_from_source_emit_vs_eval_cached), all-alt family carries the wrong-fixture octet flips in one cold rebuild

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* witness_admission: point complement offline row at the live rollup fn (agreement fn migrated to the family crate)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* doc-orphan wall: root emitter_residual_site_map_2026-07-21.md via bind: provenance row (orphan minted by #7023, first surfaced on the merged-with-main floor)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: gunbai-bot[bot] <289086189+gunbai-bot[bot]@users.noreply.github.com>
briansrls added a commit that referenced this pull request Jul 22, 2026
…ess (#7026)

* WIP: Brief 4: host hygiene converge — residual reaper + registration liveness

* WIP: Brief 4: host hygiene converge — residual reaper + registration liveness

* WIP: Brief 4: host hygiene converge — residual reaper + registration liveness

* host_hygiene_reaper_script: name unit-body strings on the scaffold's dissolution trigger

review 40971 flagged host_hygiene_reap_service_unit_body/timer_unit_body as
parallel-representation-shaped against extdeps.os.systemd (no UnitFile/
ServiceSection/TimerSection carrier exists there today). Widen the existing
Scaffold's dissolution_trigger to explicitly name that debt rather than mint
a new typed carrier now (scope creep beyond this increment) or leave it
untracked.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* WIP: Brief 4: host hygiene converge — residual reaper + registration liveness

* WIP: Brief 4: host hygiene converge — residual reaper + registration liveness

* Register docs/probes/emitter_residual_site_map_2026-07-21.md as a doc-graph root

PR #7023 landed this probe doc without a dag-side bind: citation, so it
minted a doc_graph_has_no_orphan_docs orphan on main (confirmed red at
main@d36515b6a4, independent of this PR's own diff) that arrived here via
an auto-merge from main. Bind it following the existing
curated_probe_report_doc_provenance pattern in the same file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 22, 2026
…srv1 to srv3 (multi-unit) (#7009)

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* Floor OOM fix: sample typed-cache cap once per run, not per insert

2026-07-21 fleet incident (redded main + every PR floor from ~12:17Z on
srv3-06/07): #6972's enforce_typed_cache_entry_cap re-derived its entry cap
from read_host_budget_bytes() on every cache insert. On CI runners no
private cgroup memory.max/memory.high is discoverable, so the derivation
fell through to live /proc/meminfo MemAvailable — a host-wide signal shared
across co-resident sessions. Re-reading it per insert let the cap chase host
noise within a single run (e.g. 701->682->...->204->325), and each eviction's
recompute-on-miss added pressure exactly when pressure was already high — a
thrashing feedback loop ending in claim_executor SIGKILL (exit 137).

Fix, per signed direction: typed_module_cache_cap_derivation() factors the
existing env-override/budget-read logic out of typed_module_cache_max_entries
(kept as the pure per-call form for existing tests) and adds a `degraded`
flag. MultiEntryIndex gets a `typed_module_cache_cap: OnceCell<usize>` field;
the new typed_module_cache_cap(index) accessor samples the derivation exactly
once per index lifetime and, on that first call, logs a typed, counted
`[floor-drain] degraded_budget_source` line when the source isn't a private
cgroup limit (an honesty arm, not a widened failure -- the cap still derives
from whatever source was found). enforce_typed_cache_entry_cap and
emit_floor_drain_receipt now go through this accessor instead of re-deriving
per call. No floor-pin added; no env-var escape hatch.

Witnesses: typed_module_cache_cap_sampled_once_per_index_stays_stable_despite_signal_drift
proves the cap holds fixed across a live signal move within one index's
lifetime. uncached_derivation_tracks_moving_signal_the_sampled_once_accessor_must_not
is the RED control, reproducing the pre-fix oscillation shape (cap values
drawn from the incident's own log: 300/227/294/204/325) via the still-live
uncached derivation, so a regression that reverts the runtime call sites back
to the uncached form is caught.

Evidence trail: srv3-05 11:50Z run 29827692954 and srv3-06 12:17Z run
29829512709 both show the eviction-storm-then-Killed(137) signature; the
wedged 3.5h+ run 29829313521 was cancelled after pulling final evidence
(build job succeeded, ci job's floor-run step never emitted a single
[floor-drain] line before being starved by host contention) -- noted here so
the cancellation isn't mistaken for a hidden failure.

Contained to the #6972 mechanism + its two call sites, per manager sign-off;
no PR-beta/SpacePacked dissolve-on work included.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Note the degraded-detection string-scan as a future grounding point

Non-blocking review observation from quick-carp-521 on #7002: the
degraded-source check string-scans read_host_budget_bytes' display label.
Fine for now (it returns (Option<u64>, String)), but if that fn ever grows
a typed source enum, this check should ground on it instead of re-parsing
the label — a one-line note so it doesn't cement.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* host_converge_slice1: fix .dag lexer trap in awk literal, document first-execution safety

awk '{print $1}' triggered a string-interpolation lexer fast-path on the
bare $ inside an unspaced brace, producing a parser panic never caught
because the file had never been compiled. Space-padded the braces.

Also records why the apply arm already satisfies first-execution safety
by construction: enumeration + cross-check + per-unit live read + usage
guard must all succeed before set-property is reachable, so the first
live invocation against srv3 is necessarily read-only up to several
fail-closed gates.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* PR #7009 review fixes: wire srv3 CLI routing, ByteSize typing, empty-enumeration handling

Addresses review 40879 (cursor/composer-2.5) on PR #7009:
- Finding 1: gunbc converge --host srv3 now routes into
  host_converge_slice1_converge_srv3()/converge_host() via a new
  converge_cli_slice1_srv3_receipt() aggregator, instead of silently
  falling through to the generic converge_apply_for_host frontier.
  The srv3 multi-unit enumeration/cross-check/usage-guard machinery
  was previously unreachable from any CLI entrypoint.
- Finding 2: HostConvergeSlice1UsageGuardOutcome and
  HostConvergeSlice1UnitUsageGuardRefused now carry ByteSize instead
  of bare Int, and host_converge_slice1_usage_guard reuses
  runner_unit_usage_exceeds_bytes instead of re-deriving the
  current-vs-target comparison.
- Finding 3: host_converge_slice1_enumerate_units now returns
  Present{value: []} on a successful read with zero active units,
  distinct from none (transport/read failure), so a real zero-unit
  state reaches the typed HostEnumerationMismatch refusal instead of
  being conflated with a generic HostRefused.

Adds witness coverage for the srv3 routing predicate and the
ByteSize-typed usage-guard-refused legacy-result mapping.

* WIP: WAIT FOR DM BRIEF FROM quick-carp-521 BEFORE ACTING. FLEET INCIDENT: CI

* Fix orphan-doc CI failure on PR #7009: bind docs/probes/emitter_residual_site_map_2026-07-21.md

The doc landed on main via #7023 with no doc-graph link, which is a
pre-existing main-red (main failed at 50bb7e9 and d36515b too) that
bled into this PR's CI once it merged main. Mirrors the existing
bind: pattern in this file for curated_cargo_frontier_probe_report.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* PR #7009 review 41089: document fleet-wide-vs-per-host declared_runner_count gap with named dissolution trigger

host_converge_slice1_cross_check_enumeration's host param labels the
mismatch record only; declared_runner_count() is fleet-wide by design
(one global budget, no per-host divergence exists yet). Modeling a
per-host budget now would be speculative per DESIGN §6. Recorded as a
named, triggered gap on the scope-disposition Terminal note instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 22, 2026
…nly_skip bypass (#7023) (#7039)

* WIP: docs->doc-reachability selection edge: docs/**.md diffs must select the

* WIP: docs->doc-reachability selection edge: docs/**.md diffs must select the

* WIP: docs->doc-reachability selection edge: docs/**.md diffs must select the

* WIP: docs->doc-reachability selection edge: docs/**.md diffs must select the

---------

Co-authored-by: Brian Searls <briansrls@gunb.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant