8000 Tags · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

release-2848127b

Toggle release-2848127b's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(min): min ls is box list --all with the host rows; --raw goes; h…

…ost show -o json (#3967)

* feat(min,minimald): box list shows address, egress and project path, with -o wide

ListBoxes and ShowBox entries carry the address, egress posture and
enforcement that ListSessions reports. The table is ID TYPE NAME ENTRY
STATE ADDRESS EGRESS PROJECT, and -o wide adds PARENT PROVIDER HOST.

Part of #3937

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(min): box list shows HOST in its default view; -o wide adds PARENT and PROVIDER

Karl's ruling C on #3937: the default view is ID TYPE NAME ENTRY STATE
HOST ADDRESS EGRESS PROJECT.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* Revert "feat(min): box list shows HOST in its default view; -o wide adds PARENT and PROVIDER"

This reverts commit dd6ce38.

* feat(min): box list --all lists a stopped VM's boxes as stopped

Karl's ruling B on #3937 (NET-152): a stopped host's persisted records
give its boxes to a listing of every project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(min): min ls prints the host rows, then the box list --all table

Karl's ruling on #3937: --json writes the min/v1/box array, -o json|wide
work as in box list, and --raw is removed. NET-057 and NET-152 move to
box list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimald,docs): keep the ListBoxes doc on its handler; the box show JSON fields wait for #3957

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(min,minimald): box list -o wide shows LAST ACTIVITY; the JSON carries title and last_activity

Karl's ruling E on #3937: the daemon fills each ListBoxes and ShowBox
entry's title and last activity from the live attributes ListSessions
reads. The default view is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(min): the stopped-host entries carry no title or last activity

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(scripts): move the installer and e2e off min ls --raw and the old ls JSON

The installer reads box ids with min ls --raw where the installed min has
it, else from min box list --all -o json. The e2e and stress scripts list
ids through box list, read NET-057 from each box's host, and parse the new
table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(min): min host show -o json reports hostname_proxy_port; the e2e reads it there

Karl's ruling I(a) on #3937: the port the host's daemon reports for its
hostname proxy, the one its boxes dial, which min ls --json carried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(min): drop a lint expectation the header-only formatter no longer needs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimald,min): resolve a listed box_id to its record id before the network views

A VM guest's box_id differs from its record id, which keys the registry
and the live attributes. The BCLI-001 test keeps its own doc comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(install): keep the box list fallback to running boxes

The stop consent covers live sessions, and box list --all also lists a
stopped VM's stopped boxes, which no question named.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* test(install): pin the running-box filter with a min that loses ls --raw at the swap

The stub's min keeps ls --raw before the swap and loses it after, so the
closing check reads the box listing, whose stopped box must not undo the
pre-swap yes. Removing the filter fails the case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(min): a closed stderr does not fail the box listing over its advisory note

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* test(e2e): find box B on its VM in the min ls rows that box list --all prints

The two-VM stop beat still read the old min ls layout (VM, then id). Under
#3937 the id is the first column and the HOST column names <vm>.<host>.
The Python note inside a single-quoted script drops its backticks, which
shellcheck read as an unexpanded expression (SC2016).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* test(e2e): the two-VM stop step reads min ls -o wide and expects NET-152's stopped row

The default min ls view has no HOST column, so the step lists with -o
wide to find box B on its VM. Under box list --all a stopped VM's box
stays listed, marked stopped (NET-152), so the step expects that row
after the stop instead of the box vanishing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* test(e2e): the two-VM stop step leaves box B's row unasserted until #3985

Box B exits before its VM stops, and box list --all reads a stopped VM's
boxes from its name registry, which an exited box has left. NET-152 says
it should be listed; #3985 tracks that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(min): review fixes for min ls as box list --all

- min ls names a VM that does not answer once, in the box table; the
  host-row read logs it.
- The port-collision note ignores a closed stderr, as the other advisory
  note does.
- min ls --help names all four -o wide columns.
- just bep-replace-keys reads the min/v1/box array.
- ls_json_conflicts_with_output replaces the stale --raw test.
- docs/reference/cli.md gives the current reason min ls stays bare.
- The hook-less proxy test refuses both native wordings again.
- Comments say why, not what the code was before; the e2e two-VM step
  states the design and names its proxy-line check correctly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): list a box that exited before its vm stopped

min box list --all read a stopped VM's boxes from the registry file,
which holds own-address boxes' creations only. A host_ip or none box
has no row there, only a name hold, and a hold is no record of the box:
one reloaded after a restart is dropped when nothing re-makes it.

minvmd now keeps each box with no row in box-kept-boxes.json beside the
registry, from the hold that names its box id until its destroy retires
it (RetireHostIpBox with end destroyed). A stop, a rename, a release of
its hold or a restart keeps it. persisted_box_names reads both files, so
the listing and the stopped-VM name lookups find the box, still marked
stopped (NET-152).

The two-VM e2e step asserts box B's stopped row again (#3985).

Limits, filed as residuals:
- An unnamed host_ip or none box makes no hold, so it gets no entry and
  is not listed while its VM is stopped (#3988).
- A box the guest daemon reaps on its own sends the host nothing, so its
  entry stays, listed while its VM is stopped (#3989).

Fixes #3985

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTvep9ZaSf5pJMB2hQA

* fix(install): an unknown box list JSON layout fails rather than reading as no live box

listed_box_ids parsed `min box list -o json` by its line layout. A layout
it did not know printed no ids and exited 0, so the closing stop could
take the pre-swap yes as covering a live session it never saw. The parse
now fails when the listing has content but no `"id":` key it recognises,
or objects that do not close where it expects. install_test.sh's
compact-JSON case asks again, and fails without the check.

The NET-152 note in spec 18 names the two gaps that remain (#3988, #3989).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(install): the consent listing refuses a missed host and counts every live state

listed_box_ids treats a box listing that says a host did not answer as a
failed listing, as min_stop does, and counts a box that is pending or
materializing as live, as the daemon does. install_test.sh gains a case
for each, and each fails without its fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minvmd): keep an unnamed box with no row from its minted id

A host_ip or none box with no name made no name hold, so it had no kept
entry and a stopped VM's listing left it out. MintBoxId now keeps a box
with no row, unnamed until a hold names it, so it lists while its VM is
stopped. The kept name is optional, and its destroy still ends it.

Fixes #3988

Co-Authored-By: Claude Opus 5.5 <no
10000
reply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTvep9ZaSf5pJMB2hQA

* fix(minvmd): forget a kept box the guest no longer lists at reconcile

A kept entry from a mint whose create failed, an unused mint, or a box the
guest reaped on its own stayed listed as a stopped box. A reconcile now
forgets each kept box the guest does not list once the grace for its
create has passed; a box the guest lists, stopped included, stays.

Fixes #3989

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTvep9ZaSf5pJMB2hQA

* fix(minvmd): a VM that keeps only kept boxes still runs the reconcile pass

The reconcile thread skipped its pass when the VM held no host_ip state
and no build grant, so a VM whose only boxes were kept ones, a minted
id with no row, never forgot a reaped box, a failed create or an unused
mint. holds_kept_boxes() now joins that gate. A test drives the thread
with only a kept minted box and sees it forgotten after the grace. The
NET-148 doc comment is back on its own test, and the NET-152 note says
the reconcile runs for every VM that keeps such a box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minvmd): a kept box with no stamp yet is inside its reconcile grace

A reconcile that ran between a keep's two steps, after the box went into
the kept set and before its stamp, read the missing stamp as past the
grace and forgot the box. A missing stamp now reads as inside the grace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(min,install): Norrie's review at 6f22e6e on min ls and the installer

- min_stop counts a pending or materializing box as live, as
  listed_box_ids does, so a box still materializing at the closing stop
  is asked about before `min host stop` runs. HL10M now reaches that
  path: its min has `host stop` and no build box runs, and matching
  `running` alone fails it.
- `min ls --raw`, which v0.7.4 shipped, gets a retired-flag tip naming
  `min ls -o json`, and a row in the Old command names table.
- `min --help` says what `min ls` lists, and docs/concepts/sessions.md
  describes the box list table.
- The installer's question lists only the live boxes a yes covers.
- `min ls --json` and `-o json` fail as a min/v1/error object.
- `just bep-replace-keys` skips build boxes and counts every live state.
- The host show doc says when hostname_proxy_port is null.
- The installer parse uses [ \t], which mawk 1.3.3 reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(install): the force-stop question shows the min ls rows when no session id is listed

A running build box, whose id is null, refuses the graceful stop, but
listed_box_ids skips it, so the question listed nothing. It now falls
back to min ls when the listing names no session, as when it fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

---------

Co-authored-by: Karl Godard <karl@minimal.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

release-586e4f4e

Toggle release-586e4f4e's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(minimal,boxes): min secret set --service from the Service Librar…

…y; --preset is retired (#3916)

* feat(minimal,bep,mfile): name a secret registration authorities, and --upstream --authority

Owner ruling on gominimal/arch#209 (638b24f): the host[:port] list of a
secret registration is `authorities` wherever it is a key or a field, and
the `min secret set` flag is `--authority`. This renames the
[secret-store-rules] key, the expanded [secrets] store reference, the
projection's secret_grants member, the store handle payload, the flag,
and the labels `min secret list`, the set prompt and `min box spec`
print, with the box spec source keys and bep's Kani harnesses. Specs 24
and 29 and the session e2e follow. No alias: neither name is in a tagged
release.

Part of gominimal/inbox#1328. Replaces #3909, whose second commit failed
commitlint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(mfile): refuse the retired upstream key on a store reference

CodeRabbit on #3910: after the rename, a project store reference that
still sets `upstream` passed expansion and was kept unread. It is now
refused with exit 3, as `authorities` and `inject` are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(minimal): min secret rm removes the rule set wrote, on confirmation or --yes

Owner ruling on gominimal/arch#209 (638b24f): `rm` removes the item and,
for the host store, its rule in the user's config.toml, the one `set`
writes. A rule for another store and the organization's rules stay.
Removing a rule needs a yes at the terminal or `--yes`; off a terminal
without `--yes` the command refuses and changes nothing. The rule goes
first and comes back when the item is not removed, so the two go
together or not at all. The session e2e cleanup now passes `--yes`.

Part of gominimal/inbox#1328.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(minimal,boxes): min secret set --service from the Service Library; --preset is retired

Owner ruling on gominimal/arch#209 (638b24f): a Service Library built
into min lists each named service with its hosts and at most one secret
form. It starts from the five presets of the 0.8 development line and
the GitHub module. `min secret set <id> --service <name>` writes a copy
of a stored-secret entry as the rule. An unknown name is refused with
the names the library holds, a sign-in service with `min auth login`,
and a hosts-only service as having no secret. `--preset` is a usage
error, exit 2, that names `--service`. `min secret list` marks an item
named for a service and whether its rule lies within the entry.

The library is in boxes so expansion can resolve `uses` from it in the
next slice. Spec 24 BEP-079 follows.

Part of gominimal/inbox#1328.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): min secret rm review fixes (unsettled store, unreadable config)

minimal-review on #3915: when the store cannot tell whether it removed
the item, `rm` keeps the rule removed and says the item's state is
unknown, so no rule outlives its item. A config.toml that `rm` cannot
read stays a refusal, now with the fix to make. The new config test
moves above the BEP-079 doc comment it had split from its test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal,boxes): Service Library roster per Karl's ruling; review fixes

Karl's owner ruling of 2026-12-01: entries are named for provider and
credential form and give the API hosts their env var's clients call.
anthropic-auth-token, cloudflare-api-token, linear-api-key and
sentry-auth-token replace anthropic, cloudflare, linear and sentry. The
MCP-only hosts and the Sentry-Bearer scheme are gone.

Review: a bare --preset names --service; the list row compares header
names in any case and says what the rule does; cli-min.md documents
min secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): min secret rm removes a rule whose item is already gone

Owner rulings, Karl, 2026-12-01, recorded in spec 24: rm asks before it
removes a rule, or takes --yes (beyond arch#209's set ruling); and with
the item already gone, rm removes the orphaned rule after the same
confirmation and says so, instead of putting it back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* docs(reference): min secret rm removes a rule whose secret is gone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): min secret rm removes only the rule the user confirmed

The rule is read again after the confirmation. A rule for the identifier
that differs from the one shown, such as one moved to another store,
stays, and the command removes nothing. Spec 24 states the restore
exception: a file another program changed after the removal is kept,
and the message says the rule is not back and how to keep it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): min secret rm asks to add the rule back only when the file lacks it

Another program can write the table again before the store refuses, so
the message no longer asks for a second copy of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal,boxes): review round on the Service Library

- github takes its hosts from the GitHub module and no longer restates
  them; the library test requires hosts only of entries without a module.
- min secret list compares a rule's authorities as the proxy reads them:
  any case, no trailing dot, port 443 when none is written. A rule with no
  authority is not within the service.
- --preset names anthropic-auth-token for the old anthropic preset, and
  lists the services for any other value or none.
- min secret set and rm refuse a user config.toml that is the
  organization's file, by a symlink or by its own path.
- The --yes test replaces a rule that differs. BEP-079 separates a new
  rule from a replacement, which keeps its consent action and store. The
  reference synopsis shows that --authority needs an injection form.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): --preset github names min auth login, and the list holds stored-secret services

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): the organization-file guard resolves a missing file by its directory

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): pin the pattern-character refusal and stop pinning a kept action

Per merged gominimal/arch#209: a rule id that holds * ? [ { or \ is
refused before the value is read, and a replaced rule keeps its store.
The kept consent action is no longer a requirement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* test(minimal): every Service Library entry passes the store-rule checks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(boxes,minimal): add the anthropic-oauth-token service; mark the Anthropic alternates

Karl's owner ruling 2026-12-02: the OAuth token of a Claude subscription
(CLAUDE_CODE_OAUTH_TOKEN) sent as Authorization: Bearer to
api.anthropic.com. The three entries that share that authority mark each
other as alternates, a test pins the reviewed roster, --preset anthropic
names the new service, and the kept-deny assertion returns as a
test-only pin until inbox#1327.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(boxes,minimal): each Service Library entry names its variable

Karl, 2026-12-02 ("env now"): env per spec 24's roster, checked as a
valid [secrets] name, unique, and no runtime variable. The --service help
and the reference table list each service with its variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* fix(minimal): the service row reads no prefix and an empty one as the same header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

* feat(boxes,minimal): drop anthropic-auth-token from the Service Library

Karl's owner ruling 2026-12-03, agreed with Norrie: ANTHROPIC_AUTH_TOKEN
is mostly used with ANTHROPIC_BASE_URL at a gateway, whose users write a
rule for the gateway's host. anthropic-api-key and anthropic-oauth-token
mark each other as alternates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

---------

Co-authored-by: Karl Godard <karl@minimal.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

release-8f4c7dae

Toggle release-8f4c7dae's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(diagnostics): mask an argv in a bundle by default (#3919)

* docs(spec): mask a bundle's argv by default and keep the list for free text

Spec 10 gets the argv rule a bundle applies where element boundaries are
known: R5.6 keeps the command name, flag names, `--` and the value
shapes R5.7 lists, and masks everything else. R5.8 keeps the list scrub
for free text, R5.9 masks the daemon's exec record by the argv rule when
a bundle is built, and R6.7 specifies the events file in the daemon
bundle. R5.2 and R6.2 point to the new rule; Security Considerations and
the Verification table follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnostics): mask an argv in a bundle by default

A list of secret shapes has no end: a secret with no prefix and no
sensitive name in front of it (`mysql -pSECRET`, `deploy SECRET`)
passed the per-element scrub and reached a bundle through an exec
event's argv and the process table. A bundle now masks every argv whose
element boundaries are known with one default-deny rule, mask_argv
(spec 10 R5.6, R5.7): the command, flag names, `--` and a few small
value shapes are kept, and every other element becomes a placeholder of
its length. A shell script given as an element is a value, masked whole.

- the events file masks each list of strings as an argv (R6.7);
- a /proc process row is masked per element, and a ps row, whose
  boundaries are lost, keeps its command name and withholds the rest;
- the daemon's exec record, the command field of its exec request log
  record and of its exec span in the spool, is parsed back to its argv
  and masked when a bundle is built (R5.9); the on-disk log and the
  telemetry export keep the list scrub they are written with.

Free text keeps the list scrub (R5.8). ArgvScrubber goes; scrub_argv
stays for the daemon log. Tests: a negative control per kept shape, the
two stated residuals, length and idempotence over every short argv, and
the unknown-shaped secret through the events file, the proc rows and
the log tail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

release-2c608505

Toggle release-2c608505's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(minimald): stop warning on ordinary exits, client closes and sess…

…ion ends (#3783)

* fix(minimald): log a box process's own non-zero exit at info

A command or task that exits with a code of its own has given the user its
result; the daemon has nothing to warn about. The exit keeps its line and
every attribute, at info. A signal or a container failure the daemon did not
send stays a warning, and an end after the daemon's own kill stays debug.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(minimald): log an exec ended by its client's channel close at info

An exec's command is killed when its SSH client goes. The channel input pump
now tells the two ways a client goes apart: a channel close the client sent
(it chose to leave) and a stream that ends with no close (the connection was
lost). The first is info, the second stays a warning, and both keep the line
and say which with a channel_closed field. The end after the loop now logs
the end that was set, not always the disconnect line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(minimald): stop warning on the ordinary end of a terminal session

On Linux a read on the pty master fails with EIO once the last slave fd
closes, so every session that ends logged "pty master error; tearing down
host" and "session process reaped after pty/step error" as warnings, even
when the reap found an exit the shell made itself. The EIO on a read is now
debug, and the reap is info when it follows that EIO and the process ended
on its own. Any other errno, a failed write, a signal the daemon did not
send, or a failed reap stays a warning. The lines and fields are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(minimald): register no zone name for a task at a host-handed address

A task run on a VM host attaches at a task address the host handed. The host
files that address as a task row, which holds no name, so its egress gate
refused every zone record the in-VM daemon sent for the task and closed the
request unanswered; the daemon then warned of a malformed empty status line
on every task. A task launch owns no name of its own, so at a handed address
it now sends none. A task whose daemon drew its own address, as a native
daemon does, registers as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(minimald): say a control connection closed before any answer came back

A gvproxy control request whose connection closed before a byte of answer
was reported as `malformed gvproxy status line: ""`. It is now reported as
what happened: the connection closed before any answer came back. The error
kind is unchanged, so no caller reads it differently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* style(minimald): format the week's log-level changes as rustfmt does

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

* fix(minimald): build the exec end's level table for tests only

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

* docs(minimald): say a channel close ends the exec as closed, not lost

The doc comment on pump_channel_input still named ClientLost for a Close. A Close now
sends ClientClosed; only a stream that ends with no Close sends ClientLost.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(minimald): warn on the reap after a pty write fails with eio

The host kept the pty error without the operation that hit it, so the reap took a write's EIO
for the ordinary end a read's EIO marks and logged an own exit at info. The pending error now
carries its operation, and the reap is info only after a read's EIO, as the error line is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(minimald): log an exec's end at the end's own level in both places

The exec's end is logged through `ExecEnd::log_level`, so the level the test
holds is the level the line has. An exec that ends while its command is
starting takes the same level: a client that closed its channel is info there
too. Three comments state what the code does.

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

* fix(minimald): warn when the reap after a terminal close blocks

A master read's EIO is logged at debug and the reap line after it says how
the session ended. A process that closes every slave fd and keeps running
gives the same EIO, and the unbounded wait then blocks with nothing logged
above debug. A watcher thread now logs a warning when that reap has not
returned after five seconds. The reap itself is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(minimald): state the task registration rule without its history

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(minimald): drop an assertion the full-text check already makes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

release-f0ccb306

Toggle release-f0ccb306's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(install): let --version replace the channel go.minimal.dev injects (

#3877)

go.minimal.dev/<channel> serves install.sh with
MINIMAL_INSTALL_TARGET_OVERRIDE set, so `--version` through that URL was
always refused as "a target and --version". The user never chose that
target. `--version` now replaces it, and a positional target together with
`--version` is still refused.

Spec 07 R2.5 says so, and the install guide's way back to 0.7 uses the
short go.minimal.dev/stable form again.


Claude-Session: https://claude.ai/code/session_016CYvTvep9ZaSf5pJMB2hQA

Co-authored-by: Karl Godard <karl@minimal.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

release-b58e1f52

Toggle release-b58e1f52's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(min): print a refused newer box state without the daemon-failure …

…lead (#3874)

A 0.8 min that meets box state from a newer release stops before it
writes anything, and its daemon prints why. min passed that refusal up
through ensure_daemon, which put "Failed to ensure the minimald daemon
is running:" in front of it. That lead reads as a daemon fault, but the
daemon refused on purpose and changed nothing.

The refusal is now a StateRefusal error. ensure_daemon prints it as the
whole message and keeps the lead for every other start failure. The
note about the VM provider chosen by /dev/kvm is not added to a
refusal either, since the VM did not fail to start.

Refs gominimal/inbox#1330


Claude-Session: https://claude.ai/code/session_016CYvTvep9ZaSf5pJMB2hQA

Co-authored-by: Karl Godard <karl@minimal.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

release-d3bafd00

Toggle release-d3bafd00's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: install.sh with a symlinked state directory saves the 0.7 copy b…

…eside the link's target and (#3867)

* fix(installer): save and restore a symlinked state beside its target

A box state directory that is a symlink is now resolved once. The 0.7
copy goes beside the link's target, and the free-space check reads that
file system. The 0.7-over-0.8 refusal moves the target, so the link
stays and points at the restored state. It looks for a saved copy beside
the target first, then beside the link, and copies a copy found beside
the link back with cp -Rp.

* docs(installer): spec the copy and restore for a symlinked state

R5.7 puts the 0.7 copy beside the link's target. R2.6 moves the target and keeps the link, and
copies back a copy found beside the link.

---------

Co-authored-by: minimal-foundry[bot] <327719912+minimal-foundry[bot]@users.noreply.github.com>

v0.7.4

Toggle v0.7.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(release): set release/0.7.x to 0.7.4 (#3819)

release-b2365983

Toggle release-b2365983's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs(specs): name the scaffold's session entry default in BCLI-017 (#…

…3828)

`min init` with no entry scaffolds the session entry as `default`, so the
first box of a new project takes the bare project name (BOX-211). T73
(#3825) makes the scaffold do so. BCLI-017 said only "the entry-based
shape", so nothing bound the entry's name.


Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

Co-authored-by: Karl Godard <karl@minimal.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

release-9eae1f97

Toggle release-9eae1f97's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: clear the prose-lint alerts on the lines the BCLI tasks wrote (#…

…3826)

`just lint-prose` had not run on the docs that T67 to T72 changed. Vale
3.28.1 with the styles that .vale.ini pins reported 20 alerts on the 61
lines those commits last wrote, in README.md, docs/concepts/sessions.md,
docs/guide/dev-shell.md, docs/guide/tasks.md and docs/reference/cli-min.md.
This rewrites those lines, with no change of meaning, until vale reports
nothing on them.


Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

Co-authored-by: Karl Godard <karl@minimal.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0