Skip to content

docs: trim agent instructions - #54678

Merged
rekram1-node merged 6 commits into
devfrom
agents-cleanup
Oct 12, 2026
Merged

rekram1-node merged 6 commits into
devfrom
agents-cleanup

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Trims bloated and stale agent guidance.

  • Root AGENTS.md: drop the stale "current implementation packages" line, collapse the branch lines, remove V2 from headings, fix the self-export example, and trim Session Core (drop the compaction and instruction-persistence specs, shorten the step/llm.stream rule).
  • packages/ai/AGENTS.md: 324 → 20 lines covering principles (forward compatibility first), code style, and tests/cassettes. Removes the unreferenced docs/media-design.md.
  • packages/codemode/AGENTS.md: 27 → 3 rules; interpreter-support.md is a checklist, not a changelog.
  • cli, schema, core/src/tool: remove references to legacy sync state, "SDK Next", and the "Current Gaps" roadmap.

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. This changes documentation only, so there was nothing to run. I read the diff and checked that the docs stay accurate: nothing in the repo still links to the removed packages/ai/docs/media-design.md, the corrected config self-export example (./agent.js) matches the existing modules, and the cassette path in the new packages/ai/AGENTS.md exists.

Public API: unchanged.

No concerns.

@rekram1-node
rekram1-node merged commit 4d3d8fd into dev Oct 12, 2026
9 of 11 checks passed
@rekram1-node
rekram1-node deleted the agents-cleanup branch October 12, 2026 03:32
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