Repository navigation
devcloud 0.18.1: owned-by leaves unasked an account never in use on this Mac - #595
Merged
Merged
Conversation
…his Mac An account whose provider has neither a passing copy nor a pass record here answered "unknown" to every owned-by question, so sminos could retire or end no thread on that Mac. Only a pass puts a provider into use, nothing in the driver removes one, and a host's owner is always a thread of the Mac whose driver made or took it: such an account holds none of this Mac's threads' hosts. owned-by now names it in a new `unused` list (sminos's reader, 1.51.0 on, tolerates the key) and on stderr, and decides the answer from the rest. Every other partial listing, a passing copy that cannot be used now included, stays unknown. Sminos-Session: channel-dev#222553cd (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
Review of the first commit: pass artifacts are keyed by account name, so a renamed account read as never passed; Path.exists() followed links and read a permission error as absence; the texts said "on this Mac" where the pass is the profile's. Now no account is unused while any pass artifact names an account the profile does not configure (it may be a former name), the providers directory and `.pass` are listed without following links and any failure to look other than a missing entry keeps the account unknown, and `none` reads "every account listed in full or named under `unused`". Sminos-Session: channel-dev#222553cd (doperpowers on macbook)
…mit logged `provider test` stages its copy as `.pass/.<account>.new` before the replace; an interrupted test left one that read as an orphan artifact and kept every account out of `unused`. It is now left out by that exact shape. The three hand edits of a profile that read a used account as never passed are recorded in TECH-DEBT.md, and README says the judgment reads the profile as it stands. Sminos-Session: channel-dev#222553cd (doperpowers on macbook)
This was referenced Nov 22, 2026
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.
What and why
devcloud vm owned-byanswered "unknown" to every question while the profile held an account whose provider is not usable (not registered, or no passing copy yet). sminos fails closed on "unknown", so on such a Mac no thread could be retired or ended.The owner's ruling narrows the rule from 615e42c ("owned-by never answers none over a partial listing"): an account whose provider has never passed under this profile holds none of the asking threads' hosts. Only a pass puts a provider into use, nothing in the driver removes a passing copy or its record, and a host's owner is always a thread of the Mac whose driver made it or took it by
vm owner(which refuses a thread of another machine). Such an account is now left unasked: named in a new top-levelunusedlist and in one stderr line, and the answer is decided by the rest;nonenow means every account listed in full or named underunused.unusedis claimed only on confirmed absence of any sign of a pass (provider.never_passed): noproviders/.pass/<account>, no<account>.pass.json, and no pass artifact under a name no configured account has (it may be this account's former name).providers/and.passare looked at without following links, and any failure to look other than a missing entry keeps the account unknown. Aprovider test's staging file (.pass/.<account>.new) is not a pass artifact. Every other partial listing stays "unknown" as before: a failed listing, an unreadable credential, a passing copy that cannot be used now. Built-in providers are never this case.Limits, stated in the README: the question is answered under the asking session's profile (a session using another profile is outside it, as it is outside every answer of this command), and the judgment reads the profile as it stands, so a profile changed by hand so that a used account loses its pass artifacts reads it as unused. The three such hand edits are logged in
docs/doperpowers/TECH-DEBT.mdwith their promotion (a record the driver writes the first time it calls an account).sminos's reader (
x9_reply, unchanged since 1.51.0) reads only the keys it knows and tolerates an extra one; a sminos test pins that (test-only, no sminos version move).Reply before, with one never-passed account:
{"answer": "unknown", "vms": [], "unknown": [{"account": "<a>", "provider": "<p>", "failed": "account", "reason": "... is not registered ..."}], "listed": [...]}After:
{"answer": "none", "vms": [], "unknown": [], "listed": [...], "unused": ["<a>"]}, withdevcloud vm owned-by: account <a> not asked: its provider never passed under this profileon stderr.Evidence
devcloud/tests/unit/test_driver_owned.py: never passed (registered or not) beside a listable account: none; beside a match: owned; beside a failed listing: unknown for the failed one only; still unknown for a registration gone with a passing copy, a copy without its record, a record without its copy, a renamed account, an orphan record or copy alone, a dangling link, an unlistable.pass; a test's staging file blocks nothing; the stderr line. Each failed before its fix and passes after.sminos/tests/test_threads_owner.py: the reader accepts a reply carryingunused.owned-byon the affected Mac answers "none" and names the never-passed account inunused.Review
doperpowers:review-code medium, two readings; their findings fixed in the second and third commits, or logged or dismissed by the coordinator's rulings.
Residue
The hand-edit limit, logged in TECH-DEBT.md. The X9 paragraph of the channels-and-threads spec is updated separately.
Sminos-Session: channel-dev#222553cd (doperpowers on macbook)