Skip to content

style(agent-core-v2): remove non-header comments - #1656

Merged
sailist merged 1 commit into
MoonshotAI:mainfrom
sailist:style/v2-remove-non-header-comments
Jul 14, 2026
Merged

style(agent-core-v2): remove non-header comments#1656
sailist merged 1 commit into
MoonshotAI:mainfrom
sailist:style/v2-remove-non-header-comments

Conversation

@sailist

@sailist sailist commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue — this is a convention-enforcement cleanup for packages/agent-core-v2.

Problem

packages/agent-core-v2 follows a comment convention where comments live only in the top-of-file header block, but many files had accumulated mid-file doc comments, prose, and trailing comments, making the convention inconsistent across the package.

What changed

  • Stripped mid-file doc, prose, and trailing comments across the package (432 files, ~8.8k lines removed).
  • Preserved top-of-file header blocks and eslint/oxlint/@ts-* suppression comments.
  • No code tokens are changed; behavior is identical.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Enforce the package comment convention that comments live only in the
top-of-file block: strip mid-file doc, prose, and trailing comments
while preserving header blocks and eslint/oxlint/@ts-* suppression
comments. No code tokens are changed.
@changeset-bot

changeset-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a66643a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 14, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@a66643a
npx https://pkg.pr.new/@moonshot-ai/kimi-code@a66643a

commit: a66643a

@sailist
sailist merged commit 0e1c51c into MoonshotAI:main Jul 14, 2026
15 checks passed
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