Repository navigation
Conversation
Signed-off-by: Michal Bien <[email protected]>
Glorf
force-pushed
the
mbien/environment-onboarding-followup
branch
from
August 19, 2026 20:29
4754160 to
f750aff
Compare
This was referenced Sep 2, 2026
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 13, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 16, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 17, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 17, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 17, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - setup_of and protocol_of find their target by name, in the manifest's own root first and then in the other search roots, so a setup kept in another repository can name a benchmark that Gym ships. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 18, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. This covers main manifests. The setups and protocols a main manifest lists still take the name of their config's path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 19, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. This covers main manifests. The setups and protocols a main manifest lists still take the name of their config's path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 19, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. This covers main manifests. The setups and protocols a main manifest lists still take the name of their config's path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
yuhezhang-ai
added a commit
that referenced
this pull request
Nov 19, 2026
…r path A manifest's name had to equal its folder path under benchmarks/ or environments/, so moving an environment, for example into a separate environments repository, would change its ID and break every record that refers to it. The name is now the ID and need not match the folder: - Catalog discovery keys manifest entries by name. Two manifests in one tree cannot declare the same name; an earlier search root still shadows a later one. - Validation drops the name-equals-path rule and checks that no other manifest in the tree declares the name. A name that differs from its folder may not be another config's path, because --benchmark and --environment read a name as a path first. - --benchmark and --environment fall back to the manifest that declares a name when no config sits at that path. This covers main manifests. The setups and protocols a main manifest lists still take the name of their config's path. Every existing manifest's name equals its folder path, so the catalog and name resolution are unchanged for the current repository. Refs #1520 Supersedes #2622 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yuhe Zhang <[email protected]>
This branch has not been deployed
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
Mixed manifest and legacy workload trees are intentional during the onboarding migration. This PR makes catalog discovery failure-isolated and truthful while preserving the existing compatibility API.
manifest.yamlmetadata from runnable benchmark discovery.discover_environment_catalog()API.Why
Before this change,
manifest.yamlcould be considered a runnable benchmark YAML candidate. Invalid manifests were also either hidden from broad discovery or handled inconsistently by exact selection and publication. That made mixed manifest/legacy trees unreliable precisely while the repository is migrating incrementally.The implementation keeps catalog identity and precedence in the existing registry and resolver. Callers receive scoped diagnostics without introducing a second registry or changing healthy legacy discovery.
Scope
This PR contains catalog hardening only. It does not add workload manifests or verifier fixtures, add changed-workload reporting or CI enforcement, implement migration inventory/backfill, infer dependency impact, integrate Evergreen, certify workloads, or change any RFC requirement to complete.
Validation
git diff --check