Repository navigation
fix(devcloud): retire withdrawn secrets and scrub daemon output - #350
Merged
Merged
Conversation
Track materializer ownership before pruning retired targets, preserving user replacements. Wrap the installed sminos command in the existing host drop-in without changing its diagnostic destination. Bump devcloud to 0.9.4. Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
Exercise TimeoutStopSec and direct scrubber death with the installed process-only kill policy; observe this regression in the systemd gate before implementing child lifetime enforcement. Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
Track unchanged parent routes through symlinks before retiring managed targets. Arm Linux parent-death SIGKILL in scrubbed children to preserve process-only systemd forced-stop behavior without terminating independent sessions. Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
…ping Use regular-file lstat identity alone for retirement, including symlinked parent paths. Treat missing, unreadable or invalid ownership metadata as no prior ownership and report bookkeeping failures without blocking secret materialization. Keep devcloud at 0.9.4. Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
SSFSKIM
force-pushed
the
devcloud-host-secrets
branch
from
October 22, 2026 11:03
4e1f4ae to
ce51870
Compare
The fakes make /srv/fakes as they start; seeding before the readiness wait
raced it ("cannot create /srv/fakes/secrets.json.tmp: Directory nonexistent",
devcloud-host gate, run 39766022963).
Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
9 of 12 tasks
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.
Summary
Addresses board tickets #89 and #91 as one host-secrets change.
lstatidentity still matches an actual devcloud write. Preserve user-created files, edits, same-content replacements and final symlink/non-regular targets. Existing symlinked parent directories work without parent-route bookkeeping.devcloud run-scrubbed, using devcloud's existing drop-in. Sminos keeps its unit, output destination and process-only kill policy. Linux child-side parent-death binding prevents forced wrapper termination from orphaning the daemon without killing independent sessions.The daemon ticket assumed journald, but the current unit appends to
daemon.out; the proof checks both destinations without changing that documented diagnostic path. The lifecycle credential ledger is not ownership proof because it records paths before writes. Reconciliation uses separate private metadata containing file identity, never secret values. Unchanged pre-existing files without ownership proof are deliberately not adopted.Validation Evidence
ce51870d: GREEN viaci-gate. Passed all eight selected gates:shell-lint,repo-checks,mods-types,devcloud-mods,devcloud-unit,devcloud-image,devcloud-systemdanddevcloud-host. The unit suite ran 738 tests. Systemd proof passed output scrubbing, graceful stop, timeout escalation, direct wrapper death and independent-session survival.ci-gate --gates devcloud-systemdat2d9dcc11was RED, with exactlythe daemon survived timeout; setup and the other systemd cases passed. Only afterward was the lifetime fix implemented. Its GREEN run and final-head run both pass that regression.doperpowers:review-code, medium rung, found no material findings after the daemon lifetime fix. The requested ownership simplification received a separate medium delta review (4e1f4ae8..1dc02d65), also correct — no material findings.55083c19, preserving both Decision Log additions. Range-diff shows the reviewed simplification patch unchanged; the first commit differs only in surrounding Decision Log context. Version manifests are synchronized at 0.9.4.Residue
No unresolved review findings. The fixture startup race is tracked in #304, outside this change. Legacy files without ownership metadata remain unclaimed; if bookkeeping stays unwritable, credentials still materialize but their future cleanup cannot be guaranteed, and status explicitly reports that limitation.
Sminos-Session: devcloud setup#639ca648 (macbook on macbook)