Skip to content

fix: read real ARAs despite optional-layer warnings (0.1.34) - #129

Merged
EYH0602 merged 4 commits into
feat/agent-cli-interfacefrom
fix/128-readable-real-aras
Oct 19, 2026
Merged

EYH0602 merged 4 commits into
feat/agent-cli-interfacefrom
fix/128-readable-real-aras

Conversation

@EYH0602

@EYH0602 EYH0602 commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Addresses #128. Targets feat/agent-cli-interface (squash-merge).

Problem

ara 0.1.33 refused ls/show/find on most real research ARAs. Two causes concern only optional agent layers:

  1. Experiment and heuristic headings only split on :, so ## E01 — Title dropped the entry and warned ARA217.
  2. Any ARA217/ARA218 warning refused every structural read (incomplete_artifact), so one duplicate observation ID hid the whole tree.

Changes

  • Shared entry-heading parser (ara_core::entry_heading): :, spaced -/–/—, and a bracketed status for typed entries (## E02 [in progress]: Title → status in progress, unless a **Status** field exists). The reader, merge identity and CLI heading lookup all use it. The malformed entry heading warning now gives path:line and the heading.
  • Optional-layer read-through: ARA217/218 on staging/observations.yaml, trace/taste_log.yaml, trace/sessions/*, logic/experiments.md, logic/solution/heuristics.md or PAPER.md.knowledge_paths no longer refuse. Results add complete: false and incomplete: [{path, codes, reason}]; brief text adds incomplete: <path> (<codes>). Reads exit 0, like any read with warnings. Node-scoped ARA217/ARA222/ARA226 still refuse.
  • status: complete stays all-or-nothing and exits 1 when false. counts/next_ids stay available; only an affected prefix's next ID is null (next_id.incomplete_layer).
  • Writes are unchanged: they validate in ara-core and never used the read refusal.
  • Skills: one sentence in the shared cli-access.md (3 identical copies) and the reader SKILL.md explaining incomplete. Skill digests change, so a new E2 condition must pin this commit.
  • Version 0.1.34, CHANGELOG, docs/agent-cli.md, stage-1 heading rules; plan 23 retired into docs/agent-cli-interface/23-optional-layer-tolerance.md.

Verification

  • cargo test --workspace: 1183 passed. cargo clippy --workspace --all-targets --locked -- -D warnings and cargo fmt --check are clean. scripts/embed-viewer.sh --check passes.
  • New crates/ara-cli/tests/agent_layer_tolerance.rs: the three Real ARAs are unreadable: accept dash entry headings and stop refusing whole artifacts on optional-layer warnings (ARA217/218) #128 reproductions (which fail on 0.1.33), bracket status, line-numbered warnings, duplicate records, non-text promoted_to, brief output, status, and a node-scoped refusal. entry_heading and merge-helper unit tests; a merge parity test (dash/bracket headings merge like colon headings).
  • Real-ARA rerun, 0.1.33 → 0.1.34: nanogpt-speedrun, 808-Heartbreak, music/808, SOULFuzz, FuzzCC and Lara go from refused to readable (FuzzCC and Lara mark one file incomplete). DissClaimer and MSI (ARA100), mandate and mandate-eval (ARA105) and AgentFuzzBench (ARA112) stay refused; those record errors are out of scope per the issue.

Note: the merge parity test also passes on 0.1.33, because merge identity already came from the reader and the write-side heading lookup. The merge-side parser change is for consistency and is pinned by unit tests.

🤖 Generated with Claude Code

EYH0602 and others added 4 commits October 18, 2026 21:37
Adds plan 23 and reproduction tests in agent_layer_tolerance.rs
(three fail on 0.1.33 as reported).
Typed experiment and heuristic headings share the claims heading parser
(spaced dashes, bracketed status). ARA217/ARA218 warnings about one
optional-layer file no longer refuse ls/show/find; results carry
complete: false and an incomplete list and exit 1. status keeps counts
and withholds only the affected prefix's next ID.

Co-Authored-By: Claude <noreply@anthropic.com>
ls, show and find over an incomplete optional layer now exit 0 and keep
complete: false, the incomplete list and the brief line. Exit 1 on a read
means the request failed; here the request succeeds and the gap is an
artifact defect. status still exits 1 when incomplete.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@EYH0602
EYH0602 merged commit 13a80e3 into feat/agent-cli-interface Oct 19, 2026
14 checks passed
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.

1 participant