Skip to content

feat: add native command affordances - #2362

Draft
Tantanz20020918 wants to merge 5 commits into
mainfrom
feat/affordance-full-coverage
Draft

feat: add native command affordances#2362
Tantanz20020918 wants to merge 5 commits into
mainfrom
feat/affordance-full-coverage

Conversation

@Tantanz20020918

Copy link
Copy Markdown
Collaborator

Summary

Add complete affordance guidance for native API commands so help and schema output provide a use case and a valid direct example. Add lightweight CI checks to keep that guidance aligned with the command registry and Cobra flags.

Changes

  • Add native-command affordance entries across affordance/*.md.
  • Add registry coverage checks in internal/affordance/native_coverage_test.go.
  • Add direct-example command and flag validation in cmd/affordance_example_test.go.

Test Plan

  • make unit-test passed
  • validate passed
  • local-eval passed (E2E 0/0, skill eval N/A)
  • acceptance-reviewer passed (5/5 cases)
  • manual verification: lark-cli calendar calendars list --help and lark-cli schema calendar.calendars.list

Related Issues

N/A

@github-actions github-actions Bot added the size/S Low-risk docs, CI, test, or chore only changes label Aug 17, 2026
@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f6605bdc-ea61-4499-b4d8-b7d28cfbc3d7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.43%. Comparing base (327874c) to head (0c20e0f).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ualitygate/cmd/affordance-coverage-warning/main.go 66.66% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2362      +/-   ##
==========================================
- Coverage   76.43%   76.43%   -0.01%     
==========================================
  Files        1046     1047       +1     
  Lines      115162   115189      +27     
==========================================
+ Hits        88022    88040      +18     
- Misses      20377    20386       +9     
  Partials     6763     6763              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Tantanz20020918
Tantanz20020918 force-pushed the feat/affordance-full-coverage branch from b4cd43b to 1880864 Compare August 17, 2026 12:57
@github-actions github-actions Bot added size/L Large or sensitive change across domains or core paths and removed size/S Low-risk docs, CI, test, or chore only changes labels Aug 17, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature size/L Large or sensitive change across domains or core paths

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants