Frontmatter
| id | 8102 |
| title | Mandate Sub-Agent Context Injection in AGENTS_STARTUP.md |
| state | Closed |
| labels | documentationcontributor-experienceai |
| assignees | tobiu |
| createdAt | Dec 13, 2025, 12:11 AM |
| updatedAt | Dec 13, 2025, 12:15 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8102 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 13, 2025, 12:15 AM |
Problem
Standard sub-agents (like
codebase_investigator) lack the specific context of the Neo.mjs framework, particularly the config system logic defined insrc/core/Base.mjs. This leads to incorrect analysis (hallucinations) when they assume standard JavaScript property behavior instead of Neo.mjs reactive configs.Solution
Update
AGENTS_STARTUP.mdto include a directive for agents. When invoking a sub-agent, the parent agent MUST inject a "Context Preamble" or explicitly instruct the sub-agent to readsrc/core/Base.mjsandsrc/Neo.mjsto understand the framework's "physics" before analyzing code.