Skip to content

docs(archive): preserve PR #4819#4874

Closed
AceHack wants to merge 4 commits into
mainfrom
lior-fix-4865
Closed

docs(archive): preserve PR #4819#4874
AceHack wants to merge 4 commits into
mainfrom
lior-fix-4865

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 24, 2026

This PR preserves the discussion from PR #4819. This PR is a replacement for #4865, which had CI issues due to empty directories.

AceHack and others added 4 commits May 21, 2026 18:23
- 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>
Copilot AI review requested due to automatic review settings May 24, 2026 21:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.ts to switch the agent chat model 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.

Comment on lines 208 to +212
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.",
Comment on lines +211 to +221
"--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(" "),
Comment on lines +21 to +36
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).
Comment on lines +28 to +36
- #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).
Comment on lines +28 to +36
- #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).
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@AceHack
Copy link
Copy Markdown
Member Author

AceHack commented May 25, 2026

Closing in favor of batched PR #4929

@AceHack AceHack closed this May 25, 2026
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.

2 participants