Skip to content

P5 O8: M4 re-planned and split (M4a executable) - #328

Merged
SSFSKIM merged 3 commits into
masterfrom
p5-o8-m4-plan
Oct 29, 2026
Merged

SSFSKIM merged 3 commits into
masterfrom
p5-o8-m4-plan

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 29, 2026

Copy link
Copy Markdown
Owner

P5 O8: M4 re-planned on today's master and split into three milestones. M4a becomes executable; M4b and M4c stay advisory. This is docs only, in docs/doperpowers/plans/2026-10-28-p5-o8-org-interface.md.

The parent pin moves to P5's blob d07bfc4e at master 6fb933626 (Decision Logs 1–129).

The split (the architect's rulings, 2026-10-29)

  • M4a, the Org page: its shape, people and devices. Executable.
    • Settings › Org is in Q1's four groups: You, People, Machines and Org.
    • A root can, from the app: add and remove members, change a role or an email, pair a device (its own, endorsed inside the same Touch ID, or another member's first device through H1), remove any member's device, and make an admin's device a root. Each change is shown in a sheet, bound to a digest of what was shown.
    • It adds refused.attempt and splits OrgSection.tsx by group.
    • close() fences and joins every writer under org/, which retires the two test workarounds and closes DL 129's tracker row.
  • M4b, machines and their rights. Advisory. It records what the re-plan found:
    • grants are not in OrgState;
    • a re-enrolled machine refuses its old grants;
    • the app needs an issued-grants record;
    • the device module needs new signing paths.
  • M4c, delegations. Advisory, with its facts. The prefix rules are duplicated between admin.ts and checks.ts, and M4c consolidates them.

Shared code moves to apps/org-protocol (the desk track reviews)

  • The move. M4a's first commit moves the pure pairing judges out of admin.ts, mechanically. Its concrete steps carry the desk track's three conditions:
  • The pre-sign check. The second commit adds successorProblems. It is one pure function, beside verifySuccessor, that names an ordinary successor's problems before Touch ID. Admin's amend and the app's checkSuccessor both run it. verifySuccessor keeps its verdicts and their order.

The endorsement rule, stated on the page

An admin pairs another member's first device. A later device needs one of that member's own step-up keys: a member who signs pairs it from their own app. For a member who doesn't sign, the page says it waits for the countersign flow, rather than offering an action that fails.

Buildability (doperpowers:adversarial-reviewer)

  • Round 1, on f8f51e5: 1 P1, 5 P2, 1 P3. All were adopted (02bd683). The P1 was that pairing approval must be bound to the candidate the person compared; it is now frozen when found, and approved by {generation, digest}.

  • Round 2, on 02bd683: the other six were confirmed closed. It found 1 P1 and 1 P2, both adopted at 2925c78:

    • the pairing's liveness check runs after the Touch ID confirmation, not only at apply;
    • close() also joins the held view's own adoption queue.

    Both fixes follow the round's own prescriptions. No third round was run.

  • Members stay in M4a. Both rounds found the protocol supports device-less members, first-device pairing, admission by email, demotion and key-accounted removal, so there is no M4d.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)

…with their facts

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…er Touch ID; close joins the held view's queue)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 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-10-29T03:10:40.348510Z 2925c78 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 0f5e4ee into master Oct 29, 2026
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…'s start

rows.ts keeps O8 M5's memberNames import and takes repoProjectId from @shared/machine/project-ids, where M3 moved it.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…c lever

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…rds at 3d1f3ff) into p5-o3-c at M6

Conflicts, each resolved so both sides hold:
- src/main/index.ts: M4's side. O9's lane A block sat in the stretch of startMain that M4 moved into startSpine (the
  index, attention and the index source it reads are the spine root's now), so it and its three imports leave main's
  root here; the fold that follows composes lane A in startSpine (O3-C D20, O3 Decision Log 13). At this commit lane A
  is not composed.
- src/main/attention/notifier.ts: both comments; the notifier reads through the view (R1) and keeps lane A's in-app-only
  rule (O9 M6, Q5).
- eslint.config.js: M3's narrowed MACHINE_BOUND (and its tests' list) gains lane-a while it is under src/main/.

Beyond the conflicts: lane A's imports of paths M3 moved are re-pointed (atomic-write to @shared/fs, git's runner to
src/services/git/, the two value imports marked as rule B's exception until the fold moves lane A); O9's new notifier
case drives the fake view rather than a read model writer.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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