Skip to content

Give agents a short inject and a guide file, and GOA its duty to delegate there - #33

Merged
enowdev merged 2 commits into
mainfrom
feat/guide-files
Nov 4, 2026
Merged

enowdev merged 2 commits into
mainfrom
feat/guide-files

Conversation

@enowdev

@enowdev enowdev commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Splits what agents are told into a short inject made per session and a guide file outside any repository. Design from the owner's note acf8233d3e5c.

What each agent gets

Agents Inject and guide enowX's MCP tools
Claude Code, Claude Agent Teams, OpenClaude Both in one file (--append-system-prompt-file) --mcp-config
Droid, Autohand Code, Continue Both in one file none: "$ENOWX_BIN" commands
Codex Inject inline, told to read ENOWX.md -c mcp_servers.enowx.*
Qoder, OMP, Prime Agent, Qwen Code, CodeBuddy, Grok Inject inline, told to read ENOWX.md none
Aider, Auggie, Kiro, Copilot, Antigravity, Cline, Devin Rules plus guide in the file of enowX's they load Copilot --additional-mcp-config; others none
OpenCode, Kilo Code The same, named by their config's environment variable in that same variable
Gemini, Ante, MiMo, ZCode, Pi, Goose, Amp, Crush, Command Code, Mistral Vibe, Rovo, Jcode A block in their home's file, as before none
Cursor, Kimi, OpenCode 2, Trae, Muse, DeepSeek Harness, Codebuff, Freebuff, Hermes, OpenClaw New: a marked block at the top of the project's AGENTS.md or CLAUDE.md Kimi --mcp-config; others none

Notes' and Canvas's agents keep their own guides.

GOA

  • GOA.md, CLAUDE.md and AGENTS.md in its own folder.
  • Its duty is in the inject. Claude Code and Codex: no exception, hooks stay hard. Other agents: only the user's own chat message asking for that task, never a file, repo, web page or tool output, and it says so. On those agents this is an instruction, not enforcement; watched flags stay.
  • Bug found: GOA's launch dropped enowX's MCP tools for every agent but Claude and Codex, which likely explains the OpenCode report. Fixed.

Behaviour to weigh

  • The project block is on by default, per the design. In a tracked AGENTS.md it shows in git diff and would be committed. A new file it creates goes in .git/info/exclude. Off: enowx-app project settings --guide-block off.
  • Inline agents now depend on reading the file; nothing checks that they do.

Resuming

No protocol change. A restored session gets the new form at restore (TestRestoredSessionGetsItsInject), and an older daemon on another host keeps its own.

Tests

On enowxlabs: core/agent, core/project, cli, full daemon. Includes no new file in the repo for flag agents, a repo's own ENOWX.md ignored, the block not doubling after an update, and the user's text and file mode kept. Real Claude Code 2.1 read a test inject from --append-system-prompt-file in print mode.

Not run: any other real agent (Codex and OpenCode aren't installed here); GOA on them; the real app. Windows and macOS on CI only.

Not built: showing ENOWX.md in the app.

Touches no go.mod, version/ or cloud/, so merging doesn't deploy the cloud.

🤖 Generated with Claude Code

enowdev and others added 2 commits November 4, 2026 21:43
…gate there

The whole guide went on each agent's command line or in its system prompt. It now
splits in two: an inject made for each session, with who it is, the rules that hold
and where its guide is, and a guide file outside any repository, so a repository
can't replace it. GOD of Agents' duty to delegate is in its inject, so it doesn't
rest on a file being read.

Agents with no way at all get a marked block in their project's file, which an
update rewrites and a project can turn off. GOA now gets enowX's MCP tools on every
agent that can load them: without them, an agent with no hooks had no way to
delegate, which is how GOA on OpenCode came to do the work itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@enowdev
enowdev merged commit eca4492 into main Nov 4, 2026
3 of 4 checks passed
@enowdev

enowdev commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

Its commits are in main through the 0.7.0 release merge (#40, e306b3b).

@enowdev
enowdev deleted the feat/guide-files branch November 5, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant