Capability and authority separation ↗
Keep capability discovery, authentication, request validity, authority, execution, and verification as distinct system states.
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.
Define cross-platform parity by equivalent target, effect, containment, privacy, authority, and failure guarantees rather than identical source code.
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.
Write the parity target as observable and security-relevant behavior rather than source similarity.
At minimum, compare:
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.
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.
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.
For each supported platform/runtime combination, record the same public cases and one of:
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.
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.
# 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.
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-parityDefine 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).
passing (Level 1–2 structural and executable contract verification; host runtime enforcement and live model compliance remain separate)Different filesystem APIs may implement the same path-containment guarantee; a traversal denial must hold on each supported platform.
Advisory rule only; verifying equivalent containment, failure handling, and path semantics across Windows, Linux, and macOS requires cross-platform test runs.
No. Equivalent externally observable guarantees are the goal, including negative behavior.
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.
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.
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.
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.