docs: update agent docs from PR review analysis (2026-03-31 to 2026-04-07)#353
Closed
ninja-shreyash wants to merge 1 commit intomainfrom
Closed
docs: update agent docs from PR review analysis (2026-03-31 to 2026-04-07)#353ninja-shreyash wants to merge 1 commit intomainfrom
ninja-shreyash wants to merge 1 commit intomainfrom
Conversation
…4-07) Analyzed 20 PRs with ~100 comments. Found 5 actionable insights not already covered by existing documentation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Contributor
Author
|
Superseded by #356 which consolidates all changes from this PR plus additional insights from the updated GraphQL-based analysis. |
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.



Summary
Weekly analysis of PR comments (2026-03-31 -> 2026-04-07).
Analyzed 20 PRs with ~100 comments. Found 5 actionable insights.
Changes
agent_docs/rules.md
Added: Never assume enum wire format from Swagger alone — verify against live API
Source: PR Add Feedback service [PLT-92499] #184 — @ninja-shreyash on feedback enum string vs numeric mismatch:
Added: Never define static lookup maps inside method bodies — use module-level constants
Source: PR feat(tasks): added GetTaskDataById API for DU-VS #323 — @Raina451 on
src/services/action-center/tasks.ts:529:Added: Never bump package.json version in feature PRs — separate version PRs
Source: PR feat(conversations): expose disconnect method for clean process exit #340 — @swati354 on
package.json:3:Added: Verify integration tests actually exercise new code paths
Source: PR feat(tasks): added GetTaskDataById API for DU-VS #323 — @Raina451 on
tasks.integration.test.ts:137:agent_docs/conventions.md
export * frominstead of explicitexport typere-exportsSource: PR Add Feedback service [PLT-92499] #184 — @Raina451 on
src/services/llmops/index.ts:24:No changes
CLAUDE.md,Agents.md,agent_docs/architecture.md— no relevant insightsPRs Analyzed
Generated by
enhance-claude-docsskill🤖 Generated with Claude Code