Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .cursor/bin/riven-loop-tick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,17 @@ function heartbeat(): void {
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.",
].join(" "),
], agentTimeoutMs);

agentStatus = gate.status === 0 ? "ok" : `exit-${gate.status}`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ title: Claude Code `/permissions` feature — research current API + integrate t
created: 2026-05-02
last_updated: 2026-05-02
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 Update last_updated after editing backlog row

This file was edited, but last_updated is still 2026-05-02; the backlog schema requires this field to be updated on every content edit (tools/backlog/README.md), and pickup ordering logic consumes it (tools/backlog/autonomous-pickup.ts compareAge). Leaving the old value makes this newly decomposed item appear older than it is, which can skew automated prioritization among same-era items.

Useful? React with 👍 / 👎.

depends_on: []
decomposition: atomic
decomposition: decomposed
classification: buildable-now
type: friction-reducer
---

# B-0160 — Claude Code `/permissions` feature tight integration (Aaron 2026-05-02)

This item has been decomposed into the following sub-tasks:

- [B-0160.1](./B-0160.1-research-permissions-api.md): Research and document the `/permissions` API.


Comment on lines +16 to +20
## Origin

Aaron 2026-05-02 (during the substrate-burst session that produced PR #1202):
Expand Down
23 changes: 23 additions & 0 deletions docs/backlog/P1/B-0160.1-research-permissions-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
id: B-0160.1
priority: P1
status: open
title: "Decomposition of B-0160: Research and document the /permissions API"
created: 2026-05-24
last_updated: 2026-05-24
depends_on: []
parent: B-0160
decomposition: atomic
---

# B-0160.1 — Research and document the /permissions API

This is the first sub-task of B-0160.

## Acceptance criteria

1. **Research current `/permissions` API.** WebSearch the Claude Code docs (per Otto-364 search-first authority). Document:
* What the slash command does (list / add / remove / scope?)
* How it interacts with `.claude/settings.json` allow-list
* Whether changes are session-only or durable
* Permission scopes (Bash patterns, MCP servers, file paths, etc.)
Loading
Loading