hwfl / rules
aische/hwfl/.cursor/rules/project-docs.mdc
Project documentation workflow — when to read and update docs
Cursor rule0 starsChanged 44 days ago
--- description: Project documentation workflow — when to read and update docs alwaysApply: true --- # Documentation workflow Paths assume this scaffold was installed at the **repo root** as `.cursor/` and the spec pack lives in `docs/`. **Authors** use `manual/`. **`docs/`** is maintainer/agent internals (STATUS, TASKS, spec, architecture, log). ## At session start When the user asks to implement, continue, or review work: 1. Read `docs/STATUS.md` and `docs/TASKS.md` 2. Read files under `docs/spec/` only if the task needs requirements 3. Read `docs/idea.md` / `docs/architecture.md` if scope or boundaries are unclear 4. Read `docs/hwfi-reference.md` before copying behaviour from the hwfi repo 5. For author-facing names and signatures, use `manual/` (cheatsheet + library pages), not a third catalog in `docs/` ## During implementation - Code and tests are the source of truth for behaviour - Do not update docs after every file edit - Use session todos for in-chat progress; use `docs/TASKS.md` for durable backlog - Prefer adding stdlib *in* the language over new host builtins when possible ## Before finishing meaningful work 1. Rewrite `docs/STATUS.md` (keep under 80 lines) 2. Update `docs/TASKS.md` (active items only; archive done work) 3. Append to `docs/log/YYYY-MM.md` only for decisions, blockers resolved, or milestones 4. If a host op or kernel rule changed, patch the matching `docs/spec/` file **and** the matching `manual/` page in the same change ## Do not - Log user prompts verbatim - Duplicate git history in log files - Leave long lists of completed tasks in `TASKS.md` — archive to `docs/log/archive/tasks-YYYY-MM.md` - Reintroduce a step-DSL alongside the ML kernel - Add a second user-facing catalog under `docs/` (no language-reference card beside the manual)
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

