Repository navigation
Conversation
A container started with --pid=host carries no /boot and Ubuntu has no /proc/config.gz, so the LTO preflight found no kernel config, refused the instance continuity hooks, and every attested key-operations start then refused (Firefox attach-after-start in the release image). The preflight now also consults the init task's root (the host's under a shared pid namespace) after its own root, and records a finite typed cause beside every instance-tracking refusal.
SemanticRefusal::Attachment carries a typed AttachmentSite (24 sites), rendered as semantic_attachment_refused:<site> in gap reasons and verbose text. The attested start preserves the seal's inner refusal instead of collapsing it, and the seal linkage check names its exact clause.
A refused instance tracking leaves no provider file watched, so the attested seal can only refuse with provider_instance_unproven, which the lane reported as a bare code. The seal refusal now carries the typed instance cause (instance_tracking_unavailable:<cause>), and the key-operations line names it in plain words with the next step, e.g. an unreadable kernel config: make /boot/config-$(uname -r) readable (in a container add -v /boot:/boot:ro). Tests: per-gate preparation causes, the seal mapping table and its wiring pin, exact operator text per cause, lane twins per scope shape, the key-operations header, and a privileged attach-after-start cell (SoftHSM workload first, observer without a manifest in a mount namespace without its own kernel config) registered in the privileged lib shards and the journal campaign.
A private mount namespace shares the init task's root inode yet can hide /boot and /lib/modules, so skipping the init root when the two root directories were equal refused instance tracking with an unreadable kernel config while the host's config was readable through /proc/1/root. Found by the attach-after-start privileged cell.
The typed refusal names the stage (for example session_factory), but the stage's own error was dropped. Print it on stderr once per refused start so an operator can see why per-key tracking did not start.
inventory --system --key-operations without --module never started per-key tracking on a busy desktop. The settle gate compared the scan mint's PinnedObjectIds, which are positions in each mint's own pin store: on lu26 three unchanged providers peeked as [2,4,5], [0,5,6], [2,7,8], ... so the set never held still for 8 scans and the 40-pass horizon lay past a 3-minute run (about 11 s per pass). The gate now compares each provider's pin and whole-file digest, and counts consecutive presence per provider: once any provider stayed for 8 scans the seal seats over the whole current mint, so unrelated providers that come and go never hold back one that stayed. The whole-set run stays as a floor and the horizon is unchanged. While waiting, stderr shows "key tracking: waiting for stable scans N/8 (providers changing: +a -d)"; a run that never seats ends with a plain reason and next step, without suggesting --pid or --module. The ledger also gains the entry a test doc comment of the previous key-operations commit needed.
A stable mt_sign workload starts first, a churn thread keeps short-lived loaders mapping fresh copies of the provider, and inventory --system --key-operations runs without a manifest. The cell requires the waiting line to show provider changes, the seat to come while churn runs, churn copies in the report and populated key rows. Registered in the privileged lib shards and the journal campaign.
The scan seal settles over eight scans before key tracking starts, so the attach-after-start cell opened its gate too early on fedora and its signs ran untracked. It now waits for the key-operations seal line. The provider-churn cell reaches its start on fedora but the one-shot start refuses whenever a churn copy is deleted between mint and attach. It becomes a curated skip until 0.7.3, the acceptance cell for per-provider incremental admission.
A provider file that changed (or was replaced or deleted) between the pin and the attach is now a typed PinnedProviderChanged refusal. The unsupported-environment hint (missing capabilities, lockdown, seccomp) is no longer appended to it: the environment was fine, the file moved.
Only a journal start is key tracking; an ordinary semantic lane (no --key-operations) now prints "semantic lane start refused".
The scan seal opened once a provider stayed for 8 scans, but the start
minted and pinned every provider in the current scan. On a machine
where short-lived provider copies come and go, some pinned copy was
always deleted between the mint and the attach, so every start refused
("a pinned provider object changed before attach").
The settle now hands the start an admission: the providers that stayed
the whole window. Providers already present but younger when the seal
opens are waited for until they stay too or leave (so an application
provider arriving during the wait, the DEMO-4 shape, is still
admitted); providers arriving later are not admitted and are disclosed
once as "key tracking pending" at the seat and at the end of the run.
The scan mint restricts its plan to the admitted providers (claims stay
over the full scan) and drops every pin its plan does not use, so an
unadmitted copy is never pinned. The whole-set floor and the horizon
are unchanged; no constant changed.
Churn copies stay on disk until the cell ends (their loaders still come and go every 1.2 s), and the cell returns to the privileged shards and the journal campaign.
FF-ATTACH-AFTER starts Firefox first, waits until it maps its softokn, then runs inventory --system --key-operations --key-sizes without --module. The seal must seat over the running browser after printing its settle progress, and the client-cert sign plus an RSA 2048 verify size class must land in key rows on the live browser instance.
An Unreleased changelog section for the --system key-tracking fixes, and KI-48: a provider first loaded after key tracking starts gets no per-key rows in that run (named under key tracking pending) until per-provider admission in 0.7.4. The owner-rule ledger covers the new text.
start_refused_line now escapes control characters itself, so the pinned-output test covers the escaping, the cause text and the lane name together.
The journal-off arm of the per-scope refusal test compared the gap with itself. It now expects the build's own journal reason and checks that it is not the instance cause.
The no-config and churn cells joined the default list and the journal flavor without raising the floor or the flavor count; the workflow suite failed on both. The class-closure table follows the moved lines.
SemanticRefusal::ProviderInstanceUnproven carries a typed UnprovenSite (6 sites), rendered as provider_instance_unproven:<site> in gap reasons and verbose text, mirroring AttachmentSite.
With typed unproven sites, a refused instance tracking now replaces only the seal's missing-watch refusal with the instance cause. Changed pins and a mismatched watched target keep their own site, so a moved provider file is never reported as a kernel-config problem.
With typed unproven sites the semantic admission gap reads provider_instance_unproven:<site>; concise output still says "provider instance not proven" for every site, JSON and verbose keep the site.
An unchanged provider set started key tracking unrestricted, so the start mint planned and pinned whatever the scan held at that moment, and a provider copy deleted before attach refused every retry. The floor now admits the set that held for eight scans; later arrivals are named as pending. An empty set still seats unrestricted.
The unrestricted no-manifest start mint kept every scan pin, including incomplete provider copies it never attaches; one deleted before attach refused the start. It now keeps only the pins its plan and required providers use, as the admitted mint does. The settle peek keeps the full mint.
After the seat, every pass names the providers the seat did not admit, so one that comes and goes before the end is still disclosed under "key tracking pending" (each once; past 256 names a count). An unrestricted start admits the set it minted over; a failed peek names nothing. An admitted provider whose file changed before the start mint is named as changed instead of narrowed out silently. Only a lane that tracks keys discloses pending providers. A collapsed opening no longer carries its settling set into the next one, and the waiting line never reads past 8/8. The two changed-while-attaching rechecks raise a typed cause, so they never gain the BPF-environment hint either. The privileged churn cell deletes each copy as soon as its loader dies and refuses on any changed-pin refusal; driver tests cover the real settle-to-mint handoff over fixture providers.
The new KI-48 entry and the Unreleased changelog section moved every attributed line; KI-48 gets its own limitation row. The two new default privileged cells raise the ignored-test count pins.
The Unreleased section above it carries the same headings, so the first-match probes edited it instead and stopped exercising the 0.7.2 extraction.
…the terminal snapshot
Inventory gap reasons now carry the producing site after the code (`provider_instance_unproven:admission_validation`), so the early-gap filter compares the text before the first ':' against its code set.
A completed scan that found no provider left the previous scan's mint sources stashed, so the settle peek still counted a provider that had left and could seat it on a scan it was absent from. Every completed scan now replaces the stash; an empty one is an empty peek and mints no provider (only a missing stash falls back to the engine snapshot). The replaced stash goes to the pass reclaim instead of dropping its pinned fds on the main loop. The start mints kept only their planned providers' pins by removing each other pin with a whole-map scan per id, dropping its fd inline. They now split them off in one indexed pass and hand the split-off entries to the pass reclaim.
A pass whose scan failed, or never reached the absorb, left the older scan's stash in place, and the settle peek counted its providers again: a provider that left while later scans failed could reach the eight sightings and seat on the older scan's evidence. Each stash is now fresh for one peek; a pass without a new scan holds the settle without counting or breaking a streak, and the post-seat peek skips it too. A scan that reconciled no provider (complete or partial) stashes an empty list, which mints no subset: the settle takes it as a failed peek, which restarts every streak and starts only over the current scan. The comments now say so instead of "an empty subset". Tests cover each site: the peek's three outcomes, the failed-peek and departure arms of the settle, a driver run whose later scans fail, and a cgroup run with an incomplete and then an empty scan.
v0.7.3 is a fix release carrying only the Firefox key-tracking fix, so these three items no longer target it. The contract pins move with the prose.
The v0.7.3 status lines credited v0.7.2 features to the fix release. They now name the fix first and keep the v0.7.2 feature text attributed to v0.7.2. Pins and ledger follow.
v0.7.2 did seat in run r8-072, so the set often never looked stable and tracking often did not start in a short run. The container /boot refusal claim is unchanged. Pin, claim table and ledger verified with the new wording.
Title, intro and quick link say 0.7.3; the next-release section becomes Known limitations in 0.7.3 and ISSUE_NEXT_HEADING follows it. Claim units, pins, ledger and the release-notes anchor move with the rename.
Gap and event reasons may carry a :<site> suffix, so matching consumers compare the text before the first colon; the drop-in note no longer claims JSON consumers need no update. Claim row and fixture shape follow.
The verify line explains 8 ECDSA checks with probably 256-bit-class keys instead of claiming P-256, and the output block names its pre-release 0.7.3 build.
The 0.7.3 known-limitations section lists only KI-48, so it now says the 0.7.2 limits not fixed above still apply, with a link. Pin, 0.7.2 claim sites and ledger follow.
KI-48 and the Firefox demo share the measured scan figures (about 2 s idle, 10-15 s on a busy desktop), and the CHANGELOG waiting line goes through the dashboard when it is open. Pins and ledger follow.
Every site that sends the waiting, seated or refusal progress lines to stderr now says stderr, or the dashboard when it is open, matching the warn path in mod.rs. Pins and ledger follow.
There will be no public v0.7.4: KI-48's planned fix and its claim measurement move to 0.8.0 with their pins. Fixture library versions are not product references and stay.
…n RSA client-cert sign
A wrapped /proc/<pid>/mem open failure that names an exit in progress (cold exit churn, or a wrapped ENOENT/ESRCH from the target's own /proc custody) is now the gone class instead of unreadable. The engine holds each such process in a bounded exit-rescan ledger instead of latching scan_unavailable: decided by the whole-group exit proof at the scan or at the view's retirement (unproven or refused keeps the latch), counted by the tracker's per-exit call tally, and published as one finite skip row with exit_rescan_* evidence counts and a bounded pid-ordered list. A proven exit with zero calls whose provider files were all attached files nothing.
The release evidence checker, the v3 schema and the browser oracle take the new finite reason 'process exited during its memory re-scan' and the four additive exit_rescan_* evidence keys, travelling together with exactly one paired skip row. The browser oracle treats the row as structural only while no listed process held an unattached provider mapping and none was dropped. allowlist-v3 gains the row for the published pid, start time, typed executable and call count.
Adds the killing tests the mutation sweep asked for: a pending zero-call covered record stays owed, a planned provider file with no table or slot is not covered, the published list caps at its limit in pid order and counts the rest, and an unreadable wrapped mem failure keeps its record and its latch.
…nesses A process whose memory re-scan failed as it exited keeps the provider listing of the scan's first successful maps read when the only gap is the closing generation check the same exit failed. Any loader event of the pid at or after that scan (RT_DELETE excepted), a lost loader record or a full witness set leaves the record unsilenced. The plan coverage of the listing is judged once; the witness part at every settle. At capture end every record still pending gets one final exit proof (the held view's pin, else the pid's generation); still unproven it keeps the latch and files the named row "exit not proven at capture end". The executable path is sampled at each scan start of a live group and published for an owed record; never read from an exiting process.
One new schema evidence sentence, classified describes-a-mode with its siblings.
A browser capture under heavy CPU load can report discovery_truncated and read PARTIAL; the gap is named, counts stay exact, and the cause is still under investigation. Entry, pointers, registry, claim row, pins and shifted sites follow.
The Fixed and What's fixed lists name the exited-helper fix, the new gap row with its per-exit evidence, and the exe sampling privacy bound. Claim rows, pins and shifted sites follow.
The producer extraction and the v2 schema reason enumeration learn the two exit-rescan reasons the checker already accepts. Ledger follows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix release on top of v0.7.2: per-key tracking now starts for providers that stay through the settle under --system without --module/--manifest, including inside the documented container (kernel config read through /proc/1/root), with a named pending disclosure for late providers (KI-48). Version 0.7.3, release notes and the Firefox demo page. Candidate for the full CI tier; not for merge until the release checks are green.