Skip to content

Feature specification

Goal and scope

Users, problem, non-goals and learning outcomes (LOs).

Interview traceability

Interview ID / approved equivalent-material ID -> requirement ID -> acceptance criteria ID -> test ID. Do not include real names.

Acceptance criteria

Given input, action, expected result, boundaries and failure paths. You must be able to verify each criterion by running a check.

Implementation and verification

Generate an approach -> have a human check its assumptions -> implement in the dedicated workspace described by Week 0 safety practices -> retain acceptance and regression evidence.

Before implementation, add two scope tables and one location note to the plan:

  1. Changed files: list every file with its relevant path:line (or new for a new file). You may change only the files in this table. Before you add a file, update the table and get another scope check.
  2. Tests to write: list each test separately and map it to exactly one acceptance case and its expected result. Every acceptance case must have a named test. A generic “run the suite” entry does not count.
  3. Specification location and update: record where this specification, its plan and its decision record live. Say how a code change keeps those records and the acceptance tests in sync for the next session.

Risks and review

Data minimization, permission boundaries, unresolved questions and review results. Refer to existing PR or review evidence. Do not submit a separate teaching-design form.

Change log

Add one entry for each agreed change to an acceptance criterion. Give the date, the changed clause, the acceptance-case and test IDs it affects, the reason and who agreed. First update those tests' expected results to match the new clause. Then change the code. Never edit a check only to make existing code pass.