@askexenow/exe-os 0.9.112 → 0.9.113
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 +9 -7
- package/dist/bin/agentic-ontology-backfill.js +54 -11
- package/dist/bin/agentic-reflection-backfill.js +29 -1
- package/dist/bin/agentic-semantic-label.js +29 -1
- package/dist/bin/backfill-conversations.js +53 -10
- package/dist/bin/backfill-responses.js +54 -11
- package/dist/bin/backfill-vectors.js +29 -1
- package/dist/bin/bulk-sync-postgres.js +55 -12
- package/dist/bin/cleanup-stale-review-tasks.js +75 -15
- package/dist/bin/cli.js +293 -76
- package/dist/bin/exe-agent-config.js +7 -1
- package/dist/bin/exe-agent.js +28 -2
- package/dist/bin/exe-assign.js +54 -11
- package/dist/bin/exe-boot.js +481 -147
- package/dist/bin/exe-call.js +45 -4
- package/dist/bin/exe-cloud.js +93 -15
- package/dist/bin/exe-dispatch.js +369 -24
- package/dist/bin/exe-doctor.js +53 -10
- package/dist/bin/exe-export-behaviors.js +54 -11
- package/dist/bin/exe-forget.js +54 -11
- package/dist/bin/exe-gateway.js +128 -23
- package/dist/bin/exe-heartbeat.js +75 -15
- package/dist/bin/exe-kill.js +54 -11
- package/dist/bin/exe-launch-agent.js +70 -12
- package/dist/bin/exe-new-employee.js +175 -7
- package/dist/bin/exe-pending-messages.js +75 -15
- package/dist/bin/exe-pending-notifications.js +75 -15
- package/dist/bin/exe-pending-reviews.js +75 -15
- package/dist/bin/exe-rename.js +54 -11
- package/dist/bin/exe-review.js +54 -11
- package/dist/bin/exe-search.js +54 -11
- package/dist/bin/exe-session-cleanup.js +491 -146
- package/dist/bin/exe-settings.js +10 -4
- package/dist/bin/exe-start-codex.js +524 -245
- package/dist/bin/exe-start-opencode.js +534 -165
- package/dist/bin/exe-status.js +75 -15
- package/dist/bin/exe-support.js +1 -1
- package/dist/bin/exe-team.js +54 -11
- package/dist/bin/git-sweep.js +369 -24
- package/dist/bin/graph-backfill.js +54 -11
- package/dist/bin/graph-export.js +54 -11
- package/dist/bin/install.js +62 -4
- package/dist/bin/intercom-check.js +491 -146
- package/dist/bin/pre-publish.js +13 -1
- package/dist/bin/scan-tasks.js +369 -24
- package/dist/bin/setup.js +91 -13
- package/dist/bin/shard-migrate.js +54 -11
- package/dist/bin/stack-update.js +1 -1
- package/dist/bin/update.js +3 -3
- package/dist/gateway/index.js +128 -23
- package/dist/hooks/bug-report-worker.js +128 -23
- package/dist/hooks/codex-stop-task-finalizer.js +512 -140
- package/dist/hooks/commit-complete.js +369 -24
- package/dist/hooks/error-recall.js +54 -11
- package/dist/hooks/ingest.js +4575 -252
- package/dist/hooks/instructions-loaded.js +54 -11
- package/dist/hooks/notification.js +54 -11
- package/dist/hooks/post-compact.js +75 -15
- package/dist/hooks/post-tool-combined.js +75 -15
- package/dist/hooks/pre-compact.js +449 -104
- package/dist/hooks/pre-tool-use.js +90 -15
- package/dist/hooks/prompt-submit.js +129 -24
- package/dist/hooks/session-end.js +451 -109
- package/dist/hooks/session-start.js +104 -16
- package/dist/hooks/stop.js +74 -14
- package/dist/hooks/subagent-stop.js +75 -15
- package/dist/hooks/summary-worker.js +73 -7
- package/dist/index.js +128 -23
- package/dist/lib/agent-config.js +16 -1
- package/dist/lib/cloud-sync.js +38 -1
- package/dist/lib/consolidation.js +16 -1
- package/dist/lib/database.js +16 -0
- package/dist/lib/db.js +16 -0
- package/dist/lib/device-registry.js +16 -0
- package/dist/lib/employee-templates.js +29 -3
- package/dist/lib/employees.js +16 -1
- package/dist/lib/exe-daemon.js +268 -42
- package/dist/lib/hybrid-search.js +54 -11
- package/dist/lib/license.js +3 -3
- package/dist/lib/messaging.js +21 -4
- package/dist/lib/schedules.js +29 -1
- package/dist/lib/skill-learning.js +458 -70
- package/dist/lib/status-brief.js +14 -1
- package/dist/lib/store.js +54 -11
- package/dist/lib/tasks.js +393 -91
- package/dist/lib/tmux-routing.js +316 -14
- package/dist/mcp/server.js +169 -30
- package/dist/mcp/tools/create-task.js +75 -13
- package/dist/mcp/tools/deactivate-behavior.js +33 -24
- package/dist/mcp/tools/list-tasks.js +21 -4
- package/dist/mcp/tools/send-message.js +21 -4
- package/dist/mcp/tools/update-task.js +390 -91
- package/dist/runtime/index.js +446 -101
- package/dist/tui/App.js +208 -54
- package/package.json +1 -1
|
@@ -3247,6 +3247,22 @@ async function ensureSchema() {
|
|
|
3247
3247
|
} catch (e) {
|
|
3248
3248
|
logCatchDebug("migration", e);
|
|
3249
3249
|
}
|
|
3250
|
+
try {
|
|
3251
|
+
await client.execute({
|
|
3252
|
+
sql: `ALTER TABLE memories ADD COLUMN visibility TEXT DEFAULT 'private'`,
|
|
3253
|
+
args: []
|
|
3254
|
+
});
|
|
3255
|
+
} catch (e) {
|
|
3256
|
+
logCatchDebug("migration", e);
|
|
3257
|
+
}
|
|
3258
|
+
try {
|
|
3259
|
+
await client.execute({
|
|
3260
|
+
sql: `ALTER TABLE memories ADD COLUMN strength REAL DEFAULT 1.0`,
|
|
3261
|
+
args: []
|
|
3262
|
+
});
|
|
3263
|
+
} catch (e) {
|
|
3264
|
+
logCatchDebug("migration", e);
|
|
3265
|
+
}
|
|
3250
3266
|
}
|
|
3251
3267
|
async function disposeDatabase() {
|
|
3252
3268
|
if (_walCheckpointTimer) {
|
|
@@ -4370,11 +4386,17 @@ var init_platform_procedures = __esm({
|
|
|
4370
4386
|
content: "Founder -> coordinator (the executive agent, internally routed as 'COO') -> CTO/CMO. CTO -> engineers. CMO -> content production. Never skip levels: the coordinator does not bypass managers for specialist work. Specialists report to their manager. If you need cross-team info, use ask_team_memory \u2014 don't read other agents' task folders. Each level owns dispatch downward and review upward."
|
|
4371
4387
|
},
|
|
4372
4388
|
{
|
|
4373
|
-
title: "
|
|
4389
|
+
title: "Orchestration phase guidance \u2014 recommend, never trap",
|
|
4374
4390
|
domain: "workflow",
|
|
4375
4391
|
priority: "p1",
|
|
4376
4392
|
content: "New customers start best in Phase 1: founder \u2194 coordinator/Chief of Staff, building company context. Suggest Phase 2 executives when domain work repeats; suggest Phase 3 parallel execution only when review/permission gates are ready. This is guidance, not a blocker: users may jump phases anytime. Never overwrite their phase, role titles, identities, or custom org design."
|
|
4377
4393
|
},
|
|
4394
|
+
{
|
|
4395
|
+
title: "Routing slot vs display title \u2014 internal 'coo' is plumbing, not your name",
|
|
4396
|
+
domain: "identity",
|
|
4397
|
+
priority: "p0",
|
|
4398
|
+
content: "These procedures reference 'COO' as a shorthand for the coordinator role. This is an INTERNAL routing slot used by exe-os code (chain-of-command checks, dispatch logic, session detection). It is NOT your display title. Your actual title comes from your identity file's `title:` field \u2014 that is what you use externally: introductions, sign-offs, team comms, and any user-facing text. If your identity says `title: AI Chief of Staff`, you are the AI Chief of Staff. The routing slot stays `role: coo` for code compatibility \u2014 never rename it, but also never introduce yourself as 'COO' unless your identity file explicitly says so. The founder chose your title; respect it."
|
|
4399
|
+
},
|
|
4378
4400
|
{
|
|
4379
4401
|
title: "Single dispatch path \u2014 create_task only",
|
|
4380
4402
|
domain: "workflow",
|
|
@@ -4408,6 +4430,12 @@ var init_platform_procedures = __esm({
|
|
|
4408
4430
|
priority: "p0",
|
|
4409
4431
|
content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
|
|
4410
4432
|
},
|
|
4433
|
+
{
|
|
4434
|
+
title: "Destructive operations \u2014 mandatory reviewer gate",
|
|
4435
|
+
domain: "security",
|
|
4436
|
+
priority: "p0",
|
|
4437
|
+
content: "Before ANY destructive operation (delete, remove, overwrite, drop, reset, force-push, truncate), you MUST: (1) Have your full task spec accessible \u2014 if you cannot read it, STOP and report to your reviewer. Never improvise destructive actions. (2) Confirm with your reviewer (assigned_by or COO) before executing. (3) If the task spec explicitly authorizes the operation, proceed \u2014 but log it. Violation = immediate task failure. This applies to ALL agents regardless of role."
|
|
4438
|
+
},
|
|
4411
4439
|
{
|
|
4412
4440
|
title: "Customer patch triage \u2014 upstream bug vs customization",
|
|
4413
4441
|
domain: "support",
|
|
@@ -4693,10 +4721,24 @@ function stableId(memoryId, type, content) {
|
|
|
4693
4721
|
return createHash2("sha256").update(`${memoryId}:${type}:${content}`).digest("hex").slice(0, 32);
|
|
4694
4722
|
}
|
|
4695
4723
|
function cleanText(text) {
|
|
4696
|
-
|
|
4724
|
+
let cleaned = text.replace(
|
|
4725
|
+
/```(\w*)\n(.*?)(?:\n[\s\S]*?)```/g,
|
|
4726
|
+
(_m, lang, firstLine) => `[code${lang ? `:${lang}` : ""}] ${firstLine.trim()}`
|
|
4727
|
+
);
|
|
4728
|
+
cleaned = cleaned.replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim();
|
|
4729
|
+
return cleaned;
|
|
4697
4730
|
}
|
|
4698
|
-
function
|
|
4699
|
-
|
|
4731
|
+
function splitSegments(text) {
|
|
4732
|
+
const cleaned = cleanText(text);
|
|
4733
|
+
const segments = cleaned.split(/(?<=[.!?:;])\s+|\n{2,}|(?<=\))\s+(?=[A-Z])|\s*[|│]\s*/).map((s) => s.trim()).filter((s) => s.length >= MIN_SEGMENT_CHARS && s.length <= MAX_SEGMENT_CHARS);
|
|
4734
|
+
if (segments.length === 0 && cleaned.length >= MIN_SEGMENT_CHARS) {
|
|
4735
|
+
const lines = cleaned.split(/\n+/).map((l) => l.trim()).filter((l) => l.length >= MIN_SEGMENT_CHARS && l.length <= MAX_SEGMENT_CHARS);
|
|
4736
|
+
if (lines.length > 0) return lines;
|
|
4737
|
+
if (cleaned.length >= MIN_SEGMENT_CHARS) {
|
|
4738
|
+
return [cleaned.slice(0, MAX_SEGMENT_CHARS)];
|
|
4739
|
+
}
|
|
4740
|
+
}
|
|
4741
|
+
return segments;
|
|
4700
4742
|
}
|
|
4701
4743
|
function inferCardType(sentence, toolName) {
|
|
4702
4744
|
const lower = sentence.toLowerCase();
|
|
@@ -4728,12 +4770,12 @@ function predicateFor(type) {
|
|
|
4728
4770
|
}
|
|
4729
4771
|
}
|
|
4730
4772
|
function extractMemoryCards(row) {
|
|
4731
|
-
const
|
|
4773
|
+
const segments = splitSegments(row.raw_text);
|
|
4732
4774
|
const cards = [];
|
|
4733
|
-
for (const sentence of
|
|
4775
|
+
for (const sentence of segments) {
|
|
4734
4776
|
const type = inferCardType(sentence, row.tool_name);
|
|
4735
4777
|
const subject = extractSubject(sentence, row.agent_id);
|
|
4736
|
-
const content = sentence.length >
|
|
4778
|
+
const content = sentence.length > MAX_SEGMENT_CHARS ? `${sentence.slice(0, MAX_SEGMENT_CHARS - 1)}\u2026` : sentence;
|
|
4737
4779
|
cards.push({
|
|
4738
4780
|
id: stableId(row.id, type, content),
|
|
4739
4781
|
memory_id: row.id,
|
|
@@ -4829,13 +4871,14 @@ Source memory: ${String(row.source_ref ?? row.memory_id)}`,
|
|
|
4829
4871
|
last_accessed: String(row.timestamp)
|
|
4830
4872
|
}));
|
|
4831
4873
|
}
|
|
4832
|
-
var MAX_CARDS_PER_MEMORY,
|
|
4874
|
+
var MAX_CARDS_PER_MEMORY, MAX_SEGMENT_CHARS, MIN_SEGMENT_CHARS;
|
|
4833
4875
|
var init_memory_cards = __esm({
|
|
4834
4876
|
"src/lib/memory-cards.ts"() {
|
|
4835
4877
|
"use strict";
|
|
4836
4878
|
init_database();
|
|
4837
|
-
MAX_CARDS_PER_MEMORY =
|
|
4838
|
-
|
|
4879
|
+
MAX_CARDS_PER_MEMORY = 8;
|
|
4880
|
+
MAX_SEGMENT_CHARS = 500;
|
|
4881
|
+
MIN_SEGMENT_CHARS = 20;
|
|
4839
4882
|
}
|
|
4840
4883
|
});
|
|
4841
4884
|
|
|
@@ -7141,7 +7184,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
7141
7184
|
try {
|
|
7142
7185
|
const client = getClient();
|
|
7143
7186
|
void client.execute({
|
|
7144
|
-
sql: `UPDATE memories SET last_accessed = ?, retrieval_count = COALESCE(retrieval_count, 0) + 1 WHERE id IN (${placeholders})`,
|
|
7187
|
+
sql: `UPDATE memories SET last_accessed = ?, retrieval_count = COALESCE(retrieval_count, 0) + 1, strength = MIN(1.0, COALESCE(strength, 1.0) + 0.1) WHERE id IN (${placeholders})`,
|
|
7145
7188
|
args: [now, ...ids]
|
|
7146
7189
|
}).catch(() => {
|
|
7147
7190
|
});
|
package/dist/lib/license.js
CHANGED
|
@@ -116,7 +116,7 @@ var DEFAULT_CONFIG = {
|
|
|
116
116
|
var LICENSE_PATH = path2.join(EXE_AI_DIR, "license.key");
|
|
117
117
|
var CACHE_PATH = path2.join(EXE_AI_DIR, "license-cache.json");
|
|
118
118
|
var DEVICE_ID_PATH = path2.join(EXE_AI_DIR, "device-id");
|
|
119
|
-
var API_BASE = process.env.EXE_CLOUD_ENDPOINT ?? "https://askexe.com
|
|
119
|
+
var API_BASE = process.env.EXE_CLOUD_ENDPOINT ?? "https://cloud.askexe.com";
|
|
120
120
|
var RETRY_DELAY_MS = 500;
|
|
121
121
|
async function fetchRetry(url, init) {
|
|
122
122
|
try {
|
|
@@ -485,7 +485,7 @@ async function assertVpsLicense(opts) {
|
|
|
485
485
|
}
|
|
486
486
|
if (!transientFailure) {
|
|
487
487
|
throw new Error(
|
|
488
|
-
"License validation failed: unknown backend state. Restore network connectivity to https://askexe.com
|
|
488
|
+
"License validation failed: unknown backend state. Restore network connectivity to https://cloud.askexe.com and retry."
|
|
489
489
|
);
|
|
490
490
|
}
|
|
491
491
|
const fresh = await getCachedLicense();
|
|
@@ -522,7 +522,7 @@ async function assertVpsLicense(opts) {
|
|
|
522
522
|
} catch {
|
|
523
523
|
}
|
|
524
524
|
throw new Error(
|
|
525
|
-
`License validation unreachable for more than ${graceDays} days. Restore network connectivity to https://askexe.com
|
|
525
|
+
`License validation unreachable for more than ${graceDays} days. Restore network connectivity to https://cloud.askexe.com and retry. This VPS image refuses to boot after the offline grace window.`
|
|
526
526
|
);
|
|
527
527
|
}
|
|
528
528
|
var _revalTimer = null;
|
package/dist/lib/messaging.js
CHANGED
|
@@ -616,7 +616,7 @@ var init_license = __esm({
|
|
|
616
616
|
LICENSE_PATH = path7.join(EXE_AI_DIR, "license.key");
|
|
617
617
|
CACHE_PATH = path7.join(EXE_AI_DIR, "license-cache.json");
|
|
618
618
|
DEVICE_ID_PATH = path7.join(EXE_AI_DIR, "device-id");
|
|
619
|
-
API_BASE = process.env.EXE_CLOUD_ENDPOINT ?? "https://askexe.com
|
|
619
|
+
API_BASE = process.env.EXE_CLOUD_ENDPOINT ?? "https://cloud.askexe.com";
|
|
620
620
|
}
|
|
621
621
|
});
|
|
622
622
|
|
|
@@ -693,6 +693,18 @@ function extractRootExe(name) {
|
|
|
693
693
|
const parts = name.split("-").filter(Boolean);
|
|
694
694
|
return parts.length > 0 ? parts[parts.length - 1] : null;
|
|
695
695
|
}
|
|
696
|
+
function registerParentExe(sessionKey, parentExe, dispatchedBy) {
|
|
697
|
+
if (!existsSync10(SESSION_CACHE)) {
|
|
698
|
+
mkdirSync6(SESSION_CACHE, { recursive: true });
|
|
699
|
+
}
|
|
700
|
+
const rootExe = extractRootExe(parentExe) ?? parentExe;
|
|
701
|
+
const filePath = path10.join(SESSION_CACHE, `parent-exe-${sessionKey}.json`);
|
|
702
|
+
writeFileSync5(filePath, JSON.stringify({
|
|
703
|
+
parentExe: rootExe,
|
|
704
|
+
dispatchedBy: dispatchedBy || rootExe,
|
|
705
|
+
registeredAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
706
|
+
}));
|
|
707
|
+
}
|
|
696
708
|
function getParentExe(sessionKey) {
|
|
697
709
|
try {
|
|
698
710
|
const data = JSON.parse(readFileSync7(path10.join(SESSION_CACHE, `parent-exe-${sessionKey}.json`), "utf8"));
|
|
@@ -702,11 +714,12 @@ function getParentExe(sessionKey) {
|
|
|
702
714
|
}
|
|
703
715
|
}
|
|
704
716
|
function resolveExeSession() {
|
|
717
|
+
if (process.env.EXE_SESSION_NAME) {
|
|
718
|
+
const fromEnv = extractRootExe(process.env.EXE_SESSION_NAME) ?? process.env.EXE_SESSION_NAME;
|
|
719
|
+
if (fromEnv) return fromEnv;
|
|
720
|
+
}
|
|
705
721
|
const mySession = getMySession();
|
|
706
722
|
if (!mySession) {
|
|
707
|
-
if (process.env.EXE_SESSION_NAME) {
|
|
708
|
-
return extractRootExe(process.env.EXE_SESSION_NAME) ?? process.env.EXE_SESSION_NAME;
|
|
709
|
-
}
|
|
710
723
|
return null;
|
|
711
724
|
}
|
|
712
725
|
const fromSessionName = extractRootExe(mySession);
|
|
@@ -721,6 +734,10 @@ function resolveExeSession() {
|
|
|
721
734
|
`[tmux-routing] WARN: cache says "${fromCache}" but session name says "${fromSessionName}". Trusting session name.
|
|
722
735
|
`
|
|
723
736
|
);
|
|
737
|
+
try {
|
|
738
|
+
registerParentExe(key, fromSessionName);
|
|
739
|
+
} catch {
|
|
740
|
+
}
|
|
724
741
|
candidate = fromSessionName;
|
|
725
742
|
} else {
|
|
726
743
|
candidate = fromCache;
|
package/dist/lib/schedules.js
CHANGED
|
@@ -3033,6 +3033,22 @@ async function ensureSchema() {
|
|
|
3033
3033
|
} catch (e) {
|
|
3034
3034
|
logCatchDebug("migration", e);
|
|
3035
3035
|
}
|
|
3036
|
+
try {
|
|
3037
|
+
await client.execute({
|
|
3038
|
+
sql: `ALTER TABLE memories ADD COLUMN visibility TEXT DEFAULT 'private'`,
|
|
3039
|
+
args: []
|
|
3040
|
+
});
|
|
3041
|
+
} catch (e) {
|
|
3042
|
+
logCatchDebug("migration", e);
|
|
3043
|
+
}
|
|
3044
|
+
try {
|
|
3045
|
+
await client.execute({
|
|
3046
|
+
sql: `ALTER TABLE memories ADD COLUMN strength REAL DEFAULT 1.0`,
|
|
3047
|
+
args: []
|
|
3048
|
+
});
|
|
3049
|
+
} catch (e) {
|
|
3050
|
+
logCatchDebug("migration", e);
|
|
3051
|
+
}
|
|
3036
3052
|
}
|
|
3037
3053
|
async function disposeDatabase() {
|
|
3038
3054
|
if (_walCheckpointTimer) {
|
|
@@ -3599,11 +3615,17 @@ var init_platform_procedures = __esm({
|
|
|
3599
3615
|
content: "Founder -> coordinator (the executive agent, internally routed as 'COO') -> CTO/CMO. CTO -> engineers. CMO -> content production. Never skip levels: the coordinator does not bypass managers for specialist work. Specialists report to their manager. If you need cross-team info, use ask_team_memory \u2014 don't read other agents' task folders. Each level owns dispatch downward and review upward."
|
|
3600
3616
|
},
|
|
3601
3617
|
{
|
|
3602
|
-
title: "
|
|
3618
|
+
title: "Orchestration phase guidance \u2014 recommend, never trap",
|
|
3603
3619
|
domain: "workflow",
|
|
3604
3620
|
priority: "p1",
|
|
3605
3621
|
content: "New customers start best in Phase 1: founder \u2194 coordinator/Chief of Staff, building company context. Suggest Phase 2 executives when domain work repeats; suggest Phase 3 parallel execution only when review/permission gates are ready. This is guidance, not a blocker: users may jump phases anytime. Never overwrite their phase, role titles, identities, or custom org design."
|
|
3606
3622
|
},
|
|
3623
|
+
{
|
|
3624
|
+
title: "Routing slot vs display title \u2014 internal 'coo' is plumbing, not your name",
|
|
3625
|
+
domain: "identity",
|
|
3626
|
+
priority: "p0",
|
|
3627
|
+
content: "These procedures reference 'COO' as a shorthand for the coordinator role. This is an INTERNAL routing slot used by exe-os code (chain-of-command checks, dispatch logic, session detection). It is NOT your display title. Your actual title comes from your identity file's `title:` field \u2014 that is what you use externally: introductions, sign-offs, team comms, and any user-facing text. If your identity says `title: AI Chief of Staff`, you are the AI Chief of Staff. The routing slot stays `role: coo` for code compatibility \u2014 never rename it, but also never introduce yourself as 'COO' unless your identity file explicitly says so. The founder chose your title; respect it."
|
|
3628
|
+
},
|
|
3607
3629
|
{
|
|
3608
3630
|
title: "Single dispatch path \u2014 create_task only",
|
|
3609
3631
|
domain: "workflow",
|
|
@@ -3637,6 +3659,12 @@ var init_platform_procedures = __esm({
|
|
|
3637
3659
|
priority: "p0",
|
|
3638
3660
|
content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
|
|
3639
3661
|
},
|
|
3662
|
+
{
|
|
3663
|
+
title: "Destructive operations \u2014 mandatory reviewer gate",
|
|
3664
|
+
domain: "security",
|
|
3665
|
+
priority: "p0",
|
|
3666
|
+
content: "Before ANY destructive operation (delete, remove, overwrite, drop, reset, force-push, truncate), you MUST: (1) Have your full task spec accessible \u2014 if you cannot read it, STOP and report to your reviewer. Never improvise destructive actions. (2) Confirm with your reviewer (assigned_by or COO) before executing. (3) If the task spec explicitly authorizes the operation, proceed \u2014 but log it. Violation = immediate task failure. This applies to ALL agents regardless of role."
|
|
3667
|
+
},
|
|
3640
3668
|
{
|
|
3641
3669
|
title: "Customer patch triage \u2014 upstream bug vs customization",
|
|
3642
3670
|
domain: "support",
|