Skip to content

Cleanup for 8.0.0: comment audit, drop unneeded files, restructure AGENTS.md#324

Merged
3lvis merged 3 commits into
masterfrom
cleanup-8.0.0
Jun 18, 2026
Merged

Cleanup for 8.0.0: comment audit, drop unneeded files, restructure AGENTS.md#324
3lvis merged 3 commits into
masterfrom
cleanup-8.0.0

Conversation

@3lvis

@3lvis 3lvis commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Pre-release tidy. Behavior-preserving — full suite (180) green, build warning-free. All changes are comments, docs, or unused-file drops.

Comment audit (Sources/)

Trialed every comment. The codebase is well-tended — comments are overwhelmingly non-obvious why, external facts (RFC 3986 §3.4, the 255-byte filename cap, Retry-After formats), gotchas, and @unchecked/fatalError justifications. One cut: a restatement comment on Duration.seconds.

Dropped files

  • docs/roadmap.md — internal planning doc; CHANGELOG.md is now the user-facing history / v8 release-notes source. Removed AGENTS.md's stale Roadmap section + (roadmap #8) reference.
  • LICENSE.md — duplicate of LICENSE (older 2023 copy); README link repointed.
  • invalid.json, simple_array.json, simple_dictionary.json — test fixtures with zero references.

Restructured AGENTS.md (best-practice guidelines)

Applied the guidance from GitHub's 2,500-repo study and peers: commands early, a scannable source map with purpose annotations, tight invariant bullets instead of 200–400-word essays, a three-tier Always/Ask/Never boundaries block, and progressive disclosure — deep rationale now lives in the (just-audited) code comments rather than being duplicated in the doc. No cargo-culted persona (the walk-up doesn't use one). The dense "Architecture (current)" essays → a file map + cross-file invariants.

CHANGELOG

Left as-is — already accurate and release-notes-ready; its [8.0.0] section is the GitHub Release body at tag time.

Tests

180 green, warning-free.

3lvis added 2 commits June 18, 2026 15:02
- Comment audit across Sources: the codebase is well-tended (comments are
  overwhelmingly non-obvious why, external facts, gotchas, and @unchecked/
  fatalError justifications). Cut one restatement comment on Duration.seconds.
- Drop the duplicate LICENSE.md (older 2023 copy; keep the standard 2024
  LICENSE) and repoint the README link.
- Drop three unreferenced test fixtures: invalid.json, simple_array.json,
  simple_dictionary.json.
The roadmap was internal planning; for the release, CHANGELOG.md carries
the user-facing history and serves as the v8 release notes. Drop
docs/roadmap.md and remove AGENTS.md's stale Roadmap section + its
'(roadmap #8)' reference, pointing release history at CHANGELOG.md.

CHANGELOG left as-is — already accurate and release-notes-ready (covers
the actor migration, typed bodies, error model, events, interceptors,
cache lifecycle, and the statusCodeType/composedURL deltas).
@3lvis 3lvis changed the title Cleanup for 8.0.0: comment audit + drop unneeded files Cleanup for 8.0.0: comment audit, drop unneeded files + roadmap Jun 18, 2026
Apply the AGENTS.md guidance from GitHub's 2,500-repo study (and peers):
commands early, a scannable source map with purpose annotations, tight
cross-file invariants instead of paragraph-heavy essays, a three-tier
Always/Ask/Never boundaries block, and progressive disclosure — the deep
rationale now lives in the (just-audited) code comments rather than being
duplicated here. Notes it's a refinement layer over the parent AGENTS.md
files; no persona (the walk-up doesn't use one).
@3lvis 3lvis changed the title Cleanup for 8.0.0: comment audit, drop unneeded files + roadmap Cleanup for 8.0.0: comment audit, drop unneeded files, restructure AGENTS.md Jun 18, 2026
@3lvis 3lvis marked this pull request as ready for review June 18, 2026 13:16
@3lvis 3lvis merged commit e989b74 into master Jun 18, 2026
1 check passed
@3lvis 3lvis deleted the cleanup-8.0.0 branch June 18, 2026 13:16
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