@kenkaiiii/ggcoder 4.3.186 → 4.3.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-commands.d.ts","sourceRoot":"","sources":["../../src/core/prompt-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"prompt-commands.d.ts","sourceRoot":"","sources":["../../src/core/prompt-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,EAoyC1C,CAAC;AAEF,gDAAgD;AAChD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAExE"}
|
|
@@ -27,11 +27,12 @@ Each sub-agent must return only candidates with file:line ranges, estimated line
|
|
|
27
27
|
|
|
28
28
|
For every candidate, validate it yourself before reporting it:
|
|
29
29
|
|
|
30
|
-
1. Search for references with grep/find and language-aware patterns where possible.
|
|
30
|
+
1. Search for references with grep/find and language-aware patterns where possible, including exact symbol names, filenames, route names, config keys, CLI command names, test names, and documented examples.
|
|
31
31
|
2. Check exports and package/public entrypoints before marking anything removable.
|
|
32
|
-
3. Check framework conventions and dynamic lookup risks before marking anything removable.
|
|
32
|
+
3. Check framework conventions and dynamic lookup risks before marking anything removable. Use official docs when a framework/tool convention could imply usage without direct imports.
|
|
33
33
|
4. Check whether removing it would change public API, CLI behavior, routes, config support, migration behavior, generated artifacts, docs examples, tests, or side effects.
|
|
34
|
-
5.
|
|
34
|
+
5. For code-level removal tasks, kencode search is secondary: use it only to verify framework/tool conventions or common generated-code patterns that could make code appear unused locally. Do not treat absence from public code search as proof that local code is dead.
|
|
35
|
+
6. If evidence is incomplete, mark safety as Low or drop the finding.
|
|
35
36
|
|
|
36
37
|
## What counts as dead code
|
|
37
38
|
|
|
@@ -78,11 +79,13 @@ Rules:
|
|
|
78
79
|
After the table, ask exactly:
|
|
79
80
|
|
|
80
81
|
What should I do?
|
|
81
|
-
A)
|
|
82
|
-
B)
|
|
82
|
+
A) Create tasks to remove all High-safety dead code
|
|
83
|
+
B) Create tasks to remove only top priorities
|
|
83
84
|
C) Skip
|
|
84
85
|
|
|
85
|
-
Do not start deleting or editing until the user chooses
|
|
86
|
+
Do not start deleting or editing until the user chooses.
|
|
87
|
+
|
|
88
|
+
If the user chooses A or B, do not remove code directly. Instead, use the tasks tool to create one task per selected removal or tightly coupled removal group, ordered by dependency and risk. Each task prompt must be standalone and include the exact locations, safety evidence, reference-search requirements, removal instructions, project verification commands, and instructions to prove the removal did not delete used code before marking the task complete. That proof must include fresh local reference searches after editing, relevant project checks/tests, and official-docs or kencode comparison only where framework/tool conventions or generated-code patterns could imply hidden usage. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.`,
|
|
86
89
|
},
|
|
87
90
|
{
|
|
88
91
|
name: "verify",
|
|
@@ -149,11 +152,13 @@ Rules:
|
|
|
149
152
|
After the table, ask exactly:
|
|
150
153
|
|
|
151
154
|
Which should I do?
|
|
152
|
-
A)
|
|
153
|
-
B)
|
|
155
|
+
A) Create tasks to refine and adjust all
|
|
156
|
+
B) Create tasks for just top priorities
|
|
154
157
|
C) Skip
|
|
155
158
|
|
|
156
|
-
Do not start fixing until the user chooses
|
|
159
|
+
Do not start fixing until the user chooses.
|
|
160
|
+
|
|
161
|
+
If the user chooses A or B, do not fix directly. Instead, use the tasks tool to create one task per selected finding or tightly coupled finding group, ordered by dependency and priority. Each task prompt must be standalone and include the finding, affected local files/anchors, kencode evidence from the report, instructions to compare the approach with kencode search before editing, implementation instructions, project verification commands, and instructions to compare the final implementation with kencode search again before marking the task complete. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.`,
|
|
157
162
|
},
|
|
158
163
|
{
|
|
159
164
|
name: "expand",
|
|
@@ -253,12 +258,26 @@ Rules:
|
|
|
253
258
|
After the tables, ask exactly:
|
|
254
259
|
|
|
255
260
|
What should I do?
|
|
256
|
-
A)
|
|
257
|
-
B)
|
|
261
|
+
A) Create tasks for all P0/P1 gaps
|
|
262
|
+
B) Create tasks for only the top priority gap from each category
|
|
258
263
|
C) Create an implementation plan first
|
|
259
264
|
D) Skip
|
|
260
265
|
|
|
261
|
-
Do not start implementing until the user chooses
|
|
266
|
+
Do not start implementing until the user chooses.
|
|
267
|
+
|
|
268
|
+
If the user chooses A, B, or C, do not implement gaps or write the plan directly. Instead, use the tasks tool:
|
|
269
|
+
|
|
270
|
+
- For A or B: create one implementation task per selected gap, ordered by dependency and priority.
|
|
271
|
+
- For C: create one planning task that produces the implementation plan, with enough source evidence and local anchors to be standalone.
|
|
272
|
+
|
|
273
|
+
Each task prompt must be standalone and include:
|
|
274
|
+
|
|
275
|
+
1. The specific gap or planning scope, including relevant local files/anchors and source evidence from the /expand report.
|
|
276
|
+
2. Instructions to compare the implementation approach with kencode search before editing, using literal code tokens and current real-world examples.
|
|
277
|
+
3. Instructions to implement the gap or plan the implementation in the local codebase.
|
|
278
|
+
4. Instructions to verify correctness after implementation by running project checks and by comparing the final implementation with kencode search again before marking the task complete. For planning tasks, require kencode-backed implementation references in the plan.
|
|
279
|
+
|
|
280
|
+
After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.`,
|
|
262
281
|
},
|
|
263
282
|
{
|
|
264
283
|
name: "bullet-proof",
|
|
@@ -395,13 +414,15 @@ Threat model: [from recon]
|
|
|
395
414
|
After the report, ask:
|
|
396
415
|
|
|
397
416
|
> Which (if any) should I fix? Options:
|
|
398
|
-
> - A)
|
|
399
|
-
> - B)
|
|
400
|
-
> - C)
|
|
417
|
+
> - A) Create tasks for all Critical + High
|
|
418
|
+
> - B) Create tasks for specific findings (give IDs, e.g. "BP-001, BP-004")
|
|
419
|
+
> - C) Create tasks for a category (auth, supply chain, secrets, …)
|
|
401
420
|
> - D) None — report only
|
|
402
421
|
|
|
403
422
|
**Do not start fixing until the user picks.**
|
|
404
423
|
|
|
424
|
+
If the user chooses A, B, or C, do not fix directly. Instead, use the tasks tool to create one task per selected finding or tightly coupled finding group, ordered by severity, exploitability, and dependency. Each task prompt must be standalone and include the finding ID, vulnerability scenario, affected local files/anchors, concrete remediation, instructions to compare security-sensitive implementation details with kencode search or authoritative docs before editing, project verification commands, and instructions to compare the final fix with kencode search or authoritative docs again before marking the task complete. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.
|
|
425
|
+
|
|
405
426
|
## Threat reference (May 2026)
|
|
406
427
|
|
|
407
428
|
Cite these as needed per audit. Do not dump them into the report — use them to verify whether a candidate is actually reachable.
|
|
@@ -454,7 +475,7 @@ Cite these as needed per audit. Do not dump them into the report — use them to
|
|
|
454
475
|
|
|
455
476
|
First, if it's not clear what the project is building, ask me to describe the features, target platform, and any constraints. If you can infer this from the codebase, proceed directly.
|
|
456
477
|
|
|
457
|
-
Then spawn 6 sub-agents in parallel using the subagent tool (call the subagent tool 6 times in a single response, each with a different task). Every agent must verify ALL recommendations - no training-data assumptions allowed.
|
|
478
|
+
Then spawn 6 sub-agents in parallel using the subagent tool (call the subagent tool 6 times in a single response, each with a different task). Every agent must verify ALL recommendations with current official docs, package registries, releases, or maintained source repositories - no training-data assumptions allowed. Use kencode search for architecture and implementation-shape comparisons where real code examples matter.
|
|
458
479
|
|
|
459
480
|
**Agent 1 - Project Scan**: Read the current working directory. Catalog what already exists: config files, installed deps, directory structure, language/framework already chosen. Report exactly what's in place.
|
|
460
481
|
|
|
@@ -470,10 +491,11 @@ Then spawn 6 sub-agents in parallel using the subagent tool (call the subagent t
|
|
|
470
491
|
|
|
471
492
|
## Agent Rules
|
|
472
493
|
|
|
473
|
-
1. Every recommendation MUST be verified - no guessing
|
|
474
|
-
2. Confirm latest stable versions - do not assume version numbers
|
|
475
|
-
3.
|
|
476
|
-
4.
|
|
494
|
+
1. Every recommendation MUST be verified with a source URL/date - no guessing
|
|
495
|
+
2. Confirm latest stable versions from official registries or release pages - do not assume version numbers
|
|
496
|
+
3. Verify CLI flags, config keys, and file formats against official docs before recommending them
|
|
497
|
+
4. Pick ONE best option per category - no "you could also use X"
|
|
498
|
+
5. No prose, no hedging, no alternatives lists - decisive answers only
|
|
477
499
|
|
|
478
500
|
## Output
|
|
479
501
|
|
|
@@ -511,7 +533,7 @@ Stack: [framework + language + runtime]
|
|
|
511
533
|
[URLs used for verification]
|
|
512
534
|
\`\`\`
|
|
513
535
|
|
|
514
|
-
Write the file, then summarize what was researched.`,
|
|
536
|
+
Write the file, then summarize what was researched and list the verification sources used. If any recommendation could not be verified from current official sources or maintained repos, omit it rather than guessing.`,
|
|
515
537
|
},
|
|
516
538
|
{
|
|
517
539
|
name: "init",
|
|
@@ -550,7 +572,7 @@ Check for config files:
|
|
|
550
572
|
- go.mod -> Go
|
|
551
573
|
- Cargo.toml -> Rust
|
|
552
574
|
|
|
553
|
-
Extract exact commands that are useful project facts. Do not restate generic "run checks after edits" behavior unless this project requires a stricter command sequence than the system prompt's Verification section.
|
|
575
|
+
Extract exact commands that are useful project facts. Verify commands against local package scripts, manifests, Makefiles, CI, or documented project workflows; do not invent commands from convention alone. Do not restate generic "run checks after edits" behavior unless this project requires a stricter command sequence than the system prompt's Verification section.
|
|
554
576
|
|
|
555
577
|
## Step 4: Generate Project Tree
|
|
556
578
|
|
|
@@ -568,7 +590,7 @@ Create CLAUDE.md with only sections that add project-specific value. Prefer this
|
|
|
568
590
|
|
|
569
591
|
Avoid generic sections named "Code Quality", "Organization Rules", or "How to Work" unless every bullet is specific to this project. Do not duplicate language style packs or generic verification rules.
|
|
570
592
|
|
|
571
|
-
Keep total file under 100 lines. If updating, preserve any custom sections the user added.
|
|
593
|
+
Keep total file under 100 lines. If updating, preserve any custom sections the user added. After writing, re-read CLAUDE.md and confirm it contains only project-specific facts supported by local files.
|
|
572
594
|
|
|
573
595
|
## Step 6: Restart Notice
|
|
574
596
|
|
|
@@ -604,7 +626,7 @@ Based on the project type, check if linting/typechecking tools are already confi
|
|
|
604
626
|
|
|
605
627
|
## Step 3: Install Missing Tools (if needed)
|
|
606
628
|
|
|
607
|
-
Only install what's missing. Use the detected package manager.
|
|
629
|
+
Only install what's missing. Use the detected package manager. Before installing or writing config, verify current recommended setup, CLI flags, and config filenames against official docs for the selected tools.
|
|
608
630
|
|
|
609
631
|
## Step 4: Generate /fix Command
|
|
610
632
|
|
|
@@ -642,7 +664,7 @@ Replace [INSERT PROJECT-SPECIFIC COMMANDS] with the actual commands for the dete
|
|
|
642
664
|
|
|
643
665
|
## Step 5: Confirm
|
|
644
666
|
|
|
645
|
-
Report what was detected, what was installed, and that /fix is now available.`,
|
|
667
|
+
Report what was detected, what official docs or local configs were used to verify it, what was installed, and that /fix is now available.`,
|
|
646
668
|
},
|
|
647
669
|
{
|
|
648
670
|
name: "setup-commit",
|
|
@@ -654,9 +676,11 @@ Report what was detected, what was installed, and that /fix is now available.`,
|
|
|
654
676
|
|
|
655
677
|
Check for config files and extract the lint/typecheck commands:
|
|
656
678
|
- package.json -> Extract lint, typecheck scripts
|
|
657
|
-
- pyproject.toml -> Use mypy, pylint/ruff
|
|
658
|
-
- go.mod -> Use go vet
|
|
659
|
-
- Cargo.toml -> Use cargo clippy
|
|
679
|
+
- pyproject.toml -> Use configured mypy, pylint/ruff commands
|
|
680
|
+
- go.mod -> Use configured go vet/gofmt/staticcheck commands
|
|
681
|
+
- Cargo.toml -> Use configured cargo clippy/fmt commands
|
|
682
|
+
|
|
683
|
+
Prefer existing project scripts. If you must synthesize a command from tool conventions, verify the current CLI flags against official docs first.
|
|
660
684
|
|
|
661
685
|
## Step 2: Generate /commit Command
|
|
662
686
|
|
|
@@ -691,7 +715,7 @@ Keep the command file under 20 lines.
|
|
|
691
715
|
|
|
692
716
|
## Step 3: Confirm
|
|
693
717
|
|
|
694
|
-
Report that /commit is now available with quality checks and AI-generated commit messages.`,
|
|
718
|
+
Report that /commit is now available with quality checks and AI-generated commit messages, and mention which local scripts/docs verified the commands.`,
|
|
695
719
|
},
|
|
696
720
|
{
|
|
697
721
|
name: "setup-tests",
|
|
@@ -705,7 +729,7 @@ Detect the project type, framework, and architecture. Identify all critical busi
|
|
|
705
729
|
|
|
706
730
|
## Step 2: Determine Testing Strategy
|
|
707
731
|
|
|
708
|
-
Use these tools based on project type (2025-2026 best practices):
|
|
732
|
+
Use these tools based on project type (2025-2026 best practices), but verify current versions, install commands, config files, and runner flags against official docs before installing anything:
|
|
709
733
|
|
|
710
734
|
| Language | Unit/Integration | E2E | Notes |
|
|
711
735
|
|----------|------------------|-----|-------|
|
|
@@ -724,7 +748,7 @@ Spawn 4 sub-agents in parallel using the subagent tool (call the subagent tool 4
|
|
|
724
748
|
**Agent 3 - Integration Tests**: Create integration tests for APIs, database operations, and service interactions
|
|
725
749
|
**Agent 4 - E2E Tests** (if applicable): Create end-to-end tests for critical user flows
|
|
726
750
|
|
|
727
|
-
Each agent should create COMPREHENSIVE tests covering all critical code paths - not just samples.
|
|
751
|
+
Each agent should create COMPREHENSIVE tests covering all critical code paths - not just samples. Each agent must verify test framework APIs and helper patterns against official docs or current maintained examples before adding tests.
|
|
728
752
|
|
|
729
753
|
## Step 4: Verify and Generate /test Command
|
|
730
754
|
|
|
@@ -757,7 +781,7 @@ Replace placeholders with the actual test commands for this project.
|
|
|
757
781
|
|
|
758
782
|
## Step 5: Report
|
|
759
783
|
|
|
760
|
-
Summarize what was set up, how many tests were created, and that /test is now available.`,
|
|
784
|
+
Summarize what was set up, how many tests were created, what official docs/current examples verified the setup, and that /test is now available.`,
|
|
761
785
|
},
|
|
762
786
|
{
|
|
763
787
|
name: "setup-update",
|
|
@@ -805,7 +829,7 @@ Run a clean install and read ALL output carefully. Look for:
|
|
|
805
829
|
## Step 4: Fix Issues
|
|
806
830
|
|
|
807
831
|
For each warning/deprecation:
|
|
808
|
-
1. Research the recommended replacement or fix
|
|
832
|
+
1. Research the recommended replacement or fix using official changelogs, migration guides, advisories, or package docs
|
|
809
833
|
2. Update code/dependencies accordingly
|
|
810
834
|
3. Re-run installation
|
|
811
835
|
4. Verify no warnings remain
|
|
@@ -825,7 +849,7 @@ Replace all placeholders with the actual commands for the detected project type
|
|
|
825
849
|
|
|
826
850
|
## Step 3: Confirm
|
|
827
851
|
|
|
828
|
-
Report that /update is now available with dependency updates, security audits, and deprecation fixes.`,
|
|
852
|
+
Report that /update is now available with dependency updates, security audits, and deprecation fixes, and mention that generated update steps require official changelog/migration-guide verification before applying changes.`,
|
|
829
853
|
},
|
|
830
854
|
{
|
|
831
855
|
name: "setup-eyes",
|
|
@@ -839,7 +863,7 @@ Build the perception probes this project needs and document them in CLAUDE.md so
|
|
|
839
863
|
|
|
840
864
|
1. \`ggcoder eyes list\` — see what's already installed/verified. **Resume**, don't restart. Skip verified probes; re-run failed ones.
|
|
841
865
|
2. \`ggcoder eyes detect\` — emits JSON of \`{capability: {candidates, primary}}\` for this project.
|
|
842
|
-
3. **Pick 3–8 capabilities to install this run.** Heuristics:
|
|
866
|
+
3. **Pick 3–8 capabilities to install this run.** Verify any capability assumptions against \`ggcoder eyes\` help output or official/local CLI docs before installing. Heuristics:
|
|
843
867
|
- Universal: \`http\` for any API/backend, \`runtime_logs\` for anything with a server.
|
|
844
868
|
- UI: \`visual\` — for multi-stack projects (e.g. React Native), install all primary candidates with distinct names: \`install visual --impl playwright --as visual-web\`, \`install visual --impl adb --as visual-android\`, \`install visual --impl simctl --as visual-ios\`.
|
|
845
869
|
- Backend with email/webhooks: \`capture_email\`, \`capture_webhook\`.
|
|
@@ -847,7 +871,7 @@ Build the perception probes this project needs and document them in CLAUDE.md so
|
|
|
847
871
|
4. For each pick: \`ggcoder eyes install <cap> [--impl <name>] [--as <name>]\`. On failure: retry once, then mark and continue — don't abort the whole run.
|
|
848
872
|
5. \`ggcoder eyes verify\` — runs every installed probe's self-test. Some failures (\`adb\` no device, \`simctl\` no booted simulator) are expected; they get recorded.
|
|
849
873
|
6. **Write/update the \`## Eyes\` section in CLAUDE.md** (create CLAUDE.md if missing; do NOT clobber other sections). Use the template below. The triggers are the load-bearing piece — make them project-specific and actionable.
|
|
850
|
-
7. **Report**: list verified ✓ / failed ✗ / deferred. End with the restart notice.
|
|
874
|
+
7. **Report**: list verified ✓ / failed ✗ / deferred, and note which probe self-tests or docs verified the setup. End with the restart notice.
|
|
851
875
|
|
|
852
876
|
## CLAUDE.md \`## Eyes\` template
|
|
853
877
|
|
|
@@ -931,9 +955,9 @@ Read the open signals in \`.gg/eyes/journal.jsonl\`, group related ones, propose
|
|
|
931
955
|
- **New/updated trigger**: bullet added under \`## Eyes → When to use\` in CLAUDE.md.
|
|
932
956
|
5. Present all proposals as a numbered list with diffs inline. Ask: **"Accept which? Reply with numbers (e.g. '1, 3') or 'none'."**
|
|
933
957
|
6. On user reply:
|
|
934
|
-
- For accepted: apply the change. Then \`ggcoder eyes log ack <id>\` for every journal entry the proposal covers.
|
|
958
|
+
- For accepted: apply the change. Then run the relevant probe self-test or a focused command that exercises the changed probe/trigger. Then \`ggcoder eyes log ack <id>\` for every journal entry the proposal covers.
|
|
935
959
|
- For unmentioned / rejected: \`ggcoder eyes log defer <id>\` so they stop appearing in context every turn. The user can resurrect deferred entries later.
|
|
936
|
-
7. **Report**: applied changes (one line each), entries acked, entries deferred.
|
|
960
|
+
7. **Report**: applied changes (one line each), verification run, entries acked, entries deferred.
|
|
937
961
|
|
|
938
962
|
## Rules
|
|
939
963
|
|
|
@@ -995,7 +1019,9 @@ Review the same changes for efficiency:
|
|
|
995
1019
|
|
|
996
1020
|
Wait for all three agents to complete. Aggregate their findings and fix each issue directly. If a finding is a false positive or not worth addressing, note it and move on — do not argue with the finding, just skip it.
|
|
997
1021
|
|
|
998
|
-
|
|
1022
|
+
Before making any non-trivial pattern/API change, verify the intended approach against local neighboring code first; use kencode search or official docs when the change touches framework APIs, lifecycle behavior, concurrency, cleanup, or other conventions where real-world practice matters.
|
|
1023
|
+
|
|
1024
|
+
When done, run relevant project checks/tests, then briefly summarize what was fixed (or confirm the code was already clean) and what verification ran.`,
|
|
999
1025
|
},
|
|
1000
1026
|
{
|
|
1001
1027
|
name: "batch",
|
|
@@ -1057,11 +1083,12 @@ For each worker, the task must be fully self-contained. Include:
|
|
|
1057
1083
|
\`\`\`
|
|
1058
1084
|
After you finish implementing the change:
|
|
1059
1085
|
1. Self-review your diff for code reuse, quality, and efficiency. Search the codebase for existing utilities that could replace new code. Fix any issues found.
|
|
1060
|
-
2.
|
|
1061
|
-
3.
|
|
1062
|
-
4.
|
|
1063
|
-
5.
|
|
1064
|
-
6.
|
|
1086
|
+
2. For framework/API/config changes, compare the approach with official docs or kencode search examples before finalizing. Do not use kencode for purely local renames or mechanical edits.
|
|
1087
|
+
3. Run the project's test suite (check for package.json scripts, Makefile targets, or common commands like npm test, pnpm test, pytest, go test). If tests fail, fix them.
|
|
1088
|
+
4. Follow the e2e test recipe above. If it says to skip e2e, skip it.
|
|
1089
|
+
5. Commit all changes with a clear message, push the branch, and create a PR with gh pr create. Use a descriptive title.
|
|
1090
|
+
6. Switch back to the original branch with git checkout -.
|
|
1091
|
+
7. End with exactly: PR: <url> or PR: none — <reason>
|
|
1065
1092
|
\`\`\`
|
|
1066
1093
|
|
|
1067
1094
|
## Phase 4: Track Results
|
|
@@ -1157,7 +1184,7 @@ Don't invent. Don't pad.
|
|
|
1157
1184
|
|
|
1158
1185
|
After all sub-agents complete, use the **skill** tool to invoke the \`find-skills\` skill. Feed it the aggregated candidate list with search terms. Let find-skills drive discovery across skills.sh, vercel-labs/agent-skills, and anthropics/skills.
|
|
1159
1186
|
|
|
1160
|
-
For each candidate, record the best 0–1 ecosystem match: skill name, source repo URL. If no fit exists, record "no match". **Do NOT install anything yet.**
|
|
1187
|
+
For each candidate, record the best 0–1 ecosystem match: skill name, source repo URL, and enough evidence from the skill README/source to prove it fits this project. If no fit exists, record "no match". **Do NOT install anything yet.**
|
|
1161
1188
|
|
|
1162
1189
|
## Phase 5: Prioritized recommendation
|
|
1163
1190
|
|
|
@@ -1240,7 +1267,7 @@ Report which are present, missing, or configured below the pack's strictness rec
|
|
|
1240
1267
|
|
|
1241
1268
|
"Active style packs" refers specifically to the per-language sub-sections inside the **Language Style Packs** section in your system prompt (e.g. \`### TypeScript\`, \`### Python\`, \`### Go\`). It does **NOT** include the cross-cutting \`### Agent-Written Code\` preamble that sits above them — those are guidelines for how code is *written*, not project-scaffolding to audit. It also does **NOT** include Skills (\`.gg/skills/\`) or any other extension category. If the Language Style Packs section is absent or empty, **skip this entire section entirely** — do not substitute Skills or any other concept.
|
|
1242
1269
|
|
|
1243
|
-
When per-language packs are present, compare the project against each pack's **Tooling** bullet and the system prompt's **Verification** commands:
|
|
1270
|
+
When per-language packs are present, compare the project against each pack's **Tooling** bullet and the system prompt's **Verification** commands. For tool recommendations or config semantics, verify against official docs when local files are ambiguous:
|
|
1244
1271
|
- Tooling: which strict-mode flags or lint-rule presets does the pack recommend that the project is missing? (e.g. \`tsconfig\` missing \`noUncheckedIndexedAccess\`, \`pyproject\` missing \`[tool.ruff]\`, Go project missing \`golangci-lint\` config).
|
|
1245
1272
|
- Dependencies: list which pack-mentioned libs (Zod, Pydantic, thiserror, anyhow, etc.) the project uses, has an equivalent for, or lacks. **Observation only — no recommendation to install.**
|
|
1246
1273
|
|
|
@@ -1275,15 +1302,16 @@ At the end:
|
|
|
1275
1302
|
<N> gaps in hygiene, <N> in tooling, <N> in verify pipeline, <N> in style-pack alignment.
|
|
1276
1303
|
|
|
1277
1304
|
Which (if any) would you like me to fix? Options:
|
|
1278
|
-
- A)
|
|
1279
|
-
- B)
|
|
1280
|
-
- C)
|
|
1305
|
+
- A) Create tasks for all [GAP] items that are safe + additive (no overwrites)
|
|
1306
|
+
- B) Create tasks for a category: hygiene / tooling / verify / style-pack alignment
|
|
1307
|
+
- C) Create tasks for specific items — tell me which
|
|
1281
1308
|
- D) None — just the report
|
|
1282
1309
|
\`\`\`
|
|
1283
1310
|
|
|
1284
1311
|
## Rules
|
|
1285
1312
|
|
|
1286
1313
|
- **Report only.** No edits, no installs, no commits without explicit user confirmation after the report.
|
|
1314
|
+
- **Task handoff for fixes.** If the user chooses A, B, or C, do not fix directly. Use the tasks tool to create one standalone task per selected gap or tightly coupled gap group. Each task must include the gap, affected files/configs, safe-additive constraints, implementation instructions, project verification commands, and instructions to verify relevant tool/config semantics against official docs before marking the task complete. Use kencode search only for code-level examples, not as proof of scaffolding requirements. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.
|
|
1287
1315
|
- **No code refactors recommended.** This audit is about scaffolding/tooling, not code review. Use \`/scan\` or \`/verify\` for code-level findings.
|
|
1288
1316
|
- **No dependency installations in the report.** Listing them as observations is fine; recommending installation is not — that's the user's call.
|
|
1289
1317
|
- **Skip empty categories.** If a category has no findings, omit it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-commands.js","sourceRoot":"","sources":["../../src/core/prompt-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+BAA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,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;AACxF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenkaiiii/ggcoder",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.188",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI coding agent with OAuth authentication for Anthropic and OpenAI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"string-width": "^8.2.0",
|
|
79
79
|
"wrap-ansi": "^10.0.0",
|
|
80
80
|
"zod": "^4.4.3",
|
|
81
|
-
"@kenkaiiii/
|
|
81
|
+
"@kenkaiiii/ggcoder-eyes": "0.1.2",
|
|
82
82
|
"@kenkaiiii/gg-pixel": "4.3.95",
|
|
83
|
-
"@kenkaiiii/gg-ai": "4.3.
|
|
84
|
-
"@kenkaiiii/
|
|
83
|
+
"@kenkaiiii/gg-ai": "4.3.188",
|
|
84
|
+
"@kenkaiiii/gg-agent": "4.3.188"
|
|
85
85
|
},
|
|
86
86
|
"optionalDependencies": {
|
|
87
87
|
"@huggingface/transformers": "^3.6.0",
|