zchee / zchee/ganja-code

Read-only or write-capable posture per agent definition

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

idea size:M verdict:do
Dominant language
Rust
Stars
2
Forks
0
Avg merge
1h
Merged PRs (30d)
17

Description

What it does

Decides whether a teammate is read-only or write-capable from the agent definition it runs as (for example explore or reviewer read-only, executor write-capable), through an agent-level key in [agent.<name>] and in agents/*.md frontmatter, which each backend maps onto its own floor. The spawn dialog and the posture rows show the resolved value.

Source

ganja-code-n0e0 (read-only or write-capable posture decided per agent definition, not per backend).

The bead is closed when this issue is published, with its external reference pointing here (#38).

File and line references in this issue are to main as of 75a7a92.

Against the three criteria

  • Direction (README): The README names the team model as a pillar of the product (README.md:6-8). The idea improves today's local team model.
  • Today's terminal users: D560 made every backend write-capable. A user who wants a reviewer that cannot write has no per-agent switch today. The idea is the owner's own request.
  • Evidence: crates/ganja-core/src/teammate/posture.rs exists; the agent-level key is not started. Measured limits it must carry: codex under workspace-write cannot write .git, so it cannot commit; a grok shell command that writes asks, and a headless turn is cancelled by the ask.

Depends on

No other idea.

Verdict

  • Verdict: do
  • Size: M — one plan and one decision number.
  • Exception to the probe rule: no.
  • Date: 2026-09-19
  • Verdict ticket: #40

Theme: #53

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with crates/ganja-core/src/teammate/posture.rs and the README team-model references at README.md:6-8. Then inspect the agent-level configuration key, agents/*.md frontmatter, backend mapping, spawn dialog, and posture rows described in the issue. Done means the resolved read-only or write-capable posture is defined per agent and consistently displayed and enforced across those paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.