Issue-agent: forbid Claude memory/project memory reads in CI phases #100

Closed
opened 2026-04-27 09:20:34 -07:00 by nelsong6 · 1 comment
nelsong6 commented 2026-04-27 09:20:34 -07:00 (Migrated from github.com)

Problem

The test-plan phase attempted to read a Claude project memory path during CI. It failed harmlessly, but it still wasted a tool call and proves the phase can reach for ambient Claude state that is not part of the audited workflow contract.

CI phases should rely on issue body, repo checkout, MCP metadata, and handoff artifacts only.

Desired Outcome

Prevent issue-agent phases from reading Claude memory/project memory or other ambient assistant state.

Acceptance Criteria

  • Phase prompts explicitly forbid reading Claude memory/project memory paths.
  • Tool allow/disallow lists or wrapper checks reject reads under .claude, Claude project memory, or equivalent ambient assistant state paths.
  • Failed or attempted memory reads are counted in failed-tool metrics.
  • The job summary reports zero ambient-memory access attempts for passing runs.
## Problem The test-plan phase attempted to read a Claude project memory path during CI. It failed harmlessly, but it still wasted a tool call and proves the phase can reach for ambient Claude state that is not part of the audited workflow contract. CI phases should rely on issue body, repo checkout, MCP metadata, and handoff artifacts only. ## Desired Outcome Prevent issue-agent phases from reading Claude memory/project memory or other ambient assistant state. ## Acceptance Criteria - Phase prompts explicitly forbid reading Claude memory/project memory paths. - Tool allow/disallow lists or wrapper checks reject reads under `.claude`, Claude project memory, or equivalent ambient assistant state paths. - Failed or attempted memory reads are counted in failed-tool metrics. - The job summary reports zero ambient-memory access attempts for passing runs.
nelsong6 commented 2026-04-27 17:47:36 -07:00 (Migrated from github.com)

Closing as folded/deferred cleanup.

Ambient memory reads are one example of failed or wasteful tool use. If this matters again, track it under the broader failed-tool quality gate (#105) instead of as a standalone issue.

Closing as folded/deferred cleanup. Ambient memory reads are one example of failed or wasteful tool use. If this matters again, track it under the broader failed-tool quality gate (#105) instead of as a standalone issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens#100
No description provided.