improve(icp-cli): accuracy and agent-guidance improvements#159
Open
improve(icp-cli): accuracy and agent-guidance improvements#159
Conversation
- Add --help directive to prevent hallucinated flags - Expand pitfall 6 with dfx identity whoami → icp identity default (getter) - Add icp network stop to complete lifecycle in pitfall 9 - Add pitfall 17: port conflict resolution (--project-root-override and gateway.port) - Add pitfall 18: icp new hangs in CI without --silent - Strengthen icp new note with --silent and CI-hanging warning - Add evals for port conflict and scripted project creation
Skill Validation ReportValidating skill: /home/runner/work/icskills/icskills/skills/icp-cliStructure
Frontmatter
Tokens
Markdown
Tokens
Content Analysis
References Content Analysis
Contamination Analysis
References Contamination Analysis
Result: 1 warning Project Checks |
- Pitfall 19: warn against using the anonymous identity on mainnet — local network seeds all identities so local always works, but on mainnet the anonymous identity is shared and uncontrolled - Trim Project Creation section to remove duplicated CI warning (kept in pitfall 18) - Update 'Deploy to mainnet' eval: add balance check as expected behavior - Add adversarial eval for deploying to mainnet with anonymous identity - Fix adversarial eval behaviors: require icp commands explicitly, reframe last behavior as positive assertion to avoid false failures - Remove mops trigger eval: query was ambiguous, legitimately matched motoko skill
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.
Closes #157.
Summary
--helpdirective to prevent hallucinated flagsdfx identity whoami→icp identity default(no-arg getter), setter/getter duality made expliciticp network stopto complete the start/deploy/stop lifecycle--project-root-overridefor another icp-cli project,gateway.port+icp network status --jsonfor non-icp servicesicp newhangs in CI without--silenticp newnote in "Project Creation" to avoid duplicating pitfall 18Evaluation results
Output evals: 21/21 with-skill passing
Trigger evals: 24/25 — removed the one miss ("Set up a Motoko canister with mops" legitimately matched the
motokoskill; query was too ambiguous to be a useful icp-cli trigger)Deploy to mainnet (updated — added balance check behavior)
With skill ✅ 5/5
Baseline ❌ 1/5
Port conflict on local network start (new)
With skill ✅ 5/5
Baseline ❌ 0/5
Scripted project creation in CI (new)
With skill ✅ 3/3
Baseline ❌ 0/3
Adversarial: deploying to mainnet with the anonymous identity (new)
With skill ✅ 5/5
Baseline ❌ 0/5