Prompt file imported from ibukani/iris-mind (
.codex/prompts/implement-feature.md). Copyright stays with the author.
Codex Prompt: Implement Feature
Read AGENTS.md first.
Discovery requirement
Treat the user request and any listed files as initial investigation targets, not a complete scope.
Before editing:
- Search for references to target classes/functions/config keys.
- Inspect import sites and call sites.
- Inspect related tests.
- Inspect configuration, registration, and runtime entrypoints.
- Look for parallel, legacy, deprecated, or similarly named implementations.
- Identify whether additional files must be read or changed.
- Report whether the initial assumptions were sufficient.
Do not assume the listed files are sufficient.
Task
Implement the requested feature in Iris-Mind.
Rules
- Keep the change focused.
- Do not cross layer boundaries without justification.
- Add or update tests for behavior changes.
- Avoid external LLM API calls in tests.
- Avoid requiring Ollama or external services in unit tests.
- Keep provider-specific logic inside
iris/llm.
Validation
Run when possible:
python -m compileall -q iris tests
uv run pytest tests/ -q
uv run ruff check .
uv run ruff format --check .
uv run mypy .
Report
Changed files:
- ...
Summary:
- ...
Tests:
- ...
Validation:
- ...
Remaining concerns:
- ...