Repository navigation
fix: read real ARAs despite optional-layer warnings (0.1.34) - #129
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #128. Targets
feat/agent-cli-interface(squash-merge).Problem
ara0.1.33 refusedls/show/findon most real research ARAs. Two causes concern only optional agent layers::, so## E01 — Titledropped the entry and warned ARA217.incomplete_artifact), so one duplicate observation ID hid the whole tree.Changes
ara_core::entry_heading)::, spaced-/–/—, and a bracketed status for typed entries (## E02 [in progress]: Title→ statusin progress, unless a**Status**field exists). The reader, merge identity and CLI heading lookup all use it. Themalformed entry headingwarning now givespath:lineand the heading.staging/observations.yaml,trace/taste_log.yaml,trace/sessions/*,logic/experiments.md,logic/solution/heuristics.mdorPAPER.md.knowledge_pathsno longer refuse. Results addcomplete: falseandincomplete: [{path, codes, reason}]; brief text addsincomplete: <path> (<codes>). Reads exit 0, like any read with warnings. Node-scoped ARA217/ARA222/ARA226 still refuse.status:completestays all-or-nothing and exits 1 when false.counts/next_idsstay available; only an affected prefix's next ID is null (next_id.incomplete_layer).ara-coreand never used the read refusal.cli-access.md(3 identical copies) and the readerSKILL.mdexplainingincomplete. Skill digests change, so a new E2 condition must pin this commit.docs/agent-cli.md, stage-1 heading rules; plan 23 retired intodocs/agent-cli-interface/23-optional-layer-tolerance.md.Verification
cargo test --workspace: 1183 passed.cargo clippy --workspace --all-targets --locked -- -D warningsandcargo fmt --checkare clean.scripts/embed-viewer.sh --checkpasses.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-textpromoted_to, brief output,status, and a node-scoped refusal.entry_headingand merge-helper unit tests; a merge parity test (dash/bracket headings merge like colon headings).nanogpt-speedrun,808-Heartbreak,music/808,SOULFuzz,FuzzCCandLarago 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