RFC 011: ARD-backed catalog discovery for portable environments - #1093
Draft
thegovind wants to merge 2 commits into
Draft
RFC 011: ARD-backed catalog discovery for portable environments#1093thegovind wants to merge 2 commits into
thegovind wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The overall goal is to let a user search by task for a portable OpenEnv RL environment across any Hub that publishes ARD entries or is covered by an ARD adapter.
The two-PR strategy separates OpenEnv's domain contract from generic ARD conformance diagnostics:
application/*media types as warnings. It does not add an OpenEnv type to ARD core.The PRs are coordinated but independent. ARD already permits the extension type, and RFC 011 does not depend on the diagnostic change. Together they make the extension path understandable and reviewable.
flowchart LR subgraph Contracts["Coordinated, independent drafts"] O["OpenEnv RFC 011<br/>domain contract"] A["ARD PR 85<br/>extension diagnostics"] end subgraph Later["Later product work, not shipped here"] B["Offline benchmark"] --> H["Hugging Face provider adapter"] --> P["Public ARD entries"] --> S["Second-provider portability spike"] --> C["openenv discover"] end O --> B A -. "cleaner conformance output,<br/>not a prerequisite" .-> PWhy this matters
OpenEnv can resolve known environments, but it cannot search by task for one the user does not know. ARD supplies generic discovery and federation, OpenEnv supplies environment semantics, and adapters map native inventory and provider facts.
On 2026-08-26, a one-day probe enumerated 14 public first-party
openenv/*Spaces; 13 met eligibility. Hub semantic retrieval surfaced 2/13 with running-only defaults and 7/13 when non-running candidates were included. These snapshot observations are feasibility evidence, not a benchmark. Search cannot define inventory; an independently audited provider snapshot must define ground truth before ranking.Proposed decisions
openenv discoveris metadata-only: no install, import, image pull, wake, reset, step, default endpoint probe, or MCP call.Scope
This PR changes only:
rfcs/011-ard-catalog-discovery.mdrfcs/README.mdIt does not add a CLI command, registry, adapter, crawler, ranking service, runtime endpoint, or dependency. Diagrammed product stages are later work.
What we need from reviewers
The RFC has 15 open questions. Four are acceptance-blocking: where the card schema lives, how generation and metadata precedence work, which second provider and source profile prove portability, and whether the benchmark stop rule is acceptable.
Also review the v0.1 portability gate: resolvable cards describe one immutable revision; provider-native source identity supports multiple environments in one source record; a user-directed assistant may perform metadata-only discovery without exposing it to the agent being trained; and a public second-provider spike must return complete cards before CLI work. Lifecycle, private credentials, and dereference remain explicit open questions.
The adapter experiment stops if it cannot enumerate every independently eligible record. CLI work stops unless a frozen, independently labeled inventory shows the candidate ranker improving held-out nDCG@5 by at least 0.10 over the lexical baseline without reducing recall@5. The paired bootstrap 95% confidence interval's lower bound must remain above zero. The report is published even if the proposal fails.
Type of Change
Alignment Checklist
.claude/docs/PRINCIPLES.mdand this PR aligns with our principles.claude/docs/INVARIANTS.mdand no invariants are violated/pre-submit-pror the applicable repository checks and addressed all issuesRFC Status
Test Plan
Docs-only change:
python3 scripts/sync_env_docs.py --checkgit diff --checkClaude Code Review
Alignment review covered
.claude/docs/PRINCIPLES.md,.claude/docs/INVARIANTS.md, and active RFCs. It corrected the static/dynamic provider split, ARD publisher trust, RFC 008 evidence reuse, the semantic orchestration boundary, and the independently labeled benchmark. No invariant violation remains.Related work: