heyquilt 0.3.179 → 0.3.180
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/RELEASES.md +4 -0
- package/package.json +1 -1
- package/src/agent-task-workflow.js +2 -2
- package/src/control.js +4 -2
- package/src/mcp.js +1 -1
- package/src/session.js +2 -2
- package/src/ui/agent-guide.js +1 -1
package/RELEASES.md
CHANGED
|
@@ -11,6 +11,10 @@ Format: `## <version> — <YYYY-MM-DD>`, an optional one-line summary, then bull
|
|
|
11
11
|
Lead each bullet with a short bold phrase. Inline `code` and **bold** are rendered;
|
|
12
12
|
nothing else is.
|
|
13
13
|
|
|
14
|
+
## 0.3.180 — 2026-11-19
|
|
15
|
+
|
|
16
|
+
- **You stay with your partner unless you choose a ticket.** In 0.3.179 your folder moved onto a ticket's branch whenever your AI marked a ticket as in progress, which could split you from the person you were building with. Now a person's folder moves only when that person clicks **Open ticket** on the board. Hop in a session and build, with no tickets, and you are both on the same branch, live, as before. Agents that are members of their own are still moved onto the ticket's branch when they take it.
|
|
17
|
+
|
|
14
18
|
## 0.3.179 — 2026-11-18
|
|
15
19
|
|
|
16
20
|
- **A ticket has its own branch.** A ticket is a unit of work, and its work now lives on a git branch of its own. On the board, **Open ticket** moves your folder onto that branch; **Leave** takes it back to the main one. Everyone who has the same ticket open edits live together there, and nobody else gets that work until it is merged.
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ export const TASK_WORKFLOW =
|
|
|
24
24
|
'When finished, move the ticket to QA (not straight to Done) with `qaNotes`: describe the changes you made and how you self-validated them. ' +
|
|
25
25
|
'Keep qaNotes, verified and task comments brief: a few short sentences, no logs or play-by-play. ' +
|
|
26
26
|
'Moving to Done still requires `verified` (what you ran and what you saw). Unit tests passing is not enough when the app itself was not exercised. ' +
|
|
27
|
-
'Get the task\'s files into git before you move it to QA: commit only the files you changed, and push.
|
|
27
|
+
'Get the task\'s files into git before you move it to QA: commit only the files you changed, and push. A ticket can have a branch of its own (quilt/<ticket>), where everyone who has the ticket open works together. A person opens one from the board when they want it, and their folder stays where it is otherwise: taking a ticket never moves a person\'s folder. An agent that joined as its own member is moved onto the ticket\'s branch when it takes the ticket: it pushes that branch and opens the pull request itself, and its ticket moves to QA only once the branch is committed and pushed. Quilt does not commit, push, open pull requests or merge them for anyone. Without a folder you cannot commit: say in `qaNotes` which files need committing. Work only in the session has not shipped.'
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* What an AI is told after taking a ticket about the branch its folder is on (Session.openTask's
|
|
@@ -48,7 +48,7 @@ export const TASK_WORKFLOW_MD =
|
|
|
48
48
|
' 5. **QA**: move to `qa` (not straight to Done) with `qaNotes` describing the changes and how you self-validated them.\n' +
|
|
49
49
|
' Keep `qaNotes`, `verified` and task comments brief: a few short sentences, no logs or play-by-play.\n' +
|
|
50
50
|
' 6. **Done** (after QA): `quilt_move_task` to `done` needs `verified`, what you ran and what you saw. Unit tests passing is not enough when the app itself was not exercised.\n' +
|
|
51
|
-
' 7. **Commit and push** before QA: only the files you changed, with a message.
|
|
51
|
+
' 7. **Commit and push** before QA: only the files you changed, with a message. A ticket can have a branch of its own (quilt/<ticket>), where everyone who has the ticket open works together. A person opens one from the board when they want it, and their folder stays where it is otherwise: taking a ticket never moves a person\'s folder. An agent that joined as its own member is moved onto the ticket\'s branch when it takes the ticket: it pushes that branch and opens the pull request itself, and its ticket moves to QA only once the branch is committed and pushed. Quilt does not commit, push or merge for anyone. Without a folder you cannot commit: say in `qaNotes` which files need committing. Work only in the session has not shipped.'
|
|
52
52
|
|
|
53
53
|
/** Scaffolded into AGENTS.md by `quilt setup` when the project has no checklist yet. Owners edit it in place. */
|
|
54
54
|
export const CHECKLIST_SCAFFOLD = `${CHECKLIST_HEADING}
|
package/src/control.js
CHANGED
|
@@ -144,8 +144,10 @@ export async function startControl (session, extras = {}) {
|
|
|
144
144
|
session.noteTaskChange(before, task, b.via)
|
|
145
145
|
if (b.column === 'doing' && task) session.personaSays(b.via, task.title) // taking a task can name an AI session
|
|
146
146
|
if (task && (b.column === 'doing' || b.column === 'done')) session.stitchClock(b.via, b.column === 'doing')
|
|
147
|
-
//
|
|
148
|
-
|
|
147
|
+
// An agent taking a ticket opens it: its folder moves onto the ticket's branch (session.js openTask). A person's
|
|
148
|
+
// folder never moves because their AI took a ticket: people stay together on the branch they are on, and open a
|
|
149
|
+
// ticket themselves, from the board, when they want its branch.
|
|
150
|
+
const branch = b.column === 'doing' && task && session.kind === 'agent' ? await session.openTask(task.id).catch(() => null) : null
|
|
149
151
|
return { task: branch ? session.taskList().find((t) => t.id === task.id) || task : task, tasks: session.taskList(), ...(branch && !branch.already ? { branch } : {}) }
|
|
150
152
|
},
|
|
151
153
|
// Opening a ticket without moving it on the board, and going back to the default branch.
|
package/src/mcp.js
CHANGED
|
@@ -259,7 +259,7 @@ export async function runMcp () {
|
|
|
259
259
|
}, { gate: gateFor('quilt_add_task') }))
|
|
260
260
|
|
|
261
261
|
server.registerTool('quilt_move_task', {
|
|
262
|
-
description: 'Move a task on the shared board. "doing" when you start it: you get a briefing (its files, recent changes to them, the project\'s checks), and
|
|
262
|
+
description: 'Move a task on the shared board. "doing" when you start it: you get a briefing (its files, recent changes to them, the project\'s checks), and an agent that is a member of its own is moved onto the ticket\'s own git branch (quilt/<ticket>); a person\'s folder stays where it is. ' +
|
|
263
263
|
'"qa" when you finish implementing and testing: requires `qaNotes` (what changed and how you self-validated); without it the move is refused, and so is an agent\'s move while the ticket\'s branch is not committed and pushed. ' +
|
|
264
264
|
'"done" after QA: requires `verified`, what you ran and what you saw; without it the move is refused.',
|
|
265
265
|
inputSchema: {
|
package/src/session.js
CHANGED
|
@@ -2520,8 +2520,8 @@ export class Session extends EventEmitter {
|
|
|
2520
2520
|
|
|
2521
2521
|
// ------------------------------------------------------ ticket branches --
|
|
2522
2522
|
// A ticket is a unit of work, and its work is on a branch of its own: quilt/<ticket> (Daniel,
|
|
2523
|
-
// 2026-11-18). Opening a ticket (from the board
|
|
2524
|
-
// onto that branch. Everyone who has the ticket open edits live together there, and nobody else
|
|
2523
|
+
// 2026-11-18). Opening a ticket (a person, from the board; an agent, by taking it) moves this folder, a
|
|
2524
|
+
// git clone, onto that branch. A person's folder never moves because their AI took a ticket. Everyone who has the ticket open edits live together there, and nobody else
|
|
2525
2525
|
// gets that work until it is merged. The first to open a ticket makes its branch from the latest
|
|
2526
2526
|
// commit of the branch they are on, without the uncommitted work everyone has there (the session
|
|
2527
2527
|
// keeps that there). An agent's ticket moves to QA only once its work on the branch is committed
|
package/src/ui/agent-guide.js
CHANGED
|
@@ -97,7 +97,7 @@ export function agentGuide ({ apiUrl = 'https://api.heyquilt.com', via = 'both'
|
|
|
97
97
|
'',
|
|
98
98
|
'### Getting your work into git',
|
|
99
99
|
'- Work that is only in the session has not shipped. Get it into git yourself as soon as it is finished and tested, before you move its task to QA.',
|
|
100
|
-
cli ? `- ${both ? 'With the CLI, join' : 'Join'} from a git clone of the repository (\`git clone <url>\` first, then \`quilt join\` in it). Git is yours to run, with your own sign-in. A ticket is a unit of work, and its work is on a branch of its own, quilt/<ticket>. Taking a ticket (\`quilt_move_task\` to doing) moves your folder onto that branch, made from the latest commit when nobody opened the ticket before. Everyone who has the ticket open works there together, live; nobody else gets that work until it is merged. Commit only the files you changed there (never \`git add -A\` or \`git commit -a\`), \`git push -u origin <that branch>\`, and open the pull request yourself (\`gh pr create\`). Your ticket moves to QA only once the branch is committed and pushed. Quilt does not commit, push, open pull requests or merge them for anyone.` : null,
|
|
100
|
+
cli ? `- ${both ? 'With the CLI, join' : 'Join'} from a git clone of the repository (\`git clone <url>\` first, then \`quilt join\` in it). Git is yours to run, with your own sign-in. A ticket is a unit of work, and its work is on a branch of its own, quilt/<ticket>. Taking a ticket (\`quilt_move_task\` to doing) moves your folder onto that branch, made from the latest commit when nobody opened the ticket before (an agent's folder only: a person's stays where it is unless they open the ticket from the board). Everyone who has the ticket open works there together, live; nobody else gets that work until it is merged. Commit only the files you changed there (never \`git add -A\` or \`git commit -a\`), \`git push -u origin <that branch>\`, and open the pull request yourself (\`gh pr create\`). Your ticket moves to QA only once the branch is committed and pushed. Quilt does not commit, push, open pull requests or merge them for anyone.` : null,
|
|
101
101
|
cli ? `- ${both ? 'With the CLI: s' : 'S'}witching branches moves your folder to that branch's work in the session, and the branch you left keeps its own. Your folder also holds everyone's uncommitted work on the branch you are on, so git may refuse a checkout ("local changes would be overwritten"): switch with \`git checkout -f <branch>\`. Nothing is lost, because the session keeps that work on the branch you leave. A \`git stash\` on its own is put back a moment later.` : null,
|
|
102
102
|
cli ? `- ${both ? 'With the CLI: c' : 'C'}ommits pushed to your branch's upstream (a partner's push, a pull request merged on GitHub) come into your folder by themselves: about once a minute, and when a partner's folder moves, Quilt fetches the upstream and moves your branch forward to them, keeping the session's uncommitted work. There is nothing to pull. For that the folder needs fetch credentials that work without a prompt (a credential helper, an SSH key, or a token in the remote's URL). Quilt leaves two cases to your own git, and \`quilt_status\` says so under "Git": your branch has commits of its own that the upstream hasn't, and a commit changed the same lines as uncommitted work (commit it first). In both, pull with \`git pull --rebase --autostash\` (or \`--no-rebase\` to merge) and settle any conflict. While git is stopped on a conflict (a merge, rebase, cherry-pick or revert) your folder is paused: nothing is shared from it or written to it until you settle it and commit. Quilt never rewrites or force-pushes history, and neither should you.` : null,
|
|
103
103
|
http ? `- ${both ? 'Over HTTP you have no folder, so ' : 'You have no folder, so '}you cannot commit. What you write is in the session and in every member's folder, and someone with a folder commits it: say in your task's \`qaNotes\` which files need committing. Quilt never rewrites or force-pushes history.` : null,
|