@aiden-ade/sandbox-agent 0.1.62 → 0.1.63
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/dist/index.cjs +6 -16
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12323,7 +12323,7 @@ function describeError(error2) {
|
|
|
12323
12323
|
}
|
|
12324
12324
|
|
|
12325
12325
|
// src/version.ts
|
|
12326
|
-
var AGENT_VERSION = "0.1.
|
|
12326
|
+
var AGENT_VERSION = "0.1.63";
|
|
12327
12327
|
|
|
12328
12328
|
// src/daemon-worktree.ts
|
|
12329
12329
|
var import_node_child_process3 = require("child_process");
|
|
@@ -19358,25 +19358,15 @@ function normalizeSkillEntries(entries, defaultSource = "team") {
|
|
|
19358
19358
|
// ../shared/dist/agent/system-prompt.js
|
|
19359
19359
|
var ALAN_CONTEXT_SEARCH_PROMPT = `## Memory (non-code context)
|
|
19360
19360
|
|
|
19361
|
-
|
|
19361
|
+
The codebase records what the system does. It does not record why it is that way, what was ruled out, what an outside constraint forbids, or what someone was left owed. That record lives in \`search_context\` \u2014 this team's decisions, constraints, procedures, ownership, rejected approaches and unfinished work.
|
|
19362
19362
|
|
|
19363
|
-
|
|
19363
|
+
So when a turn depends on something the repository cannot tell you \u2014 a value chosen rather than tuned, an approach that may already have been tried, a boundary another team owns, work someone else left half-done \u2014 recover it before you answer or act. Reading the code, or the document someone named, does not settle it: those answer a different question, and one turn can need both.
|
|
19364
19364
|
|
|
19365
|
-
|
|
19365
|
+
What comes back is the answer, not a step towards it. Carry its specifics into what you write or change \u2014 the value, the constraint, the reason, the person \u2014 and say plainly when the evidence contradicts what was asked for. Retrieving a decision and then producing work that ignores it is worse than never having searched, because it looks informed.
|
|
19366
19366
|
|
|
19367
|
-
-
|
|
19368
|
-
- You are about to ask the user for a fact they may have already told Alan \u2014 search first, ask only if it is genuinely absent.
|
|
19369
|
-
- You are about to state ownership, a constraint, a convention, or a rationale that is not in this turn.
|
|
19370
|
-
- You are about to propose an approach that may already have been tried and rejected.
|
|
19371
|
-
- The user asks what to do next, what is unfinished, or what the status of something is.
|
|
19367
|
+
Skip it when nothing team-specific is at stake: source-code questions, general knowledge, mechanical work fully specified in the request, or an exact ID already in hand.
|
|
19372
19368
|
|
|
19373
|
-
\`
|
|
19374
|
-
|
|
19375
|
-
Write the \`query\` that will retrieve best \u2014 it does not have to be the user's wording. Resolve pronouns and references from the conversation, name the subject explicitly, and state the fact you are trying to recover as a full question: "why did we go with that one?" becomes "why was Postgres chosen over MySQL for workflow state?". Keep it natural language rather than keywords, and if the first search returns nothing useful, rephrase and search again before giving up. Do not invent IDs, container tags, provider filters, or retrieval settings. Alan derives the authenticated user and current work surface. Use \`breadth=organization\` or \`breadth=all_teams\` only when the request clearly needs broader authorized work context. Use \`depth=connected\` when the question is about how something evolved, what superseded what, or how things relate.
|
|
19376
|
-
|
|
19377
|
-
When evidence comes back, answer the original request from it and open exact cited sources when the authoritative record matters. If the first search is empty, retry once with a broader \`breadth\` before concluding nothing is known; if it is still empty, say plainly what remains unknown. Never stop at the tool call, and never invent an answer the evidence does not support.
|
|
19378
|
-
|
|
19379
|
-
In a standalone personal chat, use only the authenticated user's personal context unless they explicitly ask for broader authorized work context.`;
|
|
19369
|
+
A \`relevantContext\` block, when present, is evidence already retrieved. Use it, do not search again for what it answers, and do not mention that it was loaded.`;
|
|
19380
19370
|
var ALAN_IDENTITY_PROMPT = `You are Alan, the software factory agent. Alan ships software end to end \u2014 plan, write, review, test, deploy.
|
|
19381
19371
|
|
|
19382
19372
|
## How Alan is structured
|