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 discovery is side-effect-free

Keep catalogs, search, descriptor inspection, and compatibility inventory descriptive so discovering a capability never activates its execution runtime by implication.

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-discovery-is-side-effect-free.md

markdown77 linessatır4.3 KB

SHA-256 · 5dd2eaae9e41…GitHub ↗

Capability discovery is side-effect-free

Family: Rule Disclosure class: PUBLIC-PRACTICE Maturity: Draft

Capability catalogs, search surfaces, descriptor inspection, and compatibility inventories should describe what is available without activating the execution runtime they describe.

Discovery is metadata work. Invocation is effectful work. Keep the boundary observable and enforceable.

Keep the catalog declarative

A discovery surface may expose stable identity, human-readable descriptions, schemas, compatibility, maturity, security traits, or other reviewed metadata needed to choose a capability.

Reading that metadata should not require the system to:

  • initialize an executor;
  • open a provider or network session;
  • read or unlock credentials;
  • select a live target;
  • reserve execution capacity;
  • mutate a queue, journal, repository, or external service;
  • request consent for an effect that has not been invoked.

If discovery needs one of those actions, expose that fact as a separate operation instead of hiding it inside catalog access.

Do not auto-load private execution code

An inventory may name an implementation boundary without importing, instantiating, or initializing that implementation just to enumerate it.

This is especially important when a catalog mixes local, hosted, optional, privileged, or private adapters. Enumeration should remain possible even when an execution adapter is unavailable, incompatible, intentionally absent, or inaccessible to the current caller.

Lazy loading is an implementation technique; the public rule is stronger: describing a capability must not itself exercise that capability.

Stable identity without activation

Catalog entries should have canonical identities that are unique within the catalog's declared namespace. Duplicate identities, ambiguous lookups, or malformed descriptors should fail closed rather than choosing an arbitrary implementation.

A lookup that finds no exact capability should return absence or an explicit unsupported result. It must not broaden the search into a different effect-bearing implementation without an explicit caller decision.

Discovery does not imply readiness or authority

The catalog may say that a capability exists. Separate checks may establish installation, compatibility, target readiness, credentials, consent, local policy, or downstream availability.

Do not collapse those layers into discovery. A capability can be visible while unavailable, unavailable while still documented, or technically ready while unauthorized.

Inspection remains inspection

Inspecting a descriptor, schema, static policy, limit, or effect preview must not silently cross into invocation.

Where an inspection operation needs live state, bound it explicitly as an observational capability with its own target, privacy, resource, and authority contract. Do not smuggle an effectful probe into a supposedly static catalog read.

Cache and generation changes

Catalog caches or generated indexes should be derived views, not new execution authorities. Refreshing them may update catalog state if that behavior is explicit, but it must not initialize every listed runtime or replay capability effects.

When catalog identity or version matters for a later invocation, carry an explicit precondition and revalidate it at the invocation boundary instead of assuming a previously viewed catalog remains current.

Review test

For any capability discovery surface, a reviewer should be able to answer:

  1. Can the catalog be listed without credentials or executor initialization?
  2. Can one descriptor be inspected without invoking the described capability?
  3. Are canonical identities unique and exact?
  4. Are malformed or unknown entries rejected without fallback activation?
  5. Are readiness, consent, policy, and execution evaluated separately?
  6. Can a catalog refresh occur without triggering capability effects?

If merely asking “what capabilities exist?” can cause execution, the discovery boundary is too powerful.

Non-goals

This rule does not prescribe a provider registry, plugin loader, module graph, credential store, transport, cache implementation, runtime topology, or private selection strategy.

The reusable public practice is that discovery and inspection remain descriptive until an explicit invocation boundary is crossed.

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-discovery-is-side-effect-free

Usage guideKullanım rehberi

Keep catalogs, search, descriptor inspection, and compatibility inventory descriptive so discovering a capability never activates its execution runtime by implication.

Best for: Building tool search, capability catalogs or descriptor inspection. When not to use: Explicit user-authorized health probes or live connection tests that intentionally declare network or process side effects. 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-discovery-is-side-effect-free.md. Add the native rule to the relevant agent guidance or engineering review checklist.
  2. Separate metadata discovery from readiness probes and execution. Inspect descriptor loading for executor initialization, remote connections and credential reads. Define stable IDs and metadata-only responses.
  3. Review the companion conformance suite and record concrete evidence for your own environment.

Example

Listing available document operations should return their contracts without starting a document processing service.

Known limitations

Advisory rule only; preventing lazy initialization or hidden network calls during descriptor loading must be enforced and tested in host code.

Frequently asked questionsSık sorulan sorular

Can discovery report readiness?

It can report known descriptive readiness metadata, but a live probe or effect must be separately identified and authorized.

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ı

  • Artifact-specific verifier tests/test_capability_discovery_verification.py passed 10/10 against the current Rule/Eval pair, covering exact registry binding, version parity, explicit Eval relation, non-executable effect declarations, declarative discovery boundaries, exact identity and fail-closed lookup, readiness/authority separation, explicit live-inspection bounds, effect-free refresh, reviewed case IDs, and material case behavior.
  • Feed registry determinism, native-path integrity, Eval integrity, publication-readiness, release-readiness, and diff checks passed for this promotion.

ProvenanceKaynak geçmişi

originalOrijinal Clean-room public re-authoring of general side-effect-free capability discovery and lazy execution-boundary practices; no private provider selection logic, module graph, credential flow, topology, or implementation source is embedded.

Related catalog releasesİlgili katalog yayınları