Skip to content

feat(backlog): decompose B-0068 into B-0329#4778

Closed
AceHack wants to merge 3 commits into
mainfrom
lior-backlog-decomposition-B-0068
Closed

feat(backlog): decompose B-0068 into B-0329#4778
AceHack wants to merge 3 commits into
mainfrom
lior-backlog-decomposition-B-0068

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 23, 2026

This PR decomposes the local AI trajectory umbrella (B-0068) into a new, more specific backlog item (B-0329).

AceHack and others added 3 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 23, 2026 22:22
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: 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]
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

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 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.ts heartbeat 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.

Comment on lines +189 to +192
## Sub-rows

- [ ] **[B-0329](B-0329-local-ai-forge-cli-harness-integration.md)** Local AI Path 1 - Forge CLI/harness integration

Comment on lines +189 to +192
## 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]
Comment on lines +15 to +17
# 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.
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",
[
Comment on lines +213 to +220
"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.",
@AceHack
Copy link
Copy Markdown
Member Author

AceHack commented May 23, 2026

Decomposed into #4785 and #4786.

@AceHack AceHack closed this May 23, 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