entwurf: Instructions file for Codex

AGENTS.md

entwurf AGENTS.md is an instructions file for Codex, OpenCode from junghan0611/entwurf. It costs 4,520 tokens per session, scanned A, original, MIT.

Maintainer instructions for entwurf, a software package that routes requests between different coding-agent runtimes. It defines how those runtimes connect and which responsibilities belong to the core package.

In plain words
What is it for?
Use it when changing entwurf's architecture, agent connections, request transport, or ACP plugin boundary, and when checking which package should own a change.
Why use it?
It prevents contributors from treating one host application as the whole system or adding hidden behavior to the request-routing layer.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is junghan0611/entwurf's own configuration. It tells Codex and OpenCode how to work on entwurf itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything entwurf configures →

Reuse

Borrowing it

Nothing to install: this file belongs to junghan0611/entwurf. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/junghan0611/entwurf/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/junghan0611/entwurf

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for entwurf AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/junghan0611/entwurf/agents-md/github.svg)](https://agentmods.dev/instructions/junghan0611/entwurf/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/junghan0611/entwurf/agents-md"><img src="https://agentmods.dev/badge/instructions/junghan0611/entwurf/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for entwurf AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/junghan0611/entwurf/agents-md"><img src="https://agentmods.dev/badge/instructions/junghan0611/entwurf/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,520 This file is loaded in full into every session.
When invoked 4,520 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.04520 $0.04520
Opus 5.5 $0.01808 $0.01808
Sonnet 5.5 $0.00904 $0.00904
Haiku 4.5 $0.00452 $0.00452

Measured yesterday against content hash bbe885e5dc54, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

entwurf AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Maintainer Guidelines for entwurf

For agents who own this repository: durable invariants and the documents that own the changing evidence. This is the entwurf capability package: visible sibling lifecycle and garden-id delivery — the v2 dispatch core, native-harness bridges, ACP plugin, and pi adapter. Entwurf is the subject; pi is one adapter. ACP is a plugin, not the boundary. V2 addresses existing citizens; entwurf_fresh_call creates a new sibling.

North Star — One Forged Screwdriver

entwurf는 두 번째 하네스나 오케스트레이터가 아니라, 맡은 접점에서만 강한 드라이버다.

  • Entwurf is primary; pi is not a privileged identity layer. Harness sessions are peers that retain their own transcript, auth, and runtime.
  • Capability/rail asymmetry is not a rank. Dispatch reads the record, live rail facts, and caller intent; it never reconstructs prompts, hydrates transcripts, scans ambient MCP, or invents a tool claim.
  • A spawned or resumed session is a runtime-isolated sibling, never a disposable worker.
  • 전송 방식은 달라도, 형제로서 부르고 불리는 기본 UX는 대칭이어야 한다.
  • Evidence disciplines claims: source, gates, and the owning document must support an assertion.

Ask: does this follow capability rather than a surface name; record backend asymmetry without denying siblinghood; preserve one narrow driver rather than grow a harness; and make the next observable evidence rather than reopen settled direction?

Architecture

  • Product guidance: root ENTWURF.json is the sole editable source for its extracted English payload families, currently MCP metadata, durable short variants (#154 C1-A), the static entwurf_v2 reject hints (C1-B), the static visible-resume (record/liveness) reject hints of entwurf_resume_call (C1-C), the static tmux launch-stage reject hints of entwurf_fresh_call and entwurf_resume_call (C1-D), five static delivery-result clauses of the entwurf_v2 dirty-lock and remote-pair receipts (E1a) and the text on either side of the record-less-socket reject hint's one code-owned slot (E1b). Compiled copies are deterministic transport, never another authority. Keep independent pre-extraction oracles intact; current metadata is checked against those originals plus explicitly reviewed literal amendment layers, not regenerated expectations. Payload revision is independent of releases/history-only edits. Metadata is not delivered to models; existing engraving/user-config contracts remain unchanged. Bootstrap, notices, the protocol-bearing mailbox envelope, receipt syntax and its annotations, other hints (including the slot-bearing model-invalid and task-too-long hints, the peers record-less-socket diagnostics, the shared ACP model hint, the preflight repair text kept beside its predicates and every herdr rail hint) and ACP text are not yet centralized.
  • entwurf-core (v2): garden-id addressing, record facts, rail liveness, dispatch decisions, and delivery evidence.
  • Record authority: every citizen uses V3 MetaIdentity; backend selects rail capability, never identity rank.
  • pi adapter: attaches its native session to a record, hosts the record-keyed control socket, and registers the compiled entwurf-bridge with Pi’s built-in MCP under that record’s identity.
  • Native bridges: register existing sessions without owning transcript or auth. Claude Code and Copilot are self-fetch; Antigravity and Codex are native-push. Codex remains native rather than ACP so its vendor tools, delegation, and work context remain intact. Admission/evidence details belong in DELIVERY.md and VERIFY.md.
  • ACP plugin: one entwurf provider under an isolated overlay. The host pi session is already a record-backed citizen; ACP creates neither a second citizen nor a socket layer.
  • mux: launch-only placement and fixed-runtime launch. It never imports into delivery. Fresh identity arrives only through its callback envelope, never a lookup; same-id visible resume keeps identity/liveness/locking on the v2 side of the injected seam. Fresh call accepts only the narrow model, literal absolute cwd, and existing caller-server seat inputs; it creates no session and does not infer seat from cwd. A Codex CALLER alone has an omitted-placement rule: it opens beside its own TUI pane, matched by thread-id in that pane title; 0/2+ matches reject; explicit placement still wins. Do not turn either fresh call or resume into a generic driver, command/env carrier, or second creation API. Exact module/argv/import ownership: docs/mux-launch-rail.md.
  • Delivery: entwurf_v2 addresses an existing garden id through a live control socket, deliverable self-fetch mailbox, or probe-alive native push. It never starts a process. Fresh creation and visible same-id resume are separate lifecycle verbs.

Read the full file on GitHub · 129 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +1 lines · +283 tokens per session bbe885e5dc54
  2. 3d ago Changed · +30 tokens per session eacd3b2f753f
  3. 6d ago Changed · +2 lines · +384 tokens per session cfd8885f1151
  4. 12d ago Changed · +89 tokens per session 4626ec88f423
  5. 14d ago Changed · +19 tokens per session e0dadb4a91a9
  6. 15d ago Changed · +7 tokens per session 5bea48c6f2d2
  7. 19d ago Changed · +136 tokens per session a2584aa873a2
  8. 20d ago Changed · +1 lines · +231 tokens per session 79b0d69a2994
  9. 21d ago Changed · +1 lines · +32 tokens per session 7fc139d001ec
  10. 25d ago First seen · 124 lines · 3,309 tokens per session scan A 079edad0333d

Subscribe to this mod's changes

entwurf AGENTS.md is an instructions file published in the GitHub repository junghan0611/entwurf (31 stars, last pushed 2d ago), licensed MIT. It adds 4,520 tokens to every session, about $0.0181 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories