Skip to content

docs: tighten comments and documentation; team code owners for v0.1.0 - #16

Merged
egparedes merged 9 commits into
mainfrom
docs/final-pass
Nov 17, 2026
Merged

egparedes merged 9 commits into
mainfrom
docs/final-pass

Conversation

@egparedes

@egparedes egparedes commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Final pass over every source comment and documentation file before v0.1.0, and team code owners. Apart from the CODEOWNERS rule, comments and docs only: no change to anything executed.

The comments were already mostly "why" comments, so the edits are targeted:

  • Development history removed: milestone and review tags (M2, S1, S4, S5, M3/S7, "Phase 0"), "the bash version", "since v0.1.1", "in the spike", "in the release validation", "the PR that added this file", past-tense descriptions of old defects in test docstrings. Where the history was the reason (a wait seen with the real service, a decoder that accepts an invalid sequence), the reason stays and the history goes.
  • Restated values replaced by pointers to their one source: harness versions and package counts (package.json), timeouts, retry counts and the step cap (each adapter's run.sh), ceilings (awf.yaml, the Inputs table), hook and test lists (.pre-commit-config.yaml, workflow_structure.py), a source line-number reference.
  • Duplicated text kept in one place: the adapter contract (only in harnesses/README.md, which now lists the complete environment, STUB_PADDING_KIB included), the sanitiser's per-character rules (only in sanitize.py; invariant 5 keeps the rule, the reasons and the pointer), the link exceptions of invariant 6 (exact conditions only in verify_no_linked_directories), the model catalogue rationale (only in awf.yaml), the stall-test cases (only in the script's header).

By area:

  • Workflows: header and job comments of agent-review.yml shortened; self-test.yml points to the hook configuration and the structure test instead of listing them.
  • agent-review/lib: three docstrings and two comments (a duplicated paragraph, a shell-command paraphrase, a narrating comment, a restated number).
  • Harnesses, configuration, tests: timeout rationale in the adapters reworded without release names; awf.yaml loses a TODO(phase0), a pull request reference and line numbers; section tags and history wording in the test suites.
  • Docs: docs/agent-review.md status note is one v0.1.0 statement that lists what the release checklist covered, without claiming runs on the tagged commit; invariants 5 and 6, Troubleshooting (stalled requests), Configuration notes, Harness adapters and Testing changes shortened; harness READMEs and docs/pr-agent.md trimmed the same way. Headings and anchors are unchanged.
  • ADRs: one factual fix (ADR 0003 now lists check-command among the scripts); decisions and history untouched.

Code owners: .github/CODEOWNERS now names the team GridTools/infrastructure instead of one person, so the approval required to merge into main no longer depends on a single owner.

Verification that nothing executed changed, against main (CODEOWNERS is the one intended non-comment change):

  • Python: ast.dump of every changed file is identical once docstrings are removed (comments are not in the AST); the one docstring whose first line is read at run time keeps it.
  • YAML: the parsed objects are identical; no shell comment inside a run: block changed.
  • Shell and line-based configuration: identical after dropping comment-only and blank lines.
  • Directive comments (shellcheck, zizmor, noqa, type: ignore, SHA-pin tags, the image Tag comment) are identical per file; entry points, lockfiles, pins, the prompt template and the self-test fixture are untouched.
  • The check was shown to fail on an injected change in each mode (a Python constant, a run: line, a shell line, a directive, a pin tag).
  • git diff -U0 outside Markdown shows only comment lines, docstring lines and two trailing comments.
  • pre-commit, pytest, mypy, the shell suites and both structure tests pass.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.2 noreply@anthropic.com

egparedes and others added 8 commits November 17, 2026 15:44
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@egparedes egparedes changed the title docs: tighten comments and documentation for v0.1.0 docs: tighten comments and documentation; team code owners for v0.1.0 Nov 17, 2026
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@egparedes
egparedes merged commit fce7201 into main Nov 17, 2026
16 checks passed
@egparedes
egparedes deleted the docs/final-pass branch November 17, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant