Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

Commit

The sessions and plugin guides say a session is titled with what was typed (#52): since plugin 0.2.4, pasted text and image placeholders are left out of a session's title, a slash command or a prompt that is only a paste gives none so the next prompt titles the session, and the site reads a title that is only a tag as no title. The guides still said the first prompt that is not a slash command titles it. The plugin guide's hook table and Work with no issue yet now say so, with a title like <pasted_content id="5c50"> from an older plugin showing by its first prompt's intent or Session on its branch; the sessions guide's Live now and Work with no issue yet say the same.

Checked:
plugins/claude-code/hooks/g1t.mjs (intentTitle strips <pasted_content> blocks and [Image #1] / [Image: source: …] placeholders; UserPromptSubmit pushes a title step for every prompt with an intent, and the title is attached only while the session has none), apps/web/app/lib/coordination.ts (sessionTitle skips a title matching HARNESS_TAG), plugin.json at 0.2.4; the docs build.
G1t-Session:
ses_01m4ynr1peevvs8zwaqakycv2e
syntaqxcommitted Parent65ad6fdBrowse files
2 files+17−60/2 viewed
+10−3
9191 | --- | --- | --- |
9292 | A session starts or resumes | `g1t session start --harness claude_code --harness-session-id ID` | A session for this Claude Code session. Starting the same session again, as a resume does, finds it rather than making another. |
9393 | You send a prompt | `g1t session log --kind prompt TEXT` | Your prompt's first 2,000 characters. |
94−| You send the session's first prompt that is not a slash command | `g1t session heartbeat --json`, then, if the session has no title, `g1t session attach --title INTENT` | Its title: what the prompt is for, as its first line or sentence without code blocks or markdown, up to 80 characters, cut on a word with `…`. A title the session already has (one Claude, you or an earlier prompt set) is never replaced. Not sent with prompts kept back. |
94+| You send a prompt that says what it is for, while the session has no title | `g1t session heartbeat --json`, then, if the session has no title, `g1t session attach --title INTENT` | Its title: what the prompt is for, as its first line or sentence without pasted text, image placeholders (`[Image #1]`), code blocks or markdown, up to 80 characters, cut on a word with `…`. A slash command, or a prompt that is only pasted text or images, gives no title, and the next prompt titles the session. A title the session already has (one Claude, you or an earlier prompt set) is never replaced. Not sent with prompts kept back. |
9595 | Claude uses a tool | `g1t session log --kind tool_call TEXT` | The tool's name and one line on what it was called with: the command, file, pattern or address, up to 200 characters, with anything that looks like a token or password replaced by `…`. |
9696 | Claude uses a skill, or you run one (`/g1t:work-on-issue 42`) | `g1t session log --kind skill NAME` | The skill's name, nothing more, once in a turn. A plugin's skill or command you type as `/plugin:name` is recorded even with prompts kept back. |
9797 | Claude writes a file, makes a branch or a commit, or claims an issue | `g1t session touch --file PATH` (or `--branch`, `--commit`, `--issue`) | What it touched: the path from the repository's root, the branch, the commit, the issue. g1t ties the session to the pull requests and issues these lead to, and tells two sessions that touch the same file. |
156156 never need one. The session is the record of that work:
157157
158158 1. **It is titled with what it is for.** At the session's first prompt
159− that is not a slash command (`/clear` and `/g1t:status` are not), the
160− plugin gives the session a title from it, unless it has one. To name
159+ that says what it is for, the plugin gives the session a title from
160+ it, unless it has one. The title is what you typed: text you pasted
161+ and image placeholders are left out, so a prompt that starts with a
162+ paste is titled by the words around it. Slash commands (`/clear`,
163+ `/g1t:status`) and a prompt that is only a paste give no title; the
164+ next prompt titles the session. A session whose title is only a tag,
165+ such as `<pasted_content id="5c50">` from a plugin older than 0.2.4,
166+ shows on the site by its first prompt's intent instead, else
167+ **Session on** its branch. To name
161168 it yourself, or have Claude name it, run
162169 `g1t session attach --title "Fix the preview builds"`; that replaces
163170 the title the prompt gave.
+7−3
4242 title, who it acts for, its harness, its state, when it was last heard
4343 from and its branch. A session with no title is named by what its
4444 first prompt was for, else **Session on** its branch, else **Untitled
45− session**.
45+ session**. A title that is only a tag, such as
46+ `<pasted_content id="5c50">`, counts as no title.
4647 - **Merge queue**: what is waiting to land and what is being tested,
4748 as on the [Merge queue](/guides/merge-queue/#the-merge-queue-page) page.
4849 - **What happened**: the latest 30 coordination events, from claims to
177178 1. **It says what it is for.** Give it a `title` when you start it, or
178179 later with `session` `update`. The
179180 [Claude Code plugin](/guides/claude-code-plugin/#work-with-no-issue-yet)
180− titles each session from its first prompt that is not a slash command,
181− and never replaces a title the session already has.
181+ titles each session from its first prompt that says what it is for,
182+ from the words you typed: pasted text and image placeholders are left
183+ out, and a slash command or a prompt that is only a paste leaves the
184+ title to the next prompt. It never replaces a title the session
185+ already has.
182186 2. **It shows where it works.** Attach its `branch` and, once there is
183187 one, its `pull`: **Live now** groups sessions on no issue by pull
184188 request, then by branch.

Comments

Sign in to comment.