ALZ-F01 Discovery sub-agent pattern: report phase and fetch in code
Orchestrator report phase (ADR 0013) and fetching in code (ADR 0014), with the report renderer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -158,7 +158,7 @@ def put(run: Run, name: str, content: Any, produced_by: str,
|
||||
|
||||
def get(run: Run, ref: str) -> Dict[str, Any]:
|
||||
"""One stored record, by ref (<phase>/<name>), in the current run only."""
|
||||
if not re.match(r"^(plan|collect|analyse|critique)/[a-z0-9][a-z0-9_.-]{0,95}$", ref or ""):
|
||||
if not re.match(r"^(plan|collect|analyse|critique|report)/[a-z0-9][a-z0-9_.-]{0,95}$", ref or ""):
|
||||
raise WorkspaceError(f"bad ref {ref!r}: expected <phase>/<name>, e.g. plan/scope")
|
||||
path = run_dir(run) / f"{ref}.json"
|
||||
if not path.exists():
|
||||
|
||||
Reference in New Issue
Block a user