refactor(vc): consolidate note handling back into the vc domain#1417
Conversation
The standalone note shortcut domain added an extra routing hop for agents (vc +notes -> note +detail / note +transcript) while the ownership boundary between vc, note, and minutes was still unsettled, and spread transcript routing guidance across five skills. Fold note detail handling back into vc +notes and restore the previous skill routing until the unified-note design converges. Change-Id: I6a6faa9b04451035fdc11ae4e89edb6f7c64dfde
📝 WalkthroughWalkthroughThis PR removes the ChangesNote domain removal and VC consolidation
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1417 +/- ##
==========================================
+ Coverage 72.80% 72.83% +0.03%
==========================================
Files 736 732 -4
Lines 69374 69140 -234
==========================================
- Hits 50505 50356 -149
+ Misses 15073 15003 -70
+ Partials 3796 3781 -15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@5bc4a28479f41c256767f54bd7a7f0e139bf43fe🧩 Skill updatenpx skills add larksuite/cli#refactor/vc-note-consolidation -y -g |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
skills/lark-vc/SKILL.md (1)
142-155: 💤 Low valueMinor: Add language specifier to fenced code block.
The code block starting at line 142 should specify a language for better rendering and linting compliance.
📝 Suggested fix
-``` +```text Meeting (视频会议)🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@skills/lark-vc/SKILL.md` around lines 142 - 155, The fenced code block containing the diagram that starts with "Meeting (视频会议)" is missing a language specifier; update the opening fence from ``` to ```text (or another appropriate language like ```yaml) so the block becomes ```text followed by the diagram, ensuring proper rendering and linting; locate the block containing "Meeting (视频会议)" / "Note (会议纪要)" / "Minutes (妙记)" and change only the opening fence to include the language token.Source: Linters/SAST tools
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@skills/lark-vc/SKILL.md`:
- Around line 142-155: The fenced code block containing the diagram that starts
with "Meeting (视频会议)" is missing a language specifier; update the opening fence
from ``` to ```text (or another appropriate language like ```yaml) so the block
becomes ```text followed by the diagram, ensuring proper rendering and linting;
locate the block containing "Meeting (视频会议)" / "Note (会议纪要)" / "Minutes (妙记)"
and change only the opening fence to include the language token.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: b301f6a2-08b2-4eb5-9b8c-36b7b00f7599
📒 Files selected for processing (26)
cmd/auth/login_messages.gocmd/auth/login_test.gointernal/registry/service_descriptions.jsonlint/errscontract/rule_no_legacy_common_helper_call.golint/errscontract/rule_no_legacy_envelope_literal.golint/errscontract/rules_test.goshortcuts/note/note.goshortcuts/note/note_detail.goshortcuts/note/note_test.goshortcuts/note/note_transcript.goshortcuts/note/note_transcript_test.goshortcuts/note/shortcuts.goshortcuts/register.goshortcuts/vc/vc_notes.goshortcuts/vc/vc_notes_test.goskills/lark-doc/SKILL.mdskills/lark-minutes/SKILL.mdskills/lark-note/SKILL.mdskills/lark-note/references/lark-note-detail.mdskills/lark-note/references/lark-note-transcript.mdskills/lark-vc/SKILL.mdskills/lark-vc/references/lark-vc-notes.mdskills/lark-vc/references/vc-domain-boundaries.mdskills/lark-workflow-meeting-summary/SKILL.mdtests/cli_e2e/note/coverage.mdtests/cli_e2e/note/note_dryrun_test.go
💤 Files with no reviewable changes (17)
- skills/lark-note/references/lark-note-transcript.md
- shortcuts/note/note_test.go
- skills/lark-note/references/lark-note-detail.md
- tests/cli_e2e/note/coverage.md
- shortcuts/note/note_transcript.go
- skills/lark-note/SKILL.md
- tests/cli_e2e/note/note_dryrun_test.go
- shortcuts/note/shortcuts.go
- shortcuts/note/note.go
- shortcuts/note/note_transcript_test.go
- internal/registry/service_descriptions.json
- cmd/auth/login_test.go
- shortcuts/note/note_detail.go
- lint/errscontract/rule_no_legacy_common_helper_call.go
- lint/errscontract/rules_test.go
- skills/lark-doc/SKILL.md
- shortcuts/register.go
Summary
Hold off on the standalone note domain for now and fold note detail handling back into
vc +notes, restoring the previous skill routing. The vc/note/minutes ownership boundary still needs more discussion before committing to a separate domain — we can revisit the split once the unified-note design settles.The note domain has not shipped in any release, so no published command surface changes.
Test Plan
go build ./...go test ./shortcuts/vc ./cmd/authgo test ./...inlint/errscontractSummary by CodeRabbit
Refactor
Documentation
Tests