Skip to content

TASK-003C: Startup Scan and Refresh Integration

AI Execution Profile

  • Model class: Balanced
  • Reasoning effort: Medium

Scope

  • scan the recipe catalog during startup
  • support explicit operator refresh without app restart
  • update canonical app state or application-facing catalog state in a predictable way
  • keep currently loaded recipe semantics stable even when the available file list changes

Copy/Paste Prompt

text
Implement only TASK-003C: Startup Scan and Refresh Integration.

Read first:
- docs/specs/SLICE-003-json-recipe-file-management.md
- docs/tasks/slice-003/TASK-003C-startup-scan-and-refresh-integration.md

Goal:
- Integrate recipe catalog scanning into startup and add an explicit refresh path.

Scope:
- Run a startup scan so valid recipes are available when the app opens.
- Add an application/service path to refresh the catalog on demand.
- Keep loaded-recipe state stable and explicit in canonical app state.
- Surface missing-folder or scan-failure conditions through diagnostics or logs.

Do not:
- Build the final UI layout yet
- Add file watching
- Add recipe editing

Important:
- Avoid hidden UI-only recipe state
- Startup behavior should be deterministic and testable

Docs-first project memory for AI-assisted implementation.