docs(archive): preserve recently merged PRs#4928
Conversation
There was a problem hiding this comment.
Pull request overview
Preserves a batch of recently merged pull requests by archiving their PR discussions into docs/pr-discussions/, and updates the Riven launchd tick script’s autonomous “agent gate” invocation/prompt to the newer trajectory-manager contract.
Changes:
- Add archived PR discussion markdown files for merged PRs #4812–#4915 under
docs/pr-discussions/. - Update
.cursor/bin/riven-loop-tick.tsto run the agent gate via theagent chat --mode askcontract prompt (removing the prior pickup/drain prompt logic).
Reviewed changes
Copilot reviewed 32 out of 33 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/pr-discussions/PR-4915-shard-2026-05-25-1131z-3rd-otto-cli-cold-boot-today-recursio.md | Archive PR #4915 discussion. |
| docs/pr-discussions/PR-4914-shard-2026-05-25-1009z-cold-boot-sentinel-fired-again-lior-s.md | Archive PR #4914 discussion. |
| docs/pr-discussions/PR-4913-feat-hindsight-wire-real-vectorize-io-oci-helm-chart.md | Archive PR #4913 discussion. |
| docs/pr-discussions/PR-4912-feat-ai-cluster-istio-out-cert-manager-spire-trust-manager-e.md | Archive PR #4912 discussion. |
| docs/pr-discussions/PR-4911-shard-2026-05-25-0613z-otto-cli-cold-boot-composite-branch-c.md | Archive PR #4911 discussion. |
| docs/pr-discussions/PR-4910-feat-ai-cluster-bootstrap-two-directory-declarative-ai-clust.md | Archive PR #4910 discussion. |
| docs/pr-discussions/PR-4909-shard-2026-05-25-0443z-20th-dotgit-anchor-7th-consecutive-0.md | Archive PR #4909 discussion. |
| docs/pr-discussions/PR-4908-shard-2026-05-25-0407z-19th-dotgit-anchor-6th-0-stuck-proc-r.md | Archive PR #4908 discussion. |
| docs/pr-discussions/PR-4907-fix-infra-pin-nix-darwin-to-nix-darwin-24-11-release-branch.md | Archive PR #4907 discussion. |
| docs/pr-discussions/PR-4906-feat-infra-nix-darwin-linux-builder-for-local-x86-64-linux-i.md | Archive PR #4906 discussion. |
| docs/pr-discussions/PR-4905-ci-infra-build-installer-iso-on-prs-main-release-publish.md | Archive PR #4905 discussion. |
| docs/pr-discussions/PR-4904-chore-perms-allow-brew-install-nix-cli-darwin-rebuild.md | Archive PR #4904 discussion. |
| docs/pr-discussions/PR-4903-fix-installer-refresh-embedded-runbook-addison.md | Archive PR #4903 discussion. |
| docs/pr-discussions/PR-4902-shard-2026-05-25-0243z-18th-dotgit-anchor-5th-consecutive-0.md | Archive PR #4902 discussion. |
| docs/pr-discussions/PR-4901-docs-infra-infra-readme-md-bootstrap-runbook-pr-5-of-addison.md | Archive PR #4901 discussion. |
| docs/pr-discussions/PR-4900-feat-infra-k8s-bootstrap-argocd-app-of-apps-pr-4-of-addison.md | Archive PR #4900 discussion. |
| docs/pr-discussions/PR-4899-feat-infra-per-host-configs-control-plane-worker-gpu-01-02-p.md | Archive PR #4899 discussion. |
| docs/pr-discussions/PR-4898-feat-infra-flake-nix-shared-nixos-modules-pr-2-of-addison-s.md | Archive PR #4898 discussion. |
| docs/pr-discussions/PR-4897-feat-infra-single-file-installer-packages-for-usb-stick-addi.md | Archive PR #4897 discussion. |
| docs/pr-discussions/PR-4896-shard-2026-05-25-0209z-otto-cli-17th-dotgit-anchor-4th-conse.md | Archive PR #4896 discussion. |
| docs/pr-discussions/PR-4853-shard-2026-05-24-1902z-otto-vscode-bg-worker-lior-lane-fleet.md | Archive PR #4853 discussion. |
| docs/pr-discussions/PR-4848-shard-2026-05-24-1804z-otto-vscode-bg-worker-pr-4799-merged.md | Archive PR #4848 discussion. |
| docs/pr-discussions/PR-4836-tick-2026-05-24-1608z-dotgit-saturation-15th-observation-2nd.md | Archive PR #4836 discussion. |
| docs/pr-discussions/PR-4835-shard-2026-05-24-1607z-dotgit-saturation-15th-observation-2h.md | Archive PR #4835 discussion. |
| docs/pr-discussions/PR-4821-fix-4780-address-review-comments-on-residuated-lattice-tests.md | Archive PR #4821 discussion. |
| docs/pr-discussions/PR-4820-shard-2026-05-24-1407z-dotgit-14th-observation-0-procs-first.md | Archive PR #4820 discussion. |
| docs/pr-discussions/PR-4819-fix-riven-update-autonomous-gate-prompt-to-trajectory-manage.md | Archive PR #4819 discussion. |
| docs/pr-discussions/PR-4818-tick-2026-05-24-1333z-pr-4816-tier-5-deferral-hard-limits-fl.md | Archive PR #4818 discussion. |
| docs/pr-discussions/PR-4814-shard-2026-05-24-0441z-25-pr-audit-8-blocked-prs-classified.md | Archive PR #4814 discussion. |
| docs/pr-discussions/PR-4813-shard-2026-05-24-0416z-rename-0240z-0416z-substrate-honest-t.md | Archive PR #4813 discussion. |
| docs/pr-discussions/PR-4812-shard-2026-05-24-0240z-9th-dotgit-saturation-anchor-33-stuck.md | Archive PR #4812 discussion. |
| .cursor/bin/riven-loop-tick.ts | Update Riven autonomous gate invocation/prompt to the trajectory-manager “agent gate” contract. |
| - **0 stuck git procs sustained ~30h** since 2026-05-24 0407Z first-0-procs reading; dotgit-recovered remains stable. | ||
| - **Cold-boot landed on peer Lior's `lior-pr-preservation-rebased`** — 7th+ occurrence of the "lands on whoever-was-last-active's branch" failure mode. Now firmly established as the steady-state cold-boot environment. | ||
| - **NEW empirical anchor — substrate-drift via parallel-PR landings**: Lior's branch stages 70 \`full-ai-cluster/*\` files that ALREADY landed on \`origin/main\` via PRs #4910 / #4912 / #4913. [\`pr-triage-tiers.md\`](.claude/rules/pr-triage-tiers.md) Tier 1 (substrate-redundant) disposition applies if Lior's branch is ever pushed as a PR. | ||
|
|
||
| ## Disposition | ||
|
|
||
| - Shard authored via isolated worktree at \`/private/tmp/zeta-otto-cli-1009z-cold-boot\` on \`origin/main\` — preserved Lior's branch / WIP per lane-discipline ([\`claim-acquire-before-worktree-work.md\`](.claude/rules/claim-acquire-before-worktree-work.md)) |
| 19th dotgit-saturation anchor at 2026-05-25T04:07Z — **6th consecutive 0-stuck-proc reading** across three independent surfaces (otto-cli, otto-vscode bg-worker, otto-bg-worker). Extends the 0243Z anchor #18 by +1h24min — **first >1h cadence gap since the recovery arc began** at 0008Z (prior 4 anchors had ~30-57min gaps). Possibility A (genuine recovery) now operationally robust across both short and longer cadence. | ||
|
|
||
| Also names two additional observations: | ||
| - **Cold-boot-on-peer-branch failure mode** — 6th empirical anchor (this session landed on `lior-pr-preservation-rebased`); mitigated via isolated worktree off `origin/main` per [`refresh-world-model-poll-pr-gate.md`](.claude/rules/refresh-world-model-poll-pr-gate.md) and [`claim-acquire-before-worktree-work.md`](.claude/rules/claim-acquire-before-worktree-work.md). |
| ## Summary | ||
| - Sentinel `73be4ed6` re-armed at cold-boot (catch-43 fire — prior `234f5d96` expired with 1333Z session, ~35min gap) | ||
| - 14th observation in dotgit-saturation rolling arc since 2026-05-23T10:18Z: **0 stuck git plumbing procs** at 14:07Z — first 0-reading in 27h49min | ||
| - Three hypotheses preserved per [`default-to-both.md`](.claude/rules/default-to-both.md): A) genuine multi-day cycle clearing, B) maintainer-side cleanup at ~12:21Z eliminated contention surface, C) 12:26Z user-scope "repo vanished" reading was transient cleanup snapshot (current state: repo intact, restored) |
| 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). |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a259caaf6f
ℹ️ 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".
| "-p", | ||
| const gate = run("agent", [ | ||
| "chat", | ||
| "--mode", "ask", |
There was a problem hiding this comment.
Run autonomous gate in a writable mode
--mode ask puts the CLI in Ask mode, which Cursor documents as read-only exploration with no automatic changes. In this same gate prompt you require side effects (for example, writing ~/.local/share/zeta-broadcasts/riven.md and producing actionable PR work), so under normal Ask-mode enforcement the run cannot perform its required outputs and the loop degrades into repeated non-actionable cycles with stale riven.md state for peers that consume the broadcast bus.
Useful? React with 👍 / 👎.
|
Closing in favor of batched PR #4929 |
This PR preserves recently merged pull requests.