FeedAkış

Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.

Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.

Published catalogYayın kataloğu68 catalog releaseskatalog yayını142 MIT source filesMIT kaynak
GitHub ↗JSON ↗LLMs.txt ↗

Capability and authority separation

Keep capability discovery, authentication, request validity, authority, execution, and verification as distinct system states.

VersionSürüm
0.1.0-draft
MaturityOlgunluk
drafttaslak
LicenseLisans
MIT
AuthorsYazarlar
Mete Avcı, Me the Tech
VerificationDoğrulama
passing (L1/L2)başarılı (L1/L2)
Disclosure classYayın sınıfı
PUBLIC-PRACTICE

capability-authority-separation.md

markdown111 linessatır5.0 KB

SHA-256 · 473196f484fb…GitHub ↗

Capability and authority separation

Family: Policy Disclosure class: PUBLIC-PRACTICE Maturity: Draft Enforcement: Reference policy; adopters must implement enforcement in their own runtime.

This policy prevents an agent system from treating discovery, authentication, connectivity, or a valid request shape as permission to perform an effect.

Principle

Capability answers “what can this system technically do?” Authority answers “what may happen to this target, now, under this policy?” Keep them separate.

A visible tool, authenticated caller, connected provider, valid signature, discovered node, enabled integration, or syntactically valid request may be necessary evidence. None of those facts is sufficient authorization by itself.

Separate the layers

Capability discovery

Discovery may report that an operation exists and describe its input/output contract. It must not silently grant the operation permission to run.

Catalog presence is descriptive, not authoritative.

Identity and authentication

Authentication establishes who or what is making a request to the degree supported by the authentication mechanism. It does not decide which target, operation, scope, or side effect is allowed.

Treat a successful identity check as one input to authorization, not as authorization itself.

Request validity

A request should be structurally valid before policy evaluation. Where appropriate, bind it to explicit information such as:

  • operation identity;
  • target identity;
  • intended capability or effect class;
  • freshness or expiry;
  • replay identity;
  • an expected target revision or other precondition.

Passing validation proves that the request can be evaluated. It does not prove that the request should be executed.

Local or target-owning policy

The runtime that owns the target should make the final effect decision using deterministic policy and current state.

Policy should be able to deny a request even when the caller is authenticated and the requested capability exists.

Execution and evidence

If policy permits the effect, execution is still a distinct lifecycle stage. Record a durable operation identity or receipt when practical, then verify important postconditions from fresh evidence.

Do not collapse permission, execution, and verification into one success flag.

Preconditions are authority bounds

When a decision depends on observed state, carry a precondition that identifies that state. If the target has changed before the effect boundary, fail closed and require a fresh decision instead of applying stale intent to a new state.

Examples include a repository revision, object version, generation, lease epoch, or another target-specific freshness marker.

The exact mechanism is implementation-specific; the reusable rule is that authorization based on stale state must not silently widen across state changes.

Expiry and replay

Time-bounded or one-shot requests should have explicit freshness and replay semantics. A request that has expired or already been accepted under a non-replay policy should be rejected rather than silently executed again.

Do not invent cryptographic or replay guarantees that the implementation does not actually provide. It is better to expose an unimplemented acceptance gate than to imply protection that does not exist.

Unknown outcomes

A timeout, disconnect, client restart, or missing response can make an execution outcome unknown. Unknown is not equivalent to denied, failed, or not executed.

Before replaying a potentially non-idempotent effect:

  1. inspect durable receipts or authoritative target state;
  2. determine whether the original effect occurred;
  3. retry only when replay is known to be safe or the original effect is known not to have happened.

Receipt guidance

Keep lifecycle receipts independent from business/result payloads when that improves auditability. A small receipt may distinguish:

  • accepted;
  • queued;
  • running;
  • completed;
  • failed;
  • unknown.

The result may separately describe the observed output. Verification may then establish whether the intended postcondition is actually true.

Negative conformance cases

An implementation following this policy should reject or safely handle at least these cases:

  1. authenticated caller requesting an unauthorized capability;
  2. authorized capability aimed at the wrong target;
  3. request based on a stale target revision;
  4. expired request;
  5. replay of a one-shot request;
  6. capability available but denied by target-local policy;
  7. execution timeout whose outcome cannot yet be determined;
  8. executor success with no fresh postcondition evidence.

Non-goals

This policy does not define a private permission table, production topology, signing algorithm, key format, replay-store implementation, provider-selection strategy, or internal control-plane protocol.

Those are implementation decisions. The public practice is the separation of capability, identity, request validity, authority, execution, and verification.

MIT · Exact native bytes from methetech/feed · Copy or download does not install a multi-file package.

MIT · methetech/feed deposundaki birebir dosya · Kopyalama veya indirme çok dosyalı bir paketi kurmaz.

Try it yourself (Feed Labs)Kendi ajanında dene (Feed Labs)

Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:

Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:

python -B scripts/eval_review.py --blind capability-authority-separation

Usage guideKullanım rehberi

Keep capability discovery, authentication, request validity, authority, execution, and verification as distinct system states.

Best for: Reviewing a tool or integration permission model. When not to use: Single-purpose scripts with no dynamic tool discovery, delegated permissions, or multi-stage execution model. Status: Catalog release (releaseEligible: true; declarative L1/L2 contract verified; host runtime enforcement remains separate).

Trust summary

  • License: MIT
  • Executable scripts: None
  • Network / credential access required: No
  • External dependencies: None
  • Use side effects: Advisory / declarative contract only
  • Verification: passing (Level 1–2 structural and executable contract verification; host runtime enforcement and live model compliance remain separate)

How to use

  1. Open capability-authority-separation.md. Adopt the native policy as requirements for deterministic enforcement in your own system.
  2. Map discovery, identity, validity, target-owner authority, execution and verification independently. Bind the requested effect to its target, freshness and replay semantics. Add tests for denial and unknown outcomes.
  3. Review the companion conformance suite and record concrete evidence for your own environment.

Example

A signed request to modify a project can be structurally valid yet denied because it targets a different project than the one approved.

Known limitations

Declarative policy only; separating discovery, authentication, authorization, and execution requires deterministic server or runtime enforcement.

Frequently asked questionsSık sorulan sorular

Does a connected account grant permission?

No. The operation still needs authority for its exact target and effect.

Is this a verified release?

This declarative artifact is included in the release catalog based on passing L1/L2 structural and contract verification. Passing contract checks do not replace host runtime enforcement; inspect the registry record for exact scope and limitations.

Can I adapt it for my team or commercial project?

Yes. Feed's MIT license permits use, modification and redistribution, including commercial use, with the required notices. It does not grant access to external services or trademarks.

CompatibilityUyumluluk

No runtime-specific compatibility evidence is declared. Treat this artifact as a declarative specification whose enforcement depends on the consuming runtime.

Çalışma ortamına özgü uyumluluk kanıtı beyan edilmemiş. Bu kaynağı, uygulaması kullanan çalışma ortamına bağlı bir deklaratif sözleşme olarak değerlendirin.

Declared effectsBeyan edilen etkiler

ExecutableÇalıştırılabilir
NoHayır
Network accessAğ erişimi
NoHayır
Filesystem writesDosya yazma
NoHayır

Verification evidenceDoğrulama kanıtı

  • tests/test_capability_authority_separation_verification.py binds the exact policy version to its authority layers, request bounds and reviewed denial/replay/unknown obligations.
  • evals/capability-authority-separation/cases.json exercises visibility, authentication, target binding, freshness, expiry, replay, local policy, downstream authority, unknown outcome and postcondition verification semantics.
  • scripts/check_eval_integrity.py validates the paired conformance fixture identity, structure, uniqueness and registry binding.

ProvenanceKaynak geçmişi

originalOrijinal Clean-room public re-authoring of general agent safety and authorization practices; no private implementation source is embedded.