jonnifyagile agents
jonnify / Agile Agent Workflow / A5 · The agent brief / A5.2 · References & requirements

A5.2 · module hub

References and requirements

The brief's first two parts: the sources an agent reads, then the numbered, testable statements it satisfies — each one a check, not a wish.

An agent brief opens with its references — the exact sources read before any narrative. Its requirements come second: numbered, testable, each a single statement traced to the user story it serves. The Portal's real f6.1.llms.md carries six references and eight requirements, F6.1-R1 through F6.1-R8. Pick a part on the right to read what each delivers; three dives below take references, numbered requirements, and traceability in turn.

The brief's first two parts · pick one

f6.1.llms.md · two parts, references first PART 1 References — the 6 sources the agent reads first endpoint · router · controllers · Plug F0 design system · the Portal facade contract links first · read before any requirement PART 2 Requirements — 8 numbered, testable statements F6.1-R1 · R2 · R3 · R4 · R5 · R6 · R7 · R8 each a single check, each traced to a user story read after its source · satisfied, then checked
Part 1 · References — 6 sources the agent reads first (endpoint, router, controllers, Plug, the F0 design system, the Portal facade contract), before any requirement. The brief's first two parts are “sources read, then numbered checks.”

A requirement names a check, or it is a wish

References tell the agent what to read; requirements tell it what to produce. The difference between a requirement and a goal is one thing: a requirement names a check. f6.1.llms.md numbers eight requirements, F6.1-R1 through F6.1-R8, and every one carries a check kind — the app boots, a route renders, a grep is empty, the endpoint restarts. A statement with no check — “keep the boundary clean” — reads like a requirement but cannot be satisfied or reviewed, because there is nothing to run.

The figure holds the eight requirements as a grid, each labelled with its check kind. Toggle the second control to blur F6.1-R7 — the static-grep master invariant — into a vague goal, and watch the testable count drop from eight to seven. These requirements are built in the Portal's web bootstrap, the request lifecycle of the companion course.

The eight requirements · testable or a wish

F6.1-R1 … R8 · one statement, one check F6.1-R1 check: boot endpoint plug stack F6.1-R2 check: boot two-supervisor tree F6.1-R3 check: render browser pipeline + route F6.1-R4 check: render controller over the facade F6.1-R5 check: render template from assigns F6.1-R6 check: boot GET /health → 200 ok F6.1-R7 check: grep empty invariant grep F6.1-R8 check: restart 422 not 500; self-heal testable: 8 of 8
# F6.1-R7 — the master invariant, statically checkable
grep -rE "Portal\.Engine|Repo|GenServer\.call" apps/portal_web/lib/  # => (empty)
f6.1.llms.md — requirements with a named check: 8 of 8. R7 is a literal grep (grep -rE "Portal\.Engine|Repo|GenServer\.call" apps/portal_web/lib/ is empty). Each one is a single checkable statement.

The principle

References first, then numbered testable requirements; a requirement names a check or it is a wish. A goal cannot be satisfied or reviewed, because there is nothing to run.

On the Portal

f6.1.llms.md lists the exact sources, then F6.1-R1…R8, each a single checkable statement — R6: GET /health returns 200 “ok”; R7: an empty invariant grep.

A requirement the agent can run a check against is buildable; one it can only interpret is not.

The three dives

Each dive takes one idea from the two parts, in the arc read → number → trace: the references the agent reads first, the numbered requirements it satisfies, and the trace that ties each one to the story it serves. Read them in order — A5.2.1 starts.

After A5.2, the next module — A5.3 · Execution topology — takes the third part of the brief: the runtime shape, the build-order task DAG, and the file list. Return to the A5 module navigation to continue.

References

The conventions this module draws on for writing machine-readable references and traceable, testable requirements, and where the requirements it grounds on are built in the course.

Sources

Related in this course