Skip to content

[docs] Define agent platform instruction layers - #6365

Draft
mmabrouk wants to merge 1 commit into
release/v0.114.4from
docs/agent-platform-instructions
Draft

[docs] Define agent platform instruction layers#6365
mmabrouk wants to merge 1 commit into
release/v0.114.4from
docs/agent-platform-instructions

Conversation

@mmabrouk

Copy link
Copy Markdown
Member

Context

Agent-owned instructions currently travel through different SDK, runner, and harness paths. Ownership, persistence, invalidation, and native-session continuity therefore vary between Pi, Claude, and Codex.

Changes

This docs-only design defines one internal platformInstructions contract for SDK-owned text and a separate runner-owned runtime layer. It documents native delivery per harness, the required Codex late-runtime overlay, deterministic composition, lifecycle and continuity digests, Pi operator-file precedence, and a two-phase rollout that avoids mixed-version prompt loss.

Tests / notes

  • git diff --check -- docs/design/agent-platform-instructions
  • Independent interface and minimality reviews completed with no blocker, high, or medium findings.
  • Implementation remains gated on executable Pi precedence and Codex developer-instruction spikes.

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview Aug 29, 2026 9:18am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mmabrouk

Copy link
Copy Markdown
Member Author

🤖 The AI agent says: Please review three decisions before implementation: (1) SDK-owned platformInstructions stays separate from author fields, (2) changed prompt inputs rebuild every harness and an effective direct-instruction digest guards native continuity, and (3) Codex keeps late runner facts in a fenced AGENTS.md overlay because daemon config freezes before Daytona mounts. Implementation starts with executable Pi precedence and Codex developer-instruction spikes.

@mmabrouk mmabrouk added deisgn documentation Improvements or additions to documentation labels Aug 29, 2026
@mmabrouk
mmabrouk changed the base branch from main to release/v0.114.4 August 31, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deisgn documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant