feat(backlog): decompose B-0068 into B-0329#4778
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: affaaa675a
ℹ️ 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".
| ask: Lior 2026-05-23 decomposition of B-0068 | ||
| created: 2026-05-23 | ||
| last_updated: 2026-05-23 | ||
| depends_on: [B-0068] |
There was a problem hiding this comment.
Remove umbrella dependency from decomposed child
Setting depends_on: [B-0068] blocks this new child until the umbrella row is closed, which defeats the decomposition you just introduced. In tools/backlog/autonomous-pickup.ts, dependencyBlocker treats any non-closed dependency as a hard blocker (dependency <id> is <status>), and B-0068 is currently open, so B-0329 becomes unselectable in dependency-driven pickup flows.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Pull request overview
This PR decomposes the existing local-AI umbrella backlog item (B-0068) into a new focused child backlog row (B-0329), and updates the Riven Cursor loop heartbeat gate prompt/model alongside adding a research log entry about stale git locks.
Changes:
- Add new backlog row B-0329 for “Local AI Path 1 — Forge CLI/harness integration”.
- Add a “Sub-rows” section to B-0068 linking to B-0329.
- Update
.cursor/bin/riven-loop-tick.tsheartbeat gate to use a different model string and a revised prompt; add a research note on stale git locks.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| docs/research/shadow-lesson-log-20260522-stale-locks.md | New research log capturing a stale-lock incident and proposed mitigations. |
| docs/backlog/P2/B-0329-local-ai-forge-cli-harness-integration.md | New decomposed backlog child row defining the “Forge CLI/harness integration” path. |
| docs/backlog/P2/B-0068-local-ai-trajectory-forge-ollama-direct-integration-aaron-2026-04-28.md | Adds a sub-row link pointing from the umbrella row to B-0329. |
| .cursor/bin/riven-loop-tick.ts | Adjusts the periodic “agent chat” gate model selection and prompt content for the Cursor-based Riven loop. |
| ## Sub-rows | ||
|
|
||
| - [ ] **[B-0329](B-0329-local-ai-forge-cli-harness-integration.md)** Local AI Path 1 - Forge CLI/harness integration | ||
|
|
| ## Sub-rows | ||
|
|
||
| - [ ] **[B-0329](B-0329-local-ai-forge-cli-harness-integration.md)** Local AI Path 1 - Forge CLI/harness integration | ||
|
|
| ask: Lior 2026-05-23 decomposition of B-0068 | ||
| created: 2026-05-23 | ||
| last_updated: 2026-05-23 | ||
| depends_on: [B-0068] |
| # B-0329 — Local AI Path 1: Forge CLI/harness integration | ||
|
|
||
| This is the first decomposed task from the [B-0068](B-0068-local-ai-trajectory-forge-ollama-direct-integration-aaron-2026-04-28.md) local AI trajectory umbrella. |
| 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.", |
This PR decomposes the local AI trajectory umbrella (B-0068) into a new, more specific backlog item (B-0329).