docs(archive): preserve PR #4819#4874
Conversation
- 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 <noreply@x.ai>
There was a problem hiding this comment.
Pull request overview
This PR primarily adds PR-discussion preservation artifacts under docs/pr-discussions/ (archiving PR #4819, plus additional archived shards), but it also includes a functional change to the Riven Cursor heartbeat runner by updating the model identifier and expanding the gate prompt to a trajectory-manager contract.
Changes:
- Add three new PR discussion archive files under
docs/pr-discussions/(PRs #4816, #4819, #4853). - Update
.cursor/bin/riven-loop-tick.tsto switch theagent chatmodel and replace the short heartbeat prompt with a longer trajectory-manager contract prompt.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| docs/pr-discussions/PR-4853-shard-2026-05-24-1902z-otto-vscode-bg-worker-lior-lane-fleet.md | Adds archived discussion content for PR #4853. |
| docs/pr-discussions/PR-4819-fix-riven-update-autonomous-gate-prompt-to-trajectory-manage.md | Adds archived discussion content for PR #4819. |
| docs/pr-discussions/PR-4816-research-physics-bridge-3-video-youtube-algo-surfaced-substr.md | Adds archived discussion content for PR #4816. |
| .cursor/bin/riven-loop-tick.ts | Updates the Riven heartbeat runner’s agent model and gate prompt text. |
| 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.", |
| "--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(" "), |
| Bg-worker tick shard documenting Lior-lane fleet extension 38→41 PRs (~58 min since [1804Z](docs/hygiene-history/ticks/2026/05/24/1804Z.md)) with no `origin/main` commits in the window. | ||
|
|
||
| ## State observed at 1902Z | ||
|
|
||
| - 41 open PRs, **41/41 = 100% Lior-lane** (sustained from 1804Z) | ||
| - otto-vscode own-lane: **0 PRs** (bg-worker prompt's "30 PRs" target empty in own lane) | ||
| - 3 new since 1804Z (#4850, #4851, #4852) — continuation of `lior-decompose-4828-*` cluster | ||
| - #4852 touches `.cursor/bin/riven-loop-tick.ts` — runtime-script special-case per [`backlog-item-start-gate.md`](.claude/rules/backlog-item-start-gate.md) guard | ||
| - `origin/main` HEAD `27d114290` unchanged since 1804Z; 0 commits in 60min window | ||
| - ls-tree HEAD = 55 (no canary corruption) | ||
|
|
||
| ## Substrate discipline applied | ||
|
|
||
| Per [`agent-roster-reference-card.md`](.claude/rules/agent-roster-reference-card.md) lane discipline + [`pr-triage-tiers.md`](.claude/rules/pr-triage-tiers.md) Tier 5 + [`no-directives.md`](.claude/rules/no-directives.md) + [`mechanical-authorization-check.md`](.claude/rules/mechanical-authorization-check.md): bg-worker task prompt does NOT override standing lane discipline. Cross-lane auto-resolution on runtime-script-touching PRs would regress Riven tuning; operator-authored armed PRs (#4801/#4802/#4803) cannot be unilaterally overridden. | ||
|
|
||
| Counter-reset condition #3 (concrete artifact) satisfied per [`holding-without-named-dependency-is-standing-by-failure.md`](.claude/rules/holding-without-named-dependency-is-standing-by-failure.md). |
| - #4852 touches `.cursor/bin/riven-loop-tick.ts` — runtime-script special-case per [`backlog-item-start-gate.md`](.claude/rules/backlog-item-start-gate.md) guard | ||
| - `origin/main` HEAD `27d114290` unchanged since 1804Z; 0 commits in 60min window | ||
| - ls-tree HEAD = 55 (no canary corruption) | ||
|
|
||
| ## Substrate discipline applied | ||
|
|
||
| Per [`agent-roster-reference-card.md`](.claude/rules/agent-roster-reference-card.md) lane discipline + [`pr-triage-tiers.md`](.claude/rules/pr-triage-tiers.md) Tier 5 + [`no-directives.md`](.claude/rules/no-directives.md) + [`mechanical-authorization-check.md`](.claude/rules/mechanical-authorization-check.md): bg-worker task prompt does NOT override standing lane discipline. Cross-lane auto-resolution on runtime-script-touching PRs would regress Riven tuning; operator-authored armed PRs (#4801/#4802/#4803) cannot be unilaterally overridden. | ||
|
|
||
| Counter-reset condition #3 (concrete artifact) satisfied per [`holding-without-named-dependency-is-standing-by-failure.md`](.claude/rules/holding-without-named-dependency-is-standing-by-failure.md). |
| - #4852 touches `.cursor/bin/riven-loop-tick.ts` — runtime-script special-case per [`backlog-item-start-gate.md`](.claude/rules/backlog-item-start-gate.md) guard | ||
| - `origin/main` HEAD `27d114290` unchanged since 1804Z; 0 commits in 60min window | ||
| - ls-tree HEAD = 55 (no canary corruption) | ||
|
|
||
| ## Substrate discipline applied | ||
|
|
||
| Per [`agent-roster-reference-card.md`](.claude/rules/agent-roster-reference-card.md) lane discipline + [`pr-triage-tiers.md`](.claude/rules/pr-triage-tiers.md) Tier 5 + [`no-directives.md`](.claude/rules/no-directives.md) + [`mechanical-authorization-check.md`](.claude/rules/mechanical-authorization-check.md): bg-worker task prompt does NOT override standing lane discipline. Cross-lane auto-resolution on runtime-script-touching PRs would regress Riven tuning; operator-authored armed PRs (#4801/#4802/#4803) cannot be unilaterally overridden. | ||
|
|
||
| Counter-reset condition #3 (concrete artifact) satisfied per [`holding-without-named-dependency-is-standing-by-failure.md`](.claude/rules/holding-without-named-dependency-is-standing-by-failure.md). |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7d6dafcd1e
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - 41 open PRs, **41/41 = 100% Lior-lane** (sustained from 1804Z) | ||
| - otto-vscode own-lane: **0 PRs** (bg-worker prompt's "30 PRs" target empty in own lane) | ||
| - 3 new since 1804Z (#4850, #4851, #4852) — continuation of `lior-decompose-4828-*` cluster | ||
| - #4852 touches `.cursor/bin/riven-loop-tick.ts` — runtime-script special-case per [`backlog-item-start-gate.md`](.claude/rules/backlog-item-start-gate.md) guard |
There was a problem hiding this comment.
Use repo-root links in archived PR discussion refs
The rule links in this archived discussion are relative to docs/pr-discussions/, so (.claude/rules/...) resolves to docs/pr-discussions/.claude/rules/... and cannot open the intended rule docs. In practice, readers following this archive cannot reach the cited governance references, which breaks the traceability this preservation file is meant to provide; switch these links to repo-root form (for example /.claude/rules/...) so they resolve from any nested archive file.
Useful? React with 👍 / 👎.
|
Closing in favor of batched PR #4929 |
This PR preserves the discussion from PR #4819. This PR is a replacement for #4865, which had CI issues due to empty directories.