claude-repo-native-agent-lab

Current Feature — INTENT-001: Repository Readiness Report (working local demo)

Outcome (Intent)

Show, with a real and testable repo, how one primary Claude agent uses repo-local Markdown guidance (CLAUDE.md), discoverable skills, optional subagent definitions, and deterministic Python tools to produce a Repository Readiness Report for a local directory. Claude runs locally (Claude Code / Claude Agent SDK); the repo holds only code, config and instructions.

Inputs / Context

Outputs

Success Criteria

  1. python agent.py test exits 0; tests cover success and failure paths, need no credentials.
  2. python agent.py scan --target samples/demo_project exits 0 and produces parseable outputs with at least one pass and one warn/fail check.
  3. Fake secrets in the sample never appear unmasked in evidence, report or console.
  4. Re-scanning unchanged input yields byte-identical evidence.
  5. Skills are discoverable by Claude Code; invocation is shown in agent-run.json, never just claimed.
  6. python agent.py agent runs a real Claude session when prerequisites exist, or names the exact missing prerequisite and how to fix it. An offline scan is never presented as an agent run.

Constraints / Boundaries

Stop Conditions

Stop and report instead of guessing when credentials, external privileges, destructive changes, or unsupported SDK behaviour would be needed.

Evidence

Commands run with exit codes, the generated output/ files, and output/agent-run.json for the live run.


Intent Delta 1: close the search path to a real .env, and say plainly what the guard is

Observation

Keep

Change

Evidence