Workspace files
Workspace layout
Section titled “Workspace layout”Cora keeps the working set small and file-driven. A typical workspace includes:
dashboard.jsoncora.config.yamlcora.cache.json.envCORA_AGENT_INSTRUCTIONS.mdWhat each file does
Section titled “What each file does”| File | Purpose |
|---|---|
dashboard.json | The rendered dashboard state. Agents can update individual widget values here. |
cora.config.yaml | Source bindings, refresh behavior, and dashboard wiring. |
cora.cache.json | Cached source data so refreshes stay local and predictable. |
.env | Optional project credentials and runtime secrets. |
CORA_AGENT_INSTRUCTIONS.md | The contract that tells an agent how to update the workspace safely. |
Credential resolution
Section titled “Credential resolution”Cora resolves credentials in this order:
- Shell environment variable
- Project
.env - Encrypted store at
~/.cora/store.enc
That ordering keeps the common cases simple while still allowing a secure fallback.
When to use this page
Section titled “When to use this page”Use this page when you want to:
- understand where data lives
- decide which file a change belongs in
- explain the workspace contract to another contributor or agent