Skip to content

docs(research): always-on budget guard liveness — measure fix + honest ceiling + channel verdict - #595

Merged
artyhoo merged 1 commit into
stagingfrom
feature/language-discipline-s3-budget-guard-9fa972
Jun 17, 2026
Merged

docs(research): always-on budget guard liveness — measure fix + honest ceiling + channel verdict#595
artyhoo merged 1 commit into
stagingfrom
feature/language-discipline-s3-budget-guard-9fa972

Conversation

@artyhoo

@artyhoo artyhoo commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Stage 3 of the language-discipline-residue umbrella (#590), dispatched autonomously via aif-handoff.

Research-only — no source mutation. Adds one research patch under docs/meta-factory/research-patches/ answering the always-on budget-guard liveness questions:

  • Q1 (measure fix) — recommended: measure-always-on.sh must discount paths:-scoped rules. It over-counts true always-on load by +47.3 % (59 537 B) today (confirms trap T-LangRes-A empirically).
  • Q2 (honest ceiling) — formula + scenario table: the 101 000 default is stale. True baselines: naive 185 436 B (B0) / meter-fix-only 125 899 B (B1, still +24.7 %) / fully path-scoped 45 807 B (B2).
  • Q3 (wiring channel) — PARKED as DECISION-NEEDED: pre-push gate (A) vs principle test (B) vs periodic re-audit (C). Trades the "earliest reachable channel" thesis against "don't gate a judgment rule" — the reviewer cannot pick; maintainer decides and seeds the downstream I-phase.

No guard is wired and no meter is changed here (T-LangRes-C / T5 honored).

Prior-art: skipped — research patch (in-repo analysis), no new capability/dependency.

…t ceiling + channel verdict

R-phase Stage 3 of the language-discipline-residue umbrella (#590). Research-only:
documents that scripts/check-alwayson-budget.sh is unwired and that its meter
scripts/measure-always-on.sh over-counts always-on load by +47.3% (counts paths:-scoped
rules as always-on). True always-on baseline = 125,899 B (vs naive 185,436 B); after
path-scoping the file-scopable rules, 45,807 B. Honest-ceiling formula given. The wiring
channel (pre-push gate / principle test / periodic audit) is PARKED as DECISION-NEEDED
for the maintainer; this stage recommends, does not implement or wire anything.

Prior-art: skipped — research-only R-phase patch, in-repo analysis, no new capability (no dependency, no code module; documents an existing measure bug and parks the channel choice).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@artyhoo
artyhoo enabled auto-merge (squash) June 17, 2026 06:04
@artyhoo
artyhoo merged commit 330c8eb into staging Jun 17, 2026
23 checks passed
artyhoo added a commit that referenced this pull request Jun 17, 2026
All 3 independent stages merged to staging via aif-handoff dispatch:
S1 #593 (path-scope), S2 #596 (SSOT #123), S3 #595 (budget-guard research).

Prior-art: skipped — umbrella closure marker (done.md), no capability/dependency.
artyhoo added a commit that referenced this pull request Jun 17, 2026
…md) (#597)

All 3 independent stages merged to staging via aif-handoff dispatch:
S1 #593 (path-scope), S2 #596 (SSOT #123), S3 #595 (budget-guard research).

Prior-art: skipped — umbrella closure marker (done.md), no capability/dependency.
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