Skip to content

Codify the Agent OS operating-contract and specialist-creep rules #234

Open

Description

@dominicnunez

Problem and intended outcome

Agent OS increasingly integrates or coordinates inference providers, execution/isolation runtimes, verifiers, security tools, knowledge/retrieval systems, tool runtimes, credential providers, observability systems, and other specialized infrastructure.

Without a persistent repository-wide rule, future development can drift into specialist creep: Agent OS starts implementing every adjacent capability instead of remaining the operating layer that governs how those capabilities are selected, authorized, bounded, evidenced, recovered, and allowed to affect completion.

The architectural principle is already settled. This issue is now primarily a documentation and development-governance implementation task:

Agent OS owns the operating semantics and contracts between capabilities, not necessarily the specialized implementations underneath them.

Prefer fit-for-purpose external or replaceable components behind runtime-owned contracts unless an in-core implementation is necessary to preserve a core Agent OS invariant.

Repository-wide specialist-creep rule

Add concise guidance to AGENTS.md using this intent:

Avoid specialist creep. Agent OS owns operating semantics such as identity/scope, authority, risk classification, exact profile/version selection, resource budgets, data/context boundaries, required evidence, failure semantics, recovery, replay/audit, and completion impact. It should generally not become the specialized implementation of every capability it governs. Prefer fit-for-purpose external or replaceable providers for sandboxes/isolation runtimes, security scanners, fuzzers, model servers, secret/KMS systems, observability backends, behavioral/statistical evaluators, storage/search engines, browser/tool runtimes, and similar specialist infrastructure unless implementing the capability in-core is required to preserve a core Agent OS invariant.

The guidance should also make the decision test explicit:

Is this a core Agent OS invariant, or are we accidentally building the specialist underneath the invariant?

What Agent OS should own

For an integrated capability, Agent OS should own the operating contract for questions such as:

  • What identity and Organization/Goal/Work/Task/Execution is using it?
  • What authority/capability permits access?
  • What risk/containment class applies?
  • What exact provider/profile/version/configuration was selected?
  • What resource budget applies?
  • What input/context/data classification may cross the boundary?
  • What effective runtime properties must be structurally enforced?
  • What evidence/attestation must the component return?
  • How is that evidence validated and bound to completion?
  • What are timeout/cancellation/retry/recovery semantics?
  • What happens if the component is unavailable, uncertain, stale, or changed?
  • How are historical execution and replay/audit represented?
  • Can replacing the provider silently alter an already-admitted execution?

What Agent OS should generally not become

Unless required by a core invariant, Agent OS should not aim to become the specialist implementation of every:

  • hostile-code sandbox or container/isolation engine;
  • fuzzing/security/vulnerability scanner;
  • model inference server;
  • secret vault/KMS/PKI;
  • compiler/static analyzer;
  • behavioral/statistical evaluation platform;
  • scientific-computing/benchmark framework;
  • browser/tool runtime;
  • vector/semantic database or general search engine;
  • observability backend;
  • CPU/process/kernel resource-control system.

These should normally be external/replaceable providers whose effective behavior enters Agent OS through closed contracts and evidence.

External specialization is not implicit trust

This principle must not become weak "plugin trust."

A specialized component's own claim of safety, success, isolation, identity, coverage, or verification is not automatically authoritative.

Agent OS must define:

  • what effective properties are required;
  • what evidence proves them;
  • whether the environment structurally enforces them;
  • how version/profile drift invalidates stale admission;
  • how their output may affect authority, completion, promotion, or recovery.

Replacing an external implementation must not silently weaken a previously admitted Agent OS invariant.

Concrete examples

Execution risk classification      -> Agent OS
Sandbox/isolation implementation   -> external provider

Audit coverage contract            -> Agent OS
Vulnerability/security scanner     -> external provider

Credential-generation binding      -> Agent OS
General KMS / secret vault          -> external provider

Experiment protocol/trust          -> Agent OS Lab
Statistics/benchmark engine        -> external evaluator/tool

Resource budget authority          -> Agent OS
CPU/process isolation machinery    -> OS/runtime/provider

Inference identity/profile binding -> Agent OS
Model serving/GPU runtime           -> external provider

These are examples, not a closed list.

Anti-speculation discipline

Owning operating contracts does not justify implementing every conceivable future subsystem in advance.

Prefer:

concrete supported need
    ->
define the smallest Agent OS contract/invariant
    ->
integrate the appropriate external provider or minimal implementation
    ->
exercise it through real Work
    ->
expand only from observed need/evidence

Before adding a specialized subsystem in-core, explicitly ask:

  • Is there a current supported execution path that needs it?
  • Is this behavior itself a core Agent OS invariant?
  • Could Agent OS define the contract and use an external/replaceable provider instead?
  • Is there an explicit scheduled prerequisite dependency?
  • Would the in-core implementation create unnecessary attack surface, maintenance, replay, or compatibility obligations?

Historical compatibility and explicitly scheduled feature-prerequisite code are not speculative merely because they are currently dormant.

Issue intake is not roadmap commitment

Agent OS intentionally uses GitHub issues for both implementation work and evidence/research intake.

Security automation and manual research may create issues from CVEs, Agent incidents, papers, framework failures, reference-workload findings, and architectural observations.

Keep learning aggressively; implement deliberately.

Issue creation means a finding is worth preserving/evaluating, not that Agent OS has committed to implementing the source project's mitigation.

Priority/category labels and explicit creator decisions govern implementation order.

Priority and reference-workload discipline

Documentation deliverables

  1. Add the concise specialist-creep rule and decision test to AGENTS.md under project-wide boundaries.
  2. Add or update an architecture document describing:
    • Agent OS operating contracts vs specialized implementations;
    • external provider/adaptor expectations;
    • evidence/attestation requirements;
    • structural enforcement vs self-asserted safety;
    • replacement/version-drift behavior;
    • concrete examples such as execution isolation, KMS, scanners, evaluators, and resource enforcement.
  3. Ensure development guidance records the anti-speculation, issue-intake, and priority distinctions above without duplicating entire issue bodies.
  4. Future subsystem proposals should explicitly state:
    • Agent OS must own the implementation or
    • Agent OS owns only the contract/provider integration,
      and justify the choice.

Acceptance criteria

Priority rationale

This issue is P0 because it materially governs the direction of subsequent Agent OS development. The architecture principle is already decided; the urgent work is to encode it in persistent repository guidance before additional subsystems are designed or implemented under inconsistent assumptions.

The P0 designation reflects development-governance impact, not a claim of an active exploitable runtime vulnerability.

Activity

  1. added
    P2
    core architecture
    on Oct 4, 2026
  2. changed the title [-]Make Agent OS own operating contracts, not every specialized implementation[/-] [+]Codify the Agent OS operating-contract and specialist-creep rules[/+] on Oct 4, 2026
  3. added
    P0
    documentation
    and removed
    P2
    core architecture
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions