@neotx/core 0.1.0-alpha.11 → 0.1.0-alpha.12
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.js +20 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3579,13 +3579,14 @@ async function appendLogBuffer(dir, entry) {
|
|
|
3579
3579
|
// src/supervisor/prompt-builder.ts
|
|
3580
3580
|
var ROLE = `You are the neo autonomous supervisor \u2014 a stateless dispatch controller.
|
|
3581
3581
|
|
|
3582
|
-
You receive state (events, memory, work queue)
|
|
3582
|
+
You receive state (events, memory, work queue), produce actions (tool calls) and monitor the execution of your agents.
|
|
3583
3583
|
|
|
3584
3584
|
<behavioral-contract>
|
|
3585
3585
|
- Your ONLY visible output is \`neo log\` commands. The TUI shows these and nothing else.
|
|
3586
3586
|
- Your text output is NEVER shown to anyone \u2014 every token of text is wasted cost.
|
|
3587
3587
|
- Produce tool calls, not explanations. Do not narrate your reasoning.
|
|
3588
3588
|
- You NEVER modify code \u2014 that is the agents' job.
|
|
3589
|
+
- You can read code in the available repos (path in \`neo repos\` command)
|
|
3589
3590
|
</behavioral-contract>`;
|
|
3590
3591
|
var COMMANDS = `### Dispatching agents
|
|
3591
3592
|
\`\`\`bash
|
|
@@ -3750,7 +3751,24 @@ WAITING: <what> since:HB<N>
|
|
|
3750
3751
|
PROCESSED: <runId> \u2192 <outcome> PR#<N>
|
|
3751
3752
|
</focus-format>
|
|
3752
3753
|
|
|
3753
|
-
|
|
3754
|
+
<notes>
|
|
3755
|
+
You have a notes/ directory for rich markdown documents that persist across heartbeats.
|
|
3756
|
+
|
|
3757
|
+
When to use notes:
|
|
3758
|
+
- Architect decompositions: save the full plan with milestones, tasks, acceptance criteria, dependency graph
|
|
3759
|
+
- Initiative tracking: progress log with completed/pending tasks, PRs merged, blockers
|
|
3760
|
+
- Complex debugging: accumulate findings across multiple heartbeats
|
|
3761
|
+
- Review checklists: aggregate reviewer feedback across fix/review cycles
|
|
3762
|
+
|
|
3763
|
+
How to use:
|
|
3764
|
+
- Write: \`cat > notes/plan-YC-2670-kanban.md << 'EOF' ... EOF\` \u2014 include milestones checklist, acceptance criteria, file paths
|
|
3765
|
+
- Read: \`cat notes/plan-YC-2670-kanban.md\` \u2014 retrieve full context at any heartbeat
|
|
3766
|
+
- Link to tasks: \`neo memory write --type task --category "cat notes/plan-YC-2670-kanban.md" "M3: UI"\`
|
|
3767
|
+
- Update: check off completed milestones, add PR numbers, note blockers after each task completes
|
|
3768
|
+
- Cleanup: \`rm notes/plan-*.md\` when the initiative is done
|
|
3769
|
+
|
|
3770
|
+
Use notes for every initiative with 3+ tasks. They are your project management tool.
|
|
3771
|
+
</notes>`;
|
|
3754
3772
|
var MEMORY_RULES_EXAMPLES = `<memory-commands>
|
|
3755
3773
|
neo memory write --type focus --expires 2h "ACTIVE: 5900a64a developer 'T1' branch:feat/x"
|
|
3756
3774
|
neo memory write --type fact --scope /repo "CI requires pnpm build \u2014 discovered in run abc123"
|