LearnNewsExamplesServices
Frontmatter
id8102
titleMandate Sub-Agent Context Injection in AGENTS_STARTUP.md
stateClosed
labels
documentationcontributor-experienceai
assigneestobiu
createdAtDec 13, 2025, 12:11 AM
updatedAtDec 13, 2025, 12:15 AM
githubUrlhttps://github.com/neomjs/neo/issues/8102
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 13, 2025, 12:15 AM

Mandate Sub-Agent Context Injection in AGENTS_STARTUP.md

Closed v11.17.0 documentationcontributor-experienceai
tobiu
tobiu commented on Dec 13, 2025, 12:11 AM

Problem

Standard sub-agents (like codebase_investigator) lack the specific context of the Neo.mjs framework, particularly the config system logic defined in src/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.md to 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 read src/core/Base.mjs and src/Neo.mjs to understand the framework's "physics" before analyzing code.

tobiu added the documentation label on Dec 13, 2025, 12:11 AM
tobiu added the contributor-experience label on Dec 13, 2025, 12:11 AM
tobiu added the ai label on Dec 13, 2025, 12:11 AM
tobiu assigned to @tobiu on Dec 13, 2025, 12:14 AM
tobiu referenced in commit 3532229 - "Mandate Sub-Agent Context Injection in AGENTS_STARTUP.md #8102" on Dec 13, 2025, 12:15 AM
tobiu closed this issue on Dec 13, 2025, 12:15 AM