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 ↗

Platform parity is contract parity, not implementation identity

Define cross-platform parity by equivalent target, effect, containment, privacy, authority, and failure guarantees rather than identical source code.

VersionSürüm
0.1.1-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

platform-parity-is-contract-parity.md

markdown66 linessatır4.2 KB

SHA-256 · 7819a341bb44…GitHub ↗

Platform parity is contract parity, not implementation identity

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

Cross-platform implementations do not need identical source code. They need equivalent externally relevant guarantees.

A platform-specific runtime may use different process APIs, filesystem primitives, encodings, packaging, or operating-system integration. Those differences are acceptable when the public capability contract remains the same and the same unsafe requests fail closed.

Define parity at the boundary

Write the parity target as observable and security-relevant behavior rather than source similarity.

At minimum, compare:

  1. Target identity — the same request resolves to the same intended resource scope, and ambiguous or widened targets are rejected.
  2. Operation class — read-only, mutating, local, remote, privileged, and other effect classes do not silently change by platform.
  3. Bounds — each implementation enforces finite time, input, output, and helper-fanout limits appropriate to its runtime.
  4. Containment — traversal, path widening, unsafe argument expansion, and environment-based redirection do not become valid merely because one platform parses them differently.
  5. Parsing — malformed, truncated, unknown, or incomplete structured output fails closed instead of being accepted on one platform and rejected on another.
  6. Privacy boundary — minimization or masking happens before evidence crosses the same trust boundary on every platform.
  7. Authority — local availability or successful execution does not create remote, user, or service authority on any platform.
  8. Failure semantics — denial, unsupported behavior, timeout, overflow, and unknown outcomes remain distinguishable enough for callers to react safely.

Allow implementation divergence deliberately

Parity does not require forcing every operating system through the same implementation technique.

Platform-native mechanisms are often safer than pretending the platforms are identical. A runtime may need a different process-launch primitive, path canonicalization API, locking strategy, encoding bridge, or sandbox facility.

Keep those choices behind the capability boundary. Test the resulting contract rather than treating shared source code as proof of equivalent safety.

Denial paths are part of parity

A happy-path result matching across platforms is not enough.

Test that equivalent unsafe or unsupported requests are rejected with equivalent semantics. Important parity cases include wrong targets, malformed helper output, over-budget execution, forbidden operation shapes, unsafe paths, missing privacy boundaries, and unsupported platform features.

A platform that succeeds more often by silently dropping a guard is not more compatible; it is less safe.

Platform optimization must not widen authority

An optimization added for one platform may improve latency, startup, process management, or user experience. It must not implicitly widen the operation set, target scope, credential reach, network access, mutation authority, or evidence exported to callers.

If an optimization requires a wider trust boundary, treat it as a contract change and review it independently.

Verify with a contract matrix

For each supported platform/runtime combination, record the same public cases and one of:

  • passing;
  • failing;
  • unsupported;
  • untested.

Do not collapse unsupported and untested into passing. Do not infer parity from one platform's implementation or from shared tests that never execute platform-specific boundaries.

Use synthetic fixtures and public contract language. Private machine identities, internal topology, proprietary recovery logic, and implementation-specific thresholds do not belong in public conformance evidence.

Completion test

Before claiming cross-platform parity, confirm that each supported implementation preserves the same target scope, effect class, containment, privacy boundary, authority boundary, and failure semantics under both normal and adversarial cases.

If source code differs but those properties hold, parity can be valid. If source code is shared but those properties differ at runtime, parity is not proven.

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 platform-parity-is-contract-parity

Usage guideKullanım rehberi

Define cross-platform parity by equivalent target, effect, containment, privacy, authority, and failure guarantees rather than identical source code.

Best for: Reviewing behavior across Windows, Linux, macOS or different providers. When not to use: Single-platform scripts explicitly scoped to one OS and shell with no cross-platform portability claims. 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 platform-parity-is-contract-parity.md. Add the native rule to the relevant agent guidance or engineering review checklist.
  2. Define a contract matrix for target identity, authority, declared effects, containment, privacy, errors and evidence. Run the same synthetic success and denial cases across supported implementations.
  3. Review the companion conformance suite and record concrete evidence for your own environment.

Example

Different filesystem APIs may implement the same path-containment guarantee; a traversal denial must hold on each supported platform.

Known limitations

Advisory rule only; verifying equivalent containment, failure handling, and path semantics across Windows, Linux, and macOS requires cross-platform test runs.

Frequently asked questionsSık sorulan sorular

Must every platform share identical source code?

No. Equivalent externally observable guarantees are the goal, including negative behavior.

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_public_contract_debt_verification.py passed all four focused public Rule/Policy pair checks, including exact native path and version binding, non-executable effect declarations, this pair's contract assertions and exact reviewed positive/negative scenario set. Coverage: equivalent target/effect/bounds/containment/parsing/privacy/authority/failure guarantees, unsafe denial cases, explicit unsupported states and timeout uncertainty with reconciliation before replay.
  • The full Feed release-candidate validation gate passed. This L1/L2 verification proves declarative contract structure and synthetic fixture coverage only; host runtime enforcement and live model compliance remain separate.

ProvenanceKaynak geçmişi

originalOrijinal Clean-room public re-authoring of cross-platform capability parity invariants validated across independently differing runtime implementations; no private source, machine identity, topology, thresholds, or proprietary orchestration is embedded.

Related catalog releasesİlgili katalog yayınları