Record the fresh-context audit of the Nous Portal provider as the first entry in docs/devlog/ (rounds 1-5, the fixes in 00d50e1..04fa08f, decisions, gotchas, open items) with its INDEX.md, and add the Session Logs pointer window to the root AGENTS.md. DOX pass: docs/AGENTS.md now owns docs/devlog/ (one log per unit of work, INDEX.md is the source of truth, logs are append-only) and its verification line covers the filename convention; tests/AGENTS.md documents the drive() harness changes from rounds 4 and 5 (a deferred refresh to simulate overlapping handlers, a Nous model for setModel assertions, provider-level fetchModels via the registered provider).
2.4 KiB
2.4 KiB
docs/AGENTS.md
Purpose
Durable documentation that explains why the project is shaped the way it is: architecture decision records under docs/adr/, plus the session-log record under docs/devlog/.
Ownership
- This doc owns the ADR numbering scheme, file format, and status rules.
- The root AGENTS.md owns repo-wide rules and the top-level Child DOX Index.
- Each ADR owns its single decision; nothing outside
docs/is owned from here. docs/devlog/holds session logs written by the write-log skill: oneYYYYMMDD-<slug>_log.mdper completed unit of work, newest first indocs/devlog/INDEX.md(the source of truth; the root AGENTS.md keeps only a 10-row pointer window). Logs are records: append, never rewrite.
Local Contracts
- ADRs live in
docs/adr/and are numbered sequentially:0001-slug.md,0002-slug.md, and so on. The next free number is one above the highest existing file. - Format follows the domain-modeling skill's
ADR-FORMAT.md: a short title, then one to three sentences giving context, decision, and reason. OptionalStatusfrontmatter,Considered Options, andConsequencessections are added only when they carry real information. - Existing records:
0001-stack.md: native pi-aiProviderover legacyProviderConfig, because the legacy form leads to agent-key minting that Nous retired.0002-license.md: GPL-3.0-or-later.0003-forge-and-ci.md: Gitea remote, no CI file yet.
- An ADR records a decision that is hard to reverse, surprising without context, and the result of a real trade-off. Easy-to-reverse choices do not get an ADR.
Work Guidance
- Add an ADR when a decision meets all three criteria above; do not backfill records for obvious choices.
- When an ADR is superseded, change its status rather than deleting it, and add the replacement under the next number.
- Keep each record to a single decision.
- After a completed task, issue fix, or milestone, write a log with the write-log skill; register it in
INDEX.mdand refresh the root window in the same pass.
Verification
- No automated check. Review by reading: every file in
docs/adr/matchesNNNN-slug.mdand numbering is gap-free and sequential; everydocs/devlog/*.mdother thanINDEX.mdmatchesYYYYMMDD-<slug>_log.mdand has a row inINDEX.md.
Child DOX Index
| Path | Scope |
|---|---|
| (none) | adr/ is a flat set of peer records with shared rules that live in this doc |