Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
docs(agents): sync review-loop rules to lane standard and current vault contracts (#859)
Call Whiteeae86838addb
diff --git a/AGENTS.md b/AGENTS.mdindex 03628f97d..cc3281d85 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -179,13 +179,31 @@ Source-of-truth rule:### Review Loop for PRs-- before opening a PR, run the reviewer subagent and fix significant issues first-- PR descriptions must name the changed capability and list the affected scenario IDs when a scenario catalog exists-- PR descriptions must state which evidence layers were updated: unit, contract, scenario, and residual manual checks-- after opening a PR, use the `background-watch-hook` skill to keep a review-fix loop running until Codex review passes-- use the skill's bundled `wait_pr.py` / `wait_action.py` for PR review and CI watches; do not hand-roll PR waiters-- by default, create the review watch immediately after the PR is opened; do not wait for the user to remind you unless they explicitly say not to keep a watch-- keep expensive full-suite gates on GitHub CI by default, then require those CI checks to pass before merge+- the rules in this section are the self-sufficient baseline for every PR; a+ fuller implementation-lane standard (roles and authority, contracts,+ close-out details) lives in the multi-repo workspace at+ `~/vibe-remote-project/.agents/skills/pr-delivery-loop/SKILL.md` — follow it+ whenever that workspace file is available in your environment+- open PRs non-draft; draft PRs do not trigger the Codex bot review+- the GitHub Codex bot is the review gate: after every push confirm a review+ of the new head starts, comment `@codex review` if none appears, and treat a+ trigger as accepted only once the bot reacts 👀 to that comment+- a bot pass is a plain issue comment naming the reviewed commit; close-out+ requires zero unresolved review threads on the current head, not just a+ 0-finding latest review+- after opening a PR, use the `background-watch-hook` skill to keep a+ review-fix loop running until the review passes; use its bundled+ `wait_pr.py` / `wait_action.py`, never hand-rolled waiters, and create the+ watch immediately without waiting to be reminded+- PR descriptions must name the changed capability, list affected scenario IDs+ when a catalog exists, and state which evidence layers were updated: unit,+ contract, scenario, and residual manual checks+- do not merge on your own initiative: the orchestrator (or the user) does the+ final review and merge; an explicit merge instruction from them is carried+ out directly after a mechanical `mergeStateStatus == CLEAN` check, never by+ spawning another agent to re-review+- keep expensive full-suite gates on GitHub CI by default, then require those+ CI checks to pass before merge### Pre-Push Requirementsdiff --git a/docs/plans/vault-sandbox-protocol-v2.md b/docs/plans/vault-sandbox-protocol-v2.mdindex a83091edd..153cc32fe 100644--- a/docs/plans/vault-sandbox-protocol-v2.md+++ b/docs/plans/vault-sandbox-protocol-v2.md@@ -333,12 +333,28 @@ engine supports it), no pending `ui.show` unacknowledged. Confirm buttons aredead for the first ~500 ms after render (anti-timing-redress) and may usehold-to-confirm for release/reveal. Otherwise fail closed with`sandbox_not_visible` (parent responds by expanding the modal and retrying).-This was designed in v1 and never built; in v2 it is a blocker for shipping-R2-without-passkey. Note the shape of the residual: an XSS with **no user+Note the shape of the residual: an XSS with **no userpresent** can complete nothing (every R2/R3 needs a real gesture inside thesandbox document); the residual is exclusively "user present and redressed",bounded by these checks and by Strict mode.+**Parent surface attestation is advisory telemetry, not an enforced gate.**+While an embedded confirm is up, the parent measures the sandbox iframe+element (rect, own IntersectionObserver reading, computed opacity and+pointer-events) and streams it as per-request `surface` plus `confirm.surface`+events refreshed every ~10 s (wire shape frozen by the parent's+`buildVaultConfirmSurface` unit test and the sandbox's+`parseParentConfirmSurface`). The sandbox records it and logs anomalies but+never fails a ceremony on it, for two reasons. First, it is self-reported by+the very party the sandbox distrusts: a compromised parent fabricates a+perfect reading, so enforcing it adds nothing against the adversary it+targets (overlay redress requires a compromised parent, which lies). Second,+honest parents fail it persistently: IntersectionObserver v2 `trackVisibility`+reports occlusion whenever any ancestor carries a transform, filter, opacity+transition, or animation — ordinary modal CSS. Enforcement therefore only+taxes legitimate users. The browser-truth self-checks above remain the+enforced gate.+## 7. Flow redesigns### 7.1 Approvals (access)@@ -530,6 +546,21 @@ Claude; daemon/backend & cryptography-sensitive work (incl. the sandbox) →Codex. Orchestrated from the design session; each implementation agent ownsits PR review loop; the orchestrator reviews and merges last.+## 12. Frozen contract — signed context verification & approvalNonce++1. The daemon signature covers the **entire** context object exactly as+ transmitted, including the `release` block. The sandbox verifies against+ the received record losslessly — no field allowlist, no re-serialization+ that could drop or reorder content (`parseSignedOperationContext` returns+ the raw record; `signedOperationContextMessage` re-canonicalizes it whole).+2. `release.approvalNonce` is **produced by the daemon** (random) and consumed+ by the sandbox as-is when sealing the blind box. The sandbox never derives+ its own nonce.+3. Canonical JSON on both sides: UTF-8, keys sorted, compact separators+ (`","`/`":"`), non-ASCII characters **unescaped** (Python+ `ensure_ascii=False` ≡ JS `JSON.stringify`). Cross-boundary tests must+ include non-ASCII payloads.+## 13. Contract-audit edge — operation identity TTL vs binding expiry (2026-07-10)The `agent-deliver` operation hash authenticates the approved operation