Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR requires approval for each unverified Tlon group-DM message, isolates group decisions from direct-DM access, and rechecks owner authority before replay. Example: A group-DM member claims to be ~bus while ~bus is directly allowlisted.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR addresses a current Tlon admission gap, and no actionable introduced defect was found; CI remains blocked by inherited lint failures. Priority: P1 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Tlon monitor receives authenticated Urbit chat events, distinguishes verified direct peers from unverified group authors, and routes admitted messages through the existing approval and agent-dispatch owners. flowchart TD
A[Urbit chat event] --> B[Tlon monitor]
B --> C[Verified direct peer]
B --> D[Unverified group claim]
C --> E[Direct admission policy]
D --> F[Owner approval queue]
F --> G[Current owner check]
E --> H[Agent dispatch]
G --> H
Technical reviewBest possible solution: Land the focused repair through the existing approval and dispatch owners once the inherited CI gate is handled under repository policy. Do we have a high-confidence way to reproduce the issue? Current-main source admits club claims matching dmAllowlist, and the supplied base/head observation records one unapproved dispatch before the fix versus none afterward; no target code was executed during this review. Is this the best way to solve the issue? The patch repairs admission and decision effects in their existing owners, preserves verified direct-DM behavior, and carries live owner checks to dispatch without unnecessary new machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b09f5e652128. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +47, Tests +127, Docs +5, Other +2. Total +181 across 10 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed November 9, 2026, 4:34 PM ET / 21:34 UTC (Revision 3). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Verification before merge: Behavior addressed: Tlon group-DM author claims now require owner approval for each message. Approving or blocking one group request no longer changes the claimed ship's direct-DM or native block state, and owner changes are rechecked before effects. Real environment tested: an isolated current-head Gateway connected to local Urbit ships and a scripted model; a stable OpenClaw/Tlon 2026.11.2 state upgrade rehearsal; and GitHub Actions on head Exact steps or commands run after this patch:
Evidence after fix:
Observed result after fix: a group approval affects only its saved message; a claimed ship gets no direct access or native block effect from that decision. What was not tested: remote ship-to-ship group delivery did not reach the bot in the local lab, so group observations begin at the bot ship's real chat ingress. The model endpoint was scripted. The upgrade used Doctor and Gateway on a verified stable-state copy, rather than the installed updater. Regression Risk: Medium. Per-message approval changes group-DM admission; direct and legacy approvals, block behavior, owner reassignment, live replay, and stable-state loading were checked. Best fix verdict: Appropriate. The existing approval owner now keeps group decisions scoped to the pending message without new configuration or storage. User behavior change: Group-DM messages need individual owner approval. Approving or blocking one group message does not grant direct-DM access or native-block its claimed author; verified direct DMs retain their allowlist and block behavior. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
What problem this solves
A Tlon group DM could reach an agent without owner approval when its unverified author claim matched a ship in
dmAllowlist. Approving a group request also granted that claimed ship direct-DM access, while blocking it could block the claimed ship. An owner change during in-flight work could leave the former owner's decision active; wrapped settings events prevented live owner updates.Behavior
Evidence
The same production monitor scenario ran on the base and current head
798b474f5594deb02435786483dddf5c20ad1e1d:In an isolated current-head Gateway connected to local Urbit ships and a scripted model, an authenticated bot-side group event queued approval with no model call. Exact owner approval replayed the saved message once and produced a real outbound DM reply, while the canonical direct allowlist stayed empty. A later real direct DM from the claimed ship queued its own verified request with no additional model call. Group
blockdismissed only the group request and left the native block list empty; directblockchanged that list and was then undone. A live owner change reached the Gateway and prevented the former owner's approval from acting on a pending request.An isolated upgrade from OpenClaw/Tlon 2026.11.2 to this head passed Doctor and preserved the configured owner, empty direct allowlist, one pending verified direct-DM request, and eight completed ingress rows. Approving that saved direct request after startup replayed it once and added its ship to the direct allowlist. An archived cron partition warning in the fixture did not affect Tlon.
Four affected Tlon suites passed 37 tests. The group decision regressions failed on the prior head and passed here. Targeted Tlon typecheck, lint, formatting, and whitespace checks passed. The base/head behavior attestation passed. GitHub CI passed the Tlon checks and test-line ratchet. Its core lint shard failed on
ui/src/e2e/sidebar-rail-alignment.e2e.test.ts:201, an unchanged line present on currentmain; the aggregate CI gates failed downstream. The repository Security Review workflow passed, and a current-head differential review found no actionable source finding.Remote ship-to-ship group delivery did not reach the bot in this lab, so the group observations begin at the bot ship's real chat ingress. The model endpoint was a local scripted fixture.