8000 T14 — Names follow the id, end to end by minimal-foundry[bot] · Pull Request #2821 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T14 — Names follow the id, end to end - #2821

Merged
mitodrummer merged 3 commits into
mainfrom
agent/2403-names-follow-the-id-end-to-end
Nov 1, 2026
Merged

mitodrummer merged 3 commits into
mainfrom
agent/2403-names-follow-the-id-end-to-end

Conversation

@minimal-foundry
Copy link
Copy Markdown
Contributor

T14 — Names follow the id, end to end

slice: S3
kind: integration
covers: none
size: S
est: 40 code, 120 tests
executor: agent
difficulty: routine
model: light
diagnostics: daemon log names both ids throughout
observability: one span covers stop, start and rename
layers:
- slice:
- crates/minimald/src/box_manager/tests.rs: tests
test: cargo nextest run -p minimald stopped_dev_and_new_dev_keep_ids_through_rename
produces: none
consumes: none
proof: stop a box named dev, start a new dev, rename either, and see each keep its id while only the running one answers to the name.
depends on:
- blocked by #2396
- blocked by #2400
- blocked by #2397
- blocked by #2758
- blocked by #2762

Proof

The test stopped_dev_and_new_dev_keep_ids_through_rename stops a box named dev and starts a new dev beside it. Then it renames the stopped one to old and the running one to web. After each step, each box keeps its own id, the name dev resolves only to the running box, and the listing shows the same two ids under their new names.

Notes from the agent: Only the test file changed. The behaviour was already on the branch, and the test passed on its first run. The test stops the box by a write to its record, as set_record_state does in the other tests here. It does not call a stop RPC. The test renames each box through its actor, as the RenameSession RPC does. Diagnostics: the test asserts that the daemon log line 'renamed a box' names the id and the new name of each renamed box. Observability ('one span covers stop, start and rename') is not asserted. The rename logs on the actor task, so a span that the test opens does not reach that log line. A span in product code is outside this task's layers. cargo clippy -p minimald --all-targets is clean.

Tests

line exit tail
cargo nextest run -p minimald stopped_dev_and_new_dev_keep_ids_through_rename 0 Applying loadouts: default Running task runtime-implement-test-0 in session task-runtime-implement-test-0-d57c... Compiling paths v0.0.1 (/workbench/crates/paths) Compiling ot v0.0.1 (/workbench/crates/ot) Compiling args v0.0.1 (/workbench/crates/args) Compiling client-config v0.0.1 (/wo

Verify

min task run agent-verify passed ([tasks.verify]).

Closes #2403

A stopped box named dev keeps its id and name, a new dev starts beside
it, and a rename of either moves only that box's name. The name
resolves to the running box at each step, and the daemon log names
the id of each renamed box.
@minimal-foundry
minimal-foundry Bot requested a review from a team as a code owner October 31, 2026 22:28
@coderabbitai
coderabbitai Bot commented Oct 31, 2026 •
Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2a50e6a6-d3b6-45a0-90cc-3654f69509f2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@minimal-foundry
minimal-foundry Bot commented Oct 31, 2026 •
Copy link
Copy Markdown
Contributor Author

Approved: every review thread resolved at 383eae69251b.

@mitodrummer resolved the last thread, which releases the approval this review had withheld.

Nothing to do.

@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: PASS · the full ruling

The change adds one test and no product code. The test checks that a stopped dev keeps its name and id and that a new dev reuses the name with an id of its own. It also checks that the name resolves to the running box, as architecture.md line 389 says. It checks that a rename moves only the name, as line 486 says. The plan asks for one span over stop, start and rename. The test does not check that span, and the design does not require it.

Ruled at 286bd57 against gominimal/arch@8640f85e193d by claude-opus-5-5.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — advisory review

Verdict COMMENT — 1 finding, 1 inline.

Panel: 3 of 3 personas ran (correctness, security, supply-chain).

A bare substring of the new name also matched the old_name key.
@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: PASS · the full ruling

The compare makes the log check in the test stricter. It now matches the new_name field and not a bare name that the old_name key also contains. The test still proves architecture.md line 389 and line 486. The PASS on 286bd57 stands for this head.

Ruled at 383eae6 against gominimal/arch@8640f85e193d by claude-opus-5-5.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approval withheld

Verdict COMMENT — APPROVE withheld: 1 unresolved thread — minimal-foundry[bot] crates/minimald/src/box_manager/tests.rs:3856. No findings.

Panel: 3 of 3 personas ran (correctness, security, supply-chain).

@minimal-foundry
Copy link
Copy Markdown
Contributor Author

Round 1 of 10 on the runtime's review findings, pushed as 383eae69251b.

line exit tail
cargo nextest run -p minimald stopped_dev_and_new_dev_keep_ids_through_rename 0 Applying loadouts: default Running task runtime-implement-test-0 in session task-runtime-implement-test-0-05c6... Compiling paths v0.0.1 (/workbench/crates/paths) Compiling args v0.0.1 (/workbench/crates/args) Compiling ot v0.0.1 (/workbench/crates/ot) Compiling client-config v0.0.1 (/wo

Verify min task run agent-verify passed.

Review threads the coder judged:

  • 👍 valid — crates/minimald/src/box_manager/tests.rs:3856: The log check now matches the field text new_name="", so the old_name key no longer satisfies it.

A person can run the test and see a box named dev stop, a new dev start, and each rename keep its id. Only the running box answers to the name, and the daemon log names each id with its exact new name.

Notes from the agent: Revise round 1: the log check now matches the new_name field (new_name="old"), not a bare substring.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approved

Verdict APPROVE — every review thread is resolved; @mitodrummer closed the last one. The review of 383eae69251b withheld this approval on the threads open then. Posted as a comment: the App cannot approve its own pull request; the check and the label carry it.

@minimal-foundry minimal-foundry Bot added the review:approved minimal-review approved the current head label Oct 31, 2026
@mitodrummer mitodrummer left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at 383eae6. The end-to-end test proves S3's story through the manager. A stopped dev keeps its name and id, a new dev starts with its own id, a rename moves only that box's name (and starts nothing), the name always answers to the running box, the listing shows both ids under their new names, and the daemon log names each renamed id with its new_name field.

@mitodrummer
mitodrummer added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 6bddc07 Nov 1, 2026
36 checks passed
@mitodrummer
mitodrummer deleted the agent/2403-names-follow-the-id-end-to-end branch November 1, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review:approved minimal-review approved the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

T14 — Names follow the id, end to end

1 participant

0