Spaces:
Sleeping
Sleeping
|
Download docs/architecture/ADR-001-shared-services.md from CoreModelsResearch/DAO: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/spaces/CoreModelsResearch/DAO/resolve/main/docs/architecture/ADR-001-shared-services.md
- Command line
-
hf download hf://spaces/CoreModelsResearch/DAO/docs/architecture/ADR-001-shared-services.md
-
curl -L -o ADR-001-shared-services.md https://huggingface.co/spaces/CoreModelsResearch/DAO/resolve/main/docs/architecture/ADR-001-shared-services.md
1.54 kB
ADR-001: Shared Services Architecture Direction
- Date: 2026-06-18
- Status: Accepted
- Phase: Phase 0 - Baseline Protection and Architecture Inventory
Context
The repository currently has working CLI commands, evaluation/hardening flows, and Observatory readers. Orchestration logic is largely concentrated in CLI command functions, with Streamlit acting as a read-only artifact browser.
The governing blueprint and execution playbook require migration toward shared application services in later phases, while preserving current command behavior and artifact compatibility.
Decision
- Typer CLI and Streamlit UI will be treated as adapters over shared application services in later phases.
- Existing runners and evaluators remain the execution engines to be reused, not replaced.
- Filesystem repositories will initially preserve current artifact layouts and compatibility contracts.
- Phase 0 performs no refactoring of runtime paths and no production behavior changes.
Consequences
- Phase 0 emphasizes regression protection and contract capture, not architectural rewrites.
- Future extraction work should move orchestration out of CLI/Streamlit incrementally behind tests created in Phase 0.
- Artifact schema and path changes are deferred; any migration must preserve backward compatibility and be explicitly tested.
Out of Scope in This ADR
- No service extraction in Phase 0.
- No CLI command behavior changes.
- No evaluator/hardening semantic changes.
- No Streamlit UI behavior changes.