GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: trim comments to the AGENTS.md comment rule by Tarquinen · Pull Request #77 · anomalyco/opencode-android

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 14, 2026

Copy link
Copy Markdown
Member

Trims code comments to the AGENTS.md Comments rule (#68), in one PR. This replaces #71–#76.

Comments only. No code, formatting or imports changed, so there's no UI change and no media.

What's removed and why

  • iOS pointer comments: // Port of iOS \X.swift`, (iOS `Foo.bar`), and test KDocs that list which iOS tests are ported or skipped. docs/parityalready maps every Android file to its iOS file, and test names match iOS. When a comment mixed an iOS reference with something about the current code, only that part stays. No code is renamed. Comments mentioning iOS go from 4,784 to 4. Those 4 state contracts or describe test data: theiosclient-tools name that keeps both phones' tools apart on one server, the iOS-repo script that re-renders the call sounds, aSessionView.swift:42` path example, and an "iOS" folder in test data.
  • Fix narration and history: "used to…", "the old…", "Regression:", "Kit's call (Oct 19)…", TestFlight build numbers.
  • References that belong in commits: ticket and QA ids (OC-…, D-…, QA …, K-01), iOS commit hashes, PR and issue numbers.
  • Android-vs-iOS divergence notes where the code doesn't need them. Where one stated a real constraint, it's kept as one line.
  • Restated code, and long KDoc cut to a line or two.

Kept: platform constraints, units, the reason for magic numbers, thread-safety and ordering notes, API contracts, @param lines, @Suppress reasons, TODOs, and // region markers (with the iOS part removed). docs/parity/*.md is unchanged. Nothing in it or AGENTS.md told contributors to add iOS pointers. AGENTS.md gains one Comments bullet: don't add comments pointing to the iOS counterpart.

How comments-only was verified

A script compares each file with origin/dev using a Kotlin-aware comment scanner (strings, raw strings, ${} templates, nested block comments). It checks that:

  • the code with comments stripped is identical;
  • every removed or added line is a comment or blank, or a code line whose code part didn't change (a trailing comment);
  • no stray blank lines are left (no double blanks, and no blank line after { or before });
  • only .kt/.kts files changed, apart from the AGENTS.md bullet.

Result: 1,093 Kotlin files, 0 problems. The full scripts/check.sh passes on the Android VM.

Comment lines, before → after

Module Before After Removed
app 1,008 680 328
core 3,429 2,385 1,044
devtools 395 282 113
feature/composer 5,446 4,748 698
feature/drawer 5,529 4,810 719
feature/media 2,706 2,478 228
feature/session 7,294 6,624 670
feature/settings 2,009 1,720 289
feature/system 1,615 1,443 172
feature/transcript 4,176 3,906 270
feature/voice 6,787 6,251 536
server 2,496 2,179 317
Total 42,890 37,506 5,384

Skipped

#62 (proto-send-native) is being rebased, so none of its 78 files are touched here. They get the same pass after it merges. Its AGENTS.md change is in a different section from this PR's bullet.

Files skipped for #62
  • AGENTS.md
  • core/src/main/kotlin/ai/opencode/core/diagnostics/LabMarks.kt
  • core/src/main/kotlin/ai/opencode/core/diagnostics/MotionAudit.kt
  • core/src/main/kotlin/ai/opencode/core/diagnostics/MotionWatch.kt
  • docs/parity/composer.md
  • docs/parity/devtools.md
  • docs/parity/drawer.md
  • docs/parity/media.md
  • docs/parity/session.md
  • docs/parity/transcript.md
  • feature/composer/src/main/kotlin/ai/opencode/feature/composer/ComposerFieldLink.kt
  • feature/composer/src/main/kotlin/ai/opencode/feature/composer/ComposerKeyboardMorph.kt
  • feature/composer/src/main/kotlin/ai/opencode/feature/composer/ComposerSendTransition.kt
  • feature/composer/src/main/kotlin/ai/opencode/feature/composer/ComposerTextInput.kt
  • feature/composer/src/main/kotlin/ai/opencode/feature/composer/SentImageFlight.kt
  • feature/composer/src/test/kotlin/ai/opencode/feature/composer/SentImageFlightTests.kt
  • feature/drawer/src/main/kotlin/ai/opencode/feature/drawer/motion/DrawerMotion.kt
  • feature/drawer/src/test/kotlin/ai/opencode/feature/drawer/motion/DirectionalPanGestureRecognizerTests.kt
  • feature/media/src/main/kotlin/ai/opencode/feature/media/agentfiles/AgentImageGallery.kt
  • feature/media/src/main/kotlin/ai/opencode/feature/media/agentfiles/AgentImagePreviews.kt
  • feature/media/src/main/kotlin/ai/opencode/feature/media/agentfiles/AgentImageVisibility.kt
  • feature/media/src/main/kotlin/ai/opencode/feature/media/MediaFoundation.kt
  • feature/media/src/test/kotlin/ai/opencode/feature/media/AgentImagePreviewFrameworkTests.kt
  • feature/media/src/test/kotlin/ai/opencode/feature/media/AgentImagePreviewTests.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/ComposerSendReset.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SendLift.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SessionScrollEdgeBridge.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SessionSendFlight.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SessionTranscriptView.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SessionViewAttachments.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SessionViewComposerControls.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SessionViewComposer.kt
  • feature/session/src/main/kotlin/ai/opencode/feature/session/SessionView.kt
  • feature/session/src/test/kotlin/ai/opencode/feature/session/ComposerSendTransitionTests.kt
  • feature/session/src/test/kotlin/ai/opencode/feature/session/NewMessagesTests.kt
  • feature/session/src/test/kotlin/ai/opencode/feature/session/SessionFeatureTestsComposer.kt
  • feature/session/src/test/kotlin/ai/opencode/feature/session/TranscriptScrollBehaviorTests.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/links/ImageLinkPreviews.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/links/LinkPreviewMotion.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/links/LinkPreviewViews.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/NewDividerMotion.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptListController.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptList.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptListRows.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptListScroller.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptListSelection.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptListSnapshot.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptMotionTrace.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptRowEntrance.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptRowGrowth.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptScrollBehavior.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/list/TranscriptScrollSprings.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/markdown/ui/MarkdownBlocksView.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/markdown/ui/TranscriptBand.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/rows/DisclosureMotion.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/rows/ReplyActions.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/rows/RowModifiers.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/rows/RunErrorRow.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/rows/ToolRows.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/rows/TranscriptEntryView.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/TranscriptContract.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/TranscriptTunables.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/user/MediaReferenceTiles.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/user/SendLanding.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/user/TranscriptPendingActions.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/user/TranscriptUserBubble.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/user/TranscriptUserMessageView.kt
  • feature/transcript/src/main/kotlin/ai/opencode/feature/transcript/user/TranscriptVoiceMessageView.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/links/ImageLinkPreviewTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/links/LinkPreviewMotionTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/list/MarkLoadingTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/list/NewMessagesTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/list/TranscriptGestureReleaseTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/list/TranscriptRenderWorkTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/list/TranscriptRowGrowthTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/list/TranscriptScrollBehaviorTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/NewMessagesListTests.kt
  • feature/transcript/src/test/kotlin/ai/opencode/feature/transcript/rows/TranscriptLayoutTests.kt

Files #60, #63, #64 and #31 also change, all in comments: #60 11, #63 15, #64 36, #31 30. Git should merge comment-only hunks cleanly unless they touch the same lines.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Tarquinen added 3 commits November 14, 2026 11:47
@Tarquinen
chore: trim comments to the AGENTS.md comment rule
62d0195
Deletes ticket, QA and commit references, fix narration and bug history, explanations
of what iOS does where the code doesn't need them, and comments that restate the code;
shortens long KDoc and block comments to a line or two. Comments only.
@Tarquinen
chore: drop iOS pointer comments and trim the files #70 touched
f79a895
Removes comments that only point at the iOS counterpart ("Port of iOS
`X.swift`", "(iOS `Foo.bar`)") and the test KDocs that list which iOS
tests are ported or skipped: docs/parity already maps every Android file
to its iOS file, and test names match iOS. Where a comment mixed an iOS
reference with something about the current code, only that part stays.
Also drops the remaining Android-vs-iOS narration (the voice "Kit's call"
history, the LivingOrbView/DotScopeView divergence notes) and applies the
same trim to the files skipped earlier while #65/#66 (#70) were open.
No code is renamed.

Comments only. Verified with a script that strips comments with a
Kotlin-aware scanner (strings, raw strings, templates, nested block
comments) and checks the code is identical before and after, that every
changed line is a comment or blank (or a code line whose code part is
unchanged), and that no stray blank lines are left. Full scripts/check.sh
on the Android VM.
@Tarquinen
docs(agents): don't add iOS pointer comments
0bff99c
docs/parity maps each Android file to its iOS file, so code comments
don't need to.
@Tarquinen
Tarquinen temporarily deployed to release November 14, 2026 17:08 — with GitHub Actions Inactive
This was referenced Nov 14, 2026
chore(core): trim comments to the AGENTS.md comment rule (ui, motion, touch) #71
Closed
chore(core): trim comments to the AGENTS.md comment rule #72
Closed
chore(app,devtools,server): trim comments to the AGENTS.md comment rule #73
Closed
chore(composer): trim comments to the AGENTS.md comment rule #74
Closed
chore(drawer): trim comments to the AGENTS.md comment rule #75
Closed
chore(session,transcript,media,settings,system,voice): trim comments to the AGENTS.md comment rule #76
Closed
@Tarquinen
Tarquinen merged commit 8a51d14 into dev Nov 14, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 14, 2026
Merge dev into main #69
Merged
chore: remove history from comments #83
Merged

This branch was previously deployed

1 inactive deployment
release — 0bff99c7 Deployed Nov 14, 2026 by Tarquinen via check #225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Tarquinen
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.