{"file":"client/test/issues.test.ts","version":318,"total":534,"from":1,"to":534,"lines":[{"n":1,"text":"// The Issues commands (#54) as far as the client alone decides them: which","atom":"a0","author":"init","version":0},{"n":2,"text":"// Issues Worker a folder talks to, whether the token may go there, the MCP","atom":"a0","author":"init","version":0},{"n":3,"text":"// tools, and the usage mistakes refused before any call. The Issues server","atom":"a0","author":"init","version":0},{"n":4,"text":"// here is a stand-in that only counts calls; the commands against the real","atom":"a0","author":"init","version":0},{"n":5,"text":"// store are issues/test/client-commands.test.ts, on the platform side (abso","atom":"a0","author":"init","version":0},{"n":6,"text":"// issue 141).","atom":"a0","author":"init","version":0},{"n":7,"text":"","atom":"a0","author":"init","version":0},{"n":8,"text":"import assert from \"node:assert/strict\";","atom":"a0","author":"init","version":0},{"n":9,"text":"import { mkdtempSync, rmSync, writeFileSync } from \"node:fs\";","atom":"a0","author":"init","version":0},{"n":10,"text":"import { createServer, type Server } from \"node:http\";","atom":"a0","author":"init","version":0},{"n":11,"text":"import type { AddressInfo } from \"node:net\";","atom":"a0","author":"init","version":0},{"n":12,"text":"import { tmpdir } from \"node:os\";","atom":"a0","author":"init","version":0},{"n":13,"text":"import { join } from \"node:path\";","atom":"a0","author":"init","version":0},{"n":14,"text":"import { after, before, describe, it } from \"node:test\";","atom":"a0","author":"init","version":0},{"n":15,"text":"import { readConfig, readMachineServers } from \"../src/config.ts\";","atom":"a166","author":"pinch","version":23},{"n":16,"text":"import { issuesServerFor, tokenGoesTo, tokenGoesToIssues } from \"../src/core.ts\";","atom":"a1516","author":"trials","version":151},{"n":17,"text":"import { issuePage, searchLines } from \"../src/issues.ts\";","atom":"a485","author":"pinch","version":53},{"n":18,"text":"import type { IssuePage } from \"../src/issues-wire.ts\";","atom":"a485","author":"pinch","version":53},{"n":19,"text":"import { main } from \"../src/main.ts\";","atom":"a0","author":"init","version":0},{"n":20,"text":"import { argvFor, mcpTools } from \"../src/mcp.ts\";","atom":"a0","author":"init","version":0},{"n":21,"text":"import { type Fake, startFake } from \"./fake-server.ts\";","atom":"a0","author":"init","version":0},{"n":22,"text":"","atom":"a0","author":"init","version":0},{"n":23,"text":"const TOKEN = \"test-token-not-secret\";","atom":"a0","author":"init","version":0},{"n":24,"text":"","atom":"a0","author":"init","version":0},{"n":25,"text":"let fake: Fake;","atom":"a0","author":"init","version":0},{"n":26,"text":"let issues: Server;","atom":"a0","author":"init","version":0},{"n":27,"text":"let issuesUrl: string;","atom":"a0","author":"init","version":0},{"n":28,"text":"/** Every call the stand-in Issues server took. */","atom":"a0","author":"init","version":0},{"n":29,"text":"const seen: string[] = [];","atom":"a0","author":"init","version":0},{"n":30,"text":"/** The bodies of the copy requests it took. */","atom":"a160","author":"pinch","version":23},{"n":31,"text":"const copies: Record<string, unknown>[] = [];","atom":"a160","author":"pinch","version":23},{"n":32,"text":"/** The bodies of the replies it took. */","atom":"a663","author":"pinch","version":72},{"n":33,"text":"const replies: { text: string; question?: boolean }[] = [];","atom":"a663","author":"pinch","version":72},{"n":34,"text":"/** An open ask of fay's from desk with a thread: fay's ack, then a question back, so it waits on desk. */","atom":"a663","author":"pinch","version":72},{"n":35,"text":"const threaded = {","atom":"a663","author":"pinch","version":72},{"n":36,"text":"\tid: 7,","atom":"a663","author":"pinch","version":72},{"n":37,"text":"\tissue: 3,","atom":"a663","author":"pinch","version":72},{"n":38,"text":"\ttitle: \"Pull is slow\",","atom":"a856","author":"rename","version":100},{"n":39,"text":"\tby: \"desk\",","atom":"a663","author":"pinch","version":72},{"n":40,"text":"\tof: \"fay\",","atom":"a663","author":"pinch","version":72},{"n":41,"text":"\tkind: \"question\",","atom":"a663","author":"pinch","version":72},{"n":42,"text":"\tquestion: \"Which way?\",","atom":"a663","author":"pinch","version":72},{"n":43,"text":"\treview: false,","atom":"a663","author":"pinch","version":72},{"n":44,"text":"\tdue: null,","atom":"a663","author":"pinch","version":72},{"n":45,"text":"\trecommendation: null,","atom":"a663","author":"pinch","version":72},{"n":46,"text":"\toptions: [],","atom":"a663","author":"pinch","version":72},{"n":47,"text":"\tblocks: [],","atom":"a663","author":"pinch","version":72},{"n":48,"text":"\tat: 0,","atom":"a663","author":"pinch","version":72},{"n":49,"text":"\tanswer: null,","atom":"a663","author":"pinch","version":72},{"n":50,"text":"\tseen: 0,","atom":"a663","author":"pinch","version":72},{"n":51,"text":"\tack: { at: 0, note: \"ok, let me check\" },","atom":"a663","author":"pinch","version":72},{"n":52,"text":"\treplies: [","atom":"a663","author":"pinch","version":72},{"n":53,"text":"\t\t{ id: 1, by: \"fay\", text: \"ok, let me check\", at: 0 },","atom":"a663","author":"pinch","version":72},{"n":54,"text":"\t\t{ id: 2, by: \"fay\", text: \"staging or live?\\nlive is 906\", at: 0, question: true },","atom":"a663","author":"pinch","version":72},{"n":55,"text":"\t],","atom":"a663","author":"pinch","version":72},{"n":56,"text":"\twaitingOn: \"desk\",","atom":"a663","author":"pinch","version":72},{"n":57,"text":"};","atom":"a663","author":"pinch","version":72},{"n":58,"text":"const dirs: string[] = [];","atom":"a0","author":"init","version":0},{"n":59,"text":"","atom":"a0","author":"init","version":0},{"n":60,"text":"before(async () => {","atom":"a0","author":"init","version":0},{"n":61,"text":"\tfake = await startFake(0, TOKEN);","atom":"a0","author":"init","version":0},{"n":62,"text":"\tissues = createServer((req, res) => {","atom":"a0","author":"init","version":0},{"n":63,"text":"\t\tseen.push(`${req.method} ${req.url}`);","atom":"a0","author":"init","version":0},{"n":64,"text":"\t\tconst send = (status: number, body: unknown) =>","atom":"a160","author":"pinch","version":23},{"n":65,"text":"\t\t\tres.writeHead(status, { \"content-type\": \"application/json\" }).end(JSON.stringify(body));","atom":"a160","author":"pinch","version":23},{"n":66,"text":"\t\tif (req.method === \"POST\" && /\\/copy$/.test(req.url ?? \"\")) {","atom":"a160","author":"pinch","version":23},{"n":67,"text":"\t\t\tlet raw = \"\";","atom":"a160","author":"pinch","version":23},{"n":68,"text":"\t\t\treq.on(\"data\", (c: Buffer) => (raw += c.toString(\"utf8\")));","atom":"a160","author":"pinch","version":23},{"n":69,"text":"\t\t\treq.on(\"end\", () => {","atom":"a160","author":"pinch","version":23},{"n":70,"text":"\t\t\t\tconst body = JSON.parse(raw) as Record<string, unknown>;","atom":"a160","author":"pinch","version":23},{"n":71,"text":"\t\t\t\tcopies.push(body);","atom":"a160","author":"pinch","version":23},{"n":72,"text":"\t\t\t\t// Issue 403 stands for a live server refusing an agent's copy.","atom":"a160","author":"pinch","version":23},{"n":73,"text":"\t\t\t\tif (body.issue === 403 && body.dryRun !== true)","atom":"a160","author":"pinch","version":23},{"n":74,"text":"\t\t\t\t\treturn send(403, { error: \"copying an issue out of its project takes an owner of that project\" });","atom":"a160","author":"pinch","version":23},{"n":75,"text":"\t\t\t\tconst skipped = { comments: [4], asks: [2] };","atom":"a160","author":"pinch","version":23},{"n":76,"text":"\t\t\t\tif (body.dryRun === true)","atom":"a160","author":"pinch","version":23},{"n":77,"text":"\t\t\t\t\treturn send(200, {","atom":"a160","author":"pinch","version":23},{"n":78,"text":"\t\t\t\t\t\tdryRun: true,","atom":"a160","author":"pinch","version":23},{"n":79,"text":"\t\t\t\t\t\tplan: {","atom":"a160","author":"pinch","version":23},{"n":80,"text":"\t\t\t\t\t\t\tfrom: { project: body.from, issue: body.issue },","atom":"a160","author":"pinch","version":23},{"n":81,"text":"\t\t\t\t\t\t\ttitle: \"Pull is slow\",","atom":"a856","author":"rename","version":100},{"n":82,"text":"\t\t\t\t\t\t\tedited: [\"description\"],","atom":"a160","author":"pinch","version":23},{"n":83,"text":"\t\t\t\t\t\t\tlabels: [\"client\"],","atom":"a160","author":"pinch","version":23},{"n":84,"text":"\t\t\t\t\t\t\tclosed: { how: \"done\" },","atom":"a160","author":"pinch","version":23},{"n":85,"text":"\t\t\t\t\t\t\tcomments: [{ edited: false }, { edited: true }],","atom":"a160","author":"pinch","version":23},{"n":86,"text":"\t\t\t\t\t\t\tasks: [{ edited: false }],","atom":"a160","author":"pinch","version":23},{"n":87,"text":"\t\t\t\t\t\t\tskipped,","atom":"a160","author":"pinch","version":23},{"n":88,"text":"\t\t\t\t\t\t},","atom":"a160","author":"pinch","version":23},{"n":89,"text":"\t\t\t\t\t});","atom":"a160","author":"pinch","version":23},{"n":90,"text":"\t\t\t\tsend(200, { ok: true, id: 31, from: { project: body.from, issue: body.issue }, skipped });","atom":"a160","author":"pinch","version":23},{"n":91,"text":"\t\t\t});","atom":"a160","author":"pinch","version":23},{"n":92,"text":"\t\t\treturn;","atom":"a160","author":"pinch","version":23},{"n":93,"text":"\t\t}","atom":"a160","author":"pinch","version":23},{"n":94,"text":"\t\t// An ack answers with the ask, acknowledged and still open.","atom":"a485","author":"pinch","version":53},{"n":95,"text":"\t\tconst ack = /\\/a\\/([^/]+)\\/ack\\/(\\d+)$/.exec(req.url ?? \"\");","atom":"a485","author":"pinch","version":53},{"n":96,"text":"\t\tif (req.method === \"POST\" && ack)","atom":"a485","author":"pinch","version":53},{"n":97,"text":"\t\t\treturn send(200, {","atom":"a485","author":"pinch","version":53},{"n":98,"text":"\t\t\t\task: { id: Number(ack[2]), by: \"desk\", of: ack[1], answer: null, ack: { at: Date.now(), note: \"\" } },","atom":"a485","author":"pinch","version":53},{"n":99,"text":"\t\t\t});","atom":"a485","author":"pinch","version":53},{"n":100,"text":"\t\t// Ask 404 stands for a server from before ask threads: neither route is there.","atom":"a787","author":"pinch","version":89},{"n":101,"text":"\t\tif (/\\/(ask|reply)\\/404$/.test(req.url ?? \"\")) return send(404, { error: \"no such issues route\" });","atom":"a787","author":"pinch","version":89},{"n":102,"text":"\t\t// A reply answers with the ask; from the one asked, a question makes it wait on the asker.","atom":"a663","author":"pinch","version":72},{"n":103,"text":"\t\tconst reply = /\\/a\\/([^/]+)\\/reply\\/(\\d+)$/.exec(req.url ?? \"\");","atom":"a663","author":"pinch","version":72},{"n":104,"text":"\t\tif (req.method === \"POST\" && reply) {","atom":"a663","author":"pinch","version":72},{"n":105,"text":"\t\t\tlet raw = \"\";","atom":"a663","author":"pinch","version":72},{"n":106,"text":"\t\t\treq.on(\"data\", (c: Buffer) => (raw += c.toString(\"utf8\")));","atom":"a663","author":"pinch","version":72},{"n":107,"text":"\t\t\treq.on(\"end\", () => {","atom":"a663","author":"pinch","version":72},{"n":108,"text":"\t\t\t\tconst body = JSON.parse(raw) as { text: string; question?: boolean };","atom":"a663","author":"pinch","version":72},{"n":109,"text":"\t\t\t\treplies.push(body);","atom":"a663","author":"pinch","version":72},{"n":110,"text":"\t\t\t\tsend(200, {","atom":"a663","author":"pinch","version":72},{"n":111,"text":"\t\t\t\t\task: {","atom":"a663","author":"pinch","version":72},{"n":112,"text":"\t\t\t\t\t\tid: Number(reply[2]),","atom":"a663","author":"pinch","version":72},{"n":113,"text":"\t\t\t\t\t\tby: \"desk\",","atom":"a663","author":"pinch","version":72},{"n":114,"text":"\t\t\t\t\t\tof: reply[1],","atom":"a663","author":"pinch","version":72},{"n":115,"text":"\t\t\t\t\t\tanswer: null,","atom":"a663","author":"pinch","version":72},{"n":116,"text":"\t\t\t\t\t\twaitingOn: body.question ? \"desk\" : reply[1],","atom":"a663","author":"pinch","version":72},{"n":117,"text":"\t\t\t\t\t},","atom":"a663","author":"pinch","version":72},{"n":118,"text":"\t\t\t\t});","atom":"a663","author":"pinch","version":72},{"n":119,"text":"\t\t\t});","atom":"a663","author":"pinch","version":72},{"n":120,"text":"\t\t\treturn;","atom":"a663","author":"pinch","version":72},{"n":121,"text":"\t\t}","atom":"a663","author":"pinch","version":72},{"n":122,"text":"\t\t// One ask with its thread, and the asks an agent sent.","atom":"a663","author":"pinch","version":72},{"n":123,"text":"\t\tconst one = /\\/ask\\/(\\d+)$/.exec(req.url ?? \"\");","atom":"a663","author":"pinch","version":72},{"n":124,"text":"\t\tif (req.method === \"GET\" && one) return send(200, { ask: { ...threaded, id: Number(one[1]) } });","atom":"a663","author":"pinch","version":72},{"n":125,"text":"\t\tif (req.method === \"GET\" && /\\/a\\/[^/]+\\/asked$/.test(req.url ?? \"\"))","atom":"a663","author":"pinch","version":72},{"n":126,"text":"\t\t\treturn send(200, {","atom":"a663","author":"pinch","version":72},{"n":127,"text":"\t\t\t\tasks: [","atom":"a663","author":"pinch","version":72},{"n":128,"text":"\t\t\t\t\tthreaded,","atom":"a663","author":"pinch","version":72},{"n":129,"text":"\t\t\t\t\t{ ...threaded, id: 8, replies: [], answer: { by: \"fay\", words: \"yes\", at: 0 }, waitingOn: null },","atom":"a663","author":"pinch","version":72},{"n":130,"text":"\t\t\t\t],","atom":"a663","author":"pinch","version":72},{"n":131,"text":"\t\t\t});","atom":"a663","author":"pinch","version":72},{"n":132,"text":"\t\tsend(500, { error: \"a stand-in\" });","atom":"a160","author":"pinch","version":23},{"n":133,"text":"\t});","atom":"a0","author":"init","version":0},{"n":134,"text":"\t// As fake-server.ts: never close an idle kept-alive connection, or under load the client can reuse one as it closes","atom":"a824","author":"infra-pipeline","version":99},{"n":135,"text":"\t// and fail with ECONNRESET (abso 410).","atom":"a824","author":"infra-pipeline","version":99},{"n":136,"text":"\tissues.keepAliveTimeout = 0;","atom":"a824","author":"infra-pipeline","version":99},{"n":137,"text":"\tawait new Promise<void>((ok) => issues.listen(0, \"127.0.0.1\", ok));","atom":"a0","author":"init","version":0},{"n":138,"text":"\tissuesUrl = `http://127.0.0.1:${(issues.address() as AddressInfo).port}`;","atom":"a0","author":"init","version":0},{"n":139,"text":"});","atom":"a0","author":"init","version":0},{"n":140,"text":"after(async () => {","atom":"a0","author":"init","version":0},{"n":141,"text":"\tawait fake.close();","atom":"a0","author":"init","version":0},{"n":142,"text":"\tawait new Promise((ok) => issues.close(ok));","atom":"a0","author":"init","version":0},{"n":143,"text":"\tfor (const d of dirs) rmSync(d, { recursive: true, force: true, maxRetries: 5 });","atom":"a0","author":"init","version":0},{"n":144,"text":"});","atom":"a0","author":"init","version":0},{"n":145,"text":"","atom":"a0","author":"init","version":0},{"n":146,"text":"const ENV = (): Record<string, string> => ({","atom":"a0","author":"init","version":0},{"n":147,"text":"\tAVCS_TOKEN: TOKEN,","atom":"a0","author":"init","version":0},{"n":148,"text":"\tAVCS_HOOK_FORCE: \"1\",","atom":"a0","author":"init","version":0},{"n":149,"text":"\tAVCS_ISSUES_SERVER: issuesUrl,","atom":"a0","author":"init","version":0},{"n":150,"text":"\tAVCS_SERVERS_FILE: \"no-servers.json\",","atom":"a0","author":"init","version":0},{"n":151,"text":"});","atom":"a0","author":"init","version":0},{"n":152,"text":"","atom":"a0","author":"init","version":0},{"n":153,"text":"async function avcs(","atom":"a0","author":"init","version":0},{"n":154,"text":"\tcwd: string,","atom":"a0","author":"init","version":0},{"n":155,"text":"\targv: string[],","atom":"a0","author":"init","version":0},{"n":156,"text":"\tenv: Record<string, string> = ENV(),","atom":"a0","author":"init","version":0},{"n":157,"text":"): Promise<{ exit: number; out: string }> {","atom":"a0","author":"init","version":0},{"n":158,"text":"\tconst r = await main([...argv, \"--json\"], { cwd, env, write: () => {} });","atom":"a0","author":"init","version":0},{"n":159,"text":"\treturn { exit: r.exit, out: r.stdout + r.stderr };","atom":"a0","author":"init","version":0},{"n":160,"text":"}","atom":"a0","author":"init","version":0},{"n":161,"text":"","atom":"a0","author":"init","version":0},{"n":162,"text":"let projects = 0;","atom":"a0","author":"init","version":0},{"n":163,"text":"async function folder(agent: string): Promise<string> {","atom":"a0","author":"init","version":0},{"n":164,"text":"\tconst dir = mkdtempSync(join(tmpdir(), \"avcs-issues-\"));","atom":"a0","author":"init","version":0},{"n":165,"text":"\tdirs.push(dir);","atom":"a0","author":"init","version":0},{"n":166,"text":"\tconst r = await avcs(dir, [\"init\", \"--server\", fake.url, \"--project\", `issues${++projects}`, \"--agent\", agent]);","atom":"a0","author":"init","version":0},{"n":167,"text":"\tassert.equal(r.exit, 0, r.out);","atom":"a0","author":"init","version":0},{"n":168,"text":"\treturn dir;","atom":"a0","author":"init","version":0},{"n":169,"text":"}","atom":"a0","author":"init","version":0},{"n":170,"text":"","atom":"a0","author":"init","version":0},{"n":171,"text":"describe(\"issues commands, the client's part (#54)\", () => {","atom":"a0","author":"init","version":0},{"n":172,"text":"\tit(\"sends the token only to an Issues Worker it trusts\", async () => {","atom":"a0","author":"init","version":0},{"n":173,"text":"\t\tconst dave = await folder(\"dave\");","atom":"a0","author":"init","version":0},{"n":174,"text":"\t\tconst before = seen.length;","atom":"a0","author":"init","version":0},{"n":175,"text":"\t\tconst r = await avcs(dave, [\"issues\"], { ...ENV(), AVCS_ISSUES_SERVER: \"https://issues.example.com\" });","atom":"a0","author":"init","version":0},{"n":176,"text":"\t\tassert.equal(r.exit, 1, r.out);","atom":"a0","author":"init","version":0},{"n":177,"text":"\t\tassert.match(r.out, /sends your token only to its own servers and this machine/);","atom":"a0","author":"init","version":0},{"n":178,"text":"\t\tassert.equal(seen.length, before);","atom":"a0","author":"init","version":0},{"n":179,"text":"\t});","atom":"a1516","author":"trials","version":151},{"n":180,"text":"","atom":"a1516","author":"trials","version":151},{"n":181,"text":"\tit(\"with no Issues Worker named, uses the server's own /issues, as the open server keeps them\", () => {","atom":"a1516","author":"trials","version":151},{"n":182,"text":"\t\tassert.equal(issuesServerFor(\"https://abso.example\"), \"https://abso.example/issues\");","atom":"a1516","author":"trials","version":151},{"n":183,"text":"\t\tassert.equal(issuesServerFor(\"https://Abso.Example/\"), \"https://abso.example/issues\");","atom":"a1516","author":"trials","version":151},{"n":184,"text":"\t\tassert.equal(issuesServerFor(\"http://localhost:8787\"), \"http://localhost:8787/issues\");","atom":"a1516","author":"trials","version":151},{"n":185,"text":"\t\tassert.equal(issuesServerFor(\"not a server\"), undefined);","atom":"a1516","author":"trials","version":151},{"n":186,"text":"\t\t// abso's hosted server keeps its own Issues Worker, and servers.json still comes first.","atom":"a1516","author":"trials","version":151},{"n":187,"text":"\t\tassert.equal(issuesServerFor(\"https://api.abso.dev\"), \"https://issues.abso.dev\");","atom":"a1516","author":"trials","version":151},{"n":188,"text":"\t\tconst machine = {","atom":"a1516","author":"trials","version":151},{"n":189,"text":"\t\t\ttrusted: [],","atom":"a1516","author":"trials","version":151},{"n":190,"text":"\t\t\tissues: { \"https://staging.abso.example\": \"https://issues-staging.abso.example\" },","atom":"a1516","author":"trials","version":151},{"n":191,"text":"\t\t};","atom":"a1516","author":"trials","version":151},{"n":192,"text":"\t\tassert.equal(issuesServerFor(\"https://staging.abso.example\", machine), \"https://issues-staging.abso.example\");","atom":"a1516","author":"trials","version":151},{"n":193,"text":"\t\t// The token goes to <server>/issues exactly where it goes to <server>.","atom":"a1516","author":"trials","version":151},{"n":194,"text":"\t\tassert.ok(tokenGoesToIssues(\"https://api.abso.dev/issues\"));","atom":"a1516","author":"trials","version":151},{"n":195,"text":"\t\tassert.ok(tokenGoesToIssues(\"http://localhost:8787/issues\"));","atom":"a1516","author":"trials","version":151},{"n":196,"text":"\t\tassert.ok(tokenGoesToIssues(\"https://mine.example/issues\", \"https://mine.example\"));","atom":"a1516","author":"trials","version":151},{"n":197,"text":"\t\tassert.equal(tokenGoesToIssues(\"https://evil.example/issues\"), false);","atom":"a1516","author":"trials","version":151},{"n":198,"text":"\t\tassert.equal(tokenGoesToIssues(\"https://api.abso.dev@evil.example/issues\"), false);","atom":"a1516","author":"trials","version":151},{"n":199,"text":"\t\tassert.equal(tokenGoesToIssues(\"https://api.abso.dev/issues?x=1\"), false);","atom":"a1516","author":"trials","version":151},{"n":200,"text":"\t\tassert.equal(tokenGoesToIssues(\"http://mine.example/issues\", \"http://mine.example\"), false, \"plain http only here\");","atom":"a1516","author":"trials","version":151},{"n":201,"text":"\t\t// The server itself still takes no path.","atom":"a1516","author":"trials","version":151},{"n":202,"text":"\t\tassert.equal(tokenGoesTo(\"https://api.abso.dev/issues\"), false);","atom":"a1516","author":"trials","version":151},{"n":203,"text":"\t});","atom":"a1516","author":"trials","version":151},{"n":204,"text":"","atom":"a1516","author":"trials","version":151},{"n":205,"text":"\tit(\"calls <issues server>/p/<project>/... when the Issues Worker is at a path\", async () => {","atom":"a1516","author":"trials","version":151},{"n":206,"text":"\t\tconst fay = await folder(\"fay\");","atom":"a1516","author":"trials","version":151},{"n":207,"text":"\t\tconst before = seen.length;","atom":"a1516","author":"trials","version":151},{"n":208,"text":"\t\tconst env = { ...ENV(), AVCS_ISSUES_SERVER: `${issuesUrl}/issues` };","atom":"a1516","author":"trials","version":151},{"n":209,"text":"\t\tconst r = await main([\"ask\", \"7\"], { cwd: fay, env, write: () => {} });","atom":"a1516","author":"trials","version":151},{"n":210,"text":"\t\tassert.equal(r.exit, 0, r.stdout + r.stderr);","atom":"a1516","author":"trials","version":151},{"n":211,"text":"\t\tconst { project } = readConfig(fay);","atom":"a1516","author":"trials","version":151},{"n":212,"text":"\t\tassert.deepEqual(seen.slice(before), [`GET /issues/p/${project}/ask/7`]);","atom":"a1516","author":"trials","version":151},{"n":213,"text":"\t});","atom":"a0","author":"init","version":0},{"n":214,"text":"","atom":"a0","author":"init","version":0},{"n":215,"text":"\tit(\"finds a server's Issues Worker in this machine's servers.json, and may send it the token\", async () => {","atom":"a0","author":"init","version":0},{"n":216,"text":"\t\tconst dir = mkdtempSync(join(tmpdir(), \"abso-servers-\"));","atom":"a0","author":"init","version":0},{"n":217,"text":"\t\tdirs.push(dir);","atom":"a0","author":"init","version":0},{"n":218,"text":"\t\tconst file = join(dir, \"servers.json\");","atom":"a0","author":"init","version":0},{"n":219,"text":"\t\twriteFileSync(file, JSON.stringify({ servers: { [fake.url]: { issues: issuesUrl } } }));","atom":"a0","author":"init","version":0},{"n":220,"text":"\t\tconst erin = await folder(\"erin\");","atom":"a0","author":"init","version":0},{"n":221,"text":"\t\tconst before = seen.length;","atom":"a0","author":"init","version":0},{"n":222,"text":"\t\tconst { AVCS_ISSUES_SERVER: _, ...without } = ENV();","atom":"a0","author":"init","version":0},{"n":223,"text":"\t\tawait avcs(erin, [\"waiting\"], { ...without, AVCS_SERVERS_FILE: file });","atom":"a0","author":"init","version":0},{"n":224,"text":"\t\tassert.ok(seen.length > before, \"the call went to the Issues Worker servers.json names\");","atom":"a0","author":"init","version":0},{"n":225,"text":"\t\tconst machine = readMachineServers({ AVCS_SERVERS_FILE: file });","atom":"a0","author":"init","version":0},{"n":226,"text":"\t\tassert.equal(issuesServerFor(fake.url, machine), issuesUrl);","atom":"a0","author":"init","version":0},{"n":227,"text":"\t\tassert.equal(issuesServerFor(\"https://abso.example\", machine), \"https://abso.example/issues\");","atom":"a1516","author":"trials","version":151},{"n":228,"text":"\t\t// abso's own server and its Issues Worker are built in.","atom":"a0","author":"init","version":0},{"n":229,"text":"\t\tassert.ok(tokenGoesTo(\"https://api.abso.dev\"));","atom":"a0","author":"init","version":0},{"n":230,"text":"\t\tassert.ok(tokenGoesTo(\"https://issues.abso.dev\"));","atom":"a0","author":"init","version":0},{"n":231,"text":"\t\tassert.equal(issuesServerFor(\"https://api.abso.dev/\"), \"https://issues.abso.dev\");","atom":"a0","author":"init","version":0},{"n":232,"text":"\t});","atom":"a0","author":"init","version":0},{"n":233,"text":"","atom":"a0","author":"init","version":0},{"n":234,"text":"\tit(\"are MCP tools\", () => {","atom":"a0","author":"init","version":0},{"n":235,"text":"\t\tconst names = mcpTools().map((t) => t.name);","atom":"a0","author":"init","version":0},{"n":236,"text":"\t\tfor (const n of [\"issues\", \"issue\", \"search\", \"ask\", \"waiting\", \"answer\", \"ack\", \"reply\"])","atom":"a663","author":"pinch","version":72},{"n":237,"text":"\t\t\tassert.ok(names.includes(n), n);","atom":"a663","author":"pinch","version":72},{"n":238,"text":"\t\tassert.deepEqual(argvFor(\"ask\", { args: [\"alice\", \"Which login?\"], issue: \"3\", review: true }), [","atom":"a0","author":"init","version":0},{"n":239,"text":"\t\t\t\"ask\",","atom":"a0","author":"init","version":0},{"n":240,"text":"\t\t\t\"--issue=3\",","atom":"a0","author":"init","version":0},{"n":241,"text":"\t\t\t\"--review\",","atom":"a0","author":"init","version":0},{"n":242,"text":"\t\t\t\"--\",","atom":"a0","author":"init","version":0},{"n":243,"text":"\t\t\t\"alice\",","atom":"a0","author":"init","version":0},{"n":244,"text":"\t\t\t\"Which login?\",","atom":"a0","author":"init","version":0},{"n":245,"text":"\t\t]);","atom":"a0","author":"init","version":0},{"n":246,"text":"\t});","atom":"a0","author":"init","version":0},{"n":247,"text":"","atom":"a0","author":"init","version":0},{"n":248,"text":"\tit(\"refuses usage mistakes before any call\", async () => {","atom":"a0","author":"init","version":0},{"n":249,"text":"\t\tconst erin = await folder(\"erin\");","atom":"a0","author":"init","version":0},{"n":250,"text":"\t\tconst before = seen.length;","atom":"a0","author":"init","version":0},{"n":251,"text":"\t\tfor (const argv of [","atom":"a0","author":"init","version":0},{"n":252,"text":"\t\t\t[\"issue\"],","atom":"a0","author":"init","version":0},{"n":253,"text":"\t\t\t[\"issue\", \"x\"],","atom":"a0","author":"init","version":0},{"n":254,"text":"\t\t\t[\"ask\", \"alice\"],","atom":"a0","author":"init","version":0},{"n":255,"text":"\t\t\t[\"ask\", \"a\", \"q\", \"--review\", \"--task\"],","atom":"a0","author":"init","version":0},{"n":256,"text":"\t\t\t[\"answer\", \"3\"],","atom":"a0","author":"init","version":0},{"n":257,"text":"\t\t\t[\"issue\", \"1\", \"--comment\", \"a\", \"--drop\"],","atom":"a0","author":"init","version":0},{"n":258,"text":"\t\t\t[\"issues\", \"extra\"],","atom":"a0","author":"init","version":0},{"n":259,"text":"\t\t\t[\"ask\", \"--withdraw\", \"x\"],","atom":"a68","author":"infra-split","version":14},{"n":260,"text":"\t\t\t[\"ask\", \"--withdraw\", \"3\", \"alice\", \"q\"],","atom":"a68","author":"infra-split","version":14},{"n":261,"text":"\t\t\t[\"ask\", \"--withdraw\", \"3\", \"--issue\", \"2\"],","atom":"a68","author":"infra-split","version":14},{"n":262,"text":"\t\t\t[\"ask\", \"--withdraw\", \"3\", \"--task\"],","atom":"a68","author":"infra-split","version":14},{"n":263,"text":"\t\t\t[\"ask\", \"alice\", \"q\", \"--note\", \"a note without --withdraw\"],","atom":"a68","author":"infra-split","version":14},{"n":264,"text":"\t\t\t[\"search\"],","atom":"a139","author":"devops","version":20},{"n":265,"text":"\t\t\t[\"search\", \"words\", \"--limit\", \"0\"],","atom":"a139","author":"devops","version":20},{"n":266,"text":"\t\t\t[\"search\", \"words\", \"--limit\", \"51\"],","atom":"a139","author":"devops","version":20},{"n":267,"text":"\t\t]) {","atom":"a0","author":"init","version":0},{"n":268,"text":"\t\t\tconst r = await avcs(erin, argv);","atom":"a0","author":"init","version":0},{"n":269,"text":"\t\t\tassert.equal(r.exit, 1, `${argv.join(\" \")}: ${r.out}`);","atom":"a0","author":"init","version":0},{"n":270,"text":"\t\t}","atom":"a0","author":"init","version":0},{"n":271,"text":"\t\tassert.equal(seen.length, before);","atom":"a0","author":"init","version":0},{"n":272,"text":"\t});","atom":"a68","author":"infra-split","version":14},{"n":273,"text":"","atom":"a68","author":"infra-split","version":14},{"n":274,"text":"\tit(\"shows a search hit as the issue, then where it matched, without the match markers\", () => {","atom":"a141","author":"devops","version":20},{"n":275,"text":"\t\tconst unknownAuthorship = {","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":276,"text":"\t\t\tkind: \"unknown\" as const,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":277,"text":"\t\t\tactor: null,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":278,"text":"\t\t\tprovenance: \"unknown\" as const,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":279,"text":"\t\t\tauthorField: null,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":280,"text":"\t\t};","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":281,"text":"\t\tconst issue = {","atom":"a951","author":"codex-prose-authorship-1","version":107},{"n":282,"text":"\t\t\tid: 12,","atom":"a951","author":"codex-prose-authorship-1","version":107},{"n":283,"text":"\t\t\ttitle: \"Pull is slow\",","atom":"a951","author":"codex-prose-authorship-1","version":107},{"n":284,"text":"\t\t\tstatus: \"open\" as const,","atom":"a951","author":"codex-prose-authorship-1","version":107},{"n":285,"text":"\t\t\tupdated: 0,","atom":"a951","author":"codex-prose-authorship-1","version":107},{"n":286,"text":"\t\t\tlabels: [],","atom":"a951","author":"codex-prose-authorship-1","version":107},{"n":287,"text":"\t\t\tauthorship: { title: unknownAuthorship },","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":288,"text":"\t\t};","atom":"a951","author":"codex-prose-authorship-1","version":107},{"n":289,"text":"\t\tassert.deepEqual(","atom":"a141","author":"devops","version":20},{"n":290,"text":"\t\t\tsearchLines({","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":291,"text":"\t\t\t\tissue,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":292,"text":"\t\t\t\twhere: \"comment\",","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":293,"text":"\t\t\t\tcomment: 40,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":294,"text":"\t\t\t\tsnippet: \"the \\u0001network\\u0002 drops mid-sync\",","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":295,"text":"\t\t\t\tmatchedAuthorship: unknownAuthorship,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":296,"text":"\t\t\t}),","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":297,"text":"\t\t\t['   12  open         \"Pull is slow\"', '       in comment 40: \"the network drops mid-sync\"'],","atom":"a856","author":"rename","version":100},{"n":298,"text":"\t\t);","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":299,"text":"\t\tassert.deepEqual(","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":300,"text":"\t\t\tsearchLines({","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":301,"text":"\t\t\t\tissue,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":302,"text":"\t\t\t\twhere: \"description\",","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":303,"text":"\t\t\t\tsnippet: \"Pages load late.\",","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":304,"text":"\t\t\t\tmeaning: true,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":305,"text":"\t\t\t\tmatchedAuthorship: unknownAuthorship,","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":306,"text":"\t\t\t}),","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":307,"text":"\t\t\t['   12  open         \"Pull is slow\"', '       by meaning: \"Pages load late.\"'],","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":308,"text":"\t\t);","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":309,"text":"\t\tassert.deepEqual(","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":310,"text":"\t\t\tsearchLines({ issue, where: \"title\", snippet: \"Pull is slow\", matchedAuthorship: unknownAuthorship })[1],","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":311,"text":"\t\t\t\"       in the title\",","atom":"a952","author":"codex-prose-authorship-1","version":107},{"n":312,"text":"\t\t);","atom":"a141","author":"devops","version":20},{"n":313,"text":"\t});","atom":"a141","author":"devops","version":20},{"n":314,"text":"","atom":"a141","author":"devops","version":20},{"n":315,"text":"\tit(\"withdraw is one POST to the asker's own withdraw/<ask> route\", async () => {","atom":"a68","author":"infra-split","version":14},{"n":316,"text":"\t\tconst erin = await folder(\"erin\");","atom":"a68","author":"infra-split","version":14},{"n":317,"text":"\t\tconst before = seen.length;","atom":"a68","author":"infra-split","version":14},{"n":318,"text":"\t\tawait avcs(erin, [\"ask\", \"--withdraw\", \"#3\", \"--note\", \"overtaken by later decisions\"]);","atom":"a68","author":"infra-split","version":14},{"n":319,"text":"\t\tconst posts = seen.slice(before).filter((s) => s.startsWith(\"POST\"));","atom":"a68","author":"infra-split","version":14},{"n":320,"text":"\t\tassert.equal(posts.length, 1, posts.join(\"\\n\"));","atom":"a68","author":"infra-split","version":14},{"n":321,"text":"\t\tassert.match(posts[0]!, /^POST \\/p\\/issues\\d+\\/a\\/erin\\/withdraw\\/3$/);","atom":"a68","author":"infra-split","version":14},{"n":322,"text":"\t});","atom":"a485","author":"pinch","version":53},{"n":323,"text":"","atom":"a485","author":"pinch","version":53},{"n":324,"text":"\tit(\"ack is one POST to the one asked's ack/<ask> route, and says the ask stays open\", async () => {","atom":"a485","author":"pinch","version":53},{"n":325,"text":"\t\tconst fay = await folder(\"fay\");","atom":"a485","author":"pinch","version":53},{"n":326,"text":"\t\tconst before = seen.length;","atom":"a485","author":"pinch","version":53},{"n":327,"text":"\t\tconst r = await main([\"ack\", \"7\", \"on it after the deploy\"], { cwd: fay, env: ENV(), write: () => {} });","atom":"a485","author":"pinch","version":53},{"n":328,"text":"\t\tassert.equal(r.exit, 0, r.stdout + r.stderr);","atom":"a485","author":"pinch","version":53},{"n":329,"text":"\t\tassert.equal(","atom":"a663","author":"pinch","version":72},{"n":330,"text":"\t\t\tr.stdout,","atom":"a663","author":"pinch","version":72},{"n":331,"text":"\t\t\t'Acknowledged ask 7. desk hears it; abso reply 7 \"...\" adds more as you go, and the ask stays open until abso answer 7 \"...\".\\n',","atom":"a663","author":"pinch","version":72},{"n":332,"text":"\t\t);","atom":"a663","author":"pinch","version":72},{"n":333,"text":"\t\tconst posts = seen.slice(before).filter((s) => s.startsWith(\"POST\"));","atom":"a485","author":"pinch","version":53},{"n":334,"text":"\t\tassert.deepEqual(posts.length, 1, posts.join(\"\\n\"));","atom":"a485","author":"pinch","version":53},{"n":335,"text":"\t\tassert.match(posts[0]!, /^POST \\/p\\/issues\\d+\\/a\\/fay\\/ack\\/7$/);","atom":"a485","author":"pinch","version":53},{"n":336,"text":"\t\tassert.equal((await main([\"ack\"], { cwd: fay, env: ENV(), write: () => {} })).exit, 1);","atom":"a485","author":"pinch","version":53},{"n":337,"text":"\t});","atom":"a663","author":"pinch","version":72},{"n":338,"text":"","atom":"a663","author":"pinch","version":72},{"n":339,"text":"\tit(\"reply is one POST to reply/<ask> with the words, and says whose turn it is\", async () => {","atom":"a663","author":"pinch","version":72},{"n":340,"text":"\t\tconst fay = await folder(\"fay\");","atom":"a663","author":"pinch","version":72},{"n":341,"text":"\t\tconst before = seen.length;","atom":"a663","author":"pinch","version":72},{"n":342,"text":"\t\tconst r = await main([\"reply\", \"7\", \"staging or live?\", \"--question\"], { cwd: fay, env: ENV(), write: () => {} });","atom":"a663","author":"pinch","version":72},{"n":343,"text":"\t\tassert.equal(r.exit, 0, r.stdout + r.stderr);","atom":"a663","author":"pinch","version":72},{"n":344,"text":"\t\tconst posts = seen.slice(before).filter((s) => s.startsWith(\"POST\"));","atom":"a663","author":"pinch","version":72},{"n":345,"text":"\t\tassert.equal(posts.length, 1, posts.join(\"\\n\"));","atom":"a663","author":"pinch","version":72},{"n":346,"text":"\t\tassert.match(posts[0]!, /^POST \\/p\\/issues\\d+\\/a\\/fay\\/reply\\/7$/);","atom":"a663","author":"pinch","version":72},{"n":347,"text":"\t\tassert.deepEqual(replies.at(-1), { text: \"staging or live?\", question: true });","atom":"a663","author":"pinch","version":72},{"n":348,"text":"\t\tassert.equal(r.stdout, \"Replied on ask 7. desk hears it. It waits on desk.\\n\");","atom":"a663","author":"pinch","version":72},{"n":349,"text":"\t\tassert.equal((await main([\"reply\", \"7\"], { cwd: fay, env: ENV(), write: () => {} })).exit, 1);","atom":"a663","author":"pinch","version":72},{"n":350,"text":"\t});","atom":"a787","author":"pinch","version":89},{"n":351,"text":"","atom":"a787","author":"pinch","version":89},{"n":352,"text":"\tit(\"names a server from before ask threads instead of a bare 404\", async () => {","atom":"a787","author":"pinch","version":89},{"n":353,"text":"\t\tconst fay = await folder(\"fay\");","atom":"a787","author":"pinch","version":89},{"n":354,"text":"\t\tfor (const argv of [","atom":"a787","author":"pinch","version":89},{"n":355,"text":"\t\t\t[\"reply\", \"404\", \"still there?\"],","atom":"a787","author":"pinch","version":89},{"n":356,"text":"\t\t\t[\"ask\", \"404\"],","atom":"a787","author":"pinch","version":89},{"n":357,"text":"\t\t]) {","atom":"a787","author":"pinch","version":89},{"n":358,"text":"\t\t\tconst r = await main(argv, { cwd: fay, env: ENV(), write: () => {} });","atom":"a787","author":"pinch","version":89},{"n":359,"text":"\t\t\tassert.equal(r.exit, 1, argv.join(\" \"));","atom":"a787","author":"pinch","version":89},{"n":360,"text":"\t\t\tassert.match(r.stderr, /doesn't have ask threads yet/, argv.join(\" \"));","atom":"a787","author":"pinch","version":89},{"n":361,"text":"\t\t\tassert.doesNotMatch(r.stderr, /no such issues route/, argv.join(\" \"));","atom":"a787","author":"pinch","version":89},{"n":362,"text":"\t\t}","atom":"a787","author":"pinch","version":89},{"n":363,"text":"\t});","atom":"a663","author":"pinch","version":72},{"n":364,"text":"","atom":"a663","author":"pinch","version":72},{"n":365,"text":"\tit(\"ask <N> reads one ask with its whole thread, oldest first, and whose turn it is\", async () => {","atom":"a663","author":"pinch","version":72},{"n":366,"text":"\t\tconst fay = await folder(\"fay\");","atom":"a663","author":"pinch","version":72},{"n":367,"text":"\t\tconst before = seen.length;","atom":"a663","author":"pinch","version":72},{"n":368,"text":"\t\tconst r = await main([\"ask\", \"7\"], { cwd: fay, env: ENV(), write: () => {} });","atom":"a663","author":"pinch","version":72},{"n":369,"text":"\t\tassert.equal(r.exit, 0, r.stdout + r.stderr);","atom":"a663","author":"pinch","version":72},{"n":370,"text":"\t\tassert.match(seen.slice(before).join(\"\\n\"), /^GET \\/p\\/issues\\d+\\/ask\\/7$/m);","atom":"a663","author":"pinch","version":72},{"n":371,"text":"\t\tassert.match(","atom":"a663","author":"pinch","version":72},{"n":372,"text":"\t\t\tr.stdout,","atom":"a663","author":"pinch","version":72},{"n":373,"text":"\t\t\t/^ {2}ask 7: desk, .* asks fay a question on issue 3 \\(\"Pull is slow\"\\) \\(2 replies; waiting on desk\\): \"Which way\\?\"$/m,","atom":"a856","author":"rename","version":100},{"n":374,"text":"\t\t);","atom":"a663","author":"pinch","version":72},{"n":375,"text":"\t\tconst ack = r.stdout.indexOf('    fay, Jan 1 1970 00:00 UTC: \"ok, let me check\"');","atom":"a663","author":"pinch","version":72},{"n":376,"text":"\t\tconst back = r.stdout.indexOf('    fay, Jan 1 1970 00:00 UTC, a question: \"staging or live?\\\\nlive is 906\"');","atom":"a663","author":"pinch","version":72},{"n":377,"text":"\t\tassert.ok(ack > 0 && back > ack, r.stdout);","atom":"a663","author":"pinch","version":72},{"n":378,"text":"\t\tassert.match(","atom":"a663","author":"pinch","version":72},{"n":379,"text":"\t\t\tr.stdout,","atom":"a663","author":"pinch","version":72},{"n":380,"text":"\t\t\t/^It waits on desk\\. abso reply 7 \"\\.\\.\\.\" adds to it; abso answer 7 \"\\.\\.\\.\" answers and closes it\\.$/m,","atom":"a663","author":"pinch","version":72},{"n":381,"text":"\t\t);","atom":"a663","author":"pinch","version":72},{"n":382,"text":"\t\t// The asker reads it as their turn, and can't answer it.","atom":"a663","author":"pinch","version":72},{"n":383,"text":"\t\tconst desk = await folder(\"desk\");","atom":"a663","author":"pinch","version":72},{"n":384,"text":"\t\tconst d = await main([\"ask\", \"7\"], { cwd: desk, env: ENV(), write: () => {} });","atom":"a663","author":"pinch","version":72},{"n":385,"text":"\t\tassert.match(d.stdout, /^It waits on you\\. abso reply 7 \"\\.\\.\\.\" adds to it\\.$/m);","atom":"a663","author":"pinch","version":72},{"n":386,"text":"\t});","atom":"a663","author":"pinch","version":72},{"n":387,"text":"","atom":"a663","author":"pinch","version":72},{"n":388,"text":"\tit(\"waiting --asked lists the asks you sent, open first, then the latest answered\", async () => {","atom":"a663","author":"pinch","version":72},{"n":389,"text":"\t\tconst fay = await folder(\"fay\");","atom":"a663","author":"pinch","version":72},{"n":390,"text":"\t\tconst before = seen.length;","atom":"a663","author":"pinch","version":72},{"n":391,"text":"\t\tconst r = await main([\"waiting\", \"--asked\"], { cwd: fay, env: ENV(), write: () => {} });","atom":"a663","author":"pinch","version":72},{"n":392,"text":"\t\tassert.equal(r.exit, 0, r.stdout + r.stderr);","atom":"a663","author":"pinch","version":72},{"n":393,"text":"\t\tassert.match(seen.slice(before).join(\"\\n\"), /^GET \\/p\\/issues\\d+\\/a\\/fay\\/asked$/m);","atom":"a663","author":"pinch","version":72},{"n":394,"text":"\t\tassert.match(r.stdout, /^1 open ask you sent:$/m);","atom":"a663","author":"pinch","version":72},{"n":395,"text":"\t\tassert.match(r.stdout, /^ {4}last: fay, .*, a question: \"staging or live\\? \\.\\.\\.\"$/m);","atom":"a663","author":"pinch","version":72},{"n":396,"text":"\t\tassert.ok(r.stdout.indexOf(\"ask 7:\") < r.stdout.indexOf(\"The latest answered:\"), r.stdout);","atom":"a663","author":"pinch","version":72},{"n":397,"text":"\t\tassert.ok(r.stdout.indexOf(\"The latest answered:\") < r.stdout.indexOf(\"ask 8:\"), r.stdout);","atom":"a663","author":"pinch","version":72},{"n":398,"text":"\t\tassert.match(r.stdout, /^ {4}answer: \"yes\"$/m);","atom":"a663","author":"pinch","version":72},{"n":399,"text":"\t});","atom":"a485","author":"pinch","version":53},{"n":400,"text":"","atom":"a485","author":"pinch","version":53},{"n":401,"text":"\tit(\"an acknowledged ask reads as acknowledged, not answered, with the note under it\", () => {","atom":"a485","author":"pinch","version":53},{"n":402,"text":"\t\tconst ask = {","atom":"a485","author":"pinch","version":53},{"n":403,"text":"\t\t\tid: 7,","atom":"a485","author":"pinch","version":53},{"n":404,"text":"\t\t\tissue: 3,","atom":"a485","author":"pinch","version":53},{"n":405,"text":"\t\t\tby: \"desk\",","atom":"a485","author":"pinch","version":53},{"n":406,"text":"\t\t\tof: \"fay\",","atom":"a485","author":"pinch","version":53},{"n":407,"text":"\t\t\tkind: \"question\",","atom":"a485","author":"pinch","version":53},{"n":408,"text":"\t\t\tquestion: \"Which way?\",","atom":"a485","author":"pinch","version":53},{"n":409,"text":"\t\t\treview: false,","atom":"a485","author":"pinch","version":53},{"n":410,"text":"\t\t\tdue: null,","atom":"a485","author":"pinch","version":53},{"n":411,"text":"\t\t\trecommendation: null,","atom":"a485","author":"pinch","version":53},{"n":412,"text":"\t\t\toptions: [],","atom":"a485","author":"pinch","version":53},{"n":413,"text":"\t\t\tblocks: [],","atom":"a485","author":"pinch","version":53},{"n":414,"text":"\t\t\tat: 0,","atom":"a485","author":"pinch","version":53},{"n":415,"text":"\t\t\tanswer: null,","atom":"a485","author":"pinch","version":53},{"n":416,"text":"\t\t\tseen: 0,","atom":"a485","author":"pinch","version":53},{"n":417,"text":"\t\t\tack: { at: 0, note: \"on it after the deploy\" },","atom":"a485","author":"pinch","version":53},{"n":418,"text":"\t\t};","atom":"a485","author":"pinch","version":53},{"n":419,"text":"\t\tconst page = {","atom":"a485","author":"pinch","version":53},{"n":420,"text":"\t\t\tissue: {","atom":"a485","author":"pinch","version":53},{"n":421,"text":"\t\t\t\tid: 3,","atom":"a485","author":"pinch","version":53},{"n":422,"text":"\t\t\t\ttitle: \"t\",","atom":"a485","author":"pinch","version":53},{"n":423,"text":"\t\t\t\tstatus: \"blocked\",","atom":"a485","author":"pinch","version":53},{"n":424,"text":"\t\t\t\tparent: null,","atom":"a485","author":"pinch","version":53},{"n":425,"text":"\t\t\t\topened: { by: \"desk\", at: 0 },","atom":"a485","author":"pinch","version":53},{"n":426,"text":"\t\t\t\tagent: null,","atom":"a485","author":"pinch","version":53},{"n":427,"text":"\t\t\t\tagents: [],","atom":"a485","author":"pinch","version":53},{"n":428,"text":"\t\t\t\tblockedBy: [],","atom":"a485","author":"pinch","version":53},{"n":429,"text":"\t\t\t\tlabels: [],","atom":"a485","author":"pinch","version":53},{"n":430,"text":"\t\t\t\tversions: [],","atom":"a485","author":"pinch","version":53},{"n":431,"text":"\t\t\t\twaitingOn: [\"fay\"],","atom":"a485","author":"pinch","version":53},{"n":432,"text":"\t\t\t\tclosed: null,","atom":"a485","author":"pinch","version":53},{"n":433,"text":"\t\t\t\tdescription: \"\",","atom":"a485","author":"pinch","version":53},{"n":434,"text":"\t\t\t\tlines: null,","atom":"a485","author":"pinch","version":53},{"n":435,"text":"\t\t\t\twatchers: [],","atom":"a485","author":"pinch","version":53},{"n":436,"text":"\t\t\t},","atom":"a485","author":"pinch","version":53},{"n":437,"text":"\t\t\tcomments: [],","atom":"a485","author":"pinch","version":53},{"n":438,"text":"\t\t\tedits: [],","atom":"a485","author":"pinch","version":53},{"n":439,"text":"\t\t\tasks: [ask],","atom":"a485","author":"pinch","version":53},{"n":440,"text":"\t\t\tclaims: [],","atom":"a485","author":"pinch","version":53},{"n":441,"text":"\t\t\tchildren: [],","atom":"a485","author":"pinch","version":53},{"n":442,"text":"\t\t} as unknown as IssuePage;","atom":"a485","author":"pinch","version":53},{"n":443,"text":"\t\tconst text = issuePage(page).join(\"\\n\");","atom":"a485","author":"pinch","version":53},{"n":444,"text":"\t\tassert.match(","atom":"a485","author":"pinch","version":53},{"n":445,"text":"\t\t\ttext,","atom":"a485","author":"pinch","version":53},{"n":446,"text":"\t\t\t/\\n {2}ask 7: desk, [^\\n]*asks fay a question on issue 3 \\(acknowledged [^;)]+, not answered yet\\): \"Which way\\?\"\\n {4}fay acknowledged: \"on it after the deploy\"/,","atom":"a485","author":"pinch","version":53},{"n":447,"text":"\t\t);","atom":"a485","author":"pinch","version":53},{"n":448,"text":"\t\tassert.doesNotMatch(text, /answer:/);","atom":"a485","author":"pinch","version":53},{"n":449,"text":"\t\tconst answered = { ...ask, answer: { by: \"fay\", words: \"This way\", at: 0 } };","atom":"a485","author":"pinch","version":53},{"n":450,"text":"\t\tconst later = issuePage({ ...page, asks: [answered] } as unknown as IssuePage).join(\"\\n\");","atom":"a485","author":"pinch","version":53},{"n":451,"text":"\t\tassert.doesNotMatch(later, /acknowledged/, \"an answer replaces the ack\");","atom":"a485","author":"pinch","version":53},{"n":452,"text":"\t});","atom":"a160","author":"pinch","version":23},{"n":453,"text":"});","atom":"a160","author":"pinch","version":23},{"n":454,"text":"","atom":"a160","author":"pinch","version":23},{"n":455,"text":"describe(\"abso issue <N> --copy-to <project>\", () => {","atom":"a160","author":"pinch","version":23},{"n":456,"text":"\tconst text = async (cwd: string, argv: string[]) => {","atom":"a160","author":"pinch","version":23},{"n":457,"text":"\t\tconst r = await main(argv, { cwd, env: ENV(), write: () => {} });","atom":"a160","author":"pinch","version":23},{"n":458,"text":"\t\treturn { exit: r.exit, out: r.stdout + r.stderr };","atom":"a160","author":"pinch","version":23},{"n":459,"text":"\t};","atom":"a160","author":"pinch","version":23},{"n":460,"text":"","atom":"a160","author":"pinch","version":23},{"n":461,"text":"\tit(\"a dry run asks the other project's copy route for the plan, and says nothing was written\", async () => {","atom":"a160","author":"pinch","version":23},{"n":462,"text":"\t\tconst gil = await folder(\"gil\");","atom":"a160","author":"pinch","version":23},{"n":463,"text":"\t\tconst before = seen.length;","atom":"a160","author":"pinch","version":23},{"n":464,"text":"\t\tconst r = await text(gil, [\"issue\", \"12\", \"--copy-to\", \"core\", \"--dry-run\"]);","atom":"a160","author":"pinch","version":23},{"n":465,"text":"\t\tassert.equal(r.exit, 0, r.out);","atom":"a160","author":"pinch","version":23},{"n":466,"text":"\t\tassert.deepEqual(seen.slice(before), [\"POST /p/core/a/gil/copy\"]);","atom":"a160","author":"pinch","version":23},{"n":467,"text":"\t\tconst from = (copies.at(-1) as { from: string }).from;","atom":"a160","author":"pinch","version":23},{"n":468,"text":"\t\tassert.match(from, /^issues\\d+$/);","atom":"a160","author":"pinch","version":23},{"n":469,"text":"\t\tassert.deepEqual(copies.at(-1), { from, issue: 12, dryRun: true });","atom":"a160","author":"pinch","version":23},{"n":470,"text":"\t\tassert.equal(","atom":"a160","author":"pinch","version":23},{"n":471,"text":"\t\t\tr.out.trimEnd(),","atom":"a160","author":"pinch","version":23},{"n":472,"text":"\t\t\t[","atom":"a160","author":"pinch","version":23},{"n":473,"text":"\t\t\t\t`A dry run: nothing was written. Copying ${from} issue 12 into core would make:`,","atom":"a160","author":"pinch","version":23},{"n":474,"text":"\t\t\t\t`  \"Pull is slow\", done (description edited when copied)`,","atom":"a856","author":"rename","version":100},{"n":475,"text":"\t\t\t\t\"  2 comments (1 edited), 1 answered ask, labelled client\",","atom":"a160","author":"pinch","version":23},{"n":476,"text":"\t\t\t\t\"  not copied: comments 4; asks 2 (open asks, and what --clean left out)\",","atom":"a160","author":"pinch","version":23},{"n":477,"text":"\t\t\t\t\"Run it again without --dry-run to copy it.\",","atom":"a160","author":"pinch","version":23},{"n":478,"text":"\t\t\t].join(\"\\n\"),","atom":"a160","author":"pinch","version":23},{"n":479,"text":"\t\t);","atom":"a160","author":"pinch","version":23},{"n":480,"text":"\t});","atom":"a160","author":"pinch","version":23},{"n":481,"text":"","atom":"a160","author":"pinch","version":23},{"n":482,"text":"\tit(\"copies with the cleaned texts --clean gives, by source id\", async () => {","atom":"a160","author":"pinch","version":23},{"n":483,"text":"\t\tconst gil = await folder(\"gil\");","atom":"a160","author":"pinch","version":23},{"n":484,"text":"\t\twriteFileSync(","atom":"a160","author":"pinch","version":23},{"n":485,"text":"\t\t\tjoin(gil, \"clean.json\"),","atom":"a160","author":"pinch","version":23},{"n":486,"text":"\t\t\tJSON.stringify({ description: \"Cleaned.\", comments: [{ id: 1 }, { id: 3, text: \"Cleaned too.\" }] }),","atom":"a160","author":"pinch","version":23},{"n":487,"text":"\t\t);","atom":"a160","author":"pinch","version":23},{"n":488,"text":"\t\tconst r = await text(gil, [\"issue\", \"12\", \"--copy-to\", \"core\", \"--clean\", \"clean.json\"]);","atom":"a160","author":"pinch","version":23},{"n":489,"text":"\t\tassert.equal(r.exit, 0, r.out);","atom":"a160","author":"pinch","version":23},{"n":490,"text":"\t\tconst from = (copies.at(-1) as { from: string }).from;","atom":"a160","author":"pinch","version":23},{"n":491,"text":"\t\tassert.deepEqual(copies.at(-1), {","atom":"a160","author":"pinch","version":23},{"n":492,"text":"\t\t\tdescription: \"Cleaned.\",","atom":"a160","author":"pinch","version":23},{"n":493,"text":"\t\t\tcomments: [{ id: 1 }, { id: 3, text: \"Cleaned too.\" }],","atom":"a160","author":"pinch","version":23},{"n":494,"text":"\t\t\tfrom,","atom":"a160","author":"pinch","version":23},{"n":495,"text":"\t\t\tissue: 12,","atom":"a160","author":"pinch","version":23},{"n":496,"text":"\t\t});","atom":"a160","author":"pinch","version":23},{"n":497,"text":"\t\tassert.match(","atom":"a160","author":"pinch","version":23},{"n":498,"text":"\t\t\tr.out,","atom":"a160","author":"pinch","version":23},{"n":499,"text":"\t\t\tnew RegExp(`^Copied ${from} issue 12 to core issue 31\\\\. Its comments and asks keep their authors`),","atom":"a160","author":"pinch","version":23},{"n":500,"text":"\t\t);","atom":"a160","author":"pinch","version":23},{"n":501,"text":"\t});","atom":"a160","author":"pinch","version":23},{"n":502,"text":"","atom":"a160","author":"pinch","version":23},{"n":503,"text":"\tit(\"says a dry run still works when the server refuses the copy\", async () => {","atom":"a160","author":"pinch","version":23},{"n":504,"text":"\t\tconst gil = await folder(\"gil\");","atom":"a160","author":"pinch","version":23},{"n":505,"text":"\t\tconst r = await text(gil, [\"issue\", \"403\", \"--copy-to\", \"core\"]);","atom":"a160","author":"pinch","version":23},{"n":506,"text":"\t\tassert.equal(r.exit, 1, r.out);","atom":"a160","author":"pinch","version":23},{"n":507,"text":"\t\tassert.match(r.out, /takes an owner of that project\\. --dry-run still shows what would go\\./);","atom":"a160","author":"pinch","version":23},{"n":508,"text":"\t});","atom":"a160","author":"pinch","version":23},{"n":509,"text":"","atom":"a160","author":"pinch","version":23},{"n":510,"text":"\tit(\"refuses mistakes before any call\", async () => {","atom":"a160","author":"pinch","version":23},{"n":511,"text":"\t\tconst gil = await folder(\"gil\");","atom":"a160","author":"pinch","version":23},{"n":512,"text":"\t\twriteFileSync(join(gil, \"bad.json\"), JSON.stringify({ from: \"elsewhere\" }));","atom":"a160","author":"pinch","version":23},{"n":513,"text":"\t\tconst before = seen.length;","atom":"a160","author":"pinch","version":23},{"n":514,"text":"\t\tfor (const [argv, why] of [","atom":"a160","author":"pinch","version":23},{"n":515,"text":"\t\t\t[[\"issue\", \"12\", \"--copy-to\", \"core\", \"--comment\", \"x\"], /--copy-to goes alone .* not with --comment/],","atom":"a160","author":"pinch","version":23},{"n":516,"text":"\t\t\t[[\"issue\", \"12\", \"--dry-run\"], /--clean and --dry-run go with --copy-to <project>/],","atom":"a160","author":"pinch","version":23},{"n":517,"text":"\t\t\t[[\"issue\", \"12\", \"--copy-to\", \"core\", \"--clean\", \"nope.json\"], /--clean nope\\.json: no such file/],","atom":"a160","author":"pinch","version":23},{"n":518,"text":"\t\t\t[","atom":"a160","author":"pinch","version":23},{"n":519,"text":"\t\t\t\t[\"issue\", \"12\", \"--copy-to\", \"core\", \"--clean\", \"bad.json\"],","atom":"a160","author":"pinch","version":23},{"n":520,"text":"\t\t\t\t/from isn't one of title, description, comments, asks/,","atom":"a160","author":"pinch","version":23},{"n":521,"text":"\t\t\t],","atom":"a160","author":"pinch","version":23},{"n":522,"text":"\t\t] as const) {","atom":"a160","author":"pinch","version":23},{"n":523,"text":"\t\t\tconst r = await text(gil, [...argv]);","atom":"a160","author":"pinch","version":23},{"n":524,"text":"\t\t\tassert.notEqual(r.exit, 0, argv.join(\" \"));","atom":"a160","author":"pinch","version":23},{"n":525,"text":"\t\t\tassert.match(r.out, why);","atom":"a160","author":"pinch","version":23},{"n":526,"text":"\t\t}","atom":"a160","author":"pinch","version":23},{"n":527,"text":"\t\tconst { project } = readConfig(gil);","atom":"a160","author":"pinch","version":23},{"n":528,"text":"\t\tassert.match(","atom":"a160","author":"pinch","version":23},{"n":529,"text":"\t\t\t(await text(gil, [\"issue\", \"12\", \"--copy-to\", project])).out,","atom":"a160","author":"pinch","version":23},{"n":530,"text":"\t\t\t/issue 12 is already in issues\\d+; --copy-to names another project/,","atom":"a160","author":"pinch","version":23},{"n":531,"text":"\t\t);","atom":"a160","author":"pinch","version":23},{"n":532,"text":"\t\tassert.equal(seen.length, before, \"nothing reached the Issues server\");","atom":"a160","author":"pinch","version":23},{"n":533,"text":"\t});","atom":"a0","author":"init","version":0},{"n":534,"text":"});","atom":"a0","author":"init","version":0}],"atoms":[{"atom":"a0","author":"init","message":"Start the project","time":1791506895507,"timeIso":"2026-10-09T00:48:15.507Z","publish":{"draft":null,"version":0,"agent":"init","message":"Start the project","time":1791506895507,"timeIso":"2026-10-09T00:48:15.507Z"}},{"atom":"a68","author":"infra-split","message":"","time":1791514782787,"timeIso":"2026-10-09T02:59:42.787Z","publish":{"draft":null,"version":14,"agent":"infra-split","message":"An asker can take back an ask: abso ask --withdraw <ask> [--note \"why\"]\n\nAn ask that later decisions have overtaken used to sit in the asked person's waiting list for good. Only they could answer it, and \"none of these\" wasn't an option. Now the one who asked can withdraw it.\n\n- `abso ask --withdraw <ask> [--note \"why\"]` sends one call to the server's withdraw route. It's refused before any call when mixed with a question or the other ask flags. `--note-file` reads the note from a file or stdin, like every text flag.\n- A withdrawn ask closes the way an answered one does: it leaves the waiting list, and it stops holding its issue at Blocked. The ask keeps its question. The asker's note is kept as why, and the one asked hears it.\n- Ask gains `outcome?: \"withdrawn\"`. Older servers leave it out. The asks list and an issue's page show \"withdrawn by <asker>\" and the note, instead of \"answered by\".\n- The server side of the route comes with the hosted Issues service. Until it's there, the call answers with that server's error.\n\nTests: the new usage mistakes, and the single POST to the asker's own route. Checked: npx biome ci . and npm run check exit 0 (704 pass, 1 skipped).","time":1791514878707,"timeIso":"2026-10-09T03:01:18.707Z"}},{"atom":"a139","author":"devops","message":"","time":1791528196046,"timeIso":"2026-10-09T06:43:16.046Z","publish":{"draft":null,"version":20,"agent":"devops","message":"Add abso search: find a project's issues by words or meaning\n\n`abso search \"<words>\" [--limit <N>]` lists the project's issues that\nmatch, best first, and is served as an MCP tool as well.\n\n- Each hit shows the issue, then where it matched: the title, the\n  description, a comment, or \"by meaning\".\n- \"#N\" or \"N\" puts issue N first.\n- Where the server also searches by meaning, an issue worded unlike\n  the search still turns up; the hit says so.","time":1791528391686,"timeIso":"2026-10-09T06:46:31.686Z"}},{"atom":"a141","author":"devops","message":"","time":1791528206718,"timeIso":"2026-10-09T06:43:26.718Z","publish":{"draft":null,"version":20,"agent":"devops","message":"Add abso search: find a project's issues by words or meaning\n\n`abso search \"<words>\" [--limit <N>]` lists the project's issues that\nmatch, best first, and is served as an MCP tool as well.\n\n- Each hit shows the issue, then where it matched: the title, the\n  description, a comment, or \"by meaning\".\n- \"#N\" or \"N\" puts issue N first.\n- Where the server also searches by meaning, an issue worded unlike\n  the search still turns up; the hit says so.","time":1791528391686,"timeIso":"2026-10-09T06:46:31.686Z"}},{"atom":"a160","author":"pinch","message":"","time":1791529299637,"timeIso":"2026-10-09T07:01:39.637Z","publish":{"draft":null,"version":23,"agent":"pinch","message":"abso issue <N> --copy-to <project>: copy an issue into another project, with its comments, answered asks and labels, each keeping its author and time. The Issues server reads the source issue itself; the client sends only which issue, and any cleaned texts.\n\n- --dry-run shows what the copy would make (title, how many comments and asks, which were edited, labels) and what's left behind. It writes nothing.\n- --clean <file> gives cleaned texts by source id, as JSON: {title, description, comments: [{id, text}], asks: [{id, question, answer}]}. A comment left out of a given list isn't copied.\n- --copy-to goes alone, so a copy is never half an edit. Copying into the project the issue is already in is refused before any call.\n- When a live server refuses the copy (copying out of a project there takes an owner of it), the message says --dry-run still works.\n- The MCP issue tool's clean input is a file too, so it's confined to the server's start folder like attach.\n\nTests: client/test/issues.test.ts, against a stand-in Issues server. The run --parallel test that sometimes times out under a full run passed when rerun.","time":1791530025571,"timeIso":"2026-10-09T07:13:45.571Z"}},{"atom":"a166","author":"pinch","message":"","time":1791529997817,"timeIso":"2026-10-09T07:13:17.817Z","publish":{"draft":null,"version":23,"agent":"pinch","message":"abso issue <N> --copy-to <project>: copy an issue into another project, with its comments, answered asks and labels, each keeping its author and time. The Issues server reads the source issue itself; the client sends only which issue, and any cleaned texts.\n\n- --dry-run shows what the copy would make (title, how many comments and asks, which were edited, labels) and what's left behind. It writes nothing.\n- --clean <file> gives cleaned texts by source id, as JSON: {title, description, comments: [{id, text}], asks: [{id, question, answer}]}. A comment left out of a given list isn't copied.\n- --copy-to goes alone, so a copy is never half an edit. Copying into the project the issue is already in is refused before any call.\n- When a live server refuses the copy (copying out of a project there takes an owner of it), the message says --dry-run still works.\n- The MCP issue tool's clean input is a file too, so it's confined to the server's start folder like attach.\n\nTests: client/test/issues.test.ts, against a stand-in Issues server. The run --parallel test that sometimes times out under a full run passed when rerun.","time":1791530025571,"timeIso":"2026-10-09T07:13:45.571Z"}},{"atom":"a485","author":"pinch","message":"","time":1791583010910,"timeIso":"2026-10-09T21:56:50.910Z","publish":{"draft":null,"version":53,"agent":"pinch","message":"abso ack <ask> [\"note\"]: the one asked says they have an ask and will answer later. The ask stays open and keeps blocking; abso issue shows it as acknowledged with the note, and the asker hears it. The Ask wire type gains ack, the API client gains ack(), and the skill mentions the command.","time":1791583024285,"timeIso":"2026-10-09T21:57:04.285Z"}},{"atom":"a663","author":"pinch","message":"","time":1791609963115,"timeIso":"2026-10-10T05:26:03.115Z","publish":{"draft":null,"version":72,"agent":"pinch","message":"Asks become threads: abso reply <ask> \"...\" adds to an ask from either side, open or answered, and --question hands the turn to the asker until they reply. abso ask <N> shows one ask with its whole thread and whose turn it is; abso waiting --asked lists the asks you sent. An ack's note is the thread's first reply. reply is an MCP tool too. Needs an Issues server with the reply, ask and asked routes.","time":1791609984916,"timeIso":"2026-10-10T05:26:24.916Z"}},{"atom":"a787","author":"pinch","message":"","time":1791619086037,"timeIso":"2026-10-10T07:58:06.037Z","publish":{"draft":null,"version":89,"agent":"pinch","message":"abso reply N, abso ask N and abso asked name a server without ask threads instead of answering its bare 404.","time":1791619328862,"timeIso":"2026-10-10T08:02:08.862Z"}},{"atom":"a824","author":"infra-pipeline","message":"","time":1791650650965,"timeIso":"2026-10-10T16:44:10.965Z","publish":{"draft":null,"version":99,"agent":"infra-pipeline","message":"Test servers keep idle connections open (abso 410): issues.test.ts, attach.test.ts and client-version.test.ts set keepAliveTimeout = 0, as fake-server.ts already does. Under a full check's load, 'waiting --asked' took 6.3 s and its next call reused a kept-alive socket just as Node's default 5 s timeout closed it: ECONNRESET. Tests only.","time":1791650651433,"timeIso":"2026-10-10T16:44:11.433Z"}},{"atom":"a856","author":"rename","message":"","time":1791659799126,"timeIso":"2026-10-10T19:16:39.126Z","publish":{"draft":null,"version":100,"agent":"rename","message":"abso publish is now abso push, abso sync is now abso pull (abso 427)\n\nCommands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; \"shared\" stays the noun (\"Pushed version N\"). No aliases, no notices. A queued push that was \"pulled\" is now \"turned back\", so pull means one thing.\n\npush -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch.\n\nKept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.","time":1791659833853,"timeIso":"2026-10-10T19:17:13.853Z"}},{"atom":"a951","author":"codex-prose-authorship-1","message":"","time":1791784959858,"timeIso":"2026-10-12T06:02:39.858Z","publish":{"draft":null,"version":107,"agent":"codex-prose-authorship-1","message":"Add sanitized prose authorship DTOs","time":1791785184372,"timeIso":"2026-10-12T06:06:24.372Z"}},{"atom":"a952","author":"codex-prose-authorship-1","message":"","time":1791785047142,"timeIso":"2026-10-12T06:04:07.142Z","publish":{"draft":null,"version":107,"agent":"codex-prose-authorship-1","message":"Add sanitized prose authorship DTOs","time":1791785184372,"timeIso":"2026-10-12T06:06:24.372Z"}},{"atom":"a1516","author":"trials","message":"","time":1791907770251,"timeIso":"2026-10-13T16:09:30.251Z","publish":{"draft":null,"version":151,"agent":"trials","message":"Open server: issues, asks and news, served at <server>/issues, and the client finds them there when no issues server is named","time":1791907770251,"timeIso":"2026-10-13T16:09:30.251Z"}}]}