Skip to content

M5 closure candidate (do not merge) - #11

Merged
lexlapax merged 585 commits into
mainfrom
m5
Sep 26, 2026
Merged

lexlapax merged 585 commits into
mainfrom
m5

Conversation

@lexlapax

@lexlapax lexlapax commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

M5 closure candidate 625d524a325ef2206555bd9f351846ddc212d24d, opened as a draft only so hosted CI runs the current-pair fast check on the exact candidate. Earlier candidates were replaced after floor-pair, rehearsal, review and release-check findings, recorded in the plan's progress rows.

Do not merge: closing M5 and landing it on main are maintainer decisions after the closure matrix and the independent reviews. Evidence scaffold: docs/evidence/M5-closure-runs.md.

At 512 attached connections an orderly stop took 119 ms, so teardown_ms
stays at 30 s and admission_wait_ms at 5 s, both now measured.
The release check now launches each of the eight real-provider cases in
its own process from a named manifest and requires exactly one executed
test per row. Only those processes inherit the credential; every other
lane runs with it removed, which a self-check proves first. The Node and
long-bound lanes gain the daemon, and on Linux the two cross-UID cases
must both execute, while elsewhere the run ends closure-incomplete.

The suite judge gains a count mode read from either toolchain's result
line. Each reference host proves a second composition in one VM refuses
the consumed credential. The isolation fixture's synthetic manifest
gains the source digest the worker now requires.
The developer pair describes the daemon as a host over the runtime:
authority outside the journal, the admission and slot accounting, the
lifecycle and stop clocks, bounded delivery and the claim-to-test map.
Operator and developer pages the plan names now cover the daemon, the
read-once credential custody, the credential sender's trace exclusion,
the protocol generations, the complete_prompt/3 option change and the
widened process-boundary checks.
The registry tells a reclaimed connection why it is closing, but the
connection stopped on any abort with no record. An attached connection
now writes detached at its last emitted cursor, best effort, and then
closes, as the plan requires for aggregate-pressure eviction.
One scripted turn with a deferred tool call, an allow answer and a final
answer runs through the daemon socket and through an embedded composition.
Both emit the same ADR 0030 span names with the same metadata keys, and
neither the daemon nor the CLI emits telemetry of its own.
The release check now stages and builds the candidate archive first,
verifies its source identity and VERSION, and runs the real-provider,
Node, long-bound and cross-UID lanes inside that extraction. The Node
lane gains the CLI's operator takeover: a killed CLI controller and a
Node observer that takes over and aborts, each its own process.
A real daemon on a root needing escapes writes exactly one literal
readiness line and nothing else. A live writer, an unverifiable marker
and a killed daemon's marker are proved through real starts, which found
that three-element Store refusals fell through to a generic class; one
shared classifier now names each, and lock failures are acquisition
failures.
A holder that leaves without releasing keeps control for its term, a
lapsed holder's epoch is refused without touching the session, and a
restarted daemon grants control at once and refuses an earlier
lifetime's epoch.
Real signals to a running daemon: SIGQUIT is ignored, SIGTERM stops it
orderly, and SIGHUP ends it with status 129 leaving residue its
successor recovers. An oversized Store log refuses a real start with
its own class and nothing created.
A proxy that loses replies or requests drives the live commands through
real losses. A prompt whose reply was lost after its run finished was
re-admitted as a replay, and the command then followed forever. It now
inspects again after re-presenting: an unchanged idle tail means the
work was already applied, so following ends once history is shown.
A client can be told the daemon is stopping for thirteen reasons; each
now has a literal vector in the daemon's exact bytes, the reason set is
pinned, and the daemon's own encoding is proved against every vector.
The generation-two file pins move with the vectors.
A failed rename cleans up its own attempt and is retryable with the
prior image intact, and a temporary the publication did not create
poisons it without being touched.
Killing the running listener tells a connected client fatal:listener_lost
and ends the daemon with the listener_lost status.
The same create and prompt corpus through a daemon socket and through
the facade yields the same session, record kinds and events, event and
run identities included.
Two sessions page one at a time without repetition. Status sends only
daemon.status, prints one ordered record with an escaped socket path,
and a full index is a warning on standard error only.
With no operator the daemon withholds the root AGENTS.md from the model
and still runs; an AGENTS.md outside the workspace is excluded while the
daemon serves; unusable project skills refuse its start with their own
class before any effect.
With ordinary output filled to the allowance less the reserve, one more
byte overflows, while the maximal detached notice and 32 serial maximal
replies still pass through the reserve with the commitment in bounds.
Two live managed invocations on separate custody planes each send only
their own synthetic credential to the provider. The isolation fixture
now records raw request headers for such cases.
The M5 closure-runs page predeclares every field closure fills, all
pending. A progress row records where the tests for four plan-named paths
actually live.
When the daemon answers a prompt admission_unknown the live command
ends naming the unresolved command and sends no later step.
A lost follow-up reply is re-presented and applied once, and a daemon
that stays unreachable ends recovery on the clock from the first loss.
The test proxy can let requests through before it starts dropping them.
A trace session over every pre-existing process sees exactly one message
carrying the credential, custody's reply, and a foreign trace over every
process makes the invocation refuse before the credential moves.
A live registry without the token's row and a killed registry each
refuse the invocation with the fixed result; nothing reaches the provider
and the companion is cleaned up.
Killing a guardian after its companion booted stops its helpers and
child, and no log line or exit reason carries the credential.
Around a custody rotation, each same-token invocation sends exactly the
credential custody held when it resolved, never the other.
Bootstrap, credential-phase, send and stop messages with the wrong
reference, sender or guardian leave a live invocation untouched, while
the real stop reference does end it.
Pipelined mutations are admitted and answered in arrival order, and a
connection that attached first or copied the holder's epoch is refused
without touching the session.
Publication accepts one seam, the post-rename directory sync, which a
real filesystem cannot be made to fail on demand. With it a failed sync
reports the image renamed, and a failed import publication ends
session_index_write_failed and leaves the root to the next attempt.
With AGENTS.md and a valid pack both present, a daemon session is
configured with exactly the pack's manifest digest, admits none of it
without a decision, and the AGENTS.md decision stays non-interactive.
A real daemon on a pseudo-terminal asks about the root AGENTS.md, and an
answer of yes puts its words in the model request of a daemon session.
Records the maintainer's decision to close M5 at the tested implementation
fe020e2. Its floor, long_bound, release and
Outcome 6 runs are of 9045835, which it changes only in Markdown, reused under
the recorded documentation-only decision; hosted CI 36228439538 passed on the
tested SHA. The register and both status blocks move to Closed, the plan's
Closure row binds the plan-pair digests, the evidence page is filled from the
retained runs and reviews, and the closure disposition is appended to the
context map. No integration to main, tag, release or publication is granted.
@lexlapax
lexlapax merged commit 3f81b04 into main Sep 26, 2026
1 check passed
@lexlapax
lexlapax deleted the m5 branch September 26, 2026 08:35
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