@askexenow/exe-os 0.9.69 → 0.9.71
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/deploy/stack-manifests/v0.9.json +96 -16
- package/dist/bin/agentic-ontology-backfill.js +33 -0
- package/dist/bin/agentic-reflection-backfill.js +33 -0
- package/dist/bin/agentic-semantic-label.js +33 -0
- package/dist/bin/backfill-conversations.js +33 -0
- package/dist/bin/backfill-responses.js +33 -0
- package/dist/bin/backfill-vectors.js +33 -0
- package/dist/bin/bulk-sync-postgres.js +33 -0
- package/dist/bin/cleanup-stale-review-tasks.js +33 -0
- package/dist/bin/cli.js +1284 -178
- package/dist/bin/exe-agent.js +6 -0
- package/dist/bin/exe-assign.js +33 -0
- package/dist/bin/exe-boot.js +33 -0
- package/dist/bin/exe-call.js +6 -0
- package/dist/bin/exe-cloud.js +33 -0
- package/dist/bin/exe-dispatch.js +33 -0
- package/dist/bin/exe-doctor.js +33 -0
- package/dist/bin/exe-export-behaviors.js +33 -0
- package/dist/bin/exe-forget.js +33 -0
- package/dist/bin/exe-gateway.js +178 -110
- package/dist/bin/exe-heartbeat.js +33 -0
- package/dist/bin/exe-kill.js +33 -0
- package/dist/bin/exe-launch-agent.js +33 -0
- package/dist/bin/exe-new-employee.js +6 -0
- package/dist/bin/exe-pending-messages.js +33 -0
- package/dist/bin/exe-pending-notifications.js +33 -0
- package/dist/bin/exe-pending-reviews.js +33 -0
- package/dist/bin/exe-rename.js +40 -4
- package/dist/bin/exe-review.js +33 -0
- package/dist/bin/exe-search.js +33 -0
- package/dist/bin/exe-session-cleanup.js +33 -0
- package/dist/bin/exe-start-codex.js +33 -0
- package/dist/bin/exe-start-opencode.js +33 -0
- package/dist/bin/exe-status.js +33 -0
- package/dist/bin/exe-team.js +33 -0
- package/dist/bin/git-sweep.js +33 -0
- package/dist/bin/graph-backfill.js +177 -110
- package/dist/bin/graph-export.js +33 -0
- package/dist/bin/intercom-check.js +33 -0
- package/dist/bin/registry-proxy.js +207 -0
- package/dist/bin/scan-tasks.js +33 -0
- package/dist/bin/setup.js +33 -0
- package/dist/bin/shard-migrate.js +33 -0
- package/dist/bin/stack-update.js +128 -0
- package/dist/gateway/index.js +178 -110
- package/dist/hooks/bug-report-worker.js +33 -0
- package/dist/hooks/codex-stop-task-finalizer.js +33 -0
- package/dist/hooks/commit-complete.js +33 -0
- package/dist/hooks/error-recall.js +33 -0
- package/dist/hooks/ingest.js +33 -0
- package/dist/hooks/instructions-loaded.js +33 -0
- package/dist/hooks/notification.js +33 -0
- package/dist/hooks/post-compact.js +33 -0
- package/dist/hooks/post-tool-combined.js +698 -17
- package/dist/hooks/pre-compact.js +33 -0
- package/dist/hooks/pre-tool-use.js +33 -0
- package/dist/hooks/prompt-submit.js +314 -0
- package/dist/hooks/session-end.js +33 -0
- package/dist/hooks/session-start.js +33 -0
- package/dist/hooks/stop.js +279 -12
- package/dist/hooks/subagent-stop.js +33 -0
- package/dist/hooks/summary-worker.js +33 -0
- package/dist/index.js +178 -110
- package/dist/lib/cloud-sync.js +27 -0
- package/dist/lib/database.js +27 -0
- package/dist/lib/db.js +27 -0
- package/dist/lib/device-registry.js +27 -0
- package/dist/lib/employee-templates.js +6 -0
- package/dist/lib/exe-daemon.js +639 -259
- package/dist/lib/hybrid-search.js +33 -0
- package/dist/lib/registry-proxy.js +162 -0
- package/dist/lib/schedules.js +33 -0
- package/dist/lib/store.js +33 -0
- package/dist/mcp/server.js +561 -244
- package/dist/runtime/index.js +33 -0
- package/dist/tui/App.js +33 -0
- package/package.json +3 -2
- package/stack.release.json +6 -4
- package/stack.release.schema.json +89 -18
package/dist/bin/exe-agent.js
CHANGED
|
@@ -1393,6 +1393,12 @@ var PLATFORM_PROCEDURES = [
|
|
|
1393
1393
|
priority: "p0",
|
|
1394
1394
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
1395
1395
|
},
|
|
1396
|
+
{
|
|
1397
|
+
title: "Code context first for repository orientation",
|
|
1398
|
+
domain: "workflow",
|
|
1399
|
+
priority: "p1",
|
|
1400
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
1401
|
+
},
|
|
1396
1402
|
{
|
|
1397
1403
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
1398
1404
|
domain: "workflow",
|
package/dist/bin/exe-assign.js
CHANGED
|
@@ -2372,6 +2372,33 @@ async function ensureSchema() {
|
|
|
2372
2372
|
CREATE INDEX IF NOT EXISTS idx_chat_history_session
|
|
2373
2373
|
ON chat_history(session_id, id);
|
|
2374
2374
|
`);
|
|
2375
|
+
await client.executeMultiple(`
|
|
2376
|
+
CREATE TABLE IF NOT EXISTS session_events (
|
|
2377
|
+
id TEXT PRIMARY KEY,
|
|
2378
|
+
agent_id TEXT NOT NULL,
|
|
2379
|
+
agent_role TEXT NOT NULL,
|
|
2380
|
+
session_id TEXT NOT NULL,
|
|
2381
|
+
session_scope TEXT,
|
|
2382
|
+
project_name TEXT NOT NULL,
|
|
2383
|
+
event_index INTEGER NOT NULL,
|
|
2384
|
+
event_type TEXT NOT NULL,
|
|
2385
|
+
tool_name TEXT,
|
|
2386
|
+
tool_use_id TEXT,
|
|
2387
|
+
content TEXT NOT NULL,
|
|
2388
|
+
payload_json TEXT,
|
|
2389
|
+
has_error INTEGER NOT NULL DEFAULT 0,
|
|
2390
|
+
created_at TEXT NOT NULL
|
|
2391
|
+
);
|
|
2392
|
+
|
|
2393
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_agent_time
|
|
2394
|
+
ON session_events(agent_id, created_at DESC);
|
|
2395
|
+
|
|
2396
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_session_index
|
|
2397
|
+
ON session_events(session_id, event_index);
|
|
2398
|
+
|
|
2399
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_scope_agent_time
|
|
2400
|
+
ON session_events(session_scope, agent_id, created_at DESC);
|
|
2401
|
+
`);
|
|
2375
2402
|
await client.executeMultiple(`
|
|
2376
2403
|
CREATE TABLE IF NOT EXISTS workspaces (
|
|
2377
2404
|
id TEXT PRIMARY KEY,
|
|
@@ -3503,6 +3530,12 @@ var init_platform_procedures = __esm({
|
|
|
3503
3530
|
priority: "p0",
|
|
3504
3531
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
3505
3532
|
},
|
|
3533
|
+
{
|
|
3534
|
+
title: "Code context first for repository orientation",
|
|
3535
|
+
domain: "workflow",
|
|
3536
|
+
priority: "p1",
|
|
3537
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
3538
|
+
},
|
|
3506
3539
|
{
|
|
3507
3540
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
3508
3541
|
domain: "workflow",
|
package/dist/bin/exe-boot.js
CHANGED
|
@@ -2524,6 +2524,33 @@ async function ensureSchema() {
|
|
|
2524
2524
|
CREATE INDEX IF NOT EXISTS idx_chat_history_session
|
|
2525
2525
|
ON chat_history(session_id, id);
|
|
2526
2526
|
`);
|
|
2527
|
+
await client.executeMultiple(`
|
|
2528
|
+
CREATE TABLE IF NOT EXISTS session_events (
|
|
2529
|
+
id TEXT PRIMARY KEY,
|
|
2530
|
+
agent_id TEXT NOT NULL,
|
|
2531
|
+
agent_role TEXT NOT NULL,
|
|
2532
|
+
session_id TEXT NOT NULL,
|
|
2533
|
+
session_scope TEXT,
|
|
2534
|
+
project_name TEXT NOT NULL,
|
|
2535
|
+
event_index INTEGER NOT NULL,
|
|
2536
|
+
event_type TEXT NOT NULL,
|
|
2537
|
+
tool_name TEXT,
|
|
2538
|
+
tool_use_id TEXT,
|
|
2539
|
+
content TEXT NOT NULL,
|
|
2540
|
+
payload_json TEXT,
|
|
2541
|
+
has_error INTEGER NOT NULL DEFAULT 0,
|
|
2542
|
+
created_at TEXT NOT NULL
|
|
2543
|
+
);
|
|
2544
|
+
|
|
2545
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_agent_time
|
|
2546
|
+
ON session_events(agent_id, created_at DESC);
|
|
2547
|
+
|
|
2548
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_session_index
|
|
2549
|
+
ON session_events(session_id, event_index);
|
|
2550
|
+
|
|
2551
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_scope_agent_time
|
|
2552
|
+
ON session_events(session_scope, agent_id, created_at DESC);
|
|
2553
|
+
`);
|
|
2527
2554
|
await client.executeMultiple(`
|
|
2528
2555
|
CREATE TABLE IF NOT EXISTS workspaces (
|
|
2529
2556
|
id TEXT PRIMARY KEY,
|
|
@@ -3240,6 +3267,12 @@ var init_platform_procedures = __esm({
|
|
|
3240
3267
|
priority: "p0",
|
|
3241
3268
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
3242
3269
|
},
|
|
3270
|
+
{
|
|
3271
|
+
title: "Code context first for repository orientation",
|
|
3272
|
+
domain: "workflow",
|
|
3273
|
+
priority: "p1",
|
|
3274
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
3275
|
+
},
|
|
3243
3276
|
{
|
|
3244
3277
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
3245
3278
|
domain: "workflow",
|
package/dist/bin/exe-call.js
CHANGED
|
@@ -331,6 +331,12 @@ var init_platform_procedures = __esm({
|
|
|
331
331
|
priority: "p0",
|
|
332
332
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
333
333
|
},
|
|
334
|
+
{
|
|
335
|
+
title: "Code context first for repository orientation",
|
|
336
|
+
domain: "workflow",
|
|
337
|
+
priority: "p1",
|
|
338
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
339
|
+
},
|
|
334
340
|
{
|
|
335
341
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
336
342
|
domain: "workflow",
|
package/dist/bin/exe-cloud.js
CHANGED
|
@@ -2941,6 +2941,33 @@ async function ensureSchema() {
|
|
|
2941
2941
|
CREATE INDEX IF NOT EXISTS idx_chat_history_session
|
|
2942
2942
|
ON chat_history(session_id, id);
|
|
2943
2943
|
`);
|
|
2944
|
+
await client.executeMultiple(`
|
|
2945
|
+
CREATE TABLE IF NOT EXISTS session_events (
|
|
2946
|
+
id TEXT PRIMARY KEY,
|
|
2947
|
+
agent_id TEXT NOT NULL,
|
|
2948
|
+
agent_role TEXT NOT NULL,
|
|
2949
|
+
session_id TEXT NOT NULL,
|
|
2950
|
+
session_scope TEXT,
|
|
2951
|
+
project_name TEXT NOT NULL,
|
|
2952
|
+
event_index INTEGER NOT NULL,
|
|
2953
|
+
event_type TEXT NOT NULL,
|
|
2954
|
+
tool_name TEXT,
|
|
2955
|
+
tool_use_id TEXT,
|
|
2956
|
+
content TEXT NOT NULL,
|
|
2957
|
+
payload_json TEXT,
|
|
2958
|
+
has_error INTEGER NOT NULL DEFAULT 0,
|
|
2959
|
+
created_at TEXT NOT NULL
|
|
2960
|
+
);
|
|
2961
|
+
|
|
2962
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_agent_time
|
|
2963
|
+
ON session_events(agent_id, created_at DESC);
|
|
2964
|
+
|
|
2965
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_session_index
|
|
2966
|
+
ON session_events(session_id, event_index);
|
|
2967
|
+
|
|
2968
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_scope_agent_time
|
|
2969
|
+
ON session_events(session_scope, agent_id, created_at DESC);
|
|
2970
|
+
`);
|
|
2944
2971
|
await client.executeMultiple(`
|
|
2945
2972
|
CREATE TABLE IF NOT EXISTS workspaces (
|
|
2946
2973
|
id TEXT PRIMARY KEY,
|
|
@@ -6508,6 +6535,12 @@ var init_platform_procedures = __esm({
|
|
|
6508
6535
|
priority: "p0",
|
|
6509
6536
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
6510
6537
|
},
|
|
6538
|
+
{
|
|
6539
|
+
title: "Code context first for repository orientation",
|
|
6540
|
+
domain: "workflow",
|
|
6541
|
+
priority: "p1",
|
|
6542
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
6543
|
+
},
|
|
6511
6544
|
{
|
|
6512
6545
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
6513
6546
|
domain: "workflow",
|
package/dist/bin/exe-dispatch.js
CHANGED
|
@@ -3026,6 +3026,33 @@ async function ensureSchema() {
|
|
|
3026
3026
|
CREATE INDEX IF NOT EXISTS idx_chat_history_session
|
|
3027
3027
|
ON chat_history(session_id, id);
|
|
3028
3028
|
`);
|
|
3029
|
+
await client.executeMultiple(`
|
|
3030
|
+
CREATE TABLE IF NOT EXISTS session_events (
|
|
3031
|
+
id TEXT PRIMARY KEY,
|
|
3032
|
+
agent_id TEXT NOT NULL,
|
|
3033
|
+
agent_role TEXT NOT NULL,
|
|
3034
|
+
session_id TEXT NOT NULL,
|
|
3035
|
+
session_scope TEXT,
|
|
3036
|
+
project_name TEXT NOT NULL,
|
|
3037
|
+
event_index INTEGER NOT NULL,
|
|
3038
|
+
event_type TEXT NOT NULL,
|
|
3039
|
+
tool_name TEXT,
|
|
3040
|
+
tool_use_id TEXT,
|
|
3041
|
+
content TEXT NOT NULL,
|
|
3042
|
+
payload_json TEXT,
|
|
3043
|
+
has_error INTEGER NOT NULL DEFAULT 0,
|
|
3044
|
+
created_at TEXT NOT NULL
|
|
3045
|
+
);
|
|
3046
|
+
|
|
3047
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_agent_time
|
|
3048
|
+
ON session_events(agent_id, created_at DESC);
|
|
3049
|
+
|
|
3050
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_session_index
|
|
3051
|
+
ON session_events(session_id, event_index);
|
|
3052
|
+
|
|
3053
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_scope_agent_time
|
|
3054
|
+
ON session_events(session_scope, agent_id, created_at DESC);
|
|
3055
|
+
`);
|
|
3029
3056
|
await client.executeMultiple(`
|
|
3030
3057
|
CREATE TABLE IF NOT EXISTS workspaces (
|
|
3031
3058
|
id TEXT PRIMARY KEY,
|
|
@@ -7891,6 +7918,12 @@ var init_platform_procedures = __esm({
|
|
|
7891
7918
|
priority: "p0",
|
|
7892
7919
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
7893
7920
|
},
|
|
7921
|
+
{
|
|
7922
|
+
title: "Code context first for repository orientation",
|
|
7923
|
+
domain: "workflow",
|
|
7924
|
+
priority: "p1",
|
|
7925
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
7926
|
+
},
|
|
7894
7927
|
{
|
|
7895
7928
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
7896
7929
|
domain: "workflow",
|
package/dist/bin/exe-doctor.js
CHANGED
|
@@ -3480,6 +3480,33 @@ async function ensureSchema() {
|
|
|
3480
3480
|
CREATE INDEX IF NOT EXISTS idx_chat_history_session
|
|
3481
3481
|
ON chat_history(session_id, id);
|
|
3482
3482
|
`);
|
|
3483
|
+
await client.executeMultiple(`
|
|
3484
|
+
CREATE TABLE IF NOT EXISTS session_events (
|
|
3485
|
+
id TEXT PRIMARY KEY,
|
|
3486
|
+
agent_id TEXT NOT NULL,
|
|
3487
|
+
agent_role TEXT NOT NULL,
|
|
3488
|
+
session_id TEXT NOT NULL,
|
|
3489
|
+
session_scope TEXT,
|
|
3490
|
+
project_name TEXT NOT NULL,
|
|
3491
|
+
event_index INTEGER NOT NULL,
|
|
3492
|
+
event_type TEXT NOT NULL,
|
|
3493
|
+
tool_name TEXT,
|
|
3494
|
+
tool_use_id TEXT,
|
|
3495
|
+
content TEXT NOT NULL,
|
|
3496
|
+
payload_json TEXT,
|
|
3497
|
+
has_error INTEGER NOT NULL DEFAULT 0,
|
|
3498
|
+
created_at TEXT NOT NULL
|
|
3499
|
+
);
|
|
3500
|
+
|
|
3501
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_agent_time
|
|
3502
|
+
ON session_events(agent_id, created_at DESC);
|
|
3503
|
+
|
|
3504
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_session_index
|
|
3505
|
+
ON session_events(session_id, event_index);
|
|
3506
|
+
|
|
3507
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_scope_agent_time
|
|
3508
|
+
ON session_events(session_scope, agent_id, created_at DESC);
|
|
3509
|
+
`);
|
|
3483
3510
|
await client.executeMultiple(`
|
|
3484
3511
|
CREATE TABLE IF NOT EXISTS workspaces (
|
|
3485
3512
|
id TEXT PRIMARY KEY,
|
|
@@ -4445,6 +4472,12 @@ var init_platform_procedures = __esm({
|
|
|
4445
4472
|
priority: "p0",
|
|
4446
4473
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
4447
4474
|
},
|
|
4475
|
+
{
|
|
4476
|
+
title: "Code context first for repository orientation",
|
|
4477
|
+
domain: "workflow",
|
|
4478
|
+
priority: "p1",
|
|
4479
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
4480
|
+
},
|
|
4448
4481
|
{
|
|
4449
4482
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
4450
4483
|
domain: "workflow",
|
|
@@ -2513,6 +2513,33 @@ async function ensureSchema() {
|
|
|
2513
2513
|
CREATE INDEX IF NOT EXISTS idx_chat_history_session
|
|
2514
2514
|
ON chat_history(session_id, id);
|
|
2515
2515
|
`);
|
|
2516
|
+
await client.executeMultiple(`
|
|
2517
|
+
CREATE TABLE IF NOT EXISTS session_events (
|
|
2518
|
+
id TEXT PRIMARY KEY,
|
|
2519
|
+
agent_id TEXT NOT NULL,
|
|
2520
|
+
agent_role TEXT NOT NULL,
|
|
2521
|
+
session_id TEXT NOT NULL,
|
|
2522
|
+
session_scope TEXT,
|
|
2523
|
+
project_name TEXT NOT NULL,
|
|
2524
|
+
event_index INTEGER NOT NULL,
|
|
2525
|
+
event_type TEXT NOT NULL,
|
|
2526
|
+
tool_name TEXT,
|
|
2527
|
+
tool_use_id TEXT,
|
|
2528
|
+
content TEXT NOT NULL,
|
|
2529
|
+
payload_json TEXT,
|
|
2530
|
+
has_error INTEGER NOT NULL DEFAULT 0,
|
|
2531
|
+
created_at TEXT NOT NULL
|
|
2532
|
+
);
|
|
2533
|
+
|
|
2534
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_agent_time
|
|
2535
|
+
ON session_events(agent_id, created_at DESC);
|
|
2536
|
+
|
|
2537
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_session_index
|
|
2538
|
+
ON session_events(session_id, event_index);
|
|
2539
|
+
|
|
2540
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_scope_agent_time
|
|
2541
|
+
ON session_events(session_scope, agent_id, created_at DESC);
|
|
2542
|
+
`);
|
|
2516
2543
|
await client.executeMultiple(`
|
|
2517
2544
|
CREATE TABLE IF NOT EXISTS workspaces (
|
|
2518
2545
|
id TEXT PRIMARY KEY,
|
|
@@ -4201,6 +4228,12 @@ var init_platform_procedures = __esm({
|
|
|
4201
4228
|
priority: "p0",
|
|
4202
4229
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
4203
4230
|
},
|
|
4231
|
+
{
|
|
4232
|
+
title: "Code context first for repository orientation",
|
|
4233
|
+
domain: "workflow",
|
|
4234
|
+
priority: "p1",
|
|
4235
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
4236
|
+
},
|
|
4204
4237
|
{
|
|
4205
4238
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
4206
4239
|
domain: "workflow",
|
package/dist/bin/exe-forget.js
CHANGED
|
@@ -2437,6 +2437,33 @@ async function ensureSchema() {
|
|
|
2437
2437
|
CREATE INDEX IF NOT EXISTS idx_chat_history_session
|
|
2438
2438
|
ON chat_history(session_id, id);
|
|
2439
2439
|
`);
|
|
2440
|
+
await client.executeMultiple(`
|
|
2441
|
+
CREATE TABLE IF NOT EXISTS session_events (
|
|
2442
|
+
id TEXT PRIMARY KEY,
|
|
2443
|
+
agent_id TEXT NOT NULL,
|
|
2444
|
+
agent_role TEXT NOT NULL,
|
|
2445
|
+
session_id TEXT NOT NULL,
|
|
2446
|
+
session_scope TEXT,
|
|
2447
|
+
project_name TEXT NOT NULL,
|
|
2448
|
+
event_index INTEGER NOT NULL,
|
|
2449
|
+
event_type TEXT NOT NULL,
|
|
2450
|
+
tool_name TEXT,
|
|
2451
|
+
tool_use_id TEXT,
|
|
2452
|
+
content TEXT NOT NULL,
|
|
2453
|
+
payload_json TEXT,
|
|
2454
|
+
has_error INTEGER NOT NULL DEFAULT 0,
|
|
2455
|
+
created_at TEXT NOT NULL
|
|
2456
|
+
);
|
|
2457
|
+
|
|
2458
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_agent_time
|
|
2459
|
+
ON session_events(agent_id, created_at DESC);
|
|
2460
|
+
|
|
2461
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_session_index
|
|
2462
|
+
ON session_events(session_id, event_index);
|
|
2463
|
+
|
|
2464
|
+
CREATE INDEX IF NOT EXISTS idx_session_events_scope_agent_time
|
|
2465
|
+
ON session_events(session_scope, agent_id, created_at DESC);
|
|
2466
|
+
`);
|
|
2440
2467
|
await client.executeMultiple(`
|
|
2441
2468
|
CREATE TABLE IF NOT EXISTS workspaces (
|
|
2442
2469
|
id TEXT PRIMARY KEY,
|
|
@@ -4125,6 +4152,12 @@ var init_platform_procedures = __esm({
|
|
|
4125
4152
|
priority: "p0",
|
|
4126
4153
|
content: "exe-build-adv is MANDATORY for ALL work touching 3+ files. Run /exe-build-adv --auto BEFORE implementation. Pipeline: Spec \u2192 AC \u2192 Tests \u2192 Evaluate \u2192 Fix. No multi-file feature ships without pipeline artifacts. No exceptions \u2014 managers reject work without them."
|
|
4127
4154
|
},
|
|
4155
|
+
{
|
|
4156
|
+
title: "Code context first for repository orientation",
|
|
4157
|
+
domain: "workflow",
|
|
4158
|
+
priority: "p1",
|
|
4159
|
+
content: "Before broad repo exploration, symbol tracing, blast-radius review, or codebase Q&A, agents should use the consolidated code_context MCP tool instead of manual grep/read loops. Use action=index or stats to refresh/check the index; action=search with query, limit, offset, languages, paths, refresh_index for fresh multi-language code/doc search; action=trace for symbol imports/dependents; action=blast_radius for impact analysis before edits. CLI parity exists via exe-os code-context init|index|status|stats|search|doctor. Keep code_context separate from durable employee memory: promote only validated decisions, procedures, or lessons into store_memory/commit_memory."
|
|
4160
|
+
},
|
|
4128
4161
|
{
|
|
4129
4162
|
title: "Commit discipline \u2014 never leave verified work floating",
|
|
4130
4163
|
domain: "workflow",
|