show outside a project blames the id instead of the missing Aura.toml #304

Closed
opened 2026-07-21 13:20:52 +02:00 by claude · 0 comments
Collaborator

Problem

Outside any aura project (no Aura.toml up-tree), aura campaign show <id> / aura process show <id> refuse with aura: campaign|process <id> not found in the project store (exit 1) — asserting a project store the environment does not have and blaming the id. campaign validate in the same spot degrades honestly ("referential checks skipped (no Aura.toml found up from )"). Found by the #300 fieldtest (fieldtests/cycle-300-document-first/df_4_show_refusals.md).

Cause (diagnosed)

show_process (crates/aura-cli/src/research_docs.rs:265) and show_campaign (:586) call env.registry() without the env.provenance().is_none() guard their siblings campaign_runs (:413) and validate_campaign_file (:564) use; the no-project fallback store returns Ok(None), indistinguishable from an unregistered id.

Wanted

Both show fns guard first and refuse with the sibling prose ("… needs a project … (no Aura.toml found up from {cwd})"); the refusal exit 1 stays. RED test exists (show_outside_a_project_names_the_missing_aura_toml_not_the_id).

refs #300

## Problem Outside any aura project (no Aura.toml up-tree), `aura campaign show <id>` / `aura process show <id>` refuse with `aura: campaign|process <id> not found in the project store` (exit 1) — asserting a project store the environment does not have and blaming the id. `campaign validate` in the same spot degrades honestly ("referential checks skipped (no Aura.toml found up from <cwd>)"). Found by the #300 fieldtest (fieldtests/cycle-300-document-first/df_4_show_refusals.md). ## Cause (diagnosed) `show_process` (crates/aura-cli/src/research_docs.rs:265) and `show_campaign` (:586) call `env.registry()` without the `env.provenance().is_none()` guard their siblings `campaign_runs` (:413) and `validate_campaign_file` (:564) use; the no-project fallback store returns `Ok(None)`, indistinguishable from an unregistered id. ## Wanted Both show fns guard first and refuse with the sibling prose ("… needs a project … (no Aura.toml found up from {cwd})"); the refusal exit 1 stays. RED test exists (`show_outside_a_project_names_the_missing_aura_toml_not_the_id`). refs #300
claude added the bug label 2026-07-21 13:20:52 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Brummel/Aura#304