Repository navigation
Conversation
Delete comments from the code and configuration that narrate the code, record how it got this way, or argue for its design. Keep licence headers, tool directives, public API contracts, facts about outside services, and issue or ADR references that state a constraint. No code changes. Each changed file was compared with its previous version after comments were stripped: the TypeScript printer output, the Python AST without docstrings, and the parsed YAML and TOML data are identical. The formatter and ESLint --fix adjusted whitespace where a removed comment had left it.
Rewrite sentences in the guides, design docs, ADRs, READMEs and AGENTS.md files: one idea per sentence, active voice, no dashes as punctuation, one name per thing. Meaning is unchanged. Headings, code blocks, link targets and tables keep their shape. Also: - re-point file:line citations that the comment removal moved; - correct three statements about code comments that no longer exist; - record the rewording in Last-updated and the Changelog of the accepted ADRs, as docs/decisions/README.md requires; - regenerate the Starlight mirrors.
Put back 566 short comments that the cleanup removed although they state something the code cannot: how an AWS service, GitHub, Linear, Jira, Slack, the Claude CLI, a library or a tool behaves, and the issue or vendor reference that goes with it. Each is one or two lines at the code it explains. Rationale about our own design stays removed. Comments only. Doc citations that the restored lines moved are renumbered.
This was referenced Nov 27, 2026
5 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes about 50,000 lines of code comments (net) and restyles the hand-written docs. No code changes.
This is a draft for discussion. It has no approved issue yet, which ADR-003 requires before it can leave draft.
Area
cdk— infrastructure, handlers, constructsagent— Python runtime / Docker imagecli—bgagentclientdocs— guides or design sources (docs/guides/,docs/design/)tooling— rootmise.toml, scripts, CI workflowsAlso
web.Related
None yet.
Changes
The three commits can be reviewed separately.
1.
chore: remove comments that restate code, history and rationale(968 files, 54,267 lines deleted, 3,931 added)eslint-disable,noqa,nosemgrep, pinned-action versions), doc comments that state a public contract, and issue or ADR references that state a constraint. Kept comments were cut down to that fact.2.
docs: edit hand-written docs for plain technical style(171 files, of which 79 are regenerated Starlight mirrors)AGENTS.mdfiles: one idea per sentence, active voice, no dashes as punctuation.file:linecitations that the comment removal moved now point at the right lines. The research doc and the two verification runbooks keep their numbers, because they are pinned to a past commit.Last-updatedand## Changelog, asdocs/decisions/README.mdrequires.3.
chore: keep comments that state facts about outside systems(293 files, 801 lines added)Not touched: generated files, lockfiles, fixtures, snapshots, the accepted-finding ledgers, licence files, and the prompt files under
.abca/commands/anddocs/abca-plugin/.How the "no code changes" claim was checked
Every changed code file was compared with its version on
mainafter comments were stripped:Two files differ only in whitespace between JSX children, where a JSX comment was removed.
ruff formatandeslint --fixadjusted whitespace where a removed comment had left it. A second, independent comparison of all Python, TypeScript and JavaScript files found no code change.mise run build,mise run lintandmise run security:sast:maskingpass, with the same test totals asmain(cdk 9,596, cli 1,684, agent 3,275, web 555).What a reviewer should weigh
main. They are alert 32 (clear-text logging inscripts/orchestration_debug.py, open) and alert 42 (password hash inlinear-oauth-resolver.ts, dismissed as a false positive). CodeQL says it could not attribute alerts because the change is too large. They need to be dismissed on this PR.AGENTS.mdfiles were restyled too. Every rule and its force (always, never, ask first) was kept, but these files steer coding agents, so their wording deserves a look.Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.