Conventions

These conventions define formatting, naming, and repository structure.

Applicability

1. Formatting

1.1 Comparison Conventions

2. Directory Naming

The required directories are: - prompts/ - sources/ - scripts/ - tests/ – for unit, integration, script, and prompt-validation tests - dataflow.in/ – for input data - dataflow.out/ – for generated data output - logs/ – for generated logs - site.in/ – for static-site input - site.out/ – for generated static-site output - documents/ – for human-consumption documents - records/ – for version-controlled episode outcome records

Generated output directories are not version-controlled.

3. Filename Structure

3.1 Filename Authority

4. Identifier Naming

5. Documentation

6. Repository Hygiene

6.1 Generated Documentation (capability)

A project whose documents reflect live or derived state should keep a single source of truth and generate the documents from it:

6.2 Version Information (capability)

A program version is a build-time fact, not a source literal.

Decided 2026-08-24: the git hash disambiguates builds, so the build counter policy is settled. Keep the local counter gitignored; never check it in.

6.3 Generated Data Products (capability)

A project that generates data (not only documents) follows the same single-source rule, with a machine-readable contract:

6.4 Release and Publishing (capability)

A release publishes an artifact; it must be the artifact of the commit it names. The build-time version from 6.2 is what makes that checkable.

6.5 Pinned Dependencies (capability)

7. File Operations

Every task must identify each file operation as one of:

Also:

8. Output