Repository navigation
Description
Problem
ara 0.1.33 cannot structurally read most large, real ARAs. Every structural read (ara ls, ara show, …) refuses with incomplete_artifact or invalid_artifact, while plain file reads work.
Audit on 2026-10-16 with ara 0.1.33 (feat/agent-cli-interface 586e28c): of 12 research-repo ARAs written with the ARA workflow, only the three smallest (18–38 nodes) are readable. Every ARA over 40 nodes is refused. The public corpus has the same problem: ara-paperbench's nanogpt-speedrun is unreadable on its own.
| Blocking diagnostic | ARAs affected | Cause |
|---|---|---|
ARA217 malformed entry heading |
3 (+ nanogpt-speedrun) |
Entry headings other than ID: Title (examples below) |
ARA217 invalid YAML in trace/sessions/*.yaml |
2 | Duplicate mapping keys; a source value that matches no SourceValue variant |
ARA217 promoted_to must be text |
1 | Non-string promoted_to in staging/observations.yaml |
| ARA218 duplicate layer id | 1 | Two observations with the same O ID |
| ARA100 tree YAML | 2 | evidence: matching no Evidence variant; a non-string scalar |
| ARA105 duplicate node id | 2 | — |
| ARA112 nested vs explicit parent | 1 | — |
The ARA100, ARA105 and ARA112 rows are genuine record errors and are out of scope here. This issue is about the first four rows, which concern only optional agent layers.
Two asks
1. Accept common entry-heading forms on every typed entry
Claims already accept dash separators (crates/ara-core/src/claims.rs, DASH_SEPARATORS). Experiments, heuristics, concepts and the other typed entries go through markdown_entries in crates/ara-core/src/agent_layers.rs. That function splits on the first : only, so these real headings raise ARA217:
## E01 — Baseline vs. seed (upper bound)
## H03 – Track the sanity metric
## E02 [in progress]: Reception analysisProposed: share the claims heading parser so that ID — Title, ID – Title and ID - Title parse on all typed entries. Also decide whether a bracketed status after the ID (E02 [planned]: Title) is accepted (and, if so, kept as a status field), or stays ARA217 with a clearer message.
2. Do not refuse the whole artifact for an optional-layer warning
representable() in crates/ara-cli/src/agent/validity.rs makes every ARA217/ARA218 warning block all structural reads (incomplete_artifact). One malformed session file or one duplicate observation ID therefore hides an otherwise valid 500-node tree, claims and experiments.
Proposed: read through and mark only the affected layer or entries as incomplete in the result, for example complete: false plus the diagnostics, instead of refusing. Reads of layers that parsed fine should still work. This needs a design decision, because complete currently has an all-or-nothing meaning.
Why it matters
The agent CLI evaluation (E2, scaling to large ARAs) pads benchmark ARAs with real research ARAs. With 0.1.33 the CLI condition cannot read any of them, so the comparison measures refusals, not efficiency. The workaround on the evaluation side is repair patches applied to copies of the data, but real users hit the same refusals.
Repro
# any ARA with a dash-separated experiment heading
printf '# Experiments\n\n## E01 — Title\n- **Setup**: x\n' > logic/experiments.md
ara check # ARA217 malformed entry heading
ara ls # error [incomplete_artifact] … blocking: ARA217
Activity
fix: read real ARAs despite optional-layer warnings (0.1.34) (#129)
EYH0602 commentedon Oct 19, 2026
Fixed by #129 (squash-merged into
feat/agent-cli-interfaceas 13a80e3, 0.1.34). Optional-layer warnings no longer refusels/show/find; affected files are listed underincompleteand reads exit 0. Experiment and heuristic headings accept dash separators and a bracketed status. Design doc:docs/agent-cli-interface/23-optional-layer-tolerance.md. The remaining tree-parse refusals were tracked in #130.