Skip to content

sminos: a retired machine's sessions read gone (1.34.0, board #171) - #460

Merged
SSFSKIM merged 1 commit into
mainfrom
sminos-retired-rows
Nov 5, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
sminos-retired-rows

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Closes board #171. sminos list --org stops showing a retired machine's sessions as live. A deleted devcloud VM's sessions used to keep their last published state indefinitely: dc-acceptance-bd31's three MAWS sessions still read idle a day after the VM was deleted.

Changes (all in sminos/skills/sminos/scripts/sminos.py):

  1. Retired machines' sessions read gone.
    • org_directory() builds the set of machines the org directory marks retired. A machine is in it if its machines[] entry has retired: true (the RL10 frame's field since MAWS PR sminos 1.40.4: list --subagents shows the live and the just ended, and keeps ended states #475). It is also in it if its machine project has retired: true, the DX2 hub's mark for a revoked machine.
    • A remote member on such a machine reads gone and keeps its published age.
    • list, find, chart and tui fold it into +N hidden. --all and --state gone show it, and --json carries the state.
    • Since the member is no longer live, @all and say --machine don't count it. Direct tag resolution still reaches it.
    • A directory without the field, as an older endpoint sends, changes nothing.
  2. sminos machines prints retired for such a machine.
  3. RL10 wording. On a cut-over machine, detected with sminos_rl10.cut_over() as daemon status does:
    • machines no longer claims online, which RL1 doesn't carry. This machine reads this machine. Another machine reads last event <age> ago, taken as the later of the frame's seen and the newest event the local logs hold from its writers, or no event yet.
    • The directory age line says the endpoint restates the directory only when the org changes or the daemon reconnects.
    • DX2's wording is unchanged.

Sminos goes 1.33.0 → 1.34.0. SKILL.md's gone row, the usage text and one sentence in scripts/CLAUDE.md follow.

What it needs from MAWS: the endpoint sends the field from MAWS master 91ca5d02e (PR #475) on, so each machine shows gone rows once its MAWS build passes that point. Until then nothing changes.

Validation

  • ci-gate 453c5643 is GREEN on all five gates, sminos, sminos-suites, sminos-mods, mods-types and repo-checks: https://github.com/SSFSKIM/doperpowers/actions/runs/41980361917
  • sminos/tests/test_org_retired.py (new, 9 tests, in the suites part) covers both an enrolled and a cut-over machine. Red first: 7 of the 9 fail on the base scripts. The two that pass are the no-field cases, which must change nothing.
  • Review: doperpowers:reviewer-medium, correct, no material findings. Its lens was whether delivery, addressing or the daemon's work change, plus the RL10 history scan's cost: 0.012 s for 56k cached events and 0.224 s for 1M in a synthetic probe.

Residue

  • who on a session of a retired machine shows gone but still suggests "resume it on ". This is a one-condition fix in who_lines, left out of scope.

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)

…10 carries (1.34.0)

A remote row is its writer's last published state, so a deleted VM's
sessions kept reading idle or busy in list --org a day after the VM was
gone. The org's directory now marks a retired machine (MAWS #475: RL10's
machines[] entry retired: true and its machine project retired: true; the
hub already retires a revoked machine's project), and sminos reads it:

- machine_retired(name): the directory's machines entry or machine project
  says retired, by name lower-cased. A remote member on such a machine reads
  gone, so list, find, chart, tui and --json fold it behind +N hidden and
  --all or --state gone shows it. An offline machine keeps its published
  word, and a directory without the field changes nothing.
- machines prints retired for it.
- On a machine cut over to RL10, which carries no presence (the endpoint
  sends online: false for every machine and seen only as of its last
  restatement), machines prints this machine for itself and, for another,
  its newest event: the frame's seen or the newest event the logs here hold
  from its writers, whichever is later ("last event 3m ago", else "no event
  yet"). The directory's age line there says the endpoint restates it only
  when the org changes or the daemon reconnects, rather than blaming the
  stream, and a missing directory names the endpoint, not the hub. DX2 is
  unchanged.

test_org_retired.py covers both on the hub and cut over (board #171).

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T06:58:01.863533Z 453c564 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit 386c4b0 into main Nov 5, 2026
18 of 20 checks passed
@SSFSKIM
SSFSKIM deleted the sminos-retired-rows branch November 5, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant