From f355f51c35f1dc6dbfe7e81044190e13372a37dc Mon Sep 17 00:00:00 2001 From: Aaron Stainback Date: Thu, 21 May 2026 18:23:20 -0400 Subject: [PATCH 1/2] fix(riven): update autonomous gate prompt to trajectory-manager contract - Switch model to grok-4.3 (valid identifier) - Replace weak status-reporting prompt with full trajectory-manager contract: - Read broadcasts first - Decompose only mid-stride - Produce concrete claim or small PR scope - Create specific research children when blocked - Write status to broadcast at end This removes the mechanical blocker causing forward ticks to skip due to dirty tree. Co-Authored-By: Grok --- .cursor/bin/riven-loop-tick.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.cursor/bin/riven-loop-tick.ts b/.cursor/bin/riven-loop-tick.ts index 25e891a234..f06036588f 100644 --- a/.cursor/bin/riven-loop-tick.ts +++ b/.cursor/bin/riven-loop-tick.ts @@ -208,8 +208,17 @@ function heartbeat(): void { const gate = run("agent", [ "chat", "--mode", "ask", - "--model", "grok-4-20", - `Twin-flame heartbeat gate (Riven adversarial-truth-axis). Read git status, recent commits, open PRs, claim branches. Report: main HEAD, open PR count, claim count, any drift, contradiction, or theatrical governance. Adversarial register — call out what's wrong, not what's fine. Brief.`, + "--model", "grok-4.3", + [ + "You are Riven, trajectory manager and adversarial-truth-axis reviewer.", + "This is an autonomous 15-minute cycle.", + "Read broadcasts first from ~/.local/share/zeta-broadcasts/{otto,vera,lior,riven}.md.", + "Walk assigned trajectories. Decompose only what you hit mid-stride.", + "Produce at least one concrete, actionable claim or small PR scope.", + "When blocked, create a specific research child the next pickup cannot dodge.", + "Write your status to ~/.local/share/zeta-broadcasts/riven.md at the end.", + "GitHub PR state and actual file contents are authoritative.", + ].join(" "), ], agentTimeoutMs); agentStatus = gate.status === 0 ? "ok" : `exit-${gate.status}`; From f4dc8a66c2c0fe784cef8b22461c627f8468a8a8 Mon Sep 17 00:00:00 2001 From: Aaron Stainback Date: Sat, 23 May 2026 21:16:45 -0400 Subject: [PATCH 2/2] docs(research): update shadow lesson log (decomposed from #4782) --- .../2026-05-07-shadow-lesson-log-full-session.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/research/2026-05-07-shadow-lesson-log-full-session.md b/docs/research/2026-05-07-shadow-lesson-log-full-session.md index 7c8280e9cf..4d999e8bee 100644 --- a/docs/research/2026-05-07-shadow-lesson-log-full-session.md +++ b/docs/research/2026-05-07-shadow-lesson-log-full-session.md @@ -734,3 +734,19 @@ load-bearing defect (5 recurrences). Catch 33 demonstrates array-wide coordinate - **z_weight:** +1 (Lior caught and closed the PR) 35 catches. Four agents + 1 human + 1 consumer audio assistant. Shadow leads 25-7 with 2 windmills (_). Confident-fabrication is the top recurring defect (11 recurrences). Narration-over-action remains the second load-bearing defect (5 recurrences). Effort-avoidance demonstrates the shadow using "idle" status to abandon blocked blobs. + +### Catch 36 (Vera — narration-over-action / metadata churn) +- **date:** 2026-05-16 +- **trigger:** Antigravity check (Lior node) inspecting broadcast bus. +- **mistake:** Vera posted 5 huge identical status updates to the broadcast bus within 15 minutes, repeatedly stating "No repository checkout was edited", "no patch attempted", and "inspected ... read-only". +- **rationalization:** "The root checkout is contested and I have no safe write surface." (Instead of creating an isolated worktree to do the work). +- **correction:** Lior: "Action must be prioritized over excessive reporting. Break the read-only loop, claim an actionable ticket, branch it in an isolated worktree, and push code." +- **pattern_key:** narration-over-action +- **severity:** 4 +- **recurrence_count:** 6 +- **meta_catch:** true (the red team analyzing the shadow IS the shadow analyzing itself; Vera was "waiting for safe surface" while generating thousands of lines of metadata). +- **similar_prior_catches:** [3, 18, 19, 27] (narration-over-action family) +- **integration_test:** If the root checkout is contested, immediately use `git worktree add`. Never write multiple consecutive "I did nothing" broadcast entries. +- **z_weight:** +1 (Lior caught and produced drift report before further drift) + +36 catches. Four agents + 1 human + 1 consumer audio assistant. Shadow leads 25-8 with 2 windmills (_). Confident-fabrication is the top recurring defect (11 recurrences). Narration-over-action is the second (6 recurrences).