axstack 0.69.2 → 0.71.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/README.md +2 -1
- package/docs/workflows.md +14 -0
- package/package.json +1 -1
- package/skills/axstack/references/local-artifacts.md +118 -145
- package/skills/axstack/sandbox/host-execution.md +13 -11
- package/skills/axstack/sandbox/launcher-source.js +30 -2
- package/skills/axstack/sandbox/launcher.js +15 -13
- package/skills/axstack/scripts/evidence-inspector.js +49 -12
- package/skills/axstack/scripts/pr-fresh.js +108 -5
- package/skills/axstack-review/references/peer-mode.md +3 -4
- package/skills/axstack-spec/references/format.md +69 -62
- package/skills/axstack-work-chat/SKILL.md +42 -0
- package/skills/axstack-work-chat/scripts/live.js +82 -0
- package/skills/axstack-work-chat/scripts/mcp.js +148 -0
- package/skills/axstack-work-chat/scripts/read.js +161 -0
- package/skills/voa/SKILL.md +21 -20
- package/src/instructions.js +14 -13
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
const protocolVersion = '2024-11-05';
|
|
2
|
+
const maxReplyLength = 256 * 1024;
|
|
3
|
+
const maxThreadRows = 25;
|
|
4
|
+
|
|
5
|
+
// Playwright MCP executes this fixed function privately over stdio. Only the
|
|
6
|
+
// validated permalink and its derived selector are inserted as JSON.
|
|
7
|
+
async function inspectMessage(page, scope, maxLength, maxRows) {
|
|
8
|
+
function inScope(href) {
|
|
9
|
+
if (href === scope.url) return true;
|
|
10
|
+
if (scope.service !== 'slack') return false;
|
|
11
|
+
const url = new URL(href);
|
|
12
|
+
if (url.origin !== 'https://app.slack.com' || url.search || url.hash) return false;
|
|
13
|
+
const parts = url.pathname.split('/');
|
|
14
|
+
if (parts[1] !== 'client' || !/^T[A-Z0-9]{8,}$/.test(parts[2]) || parts[3] !== scope.conversation) return false;
|
|
15
|
+
return parts.length === 4 ||
|
|
16
|
+
(parts.length === 6 && parts[4] === 'thread' && parts[5] === scope.conversation + '-' + scope.thread);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
if (page.context().pages().length !== 1 || page.url() !== 'about:blank') return null;
|
|
20
|
+
try {
|
|
21
|
+
await page.route('**/*', (route) => {
|
|
22
|
+
const request = route.request();
|
|
23
|
+
if (request.isNavigationRequest() && (request.frame() !== page.mainFrame() || !inScope(request.url()))) {
|
|
24
|
+
return route.abort();
|
|
25
|
+
}
|
|
26
|
+
return route.continue();
|
|
27
|
+
});
|
|
28
|
+
page.on('popup', (popup) => { void popup.close().catch(() => {}); });
|
|
29
|
+
const response = await page.goto(scope.url, { waitUntil: 'domcontentloaded', timeout: 15_000 });
|
|
30
|
+
if (!response?.ok() || !inScope(page.url())) return null;
|
|
31
|
+
|
|
32
|
+
const slack = scope.service === 'slack';
|
|
33
|
+
const pane = slack ? '[data-qa="thread_flexpane"]' : '[data-tid="thread-pane"]';
|
|
34
|
+
const target = page.locator(scope.window ? pane : scope.selector);
|
|
35
|
+
await target.waitFor({ state: 'visible', timeout: 7_000 });
|
|
36
|
+
const href = page.url();
|
|
37
|
+
if (!inScope(href) || page.context().pages().length !== 1) return null;
|
|
38
|
+
return await target.evaluate((element, { href, scope, pane, slack, maxLength, maxRows }) => {
|
|
39
|
+
// Catch SPA navigation between the URL check and DOM evaluation.
|
|
40
|
+
if (location.href !== href) return null;
|
|
41
|
+
function excerpt(node) {
|
|
42
|
+
const text = node.innerText?.trim();
|
|
43
|
+
return text ? { text: text.slice(0, maxLength),
|
|
44
|
+
...(text.length > maxLength ? { truncated: true } : {}) } : null;
|
|
45
|
+
}
|
|
46
|
+
if (!scope.window) return excerpt(element);
|
|
47
|
+
const roots = element.querySelectorAll(scope.selector);
|
|
48
|
+
const visible = (node) => node.checkVisibility({ visibilityProperty: true, opacityProperty: true });
|
|
49
|
+
if (roots.length !== 1 || !visible(roots[0])) return null;
|
|
50
|
+
const rows = element.querySelectorAll(slack ? '[data-item-key]' : '[id^="message-body-"]');
|
|
51
|
+
const messages = [];
|
|
52
|
+
const seen = new Set();
|
|
53
|
+
let truncated = false;
|
|
54
|
+
for (const row of rows) {
|
|
55
|
+
if (row.closest(pane) !== element) continue;
|
|
56
|
+
const id = slack ? row.getAttribute('data-item-key') : row.id.slice('message-body-'.length);
|
|
57
|
+
if (!(slack ? /^\d{10}\.\d{6}$/ : /^\d{13}$/).test(id) || seen.has(id)) continue;
|
|
58
|
+
seen.add(id);
|
|
59
|
+
const time = slack ? Number(id.replace('.', '').slice(0, 13)) : Number(id);
|
|
60
|
+
if (time < scope.window.start || time >= scope.window.end) continue;
|
|
61
|
+
const bodies = slack ? row.querySelectorAll('[data-qa="message-text"]') : [row];
|
|
62
|
+
if (bodies.length !== 1 || !visible(bodies[0])) continue;
|
|
63
|
+
if (messages.length === maxRows) {
|
|
64
|
+
truncated = true;
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
const value = excerpt(bodies[0]);
|
|
68
|
+
if (value) messages.push({ timestamp: new Date(time).toISOString(), ...value });
|
|
69
|
+
}
|
|
70
|
+
messages.sort((first, second) => first.timestamp.localeCompare(second.timestamp));
|
|
71
|
+
return { coverage: 'visible-thread', messages, ...(truncated ? { truncated: true } : {}) };
|
|
72
|
+
}, { href, scope, pane, slack, maxLength, maxRows }, { timeout: 2_000 });
|
|
73
|
+
} catch {
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export async function readViaPlaywright(command, scope, maxLength, { env, cwd }) {
|
|
79
|
+
const child = Bun.spawn(command, {
|
|
80
|
+
env, cwd, stdin: 'pipe', stdout: 'pipe', stderr: 'ignore', timeout: 35_000,
|
|
81
|
+
});
|
|
82
|
+
const stream = child.stdout.pipeThrough(new TextDecoderStream()).getReader();
|
|
83
|
+
let pending = '';
|
|
84
|
+
|
|
85
|
+
async function request(id, method, params) {
|
|
86
|
+
child.stdin.write(JSON.stringify({ jsonrpc: '2.0', ...(id ? { id } : {}), method, params }) + '\n');
|
|
87
|
+
await child.stdin.flush();
|
|
88
|
+
if (!id) return;
|
|
89
|
+
|
|
90
|
+
while (true) {
|
|
91
|
+
const newline = pending.indexOf('\n');
|
|
92
|
+
if (newline >= 0) {
|
|
93
|
+
const frame = JSON.parse(pending.slice(0, newline));
|
|
94
|
+
pending = pending.slice(newline + 1);
|
|
95
|
+
if (frame.jsonrpc !== '2.0') throw new Error();
|
|
96
|
+
if (frame.id === id) {
|
|
97
|
+
if (frame.error) throw new Error();
|
|
98
|
+
return frame.result;
|
|
99
|
+
}
|
|
100
|
+
continue;
|
|
101
|
+
}
|
|
102
|
+
const part = await stream.read();
|
|
103
|
+
if (part.done || pending.length + part.value.length > maxReplyLength) throw new Error();
|
|
104
|
+
pending += part.value;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
let excerpt = null;
|
|
109
|
+
try {
|
|
110
|
+
const server = await request(1, 'initialize', {
|
|
111
|
+
protocolVersion, capabilities: {}, clientInfo: { name: 'axstack-work-chat', version: '1' },
|
|
112
|
+
});
|
|
113
|
+
if (server?.protocolVersion !== protocolVersion || !server.capabilities?.tools) return null;
|
|
114
|
+
await request(undefined, 'notifications/initialized', {});
|
|
115
|
+
const code = `async (page) => (${inspectMessage.toString()})(page, ${JSON.stringify(scope)}, ${maxLength}, ${maxThreadRows})`;
|
|
116
|
+
const reply = await request(2, 'tools/call', { name: 'browser_run_code_unsafe', arguments: { code } });
|
|
117
|
+
if (reply?.isError || reply?.content?.length !== 1 || reply.content[0].type !== 'text') return null;
|
|
118
|
+
// Even with snapshots disabled, Playwright may append page metadata. Emit
|
|
119
|
+
// only the fixed function's JSON result, never the raw response or errors.
|
|
120
|
+
const row = reply.content[0].text.match(/^### Result\n([^\n]+)(?:\n|$)/)?.[1];
|
|
121
|
+
const result = row && JSON.parse(row);
|
|
122
|
+
const clean = (value) => typeof value?.text === 'string' && value.text.length > 0 && value.text.length <= maxLength
|
|
123
|
+
? { text: value.text, ...(value.truncated === true ? { truncated: true } : {}) } : null;
|
|
124
|
+
if (!scope.window) excerpt = clean(result);
|
|
125
|
+
if (scope.window && result?.coverage === 'visible-thread' && Array.isArray(result.messages) &&
|
|
126
|
+
result.messages.length <= maxThreadRows) {
|
|
127
|
+
const messages = result.messages.map((message) => {
|
|
128
|
+
const time = Date.parse(message?.timestamp);
|
|
129
|
+
const value = clean(message);
|
|
130
|
+
return value && time >= scope.window.start && time < scope.window.end
|
|
131
|
+
? { timestamp: new Date(time).toISOString(), ...value } : null;
|
|
132
|
+
});
|
|
133
|
+
if (messages.every(Boolean)) {
|
|
134
|
+
excerpt = { coverage: 'visible-thread', messages, ...(result.truncated === true ? { truncated: true } : {}) };
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
} catch {
|
|
138
|
+
// Protocol, launch and page diagnostics may contain private page data.
|
|
139
|
+
} finally {
|
|
140
|
+
try {
|
|
141
|
+
await child.stdin.end();
|
|
142
|
+
} finally {
|
|
143
|
+
await stream.cancel().catch(() => {});
|
|
144
|
+
await child.exited;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return child.exitCode === 0 ? excerpt : null;
|
|
148
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
import { lstatSync } from 'node:fs';
|
|
3
|
+
import { readLiveMessage } from './live.js';
|
|
4
|
+
|
|
5
|
+
const usage = `Usage: bun read.js message <permalink>
|
|
6
|
+
bun read.js thread <permalink> <from> <until>
|
|
7
|
+
bun read.js transcript <absolute JSONL file> <from> <until>
|
|
8
|
+
|
|
9
|
+
Windows are inclusive at the start and exclusive at the end.
|
|
10
|
+
Threads include only visible rows in the pane containing the exact parent.
|
|
11
|
+
A live read uses the dedicated iosatellite Chromium profile and may mark a message read.
|
|
12
|
+
It starts one local stdio server and Chromium, updates the dedicated profile,
|
|
13
|
+
and creates, then removes, a private scratch directory for transient browser state.
|
|
14
|
+
Only the scoped excerpts go to stdout. No login prompt, browser dump or chat action is provided.`;
|
|
15
|
+
|
|
16
|
+
const maxTranscriptBytes = 1024 * 1024;
|
|
17
|
+
const maxMessages = 25;
|
|
18
|
+
const maxExcerptLength = 1500;
|
|
19
|
+
|
|
20
|
+
function parseTime(value) {
|
|
21
|
+
const iso = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,3})?(?:Z|[+-]\d{2}:\d{2})$/;
|
|
22
|
+
return typeof value === 'string' && iso.test(value) ? Date.parse(value) : NaN;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export function parsePermalink(input) {
|
|
26
|
+
const url = URL.parse(input);
|
|
27
|
+
if (url?.protocol !== 'https:' || url.username || url.password || url.port || url.hash) return null;
|
|
28
|
+
|
|
29
|
+
const slack = url.pathname.match(/^\/archives\/([CDG][A-Z0-9]{8,})\/p(\d{16})$/);
|
|
30
|
+
if (slack && /^[a-z0-9-]+\.slack\.com$/.test(url.hostname)) {
|
|
31
|
+
const [, conversation, id] = slack;
|
|
32
|
+
const thread = url.searchParams.get('thread_ts');
|
|
33
|
+
const channel = url.searchParams.get('cid');
|
|
34
|
+
const keys = [...url.searchParams.keys()];
|
|
35
|
+
if (new Set(keys).size !== keys.length || keys.some((key) => !['thread_ts', 'cid'].includes(key))) return null;
|
|
36
|
+
if ((channel !== null && channel !== conversation) ||
|
|
37
|
+
(thread !== null && !/^\d{10}\.\d{6}$/.test(thread))) return null;
|
|
38
|
+
const messageId = id.slice(0, 10) + '.' + id.slice(10);
|
|
39
|
+
return {
|
|
40
|
+
url: url.href,
|
|
41
|
+
service: 'slack',
|
|
42
|
+
conversation,
|
|
43
|
+
messageId,
|
|
44
|
+
thread: thread ?? messageId,
|
|
45
|
+
timestamp: new Date(Number(id.slice(0, 13))).toISOString(),
|
|
46
|
+
selector: `[data-item-key="${messageId}"] [data-qa="message-text"]`,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const teams = url.pathname.match(/^\/l\/message\/([a-zA-Z0-9_.%+@:-]+)\/(\d{13})$/);
|
|
51
|
+
if (!teams || !['teams.microsoft.com', 'teams.cloud.microsoft'].includes(url.hostname)) return null;
|
|
52
|
+
// Rebuild from identifiers so display metadata and client launch options cannot change the read.
|
|
53
|
+
const [, encodedConversation, messageId] = teams;
|
|
54
|
+
const conversation = decodeURIComponent(encodedConversation);
|
|
55
|
+
if (!/^19:[a-z0-9_.+:-]+@(?:thread\.(?:v2|tacv2|skype)|unq\.gbl\.spaces|conference)$/i.test(conversation)) return null;
|
|
56
|
+
const tenant = /^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$/i;
|
|
57
|
+
if (!tenant.test(url.searchParams.get('tenantId') ?? '')) return null;
|
|
58
|
+
const keys = [...url.searchParams.keys()];
|
|
59
|
+
if (new Set(keys).size !== keys.length || keys.some((key) =>
|
|
60
|
+
!['tenantId', 'groupId', 'parentMessageId', 'teamName', 'channelName', 'createdTime'].includes(key))) return null;
|
|
61
|
+
if (url.searchParams.has('groupId') && !tenant.test(url.searchParams.get('groupId'))) return null;
|
|
62
|
+
if (url.searchParams.has('parentMessageId') && !/^\d{13}$/.test(url.searchParams.get('parentMessageId'))) return null;
|
|
63
|
+
const thread = url.searchParams.get('parentMessageId') ?? messageId;
|
|
64
|
+
for (const key of ['teamName', 'channelName', 'createdTime']) url.searchParams.delete(key);
|
|
65
|
+
return {
|
|
66
|
+
url: url.href,
|
|
67
|
+
service: 'teams',
|
|
68
|
+
conversation,
|
|
69
|
+
messageId,
|
|
70
|
+
thread,
|
|
71
|
+
timestamp: new Date(Number(messageId)).toISOString(),
|
|
72
|
+
selector: `[id="message-body-${messageId}"]`,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function readThreadScope(scope, from, until) {
|
|
77
|
+
const start = parseTime(from);
|
|
78
|
+
const end = parseTime(until);
|
|
79
|
+
if (!Number.isFinite(start) || !Number.isFinite(end) || start >= end) {
|
|
80
|
+
throw new Error('Supply an increasing RFC 3339 window with offsets for the thread.');
|
|
81
|
+
}
|
|
82
|
+
const url = new URL(scope.url);
|
|
83
|
+
if (scope.service === 'slack') {
|
|
84
|
+
url.pathname = `/archives/${scope.conversation}/p${scope.thread.replace('.', '')}`;
|
|
85
|
+
url.searchParams.set('thread_ts', scope.thread);
|
|
86
|
+
url.searchParams.set('cid', scope.conversation);
|
|
87
|
+
} else {
|
|
88
|
+
url.pathname = url.pathname.replace(/\d{13}$/, scope.thread);
|
|
89
|
+
url.searchParams.set('parentMessageId', scope.thread);
|
|
90
|
+
}
|
|
91
|
+
return { ...parsePermalink(url.href), window: { start, end } };
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
async function readTranscript(path, from, until) {
|
|
95
|
+
const start = parseTime(from);
|
|
96
|
+
const end = parseTime(until);
|
|
97
|
+
if (!path.startsWith('/') || !Number.isFinite(start) || !Number.isFinite(end) || start >= end) {
|
|
98
|
+
throw new Error('Supply an absolute transcript path and an increasing RFC 3339 window with offsets.');
|
|
99
|
+
}
|
|
100
|
+
const source = path.split('/').at(-1);
|
|
101
|
+
const result = { source, from: new Date(start).toISOString(), until: new Date(end).toISOString(), messages: [] };
|
|
102
|
+
try {
|
|
103
|
+
const info = lstatSync(path);
|
|
104
|
+
if (!info.isFile() || info.size > maxTranscriptBytes) throw new Error();
|
|
105
|
+
const input = await Bun.file(path).slice(0, maxTranscriptBytes + 1).arrayBuffer();
|
|
106
|
+
if (input.byteLength > maxTranscriptBytes) throw new Error();
|
|
107
|
+
for (const line of new TextDecoder('utf-8', { fatal: true }).decode(input).split('\n')) {
|
|
108
|
+
if (!line.trim()) continue;
|
|
109
|
+
const { timestamp, text } = JSON.parse(line);
|
|
110
|
+
const time = parseTime(timestamp);
|
|
111
|
+
if (!Number.isFinite(time) || typeof text !== 'string') throw new Error();
|
|
112
|
+
if (time < start || time >= end) continue;
|
|
113
|
+
result.messages.push({
|
|
114
|
+
timestamp: new Date(time).toISOString(),
|
|
115
|
+
text: text.slice(0, maxExcerptLength),
|
|
116
|
+
...(text.length > maxExcerptLength ? { truncated: true } : {}),
|
|
117
|
+
});
|
|
118
|
+
if (result.messages.length > maxMessages) break;
|
|
119
|
+
}
|
|
120
|
+
} catch {
|
|
121
|
+
throw new Error('Supply a readable JSONL transcript with timestamp and text fields, up to 1 MiB.');
|
|
122
|
+
}
|
|
123
|
+
if (result.messages.length > maxMessages) throw new Error('Too many messages in the window. Supply a narrower window.');
|
|
124
|
+
result.messages.sort((first, second) => first.timestamp.localeCompare(second.timestamp));
|
|
125
|
+
return result;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (import.meta.main) {
|
|
129
|
+
const [mode, source, from, until, ...extra] = process.argv.slice(2);
|
|
130
|
+
try {
|
|
131
|
+
if (mode === '--help' && source === undefined) console.log(usage);
|
|
132
|
+
else if (mode === 'transcript' && until !== undefined && !extra.length) {
|
|
133
|
+
console.log(JSON.stringify(await readTranscript(source, from, until)));
|
|
134
|
+
} else if (source !== undefined && ((mode === 'message' && from === undefined) ||
|
|
135
|
+
(mode === 'thread' && until !== undefined && !extra.length))) {
|
|
136
|
+
let scope;
|
|
137
|
+
try {
|
|
138
|
+
scope = parsePermalink(source);
|
|
139
|
+
} catch {
|
|
140
|
+
// Malformed percent escapes also fail the same scope check.
|
|
141
|
+
}
|
|
142
|
+
if (!scope) throw new Error('Supply one supported Slack or Teams message permalink.');
|
|
143
|
+
if (mode === 'thread') {
|
|
144
|
+
const thread = readThreadScope(scope, from, until);
|
|
145
|
+
const result = await readLiveMessage(thread, maxExcerptLength);
|
|
146
|
+
console.log(JSON.stringify({
|
|
147
|
+
source: thread.url,
|
|
148
|
+
from: new Date(thread.window.start).toISOString(),
|
|
149
|
+
until: new Date(thread.window.end).toISOString(),
|
|
150
|
+
...result,
|
|
151
|
+
}));
|
|
152
|
+
} else {
|
|
153
|
+
const message = await readLiveMessage(scope, maxExcerptLength);
|
|
154
|
+
console.log(JSON.stringify({ source: scope.url, timestamp: scope.timestamp, ...message }));
|
|
155
|
+
}
|
|
156
|
+
} else throw new Error(usage);
|
|
157
|
+
} catch (error) {
|
|
158
|
+
console.error(error.message);
|
|
159
|
+
process.exitCode = 2;
|
|
160
|
+
}
|
|
161
|
+
}
|
package/skills/voa/SKILL.md
CHANGED
|
@@ -9,10 +9,8 @@ Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.
|
|
|
9
9
|
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
10
|
scope and never dispatch.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
to every host, thread, PR and ticket, and report what moved, what is stuck,
|
|
15
|
-
and what waits on him.
|
|
12
|
+
Like its One Piece namesake, VOA listens across Axat's hosts, threads, PRs and
|
|
13
|
+
tickets and reports what moved, what is stuck and what waits on him.
|
|
16
14
|
|
|
17
15
|
Nonrepo VOA stays inline-only under
|
|
18
16
|
[Local artifacts](../axstack/references/local-artifacts.md); ready-work guidance
|
|
@@ -53,13 +51,18 @@ separately authorized recovery schedule. Agent/delegate messages do not activate
|
|
|
53
51
|
comments. Access failure is a coverage gap, never permission to change items.
|
|
54
52
|
4. Read the previous VOA report in this thread; otherwise use 24 hours.
|
|
55
53
|
|
|
56
|
-
|
|
54
|
+
Use `axstack-work-chat` as a read-only context source only when the user
|
|
55
|
+
explicitly requests scoped Slack or Teams evidence. Keep routine and scheduled
|
|
56
|
+
sweeps chat-free. Status and follow-ups stay local. Report a chat coverage gap
|
|
57
|
+
if scope or reader output is unavailable. Never read private conversations,
|
|
58
|
+
post messages or use chat to authorize recovery.
|
|
59
|
+
|
|
60
|
+
Read the [observations](references/observations.md) schema before summarizing
|
|
61
|
+
saved normalized observations offline with
|
|
57
62
|
`bun <this skill>/scripts/voa.js --mode status --input <saved.json>`.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
For source/pack verification and the unverified live boundary, see
|
|
62
|
-
[verification](references/verification.md).
|
|
63
|
+
The helper reads only that file and writes JSON to stdout. It never collects,
|
|
64
|
+
dispatches, sends, schedules or selects a workflow.
|
|
65
|
+
See [verification](references/verification.md) for fixture checks and live coverage limits.
|
|
63
66
|
|
|
64
67
|
## Join
|
|
65
68
|
|
|
@@ -92,13 +95,11 @@ unknowns rather than translating missing observations to zero.
|
|
|
92
95
|
|
|
93
96
|
## Source continuity
|
|
94
97
|
|
|
95
|
-
|
|
96
|
-
`45951c4a18b375b7283bf56e5736101166026581
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
ships Bun >=1.3.14 JavaScript with no runtime dependencies, not that Python
|
|
104
|
-
collector. This is the same VOA capability now owned and shipped by Axstack.
|
|
98
|
+
The Coordinator verified standalone VOA commit
|
|
99
|
+
`45951c4a18b375b7283bf56e5736101166026581` against installed iobox/iosatellite
|
|
100
|
+
bytes. Axstack `add2fdbcc62edb55e2aaaa2946e5673b2ba2dbd1` predates tracked VOA.
|
|
101
|
+
Source archive SHA-256 `d14e7a006d77721d32e1bcb7bf81f38772730f96001aad7e314c2a8cc1ec8aaf`.
|
|
102
|
+
Native inventory and normalized fixtures preserve the read-only Python/SQLite/SSH
|
|
103
|
+
`skills/voa/scripts/collect.py` collector's status terms, joins, attention signals
|
|
104
|
+
and reporting. Axstack owns and ships VOA in Bun >=1.3.14 JavaScript without
|
|
105
|
+
runtime dependencies.
|
package/src/instructions.js
CHANGED
|
@@ -8,23 +8,24 @@ export function renderInstructionBlock() {
|
|
|
8
8
|
return [
|
|
9
9
|
BEGIN,
|
|
10
10
|
'Use Axstack for engineering work: invoke the matching `axstack-*` skill directly.',
|
|
11
|
-
'Route subagents, delegated workers, reviewers and cross-harness dispatch
|
|
11
|
+
'Route subagents, delegated workers, reviewers and cross-harness dispatch via T3 Code orchestration (`t3-code` MCP).',
|
|
12
12
|
'Use `delegate_task` for every role, including authors with `isolation:"worktree"`.',
|
|
13
|
-
'
|
|
14
|
-
'Use `t3_thread_launch`
|
|
13
|
+
'Top-level drivers use `t3_thread_launch` only on explicit user request for a new thread or a runtime-accepted user standing intake grant for that one hand-off. Cross-host `t3_thread_launch` is only one intake hand-off, never remote workers, subagents or replacement launches.',
|
|
14
|
+
'Use `t3_thread_launch` for rare author fallback only when worktree isolation is unavailable on explicit user request for a new thread and record each use in the run record.',
|
|
15
15
|
'Follow `references/t3-runtime.md` in the installed `axstack` skill.',
|
|
16
|
-
'
|
|
17
|
-
'Route a whole task at most once
|
|
18
|
-
'If a task needs
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
16
|
+
'At new-task intake before first worker dispatch, follow `references/fleet-dispatch.md` and `references/fleet-route-schema.md` with current routing facts.',
|
|
17
|
+
'Route a whole task at most once via `fleet-route.js plan`. Missing intakeRouting means false. An explicit named host (pilot) needs no support record.',
|
|
18
|
+
'If a task needs resources only another fleet host has, route the whole task at intake via `fleet-route.js plan`.',
|
|
19
|
+
'At intake, route explicit new scoped Slack/Teams reads or supplied transcripts to iosatellite per existing rules and use `axstack-work-chat` there.',
|
|
20
|
+
'Scheduled work, status and follow-ups stay local. Preserve the routed marker and keep every worker local inside the task without per-dispatch routing.',
|
|
21
|
+
'Bind explicit environmentId, projectId, provider, model, options and runtimeMode from current destination observations.',
|
|
22
|
+
'Never let native main/UI balancing override explicit worker destinations.',
|
|
23
|
+
'Hold ambiguous launches and unknown execution authority. Never start a second driver while the first may exist.',
|
|
24
|
+
'With no launch call, stay local and check staffing. Transfer ownership only after `AXSTACK-ACCEPT` and one idempotent proceed per `references/fleet-dispatch.md`.',
|
|
24
25
|
'Absence of facts never authorizes a route.',
|
|
25
26
|
'Keep remote-author-coordinator off pending successful version-bound lifecycle gates.',
|
|
26
|
-
'
|
|
27
|
-
'
|
|
27
|
+
'User permits Axstack drivers in T3 to run full-access and create delegated writers and worktrees within approved scope.',
|
|
28
|
+
'Exact scoped authorization needs no additional permission flow.',
|
|
28
29
|
'Never use harness-native subagent tools for delegated work.',
|
|
29
30
|
END,
|
|
30
31
|
].join('\n');
|