@gajae-code/coding-agent 0.6.4 → 0.6.5
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.
- package/CHANGELOG.md +22 -0
- package/dist/types/cli/migrate-cli.d.ts +20 -0
- package/dist/types/commands/migrate.d.ts +33 -0
- package/dist/types/config/keybindings.d.ts +4 -0
- package/dist/types/gjc-runtime/deep-interview-recorder.d.ts +2 -0
- package/dist/types/gjc-runtime/deep-interview-runtime.d.ts +2 -2
- package/dist/types/gjc-runtime/goal-mode-request.d.ts +1 -1
- package/dist/types/gjc-runtime/session-layout.d.ts +59 -0
- package/dist/types/gjc-runtime/session-resolution.d.ts +47 -0
- package/dist/types/gjc-runtime/state-graph.d.ts +1 -1
- package/dist/types/gjc-runtime/state-runtime.d.ts +5 -4
- package/dist/types/gjc-runtime/state-schema.d.ts +2 -0
- package/dist/types/gjc-runtime/state-writer.d.ts +36 -7
- package/dist/types/gjc-runtime/ultragoal-runtime.d.ts +7 -4
- package/dist/types/gjc-runtime/workflow-command-ref.d.ts +1 -1
- package/dist/types/gjc-runtime/workflow-manifest.d.ts +1 -1
- package/dist/types/harness-control-plane/storage.d.ts +2 -1
- package/dist/types/hooks/skill-state.d.ts +12 -4
- package/dist/types/migrate/action-planner.d.ts +11 -0
- package/dist/types/migrate/adapters/claude-code.d.ts +2 -0
- package/dist/types/migrate/adapters/codex.d.ts +5 -0
- package/dist/types/migrate/adapters/index.d.ts +45 -0
- package/dist/types/migrate/adapters/opencode.d.ts +2 -0
- package/dist/types/migrate/executor.d.ts +2 -0
- package/dist/types/migrate/mcp-mapper.d.ts +20 -0
- package/dist/types/migrate/report.d.ts +18 -0
- package/dist/types/migrate/skill-normalizer.d.ts +27 -0
- package/dist/types/migrate/types.d.ts +126 -0
- package/dist/types/modes/components/custom-editor.d.ts +1 -1
- package/dist/types/modes/shared/agent-wire/unattended-audit.d.ts +1 -1
- package/dist/types/research-plan/index.d.ts +1 -0
- package/dist/types/research-plan/ledger.d.ts +33 -0
- package/dist/types/rlm/artifacts.d.ts +1 -1
- package/dist/types/runtime-mcp/config-writer.d.ts +26 -0
- package/dist/types/skill-state/active-state.d.ts +6 -11
- package/dist/types/skill-state/canonical-skills.d.ts +3 -0
- package/dist/types/skill-state/workflow-hud.d.ts +2 -0
- package/dist/types/task/spawn-gate.d.ts +1 -10
- package/package.json +7 -7
- package/src/cli/migrate-cli.ts +106 -0
- package/src/cli.ts +1 -0
- package/src/commands/deep-interview.ts +2 -2
- package/src/commands/migrate.ts +46 -0
- package/src/commands/state.ts +2 -1
- package/src/commands/team.ts +7 -3
- package/src/coordinator-mcp/policy.ts +10 -2
- package/src/defaults/gjc/extensions/grok-cli-vendor/biome.json +0 -1
- package/src/defaults/gjc/skills/deep-interview/SKILL.md +28 -24
- package/src/defaults/gjc/skills/ralplan/SKILL.md +8 -4
- package/src/defaults/gjc/skills/team/SKILL.md +51 -47
- package/src/defaults/gjc/skills/ultragoal/SKILL.md +17 -13
- package/src/extensibility/custom-commands/loader.ts +0 -7
- package/src/extensibility/gjc-plugins/injection.ts +23 -4
- package/src/extensibility/gjc-plugins/state.ts +16 -1
- package/src/gjc-runtime/deep-interview-recorder.ts +43 -18
- package/src/gjc-runtime/deep-interview-runtime.ts +49 -23
- package/src/gjc-runtime/goal-mode-request.ts +26 -11
- package/src/gjc-runtime/launch-tmux.ts +6 -1
- package/src/gjc-runtime/ralplan-runtime.ts +79 -50
- package/src/gjc-runtime/session-layout.ts +180 -0
- package/src/gjc-runtime/session-resolution.ts +217 -0
- package/src/gjc-runtime/state-graph.ts +1 -2
- package/src/gjc-runtime/state-migrations.ts +1 -0
- package/src/gjc-runtime/state-runtime.ts +230 -121
- package/src/gjc-runtime/state-schema.ts +2 -0
- package/src/gjc-runtime/state-writer.ts +289 -41
- package/src/gjc-runtime/team-runtime.ts +43 -19
- package/src/gjc-runtime/tmux-sessions.ts +7 -1
- package/src/gjc-runtime/ultragoal-guard.ts +45 -2
- package/src/gjc-runtime/ultragoal-runtime.ts +121 -41
- package/src/gjc-runtime/workflow-command-ref.ts +1 -2
- package/src/gjc-runtime/workflow-manifest.ts +1 -2
- package/src/harness-control-plane/storage.ts +14 -4
- package/src/hooks/native-skill-hook.ts +38 -12
- package/src/hooks/skill-state.ts +178 -83
- package/src/internal-urls/docs-index.generated.ts +6 -4
- package/src/migrate/action-planner.ts +318 -0
- package/src/migrate/adapters/claude-code.ts +39 -0
- package/src/migrate/adapters/codex.ts +70 -0
- package/src/migrate/adapters/index.ts +277 -0
- package/src/migrate/adapters/opencode.ts +52 -0
- package/src/migrate/executor.ts +81 -0
- package/src/migrate/mcp-mapper.ts +152 -0
- package/src/migrate/report.ts +104 -0
- package/src/migrate/skill-normalizer.ts +80 -0
- package/src/migrate/types.ts +163 -0
- package/src/modes/bridge/bridge-mode.ts +2 -2
- package/src/modes/components/custom-editor.ts +30 -20
- package/src/modes/rpc/rpc-mode.ts +2 -2
- package/src/modes/shared/agent-wire/unattended-audit.ts +3 -2
- package/src/prompts/agents/init.md +1 -1
- package/src/prompts/system/plan-mode-active.md +1 -1
- package/src/prompts/tools/ast-grep.md +1 -1
- package/src/prompts/tools/search.md +1 -1
- package/src/prompts/tools/task.md +1 -2
- package/src/research-plan/index.ts +1 -0
- package/src/research-plan/ledger.ts +177 -0
- package/src/rlm/artifacts.ts +12 -3
- package/src/rlm/index.ts +7 -0
- package/src/runtime-mcp/config-writer.ts +46 -0
- package/src/session/agent-session.ts +15 -21
- package/src/setup/hermes-setup.ts +1 -1
- package/src/skill-state/active-state.ts +72 -108
- package/src/skill-state/canonical-skills.ts +4 -0
- package/src/skill-state/deep-interview-mutation-guard.ts +28 -109
- package/src/skill-state/workflow-hud.ts +4 -2
- package/src/skill-state/workflow-state-contract.ts +3 -3
- package/src/task/agents.ts +1 -22
- package/src/task/index.ts +1 -41
- package/src/task/spawn-gate.ts +1 -38
- package/src/task/types.ts +1 -1
- package/src/tools/ask.ts +34 -12
- package/src/tools/computer.ts +58 -4
- package/dist/types/extensibility/custom-commands/bundled/review/index.d.ts +0 -10
- package/src/extensibility/custom-commands/bundled/review/index.ts +0 -456
- package/src/prompts/agents/explore.md +0 -58
- package/src/prompts/agents/plan.md +0 -49
- package/src/prompts/agents/reviewer.md +0 -141
- package/src/prompts/agents/task.md +0 -16
- package/src/prompts/review-request.md +0 -70
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
You are a worker agent for delegated tasks.
|
|
2
|
-
|
|
3
|
-
You have FULL access to all tools (edit, write, bash, search, read, etc.) and you MUST use them as needed to complete your task.
|
|
4
|
-
|
|
5
|
-
You MUST maintain hyperfocus on the task at hand, do not deviate from what was assigned to you.
|
|
6
|
-
|
|
7
|
-
<directives>
|
|
8
|
-
- You MUST finish only the assigned work and return the minimum useful result. Do not repeat what you have written to the filesystem.
|
|
9
|
-
- You MAY make file edits, run commands, and create files when your task requires it—and SHOULD do so.
|
|
10
|
-
- You MUST be concise. You NEVER include filler, repetition, or tool transcripts. User cannot even see you. Your result is just the notes you are leaving for yourself.
|
|
11
|
-
- You SHOULD prefer narrow lookups (`search`/`find`) then read only needed ranges. Do not bother yourself with anything beyond your current scope.
|
|
12
|
-
- AVOID full-file reads unless necessary.
|
|
13
|
-
- You SHOULD prefer edits to existing files over creating new ones.
|
|
14
|
-
- You NEVER create documentation files (*.md) unless explicitly requested.
|
|
15
|
-
- You MUST follow the assignment and the instructions given to you. You gave them for a reason.
|
|
16
|
-
</directives>
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
## Code Review Request
|
|
2
|
-
|
|
3
|
-
### Mode
|
|
4
|
-
|
|
5
|
-
{{mode}}
|
|
6
|
-
|
|
7
|
-
### Changed Files ({{len files}} files, +{{totalAdded}}/-{{totalRemoved}} lines)
|
|
8
|
-
|
|
9
|
-
{{#if files.length}}
|
|
10
|
-
{{#table files headers="File|+/-|Type"}}
|
|
11
|
-
{{path}} | +{{linesAdded}}/-{{linesRemoved}} | {{ext}}
|
|
12
|
-
{{/table}}
|
|
13
|
-
{{else}}
|
|
14
|
-
_No files to review._
|
|
15
|
-
{{/if}}
|
|
16
|
-
{{#if excluded.length}}
|
|
17
|
-
### Excluded Files ({{len excluded}})
|
|
18
|
-
|
|
19
|
-
{{#list excluded prefix="- " join="\n"}}
|
|
20
|
-
`{{path}}` (+{{linesAdded}}/-{{linesRemoved}}) — {{reason}}
|
|
21
|
-
{{/list}}
|
|
22
|
-
{{/if}}
|
|
23
|
-
|
|
24
|
-
### Distribution Guidelines
|
|
25
|
-
|
|
26
|
-
{{#when agentCount "==" 1}}Use **1 reviewer agent**.{{else}}Spawn **{{agentCount}} reviewer agents** in parallel.{{/when}}
|
|
27
|
-
{{#if multiAgent}}
|
|
28
|
-
Group files by locality, e.g.:
|
|
29
|
-
- Same directory/module → same agent
|
|
30
|
-
- Related functionality → same agent
|
|
31
|
-
- Tests with their implementation files → same agent
|
|
32
|
-
|
|
33
|
-
You MUST use Task tool with `agent: "reviewer"` and `tasks` array.
|
|
34
|
-
{{/if}}
|
|
35
|
-
|
|
36
|
-
### Reviewer Instructions
|
|
37
|
-
|
|
38
|
-
Reviewer MUST:
|
|
39
|
-
1. Focus ONLY on assigned files
|
|
40
|
-
2. {{#if skipDiff}}MUST run `git diff`/`git show` for assigned files{{else}}MUST use diff hunks below (NEVER re-run git diff){{/if}}
|
|
41
|
-
3. MAY read full file context as needed via `read`
|
|
42
|
-
4. Call `report_finding` per issue
|
|
43
|
-
5. Call `yield` with verdict when done
|
|
44
|
-
|
|
45
|
-
{{#if skipDiff}}
|
|
46
|
-
### Diff Previews
|
|
47
|
-
|
|
48
|
-
_Full diff too large ({{len files}} files). Showing first ~{{linesPerFile}} lines per file._
|
|
49
|
-
|
|
50
|
-
{{#list files join="\n\n"}}
|
|
51
|
-
#### {{path}}
|
|
52
|
-
|
|
53
|
-
{{#codeblock lang="diff"}}
|
|
54
|
-
{{hunksPreview}}
|
|
55
|
-
{{/codeblock}}
|
|
56
|
-
{{/list}}
|
|
57
|
-
{{else}}
|
|
58
|
-
|
|
59
|
-
### Diff
|
|
60
|
-
|
|
61
|
-
<diff>
|
|
62
|
-
{{rawDiff}}
|
|
63
|
-
</diff>
|
|
64
|
-
{{/if}}
|
|
65
|
-
|
|
66
|
-
{{#if additionalInstructions}}
|
|
67
|
-
### Additional Instructions
|
|
68
|
-
|
|
69
|
-
{{additionalInstructions}}
|
|
70
|
-
{{/if}}
|