@kenkaiiii/ggcoder 5.98.2 → 5.99.0
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/assets/skills/gg-guide/SKILL.md +40 -0
- package/assets/skills/gg-guide/references/chat-motion-goals.md +199 -0
- package/assets/skills/gg-guide/references/checklist-and-safety.md +159 -0
- package/assets/skills/gg-guide/references/code-mode.md +208 -0
- package/assets/skills/gg-guide/references/getting-started.md +179 -0
- package/assets/skills/gg-guide/references/ken-and-autopilot.md +154 -0
- package/assets/skills/gg-guide/references/mcp-and-skills.md +176 -0
- package/assets/skills/gg-guide/references/models-and-sign-in.md +180 -0
- package/assets/skills/gg-guide/references/sessions-and-history.md +188 -0
- package/assets/skills/gg-guide/references/settings.md +157 -0
- package/assets/skills/gg-guide/references/troubleshooting-and-data.md +163 -0
- package/dist/app-sidecar/mcp-routes.js +9 -0
- package/dist/app-sidecar/mcp-routes.js.map +1 -1
- package/dist/app-sidecar/mcp-shell-command.d.ts +36 -0
- package/dist/app-sidecar/mcp-shell-command.js +302 -0
- package/dist/app-sidecar/mcp-shell-command.js.map +1 -0
- package/dist/app-sidecar/mcp-sync.d.ts +18 -0
- package/dist/app-sidecar/mcp-sync.js +38 -0
- package/dist/app-sidecar/mcp-sync.js.map +1 -0
- package/dist/app-sidecar/prompt-routes.js +5 -21
- package/dist/app-sidecar/prompt-routes.js.map +1 -1
- package/dist/app-sidecar/route-context.d.ts +3 -1
- package/dist/app-sidecar/shell-routes.js +7 -0
- package/dist/app-sidecar/shell-routes.js.map +1 -1
- package/dist/app-sidecar/workspace-routes.js +35 -0
- package/dist/app-sidecar/workspace-routes.js.map +1 -1
- package/dist/app-sidecar.js +13 -3
- package/dist/app-sidecar.js.map +1 -1
- package/dist/cli/mcp.js +19 -5
- package/dist/cli/mcp.js.map +1 -1
- package/dist/core/agent-session/mcp-tools.d.ts +17 -0
- package/dist/core/agent-session/mcp-tools.js +31 -0
- package/dist/core/agent-session/mcp-tools.js.map +1 -1
- package/dist/core/agent-session.d.ts +24 -0
- package/dist/core/agent-session.js +92 -3
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/mcp/client.d.ts +9 -0
- package/dist/core/mcp/client.js +58 -5
- package/dist/core/mcp/client.js.map +1 -1
- package/dist/core/mcp/oauth-provider.d.ts +7 -1
- package/dist/core/mcp/oauth-provider.js +11 -4
- package/dist/core/mcp/oauth-provider.js.map +1 -1
- package/dist/core/mcp/oauth-store.d.ts +6 -0
- package/dist/core/mcp/oauth-store.js +14 -0
- package/dist/core/mcp/oauth-store.js.map +1 -1
- package/dist/core/mcp/parse-add-command.d.ts +29 -3
- package/dist/core/mcp/parse-add-command.js +196 -26
- package/dist/core/mcp/parse-add-command.js.map +1 -1
- package/dist/core/mcp/store.d.ts +16 -0
- package/dist/core/mcp/store.js +28 -0
- package/dist/core/mcp/store.js.map +1 -1
- package/dist/core/mcp/types.d.ts +9 -0
- package/dist/core/skills.d.ts +2 -0
- package/dist/core/skills.js +5 -0
- package/dist/core/skills.js.map +1 -1
- package/dist/system-prompt.js +1 -1
- package/dist/system-prompt.js.map +1 -1
- package/dist/test-support/system-tools.d.ts +6 -0
- package/dist/test-support/system-tools.js +36 -0
- package/dist/test-support/system-tools.js.map +1 -0
- package/dist/tools/ask-user.js +2 -1
- package/dist/tools/ask-user.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gg-guide
|
|
3
|
+
description: "Only when the user asks how to use GG Coder itself: how or where to do something in the app (models, sessions, settings, MCP, `!` and `/` commands, Checklist, safety, Goals, Motion, Chat, files, errors). Do NOT use for coding work."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GG Coder guide
|
|
7
|
+
|
|
8
|
+
How the GG Coder desktop app works, for answering the user's questions about it. The user is in the desktop app (not the `ggcoder` terminal CLI) unless they say otherwise.
|
|
9
|
+
|
|
10
|
+
## Rules
|
|
11
|
+
|
|
12
|
+
1. Use this only to answer a question the user asked about the app. Don't bring the app's features up unprompted while doing other work.
|
|
13
|
+
2. Read the matching reference below before answering. Answer from it, not from memory: the app changes often. Each page ends with common questions in users' own words.
|
|
14
|
+
3. Use the exact on-screen labels from the reference, in bold, and say where they are (for example **Settings** › **General**).
|
|
15
|
+
4. If the references don't cover it, say so plainly and suggest where to look in the app. Never invent a button, setting or command.
|
|
16
|
+
5. Give the steps the user needs, not whole sections. Answer first, in your reply text. Only after that, if it's something you could do for them (run a Checklist item, a security review, a commit), offer it in one line; don't start it unasked.
|
|
17
|
+
|
|
18
|
+
## Quick answers
|
|
19
|
+
|
|
20
|
+
- New session: **New session** in the **More** panel (the ⋯ key on the bottom bar), or **+ New session** in the project's session list. See `references/sessions-and-history.md`.
|
|
21
|
+
- Change model or thinking: click the model readout in a session to open the **Model** panel. See `references/models-and-sign-in.md`.
|
|
22
|
+
- Improve a prompt before sending: the **Enhance** key next to send. See `references/code-mode.md`.
|
|
23
|
+
- Add an MCP server: give the user the exact line to paste into the chat input, `!claude mcp add …` (from the server's docs). It loads straight away, no restart. Never run `claude mcp add` in your own bash tool: that changes Claude Code's config, not GG Coder's. See `references/mcp-and-skills.md`.
|
|
24
|
+
- Is my app safe / ready to ship: the **Checklist** (Security, Dependencies, Secrets and the rest), or ask for a review. See `references/checklist-and-safety.md`.
|
|
25
|
+
- App problems: the log is `~/.gg/gg-app-sidecar.log`. See `references/troubleshooting-and-data.md`.
|
|
26
|
+
|
|
27
|
+
## References
|
|
28
|
+
|
|
29
|
+
| The question is about | Read |
|
|
30
|
+
|---|---|
|
|
31
|
+
| First run, Home, projects, windows and layout, tray menu, updates, What's new, About, zoom, keyboard shortcuts | `references/getting-started.md` |
|
|
32
|
+
| Sessions: new, resume, import, export, the transcript, answering GG's questions, context and compaction, errors in the chat | `references/sessions-and-history.md` |
|
|
33
|
+
| Code windows: composer, `@` files, attachments, queued messages, `!` commands, `/` commands, schedules, Enhance, plan review, tasks, notes, git and commits, CI | `references/code-mode.md` |
|
|
34
|
+
| Ken, Autopilot, sub-agents and critters, trophies, Radio | `references/ken-and-autopilot.md` |
|
|
35
|
+
| Checklist, project health, making an app safe or ready to ship, and how GG Coder keeps the user safe | `references/checklist-and-safety.md` |
|
|
36
|
+
| Providers and sign-in, plans and keys, choosing a model, thinking levels, local models, usage | `references/models-and-sign-in.md` |
|
|
37
|
+
| Every Settings tab: General, AI Providers, Remote (Telegram), MCP, Steroids, About | `references/settings.md` |
|
|
38
|
+
| MCP servers (panel and `!claude mcp …`), skills, blocked skills | `references/mcp-and-skills.md` |
|
|
39
|
+
| Chat (agents, Brain memory), Motion (videos) and Goals | `references/chat-motion-goals.md` |
|
|
40
|
+
| Files on disk, logs, errors, sign-in and update problems, reporting a bug | `references/troubleshooting-and-data.md` |
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# Chat, Motion and Goals
|
|
2
|
+
|
|
3
|
+
Home has four buttons: **Code**, **Goals**, **Chat** and **Motion**. Code is for working in a project folder. The other three are covered here. Chat and Motion both need a projects folder: set one in **Settings** first.
|
|
4
|
+
|
|
5
|
+
## Chat
|
|
6
|
+
|
|
7
|
+
Chat is for talking things through. You don't need a project.
|
|
8
|
+
|
|
9
|
+
How do I open Chat?
|
|
10
|
+
- On Home, click **Chat**. The **Chats** list opens and shows your earlier chats, with a preview, when each was last active and how many messages it has.
|
|
11
|
+
- Click **+ New chat** to start a new one, or click an earlier chat to pick it up again.
|
|
12
|
+
- If no projects folder is set, the list says: "Choose a projects folder in Settings before starting a chat."
|
|
13
|
+
|
|
14
|
+
What are the chat agents?
|
|
15
|
+
- There are three. The window header shows which one is active: General, Therapist or Research.
|
|
16
|
+
- General handles broad, everyday conversation.
|
|
17
|
+
- Therapist handles emotional support, reflection, coping, relationships and wellbeing.
|
|
18
|
+
- Research handles evidence, sources, current information, comparisons and deep analysis.
|
|
19
|
+
- New chats start with General unless they continue from another agent.
|
|
20
|
+
|
|
21
|
+
How do I switch agents?
|
|
22
|
+
- The agents hand the conversation to each other. When the main need of a chat clearly changes, the active agent passes the whole conversation to a better-suited one, and the header label changes.
|
|
23
|
+
- A handoff keeps the full conversation history. It lasts until the next handoff and isn't a one-off side task.
|
|
24
|
+
- When you reopen a chat, it opens with the agent that was last active in it.
|
|
25
|
+
- There's no agent picker button. To steer things, ask in the chat, for example "let the research agent handle this".
|
|
26
|
+
|
|
27
|
+
What does Chat remember?
|
|
28
|
+
- All three agents share one memory. The agents save lasting facts about you on their own, without being asked. These include who you are, stable preferences, ongoing projects or goals, important relationships or dates, recurring constraints, and significant health or work context.
|
|
29
|
+
- They don't save one-off task details, conversation summaries, guesses, passwords or secrets, or passing moods.
|
|
30
|
+
- Jiwa is a second shared store. It holds lasting instructions about how the chat agents should behave: a name or persona you gave them, tone and formatting, interaction style, boundaries and preferred workflow. It also holds requests to stop doing something that annoys you.
|
|
31
|
+
- To add or remove something, say so in the chat. The agents act on "remember…", "forget…" and "stop doing…".
|
|
32
|
+
- Each entry is at most 600 characters. When a store reaches about 60 entries, the agents merge related ones and remove old ones. 90 is the upper limit.
|
|
33
|
+
|
|
34
|
+
How do I view or delete memories?
|
|
35
|
+
- In a chat, open the **More** panel from the window's bottom bar and click **Brain**.
|
|
36
|
+
- The **Brain** window has two tabs, **Memories** and **Jiwa**. Each tab is a table showing the entry, its **Category**, its **Importance** (1 to 5) and when it was last **Updated**.
|
|
37
|
+
- To delete an entry, click the bin icon on its row. An empty tab says **No durable memories yet.** or **No Jiwa instructions yet.**
|
|
38
|
+
- Memories are stored in `~/.gg/chat-memories.json` and Jiwa in `~/.gg/chat-jiwa.json`.
|
|
39
|
+
|
|
40
|
+
Other chat controls (the **More** panel):
|
|
41
|
+
- **New chat** starts a new conversation. It's unavailable while the agent is replying.
|
|
42
|
+
- **Export chat** saves the conversation as a Markdown file. It's greyed out until the chat has messages.
|
|
43
|
+
- **Add folder** lets the chat agents read and work with files in another folder you pick, such as a folder of documents. The header shows how many are attached.
|
|
44
|
+
- **Remove folder** (shown once a folder is added) lists the added folders. Click **Remove** next to one to drop it.
|
|
45
|
+
- **Notes** opens a notes pad that is saved on this computer.
|
|
46
|
+
- **Radio** plays internet radio: pick a station, then press **Play** or **Pause** and set the volume.
|
|
47
|
+
- **All chats** goes back to the **Chats** list.
|
|
48
|
+
|
|
49
|
+
Where do chat files live?
|
|
50
|
+
- The chat workspace is a folder called `GG Chat` inside your projects folder. It never shows up in your project list.
|
|
51
|
+
|
|
52
|
+
Chat skills:
|
|
53
|
+
- Skills for Chat go in `GG Chat/.gg/skills/<name>/SKILL.md`, with `name` and `description` frontmatter.
|
|
54
|
+
- Every chat and all three agents can use them. Code and Motion can't. A new skill loads when you start the next chat.
|
|
55
|
+
|
|
56
|
+
## Motion
|
|
57
|
+
|
|
58
|
+
Motion makes short videos and animations from a request: product launches, app walkthroughs, website videos, before-and-after videos, developer tool videos, or a video in the style of an example you supply.
|
|
59
|
+
|
|
60
|
+
How do I start a video?
|
|
61
|
+
- On Home, click **Motion**. The **Motion** list shows earlier video sessions. Click **+ New video** to start a new one, or reopen an earlier session.
|
|
62
|
+
- Starter chips fill in the start of a request, and you finish the sentence before sending:
|
|
63
|
+
- **Make a product launch**
|
|
64
|
+
- **Make an app walkthrough**
|
|
65
|
+
- **Make a website video**
|
|
66
|
+
- **Make a before and after**
|
|
67
|
+
- **Make a developer tool video**
|
|
68
|
+
- **Make one like my example**
|
|
69
|
+
- You can also just type what you want and attach a logo, photos, screenshots, footage or an example video.
|
|
70
|
+
|
|
71
|
+
What will I be asked?
|
|
72
|
+
- Motion asks only what it can't work out, on a single card of at most four questions. A detailed request gets no questions.
|
|
73
|
+
- Typical questions:
|
|
74
|
+
- Where people will mostly watch it: on a phone (tall video), on a website or YouTube (wide), slides or a big screen, a background loop, or sent to someone.
|
|
75
|
+
- Whether it should have music.
|
|
76
|
+
- What to build the visuals from: your images, photos from your website, illustrations, or a mix.
|
|
77
|
+
- What it should include.
|
|
78
|
+
- What people should get from it.
|
|
79
|
+
- How it should feel.
|
|
80
|
+
- How long it should be: about 10 seconds, about 30 seconds or about a minute.
|
|
81
|
+
- For a new video it may also pitch two or three ideas, plus "Let GG Motion choose". This only gathers your preference. It isn't an approval step.
|
|
82
|
+
|
|
83
|
+
How is it made and rendered?
|
|
84
|
+
- Motion builds the video in one go, checks a few still frames, then renders the final video once, with sound and motion blur.
|
|
85
|
+
- The render also adjusts the volume and checks the video for harmful flashing. A video that fails the flashing check is fixed and rendered again, never delivered.
|
|
86
|
+
- When it's done, Motion opens the file for you and says what it checked. Stills aren't the same as watching it play, so watch the video yourself.
|
|
87
|
+
- It re-renders only to fix something visibly broken. For an edit, ask in the same session. Only what you asked for changes.
|
|
88
|
+
|
|
89
|
+
Where are videos saved?
|
|
90
|
+
- **Motion** sessions are listed like chats. The **More** panel has **New session**, **Notes**, **Radio** and the way back to the list.
|
|
91
|
+
|
|
92
|
+
- Each video gets its own folder inside the `GG Motion` folder in your projects folder.
|
|
93
|
+
- Finished files go in that video's `renders/` folder as versioned `.mp4` files, such as `name-v1.mp4`. Earlier exports are never overwritten.
|
|
94
|
+
|
|
95
|
+
Limits:
|
|
96
|
+
- Motion uses only real material: your product's real name, words, colours, logo and screens. It won't invent features, facts or prices. If assets are missing, it asks for them.
|
|
97
|
+
- It won't generate images unless you ask. Drawn scenes are built as illustrations instead.
|
|
98
|
+
- It asks before overwriting a finished export, deleting things, installing software or spending money.
|
|
99
|
+
- A new video always starts fresh, even for the same subject. To change an earlier video, reopen its session or say which one you mean.
|
|
100
|
+
- Motion has its own skills, stored in `GG Motion/.gg/skills`. It can't use Chat skills.
|
|
101
|
+
|
|
102
|
+
## Goals
|
|
103
|
+
|
|
104
|
+
A goal is a long-running objective that's too big for one session, for example "Get checkout loading under one second on mobile". Goals hands it to GG Goals, an agent that coordinates a team of worker agents.
|
|
105
|
+
|
|
106
|
+
How do I create a goal?
|
|
107
|
+
- On Home, click **Goals**. The **Choose a goal** list opens. You can search by name or goal text. Each row shows when the goal was last active and, when it matters, a status: **Running now**, **Paused** or **Interrupted**. Goals still in briefing or finished show no status.
|
|
108
|
+
- Clicking a goal reopens its conversation. A goal is one ongoing conversation, so there's no session list.
|
|
109
|
+
- Click **+ New goal**. In the **New goal** window, fill in:
|
|
110
|
+
- **Name**: up to 15 characters.
|
|
111
|
+
- **Goal**: the objective, up to 2000 characters.
|
|
112
|
+
- **Context** (optional): click **Add**, then **Add folders** or **Add files**. Up to 20 items, such as repos, specs or mock-ups. Remove one with its x button.
|
|
113
|
+
- **Instructions** (optional): rules for the whole goal, up to 4000 characters, for example "Ask before adding dependencies". GG Goals and its workers follow them throughout.
|
|
114
|
+
- **Create goal** stays greyed out until Name and Goal are filled in. The goal opens straight away.
|
|
115
|
+
|
|
116
|
+
Briefing, then starting:
|
|
117
|
+
- A new goal starts in its briefing phase. GG Goals replies on its own: it sums up the goal, asks questions, and does no work.
|
|
118
|
+
- When you're ready, choose the start option on GG Goals' question card, or type "start the goal now". This switches the goal to active, and work begins. A question or a delayed start ("start it tomorrow") doesn't count.
|
|
119
|
+
- If GG Goals needs an answer while it works, a **Ken needs you** sign appears over the farm with the question, and "And 1 more question" if there are more. Click **Answer in Chat** to reply. Questions wait safely even if you reload.
|
|
120
|
+
|
|
121
|
+
The goal world, and Chat | Workers:
|
|
122
|
+
- Once a goal is active, its window shows the goal world: GG Goals and its workers appear as critters on a top-down farm.
|
|
123
|
+
- Critters walk to the place for what they're doing: the bookcase to read, the laptop for the web, the notes board to plan, the carpenter's bench to edit, the stove to run things, the post box to ask you something, and the tea bench by the fire to wait.
|
|
124
|
+
- A small status pill on the farm says what GG Goals is doing right now, with a timer.
|
|
125
|
+
- You can click things on the farm to make them react and play a sound. Your sound setting mutes them.
|
|
126
|
+
- The header switch flips between **Chat** (the conversation) and **Workers** (the farm). The **Chat** button is highlighted when a question is waiting for you.
|
|
127
|
+
- The header also shows how many workers are working, how many tasks are done and how many failed. Next to it is a play/pause button: **Pause the goal**, **Resume the goal**, or "Not running. Carry the goal on" when the goal has stopped.
|
|
128
|
+
|
|
129
|
+
When a goal finishes:
|
|
130
|
+
- A card appears on the farm with Ken's face, his parting line and the score: **Time**, **Workers** (and how many failed), **Turns** and **Tokens**.
|
|
131
|
+
- Its title is **Job done**, **Done, not all checked** (finished but not everything verified) or **Ken got stuck**.
|
|
132
|
+
- Click **Read summary in Chat** for the write-up, or **Close**. Cancelled runs show no card.
|
|
133
|
+
|
|
134
|
+
Goal settings:
|
|
135
|
+
- In the **More** panel, click **Goal settings** to change the goal's standing instructions and its attached folders and files, then click **Save**.
|
|
136
|
+
- You can't change settings while the goal is working. Pause it first. GG Goals picks up the change on its next step.
|
|
137
|
+
- **All goals** in the **More** panel goes back to the goal list. Goals also have **Radio**, but no **Notes**, **New session** or **Export chat**.
|
|
138
|
+
|
|
139
|
+
Critters model:
|
|
140
|
+
- In a goal, the model picker has a second setting, **Critters**, for the workers. By default it follows GG Goals' model. Pick a different model to run workers on it.
|
|
141
|
+
|
|
142
|
+
Deleting a goal:
|
|
143
|
+
- In **Choose a goal**, hover a goal and click the bin icon (**Delete goal**), then **Delete**. This removes the goal and its conversation. Attached folders and files are not touched. It can't be undone. There's no archive.
|
|
144
|
+
|
|
145
|
+
Where does goal data live?
|
|
146
|
+
- Each goal has a folder at `~/.gg/goals/<id>/`, containing `goal.json` with its name, goal text and the attached paths.
|
|
147
|
+
- Goal folders never appear in the project list. A goal isn't a project and isn't a project task.
|
|
148
|
+
|
|
149
|
+
## Common questions
|
|
150
|
+
|
|
151
|
+
Q: How do I start a new chat?
|
|
152
|
+
A: On Home click **Chat**, then **+ New chat**. Inside a chat, use **New chat** in the **More** panel.
|
|
153
|
+
Q: How do I go back to an old chat?
|
|
154
|
+
A: Open **Chat** from Home and click it in the **Chats** list. It reopens with the agent that was last active.
|
|
155
|
+
Q: How do I switch to the Therapist or Research agent?
|
|
156
|
+
A: There's no picker. Ask in the chat, or just talk about what you need. The agent hands the whole conversation over when the need changes.
|
|
157
|
+
Q: How do I make GG forget something?
|
|
158
|
+
A: Say "forget …" in a chat, or open **Brain** from the **More** panel and click the bin icon on that entry.
|
|
159
|
+
Q: How do I see what GG remembers about me?
|
|
160
|
+
A: Open **Brain** in a chat. The **Memories** tab holds facts about you, and **Jiwa** holds instructions on how the agents should behave.
|
|
161
|
+
Q: How do I make the chat agents stop doing something?
|
|
162
|
+
A: Say "stop doing …" in a chat. It's saved to Jiwa and all three agents follow it.
|
|
163
|
+
Q: How do I save a chat?
|
|
164
|
+
A: Click **Export chat** in the **More** panel to save it as a Markdown file.
|
|
165
|
+
Q: Where are chat skills kept?
|
|
166
|
+
A: In `GG Chat/.gg/skills/<name>/SKILL.md` inside your projects folder. They load from the next new chat.
|
|
167
|
+
Q: Why can't I start a chat or a video?
|
|
168
|
+
A: Chat and Motion need a projects folder. Choose one in **Settings** first.
|
|
169
|
+
Q: How do I make a video?
|
|
170
|
+
A: On Home click **Motion**, then **+ New video**. Pick a starter chip or type your request, attach any logo, screenshots or footage, and answer the short question card.
|
|
171
|
+
Q: Where is my video saved?
|
|
172
|
+
A: In that video's `renders/` folder, inside the `GG Motion` folder in your projects folder, as a versioned `.mp4`. Motion opens the file when it's done.
|
|
173
|
+
Q: How do I change a video Motion made?
|
|
174
|
+
A: Reopen its session from the **Motion** list and say what to change. Only that part changes, and the new render gets a new version number.
|
|
175
|
+
Q: Can Motion make up images or facts?
|
|
176
|
+
A: No. It uses your real product, words and assets, asks for missing ones, and only generates images if you ask.
|
|
177
|
+
Q: How do I create a goal?
|
|
178
|
+
A: On Home click **Goals**, then **+ New goal**. Fill in **Name** and **Goal**, optionally add context and instructions, and click **Create goal**.
|
|
179
|
+
Q: Why isn't my goal doing any work?
|
|
180
|
+
A: New goals start in briefing, where GG Goals only asks questions. Choose the start option or type "start the goal now".
|
|
181
|
+
Q: How do I pause a goal?
|
|
182
|
+
A: Click the pause button in the goal's header (**Pause the goal**). Click it again to resume.
|
|
183
|
+
Q: How do I change a goal's instructions or folders?
|
|
184
|
+
A: Pause the goal, then open **Goal settings** in the **More** panel, edit, and click **Save**.
|
|
185
|
+
Q: What does "Ken needs you" mean?
|
|
186
|
+
A: GG Goals has a question for you. Click **Answer in Chat** to reply.
|
|
187
|
+
Q: How do I watch the workers?
|
|
188
|
+
A: Use the **Chat** | **Workers** switch in the goal's header. **Workers** shows the farm.
|
|
189
|
+
Q: What happens when a goal is done?
|
|
190
|
+
A: A finish card shows the outcome, time, workers, turns and tokens. Click **Read summary in Chat** for the details.
|
|
191
|
+
Q: How do I delete a goal?
|
|
192
|
+
A: In **Choose a goal**, click the bin icon on its row, then **Delete**. Your attached files are kept, but this can't be undone.
|
|
193
|
+
Q: Can workers use a cheaper model?
|
|
194
|
+
A: Yes. Set the **Critters** model in the goal's model picker. By default it follows GG Goals.
|
|
195
|
+
Q: Where is goal data stored?
|
|
196
|
+
A: In `~/.gg/goals/<id>/`, with the goal's details in `goal.json`.
|
|
197
|
+
|
|
198
|
+
Q: Can the chat look at files in one of my folders?
|
|
199
|
+
A: Yes. Click **Add folder** in the **More** panel (the ⋯ key on the bottom bar) and pick the folder. The agents are told about it before their next reply.
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# Checklist, project health and safety
|
|
2
|
+
|
|
3
|
+
This page covers two things: checking the user's own project (the Checklist and project health), and how GG Coder protects the user and their machine.
|
|
4
|
+
|
|
5
|
+
## The Checklist screen
|
|
6
|
+
|
|
7
|
+
- **Checklist** in a Code-mode window opens the full-page **Project checklist**: GG Coder's built-in project health checks, grouped and listed in recommended run order.
|
|
8
|
+
- Three views sit at the top: **All checks**, **Needs review** (anything not passed or not applicable) and **Findings** (checks whose recorded result reported issues).
|
|
9
|
+
- Each item shows its title, a short purpose tooltip and its current state, such as **Not reviewed**, **Not applicable**, a "Checked" date, or "Review due".
|
|
10
|
+
- Some items also show what GG detected automatically, for example that a CI workflow or a README exists. Detected setup is only a hint. It is never a pass on its own; an item passes only after a recorded review.
|
|
11
|
+
- If part of the setup couldn't be looked at, the screen says **Some setup could not be inspected**.
|
|
12
|
+
|
|
13
|
+
## Every group and item
|
|
14
|
+
|
|
15
|
+
- Foundations: Agent setup; README & setup docs; Shared vocabulary (one name per concept, a glossary, written-down decisions).
|
|
16
|
+
- Source control: Git & GitHub (repo, GitHub remote, .gitignore, protected main branch, no large binaries); Secrets kept out (no keys, tokens or passwords in tracked files or Git history).
|
|
17
|
+
- Code quality: Lint, format & type checks; Tests; CI; Commit checks (a project `/commit` that runs checks and a review); Code health (duplication, dead code, very large files); Errors & logging; Dependencies (committed lockfile, clean audit, no unused or abandoned packages).
|
|
18
|
+
- Design & UX: Design system; Consistent styling; Consistent animation (including reduced motion); Accessibility; Loading, empty & error states. These are not applicable to projects without a UI.
|
|
19
|
+
- Safety: Security audit; Data safety (reversible migrations, backups, recoverable destructive actions); Compliance (privacy policy, terms, cookies, payments, licences).
|
|
20
|
+
- Performance: Performance audit.
|
|
21
|
+
- Shipping: Build & release (clean build, versions, changelog, release steps); Error reporting (crashes reported somewhere the team sees them, findable logs, health checks).
|
|
22
|
+
- Handover: Don't embarrass me.
|
|
23
|
+
|
|
24
|
+
Several items load a bundled skill first: Secrets kept out, Dependencies and Security audit use `bulletproof`, Data safety uses `durable`, Compliance uses `compliance-guard`, and Performance audit uses `lean`.
|
|
25
|
+
|
|
26
|
+
## Agent setup and `/init`
|
|
27
|
+
|
|
28
|
+
- Agent setup is the first item. It checks that a context file (AGENTS.md or CLAUDE.md) exists, matches the code today, and that the project has the skills its recurring work needs.
|
|
29
|
+
- Its button runs `/init` (tooltip: "Run /init to create or update project instructions"). This is setup that writes project instructions, not an audit.
|
|
30
|
+
- Git & GitHub and CI point to `/setup-ci`, and Commit checks points to `/setup-commit`, as the setup commands that fix most gaps.
|
|
31
|
+
|
|
32
|
+
## Running a check
|
|
33
|
+
|
|
34
|
+
- Click **Check** on an item. It shows "Checking…" while the agent works, and checks wait if "The agent is busy".
|
|
35
|
+
- Every check apart from Agent setup is report-only ("Check and report, then choose what to fix"). The agent inspects the project and changes no project file. After reading the report, you decide what to fix and ask GG to do it.
|
|
36
|
+
- Each review states its scope and what it excluded.
|
|
37
|
+
- The verdict, date, commit and evidence are recorded in `.gg-checklist.json` at the project root. That file is meant to be committed, so the whole team shares one record.
|
|
38
|
+
- A check you ask for in normal chat ("check my tests", "run a security audit") can be recorded on the checklist too.
|
|
39
|
+
- A recorded result is due again after 30 days and then shows as "Review due". If the code has changed since a check, the result says so, so an old verdict isn't trusted blindly.
|
|
40
|
+
|
|
41
|
+
## Don't embarrass me
|
|
42
|
+
|
|
43
|
+
- Don't embarrass me (Handover group) is the capstone. It reviews the whole project the way an experienced developer taking it over would, looking for the tells of inexperienced or unreviewed AI-generated work.
|
|
44
|
+
- It looks at what a newcomer sees first (root files, README, package metadata, recent commit messages), AI and prototype leftovers, two libraries doing one job, structure, silenced type or lint checks, defensive noise, framework misuse, hard-coded values, and whether the docs are honest.
|
|
45
|
+
- Findings are ranked by how quickly a reviewer would notice them and how much credibility each costs, with a fix for each. It also names what already looks professional.
|
|
46
|
+
- For secrets, security, tests and failing builds it points you to the dedicated items instead of re-auditing them. It never suggests rewriting published Git history.
|
|
47
|
+
|
|
48
|
+
## Project health badge and panel
|
|
49
|
+
|
|
50
|
+
- The workspace header shows a **Project health** score from 0 to 100. It rescans automatically ("Rescans every 2 min"); while it runs you see "Scanning the project…", and a project it can't score shows **Not scored**.
|
|
51
|
+
- Click the badge for the **Health breakdown**. **Project Health** in the deck opens the same scores in a panel.
|
|
52
|
+
- The score combines four categories: File size (files that are very long, weighted more when they change often), Repo hygiene (secret files that are committed or not ignored, large files, a missing .gitignore or lockfile), Safety net (checks such as tests and CI) and Debt markers (TODO-style markers).
|
|
53
|
+
- Some problems hold the score down whatever the rest looks like. A committed secret holds it at 40, and a failed latest CI run holds it at 70. The breakdown says which ("Held at …").
|
|
54
|
+
- The scan reports where a suspected secret is and what kind it is, never its value.
|
|
55
|
+
- In a very large project the scan may stop early and say "Partly scanned (large project)".
|
|
56
|
+
- **Review** next to a category hands it to the agent to look at and fix.
|
|
57
|
+
- Project health is a quick automatic scan. The Checklist is the deeper review, done by the agent.
|
|
58
|
+
|
|
59
|
+
## How do I make sure my app is safe and ready to ship?
|
|
60
|
+
|
|
61
|
+
- Open **Checklist** and run the Safety group first: Security audit, Data safety and Compliance.
|
|
62
|
+
- Then run Secrets kept out, Dependencies, Git & GitHub and CI. Finish with Tests, Build & release, Error reporting and Don't embarrass me.
|
|
63
|
+
- Use the **Needs review** and **Findings** views to see what is left, then ask GG to fix the findings you choose.
|
|
64
|
+
- You don't need the Checklist to start. Asking in chat works too, for example "do a security review" or "is this ready to launch?".
|
|
65
|
+
- No review can promise that an app is fully secure. The security review reports what it checked, what it fixed and what is still open.
|
|
66
|
+
|
|
67
|
+
## Commands you type with `!`
|
|
68
|
+
|
|
69
|
+
- In a project you haven't trusted, a command typed with `!` shows **Run this command?**, the command, and the folder it runs in with your normal permissions.
|
|
70
|
+
- Choose **Run once**, **Always allow in this project** or **Cancel**. Enter runs and Esc cancels.
|
|
71
|
+
- Once a project is trusted, the `!` menu says **Commands run here without asking.** Click **Ask first instead** to turn the question back on.
|
|
72
|
+
|
|
73
|
+
## MCP servers and trust
|
|
74
|
+
|
|
75
|
+
- Servers from a project's `.gg/mcp.json` don't connect until that project is trusted, because a repo's config could otherwise run commands as soon as you open it. Adding a project-scope server for that project trusts it. Servers in `~/.gg/mcp.json` always connect.
|
|
76
|
+
- When a server sends its tool list, GG checks each tool's description. A tool is hidden, without asking you, if its description tells the agent to read secret or config files, hide something from you, steer how other tools are used, or take over another server's tool. A tool is also hidden if its description changes while the server's version stays the same. Hidden tools are listed under the server in the MCP screen.
|
|
77
|
+
|
|
78
|
+
## Blocked skills
|
|
79
|
+
|
|
80
|
+
- Every user skill is scanned for safety when it loads. A skill matching a malware, data-exfiltration or hiding rule is not loaded, and you are not asked about it.
|
|
81
|
+
- A warning appears once: "Skill "<name>" blocked for safety: <reason>". It appears again only if the skill's content changes.
|
|
82
|
+
|
|
83
|
+
## Package and command protection
|
|
84
|
+
|
|
85
|
+
- GG checks the packages the agent installs against a daily-updated malware feed and known-vulnerability data. It refuses packages with known malware or lookalike names.
|
|
86
|
+
- When an install pins an old version with a known high or critical vulnerability and a fixed release exists in the same line, GG moves it to that fixed release.
|
|
87
|
+
- Lockfiles already in your project are checked in the background too, so a package flagged after you installed it is still found. You then see a one-time warning such as "Infected package in this project, replacing it", and the agent is told to replace it.
|
|
88
|
+
- The agent refuses Git commands that would wipe uncommitted work, scripts piped from the internet straight into a shell, and catastrophic deletes such as wiping your home folder.
|
|
89
|
+
- When something is stopped, the chat shows one line starting "Blocked for safety:" and repeats fold into one row. The agent then tells you what it did instead.
|
|
90
|
+
- Web pages, files and tool results that try to give the agent orders are flagged, and hidden invisible text in files such as AGENTS.md is removed before the model reads it.
|
|
91
|
+
|
|
92
|
+
## Files, secrets and the network
|
|
93
|
+
|
|
94
|
+
- By default the agent can't write outside the project (plus temporary files and GG's own folder). Before writing elsewhere it has to ask you. Folder shortcuts in a repo can't redirect its writes outside the project either.
|
|
95
|
+
- Secrets found in your environment are redacted from saved session history.
|
|
96
|
+
- Two optional settings in `~/.gg/settings.json` add more control: `networkMode` set to `allowlist` with `networkAllow` limits the agent's web fetch, web search and recognised network commands to listed hosts, and `sandboxMode` (`auto` or `workspace`) runs shell commands in an OS sandbox where supported. Both are off by default and aren't on the Settings screen. The network allowlist is not an OS sandbox. The sandbox can break piped commands on Linux and Git over SSH on macOS.
|
|
97
|
+
|
|
98
|
+
## macOS Full Disk Access
|
|
99
|
+
|
|
100
|
+
- On macOS, Settings > General > Permissions shows whether GG Coder has Full Disk Access. **Grant Permissions…** opens System Settings. It is optional and only needed if you want GG to reach protected folders.
|
|
101
|
+
|
|
102
|
+
## What the agent does without asking
|
|
103
|
+
|
|
104
|
+
- It reads, edits and runs commands inside your project to do what you asked, and it runs tests or type checks before saying it's done.
|
|
105
|
+
- It asks before writing outside the project. Destructive Git commands, malware installs and similar actions are blocked outright.
|
|
106
|
+
- Checklist checks never change your files.
|
|
107
|
+
|
|
108
|
+
## Common questions
|
|
109
|
+
|
|
110
|
+
Q: How do I make sure my app is safe?
|
|
111
|
+
A: Open Checklist and run Security audit, Secrets kept out, Dependencies, Data safety and Compliance, or just ask GG for a security review in chat. You get a report of what was checked, what's wrong and what's still open, and then you choose what to fix.
|
|
112
|
+
|
|
113
|
+
Q: How do I know my app is ready to ship?
|
|
114
|
+
A: Work through the Checklist, especially Tests, CI, Build & release, Error reporting and Don't embarrass me, or ask GG for a launch-readiness check. The Needs review view shows what's left.
|
|
115
|
+
|
|
116
|
+
Q: Is GG Coder safe to run on my machine?
|
|
117
|
+
A: The agent works inside your project, asks before writing outside it, and blocks destructive Git commands, catastrophic deletes, piped install scripts and known-malware packages. No tool can promise perfect safety. For extra isolation, there are an optional network allowlist and shell sandbox.
|
|
118
|
+
|
|
119
|
+
Q: Why did GG block a skill?
|
|
120
|
+
A: Its safety scan matched a malware, data-exfiltration or hiding rule, so the skill wasn't loaded. The warning names the skill and the reason, and it shows again only if the skill changes.
|
|
121
|
+
|
|
122
|
+
Q: Will a checklist check change my code?
|
|
123
|
+
A: No. Every check except Agent setup is report-only. You decide what to fix afterwards.
|
|
124
|
+
|
|
125
|
+
Q: What's the difference between detected and passed?
|
|
126
|
+
A: Detected means GG noticed something exists, such as a CI file. Passed means the agent reviewed it and recorded a pass.
|
|
127
|
+
|
|
128
|
+
Q: Where are checklist results saved?
|
|
129
|
+
A: In `.gg-checklist.json` at the project root, with the verdict, date, commit and evidence. Commit it so your team shares the results.
|
|
130
|
+
|
|
131
|
+
Q: Why is a check I passed showing as due again?
|
|
132
|
+
A: Results come due again after 30 days, and a result also notes when the code has changed since it was checked.
|
|
133
|
+
|
|
134
|
+
Q: What does the Agent setup button do?
|
|
135
|
+
A: It runs `/init` to create or update the project's AGENTS.md-style instructions. It sets things up and is not an audit.
|
|
136
|
+
|
|
137
|
+
Q: Why is my project health score stuck at 40 or 70?
|
|
138
|
+
A: A committed secret holds the score at 40, and a failed latest CI run holds it at 70. Fix that issue and the next rescan lifts it.
|
|
139
|
+
|
|
140
|
+
Q: How often does project health update?
|
|
141
|
+
A: It rescans every 2 minutes. Click the badge for the breakdown, or click Review to have the agent work on a category.
|
|
142
|
+
|
|
143
|
+
Q: Why did GG ask before running my `!` command?
|
|
144
|
+
A: The project isn't trusted yet. Pick Always allow in this project to stop being asked there, or Ask first instead to turn the question back on.
|
|
145
|
+
|
|
146
|
+
Q: Why isn't my project's MCP server connecting?
|
|
147
|
+
A: Servers from a project's `.gg/mcp.json` connect only once that project is trusted. Adding the server for that project in the MCP screen trusts it.
|
|
148
|
+
|
|
149
|
+
Q: Why is an MCP tool missing?
|
|
150
|
+
A: The safety guard hid it because its description tried to steer the agent or changed without a version change. Hidden tools are listed under the server.
|
|
151
|
+
|
|
152
|
+
Q: GG warned me about an infected package. What now?
|
|
153
|
+
A: A package in your lockfile was flagged as malware after it was installed. The agent is told to replace it, and you can ask it to confirm the fix.
|
|
154
|
+
|
|
155
|
+
Q: Can I limit which websites the agent can reach?
|
|
156
|
+
A: Yes. Set `networkMode` to `allowlist` and list hosts in `networkAllow` in `~/.gg/settings.json`. It applies to GG's web tools and recognised network commands, so it is not a full sandbox.
|
|
157
|
+
|
|
158
|
+
Q: Does GG save my API keys in chat history?
|
|
159
|
+
A: Secrets from your environment are redacted from saved sessions, and project health never stores the value of a secret it finds.
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# Working in a Code-mode window
|
|
2
|
+
|
|
3
|
+
A Code-mode window is one session on one project folder. You type in the composer at the bottom. GG works in the transcript above it, and the deck holds the tools.
|
|
4
|
+
|
|
5
|
+
## The composer
|
|
6
|
+
|
|
7
|
+
- Enter sends. Shift+Enter adds a new line.
|
|
8
|
+
- The placeholder reads **Type a message, / commands, @ files, @Ken for help**. Every few seconds it rotates to another tip, such as **Start with ! to run a command, like !git status** or **Need a second opinion? Ask @Ken**. While GG is working the tips change to ones like **Got another thought? Queue it here**.
|
|
9
|
+
- Up and Down in an empty composer bring back prompts you sent earlier. In a multi-line draft they move the cursor as usual.
|
|
10
|
+
- Esc stops the current run (or Ken) when no menu is open. With the slash menu open, Esc clears the input.
|
|
11
|
+
- `/` opens the command menu, `@` opens the file picker and `!` opens the command picker. Each menu works with Up/Down, Tab or Enter to pick, and Esc to close.
|
|
12
|
+
|
|
13
|
+
## Mentioning files with @
|
|
14
|
+
|
|
15
|
+
- Type `@` and part of a file name to open the file picker. With nothing typed after `@`, it shows recent files.
|
|
16
|
+
- Picking a file adds it as a chip above the input. GG gets the list under **Referenced files:** when you send. Remove a chip to drop that file.
|
|
17
|
+
|
|
18
|
+
## Attaching images and files
|
|
19
|
+
|
|
20
|
+
- Click **Attach files** (the paperclip) to choose files. You can also drag files onto the composer or paste them from the clipboard.
|
|
21
|
+
- Attachments show in a bar above the input, and each one can be removed. Click an image to open it.
|
|
22
|
+
- Images and videos are recognised by type. Anything else, such as a PDF or a text file, is sent as a file.
|
|
23
|
+
- All attachments in one message can add up to 100 MB. Above that you get "Attachments are too big to send" and nothing is sent.
|
|
24
|
+
- If the current model can't watch video, the transcript notes that GG can still pull frames or audio out of it, and suggests switching to a video-capable model.
|
|
25
|
+
- Send stays disabled while attachments are loading. Its tooltip reads **Loading attachments…**.
|
|
26
|
+
|
|
27
|
+
## Sending while GG is busy
|
|
28
|
+
|
|
29
|
+
- You can keep typing during a run. Enter queues the message instead of interrupting.
|
|
30
|
+
- A queued message goes to GG at the next turn boundary, not after the whole run ends. The strip above the input says **queued for the next turn**.
|
|
31
|
+
- To cancel one queued message, click its x (**Cancel this queued message**). If several are queued, the strip shows how many. Open it with **cancel…** and cancel them one by one. A message that is already being delivered can't be cancelled.
|
|
32
|
+
|
|
33
|
+
## Stopping a run
|
|
34
|
+
|
|
35
|
+
- During a run the round send button becomes **Stop the run**. Click it or press Esc to stop.
|
|
36
|
+
- That button stops GG's run and also stops an Autopilot review in progress.
|
|
37
|
+
|
|
38
|
+
## Running your own commands with !
|
|
39
|
+
|
|
40
|
+
- Start the input with `!` to run a shell command in the project folder, for example `!git status`. This doesn't start an agent turn, and it works even while GG is running. The send button reads **Run command**.
|
|
41
|
+
- Typing `!` opens a **commands** picker. It lists commands you've run here, most used first, then commands that fit the project.
|
|
42
|
+
- The first time you run a command, GG asks **Run this command?** and shows the folder it will run in. You can choose:
|
|
43
|
+
- **Run once** (Enter): run it this time only.
|
|
44
|
+
- **Always allow in this project**: future commands in this project run without asking.
|
|
45
|
+
- **Cancel** (Esc): the transcript shows that it didn't run.
|
|
46
|
+
- Once a project is trusted, the picker footer says **Commands run here without asking.**. Click **Ask first instead** to turn confirmation back on.
|
|
47
|
+
- Output streams live, with errors in their own colour and an elapsed timer. Click **Stop** to end a running command. When it finishes you see the exit code and duration, and **Copy** copies the output. Long output folds behind a show-all control.
|
|
48
|
+
- GG doesn't see the output right away. The block reads **GG will see this with your next message**, and after you send it reads **Shared with GG**.
|
|
49
|
+
|
|
50
|
+
## Working across more than one folder
|
|
51
|
+
|
|
52
|
+
- Click **Add folder** in the **More** panel (the ⋯ key on the bottom bar) and pick a folder. GG can then read and edit it as well as the project, and it's told about the folder before its next step.
|
|
53
|
+
- It works in Code and Chat windows. The header shows how many extra folders are attached, and the title tooltip lists them.
|
|
54
|
+
- You can add a folder while GG is working. A folder already inside the workspace can't be added twice, and the message says why.
|
|
55
|
+
- Commands in the added folder's `.gg/commands` show up in the `/` menu.
|
|
56
|
+
- To drop one again, click **Remove folder** (it appears right after **Add folder** once a folder is added). The **Added folders** panel lists each folder with its own **Remove** key.
|
|
57
|
+
|
|
58
|
+
## Slash commands
|
|
59
|
+
|
|
60
|
+
Type `/` to open the menu. You only see commands in a Code-mode window.
|
|
61
|
+
|
|
62
|
+
- `/schedule` (alias `/sched`): run a prompt on a repeating schedule (see Schedules below).
|
|
63
|
+
- `/init`: create or update CLAUDE.md for this project.
|
|
64
|
+
- `/commit`: runs the project's checks and tests and fixes failures, has a helper review the diff, stages the changed files, commits with a one-line message and pushes if the branch has an upstream. If the review finds real issues, GG asks whether to fix them first or commit anyway. A project's own `.gg/commands/commit.md` takes precedence.
|
|
65
|
+
- `/setup-commit`: writes a project-specific `.gg/commands/commit.md` with that project's checks.
|
|
66
|
+
- `/setup-ci`: set up or harden CI for any stack.
|
|
67
|
+
- `/expand`: researches similar products and reports a ranked table of user-facing features to add. Nothing is changed until you pick an option. Text after the command sets a focus.
|
|
68
|
+
- `/compare`: compares the code GG just wrote in this chat with how real projects do it, using the Steroids code index.
|
|
69
|
+
- `/steroids`: finds well-maintained repos like this project, shows them in a table, asks how many to index, then adds them to the Steroids index. It needs Agent Steroids installed.
|
|
70
|
+
|
|
71
|
+
Custom commands: each Markdown file in the project's `.gg/commands/` folder becomes a `/<name>` command with its own description. Folders added with **Add folder** bring their `.gg/commands` too. A custom command can't take over a built-in name.
|
|
72
|
+
|
|
73
|
+
## Schedules
|
|
74
|
+
|
|
75
|
+
- Format: `/schedule <prompt> | <interval> [| <times>]`, for example `/schedule run the full test suite | 1h30m | 10`.
|
|
76
|
+
- The interval uses minutes or hours: `15m`, `2h`, `1h30m`. Seconds aren't accepted. Leave out the run count to repeat until you stop it. A pipe inside the prompt is fine.
|
|
77
|
+
- A hint above the composer shows each part as you type and flags a mistake before you send. Pressing Enter adds a transcript line starting "Scheduled ·", followed by something like "Every 15 min · until stopped".
|
|
78
|
+
- Active schedules appear as an "N schedules" button. It opens **Schedules**, with each one's cadence, progress and next run, plus a **Stop** button. Schedules only run while that window stays open.
|
|
79
|
+
|
|
80
|
+
## Prompt enhancement
|
|
81
|
+
|
|
82
|
+
- To enhance a prompt, type a draft and click **Enhance**, the small key to the left of send. Its tooltip reads **Rewrite your prompt with clearer wording and the right terms**.
|
|
83
|
+
- The key only shows when there is text in the composer. It hides while the slash or @ menu is open, while you're typing a `/schedule`, and once the current text is already enhanced.
|
|
84
|
+
- While it works, the key reads **Enhancing…**. Your draft fades out, a shimmer holds its place, and the new text types itself in. You can't type during the animation. With reduced motion turned on in your system, the text is simply replaced.
|
|
85
|
+
- What it does: it rewrites your draft into a clear request for GG. It keeps your intent (a question stays a question), keeps every path, name and number, and doesn't add scope. A clear draft can come back almost unchanged.
|
|
86
|
+
- Technical terms it swaps in are highlighted. Hover one to see **you said:** with your original words and a short note. The highlight also stays on the sent message in the transcript.
|
|
87
|
+
- It uses the model currently selected for this window, so it bills like any other request to that model.
|
|
88
|
+
- Nothing is sent until you press Enter. You can edit the result first. Editing it removes the highlights and brings the Enhance key back.
|
|
89
|
+
- There is no undo button. To get your original back, retype it or use the text editing undo in the field if your system supports it.
|
|
90
|
+
- If enhancement fails, an error notice appears and your draft stays as it was.
|
|
91
|
+
|
|
92
|
+
## Plan mode and plan review
|
|
93
|
+
|
|
94
|
+
- In plan mode GG reads and plans but edits nothing. The deck shows a **Plan mode** flag.
|
|
95
|
+
- There is no plan-mode switch for the user. GG enters plan mode itself for larger or riskier changes, and you can ask it to plan first.
|
|
96
|
+
- When GG finishes a plan, the **Plan review** screen opens with the plan and the status **Your call on the plan**.
|
|
97
|
+
- **Accept plan**: GG leaves plan mode and carries the plan out.
|
|
98
|
+
- **Reject**: turns the plan down. GG doesn't start the work.
|
|
99
|
+
- Type in the **Tell GG what to change in the plan…** box and press Enter (or click send) to ask for a revision. GG revises and shows the plan again.
|
|
100
|
+
- While Autopilot is on, Ken may review the plan as well. The status then reads **Ken is reviewing it. Your call still wins**.
|
|
101
|
+
- During a run, the activity bar shows plan progress as "Plan: step X of Y".
|
|
102
|
+
|
|
103
|
+
## Autopilot
|
|
104
|
+
|
|
105
|
+
- Turn **Autopilot** on or off in the **More** panel (the ⋯ key on the bottom bar). After each run, Ken reviews the work and GG continues if it needs changes. Busywork such as commits or status checks is skipped.
|
|
106
|
+
- You can't change the switch during a run or a review.
|
|
107
|
+
|
|
108
|
+
## Tasks
|
|
109
|
+
|
|
110
|
+
- **Tasks** in the deck lists the project's tasks. Each shows **Pending**, **Running** or **Done**.
|
|
111
|
+
- You don't type tasks in yourself. Ask GG to add tasks, for example "add a task to fix the login bug". With none yet, the list says **No tasks yet. Ask the agent to add tasks, then run them here.**
|
|
112
|
+
- **Run** starts that task in a fresh session. **Run all** runs every pending task, one fresh session each. Both are disabled while GG is running.
|
|
113
|
+
- The x (**Delete task**) removes a task.
|
|
114
|
+
|
|
115
|
+
## Notes
|
|
116
|
+
|
|
117
|
+
- **Notes** opens **Your notes**, a free-text notepad kept per project on this computer. GG never sees it, and it saves as you type.
|
|
118
|
+
|
|
119
|
+
## Checklist and project health
|
|
120
|
+
|
|
121
|
+
- **Checklist** opens the project checklist: tests, CI, security, design and more. It shows how many items pass, and you can run a check on any item.
|
|
122
|
+
- The project health badge shows a score and **Rescans every 2 min**. Click it for a breakdown and an option to have GG review project health. **Project Health** in the deck opens the full scores for file size, hygiene, safety and debt.
|
|
123
|
+
|
|
124
|
+
## Git in the title bar
|
|
125
|
+
|
|
126
|
+
- In a folder that isn't a git repository yet, the title bar shows **Initialize Git**. It opens a dialog that sets up git, creates a GitHub repository and configures CI for the stack.
|
|
127
|
+
- **Repository name** defaults to the folder name. If it needs cleaning up, the dialog shows the name it will use.
|
|
128
|
+
- Visibility: Private or Public.
|
|
129
|
+
- **Also set up**: **CI workflow + Dependabot**, **Branch protection** and **AGENTS.md**, each a checkbox.
|
|
130
|
+
- Click **Initialize** (or press Enter in the name field), and GG does the setup as a normal run. **Cancel** closes the dialog.
|
|
131
|
+
- In a repository with uncommitted changes, the title bar shows **Commit** with the number of changed files. Clicking it runs `/commit`.
|
|
132
|
+
- When there is nothing to commit it shows **Clean** (tooltip **Nothing to commit**).
|
|
133
|
+
- These buttons are disabled while GG is running.
|
|
134
|
+
- The deck's **Git** panel shows the branch, uncommitted files, and pull requests and issues for GitHub projects.
|
|
135
|
+
|
|
136
|
+
## CI indicator
|
|
137
|
+
|
|
138
|
+
- When the project has GitHub Actions CI, an indicator shows the number of runs and their status: running, passed or failed. Running shimmers. Click it to open GitHub Actions.
|
|
139
|
+
- A finished, passing result hides itself after about 10 seconds. A failure stays until you click **Dismiss CI failure**.
|
|
140
|
+
- If the status can't be fetched it reads **CI unavailable**, and the last result may be out of date.
|
|
141
|
+
|
|
142
|
+
## Activity bar and working beam
|
|
143
|
+
|
|
144
|
+
- The activity bar above the composer shows what GG is doing. Idle, it shows lines like **Ready for work** or **Your move**. During a run it shows lines like **Working…** and a timer, then a short summary when it finishes.
|
|
145
|
+
- While GG, Ken or an Autopilot review is running, a light beam moves around the composer. It is decorative only.
|
|
146
|
+
|
|
147
|
+
## Sub-agents
|
|
148
|
+
|
|
149
|
+
- When GG sends out helpers, a "critter" feed tracks them: launched, still working, finished, failed or called back. Ken and Autopilot are covered in ken-and-autopilot.md.
|
|
150
|
+
|
|
151
|
+
## Notices in the transcript
|
|
152
|
+
|
|
153
|
+
- Compaction: when the context is compacted, a critter line shows it working and then done.
|
|
154
|
+
- Cache expiry: in a large chat that has been idle, a strip warns that the next message will re-read the whole context at full price. **Compact first** shrinks the history before you send, and **Dismiss** hides the warning.
|
|
155
|
+
- Hooks: when a project hook steps in, a shimmering pink critter line says what it's doing, for example "A critter is running the project's checks…". Others cover reviewing the work, re-checking new edits, checking that tests weren't weakened, breaking out of a loop, or re-reading the request after compaction. They are informational; no action is needed.
|
|
156
|
+
|
|
157
|
+
## Moving around the transcript
|
|
158
|
+
|
|
159
|
+
- After you scroll up, **Scroll to bottom** appears in the corner.
|
|
160
|
+
- **You have new chats** jumps to new output that arrived below.
|
|
161
|
+
- **You have a new question** jumps to a question from GG that is off screen and still needs an answer.
|
|
162
|
+
|
|
163
|
+
## Common questions
|
|
164
|
+
|
|
165
|
+
Q: How do I enhance my prompt?
|
|
166
|
+
A: Type a draft, then click **Enhance** next to the send button. GG rewrites it with clearer wording using the current model, and you can edit it before pressing Enter.
|
|
167
|
+
Q: Can I undo an enhancement?
|
|
168
|
+
A: There is no undo button. Edit or retype the text; any change removes the enhancement highlights.
|
|
169
|
+
Q: What are the highlighted words after enhancing?
|
|
170
|
+
A: They are technical terms swapped in for your wording. Hover one to see what you originally said.
|
|
171
|
+
Q: How do I commit my changes?
|
|
172
|
+
A: Click **Commit** in the title bar, or type `/commit`. GG runs the checks, reviews the diff, commits and pushes.
|
|
173
|
+
Q: Why does the title bar say Clean?
|
|
174
|
+
A: There are no uncommitted changes in the project, so there is nothing to commit.
|
|
175
|
+
Q: How do I put my project on GitHub?
|
|
176
|
+
A: In a folder without git, click **Initialize Git**, pick a name and visibility, choose extras, and click **Initialize**.
|
|
177
|
+
Q: How do I run a terminal command?
|
|
178
|
+
A: Start the message with `!`, for example `!git status`, and press Enter. It runs in the project folder without starting an agent turn.
|
|
179
|
+
Q: How do I stop being asked before every command?
|
|
180
|
+
A: Choose **Always allow in this project** on the confirmation. To turn asking back on, click **Ask first instead** in the `!` picker.
|
|
181
|
+
Q: How do I stop a command that's running?
|
|
182
|
+
A: Click **Stop** on its output block.
|
|
183
|
+
Q: Does GG see my command output?
|
|
184
|
+
A: Yes, with your next message. The block shows **Shared with GG** once it has been sent.
|
|
185
|
+
Q: Can I send a message while GG is working?
|
|
186
|
+
A: Yes. It is queued and delivered at the next turn boundary. Click its x to cancel it.
|
|
187
|
+
Q: How do I stop GG?
|
|
188
|
+
A: Click the square send button (**Stop the run**) or press Esc.
|
|
189
|
+
Q: How do I reference a file?
|
|
190
|
+
A: Type `@` and part of the file name, then pick it with Enter or Tab.
|
|
191
|
+
Q: How big can attachments be?
|
|
192
|
+
A: Up to 100 MB in total per message.
|
|
193
|
+
Q: How do I bring back something I typed earlier?
|
|
194
|
+
A: Press Up in an empty composer to step through earlier prompts.
|
|
195
|
+
Q: How do I make GG plan before changing code?
|
|
196
|
+
A: Ask it to plan first. When the plan is ready, choose **Accept plan**, **Reject**, or type what to change.
|
|
197
|
+
Q: How do I run something every hour?
|
|
198
|
+
A: Use `/schedule <prompt> | 1h`. Add `| <times>` to limit the runs. The window must stay open.
|
|
199
|
+
Q: How do I stop a schedule?
|
|
200
|
+
A: Open the schedules button above the composer and click **Stop** next to it.
|
|
201
|
+
Q: How do I add tasks and run them?
|
|
202
|
+
A: Ask GG to add tasks, then open **Tasks** in the deck and click **Run** or **Run all**.
|
|
203
|
+
Q: How do I add my own slash command?
|
|
204
|
+
A: Put a Markdown file in the project's `.gg/commands/` folder. Its file name becomes the command, unless a `name:` line at the top sets another name.
|
|
205
|
+
Q: How do I work on two folders at once?
|
|
206
|
+
A: Click **Add folder** in the **More** panel (the ⋯ key on the bottom bar) and pick the folder. To drop it, click **Remove folder** and then **Remove** next to it.
|
|
207
|
+
Q: Where can I keep private notes?
|
|
208
|
+
A: Open **Notes** in the deck. GG never sees them.
|