Skip to content

Owner moves: scope manifest and egress route - #4158

Merged
Daniel Meppiel (danielmeppiel) merged 32 commits into
mainfrom
danielmeppiel-curly-carnival
Nov 20, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 32 commits into
mainfrom
danielmeppiel-curly-carnival

Conversation

@danielmeppiel

@danielmeppiel Daniel Meppiel (danielmeppiel) commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Owner moves for 0.37 trust and integrity consistency hardening (Stream H, H1b). This PR integrates two lanes.

#4087: scope manifest owner (user-scope configuration consistency)

  • core/scope.py (owner apm-home-resolution, extended) answers which apm.yml is the manifest for a directory and for a command scope: manifest_file, get_manifest_path, manifest_root, scope_manifest_path, is_user_scope_root, and the single user-scope decision policy_discovery_uses_git_remote. About 140 ad hoc apm.yml path derivations now route through it.
  • With -g, policy settings come from $APM_HOME/apm.yml, and user scope discovers no org policy from a git remote, as the docs state. apm policy status -g shows the user-scope source (none).
  • Guard: registry_delegation.scope_manifest_path (closed world: no apm.yml derivation outside the owner, one definer per owner helper, no deploy root handed to a policy reader, discovery asks the owner).

#4088: egress route consolidation

  • Egress route owner. deps/egress_route.py decides which surfaces may contact a source host under PROXY_REGISTRY_ONLY=1. apm update probes no source host, the automatic update check is skipped (a verbose-only note says so), apm self-update goes direct, and the org policy fetch goes direct with one info line. Guard: transport-platform-egress-route-policy.
  • Credential-scoped HTTP sessions. The MCP registry client (registry/client.py) uses CredentialScopedSession. Guard: transport-platform-http-session-construction.
  • URL builders are credential-free by construction: they accept no credential parameters. Guard: transport-platform-url-builder-credential-free.
  • Docs: enterprise/registry-proxy.md rows and a contradiction fix, the reference/environment-variables.md row, and the apm-usage authentication guide.

Issue and approved scope

Issue: Fixes #4087, Fixes #4088

Human scope-approval comment: #4087 (comment) , #4088 (comment)

Does this PR complete the issue, or what remains? It completes both issues.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass (CI pending)
  • Added tests for new functionality (if applicable)

Installed-CLI tests (APM_BINARY_PATH set to the binary under test), all green on this branch.

Leg Node id branch
#4087 user-scope config tests/integration/test_user_scope_manifest_lifecycle.py::test_global_fetch_failure_default_comes_from_user_manifest green
#4087 no git-remote discovery at -g; policy status -g tests/integration/test_user_scope_manifest_lifecycle.py::test_global_commands_do_not_discover_policy_from_home_git_remote green
#4088 no source-host probe tests/integration/test_egress_route_policy_contract.py::test_update_preflight_sends_no_source_host_probe[gitlab,azure-devops,generic] green
#4088 direct policy fetch with policy on, plus the info line tests/integration/test_egress_route_policy_contract.py::test_policy_fetch_goes_direct_in_registry_only_mode green
#4088 version check skipped tests/integration/test_egress_route_policy_contract.py::test_automatic_version_check_is_not_sent_in_registry_only_mode[registry-only] green
#4088 verbose-only note tests/integration/test_egress_route_policy_contract.py::test_version_check_note_is_verbose_only green
#4088 self-update goes direct (pin) tests/integration/test_egress_route_policy_contract.py::test_explicit_self_update_check_goes_direct_in_registry_only_mode green
#4088 registry client uses credential-scoped sessions tests/integration/test_mcp_registry_ambient_credentials_lifecycle.py::test_registry_requests_carry_no_netrc_credentials green
#4088 controls (mode off) ...::test_update_preflight_probes_source_host_when_mode_is_off, ...::test_automatic_version_check_is_not_sent_in_registry_only_mode[mode-off] green

Guards (rule ids in _EXPECTED_RULE_ID_TEXT, one sorted MutationCase each in tests/integration/test_architecture_owner_rule_mutations.py):

  • registry_delegation.scope_manifest_path: one case in MUTATIONS plus four per-check cases (derivation, revived sibling helper, deploy root to a policy reader, discovery not routed through the owner).
  • transport-platform-egress-route-policy, transport-platform-http-session-construction, transport-platform-url-builder-credential-free.

Bug ledger rows #4087 and #4088 are in place; tests/quality/test_lifecycle_bug_ledger.py passes.

CI-mirror lint chain run locally and green: ruff check, ruff format --check, complexity ratchet, YAML guard, file length (2100), relative_to, pylint R0801, lint-auth-signals and lint-architecture-boundaries.

Changelog

  • One line in one section under ## [Unreleased] in CHANGELOG.md.
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

apm-spec-waiver: owner consolidation of documented user-scope policy and registry-only egress routing; no new normative requirement

Route every apm.yml path derivation through core/scope.py (manifest_file,
get_manifest_path, manifest_root, scope_manifest_path). User-scope policy
settings and discovery read the user manifest root ($APM_HOME), and the
single user-scope decision (policy_discovery_uses_git_remote) aligns -g
with the documented contract. apm policy status -g states the source.

Guarded by registry_delegation.scope_manifest_path.

Refs #4087

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…sessions

- New egress-route-policy owner (deps/egress_route.py): every outbound
  surface asks route_for; registry-only routing lives in one table.
  Org policy fetch and explicit self-update stay direct by decision;
  the automatic version check is skipped in registry-only mode.
- Update auth preflight sends no source-host probe in registry-only mode.
- MCP registry client uses CredentialScopedSession.
- URL builders no longer accept credentials; legacy branches removed.
- Guards: transport-platform-egress-route-policy,
  transport-platform-http-session-construction,
  transport-platform-url-builder-credential-free, with mutation cases.
- Installed-CLI contract tests and ledger row for #4088.

Refs #4088

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@danielmeppiel Daniel Meppiel (danielmeppiel) added the full-integration Run the full integration suite (ci-integration.yml) on this PR before merge label Nov 20, 2026
…TE model keeps user scope ungoverned

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
apm-spec-waiver: owner consolidation of documented user-scope policy and registry-only egress routing; no new normative requirement

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The architectural direction looks good, especially consolidating scope-manifest resolution and egress routing into dedicated owners. However, this is a fairly large change touching 169 files, so a few areas deserve closer validation:

  1. Scope manifest resolution (core/scope.py): Routing around 140 path derivations through one owner is a good improvement, but please ensure nested projects, symlinked directories, missing manifests, and -g commands consistently resolve to the intended scope without accidentally inheriting project-level policy.
  2. Egress routing (deps/egress_route.py): Skipping source-host probes in registry-only mode makes sense, but the direct routes for self-update and organization policy fetching need clear tests covering proxy configuration, redirects, and unexpected network destinations.
  3. Credential-scoped sessions: Please verify that credentials cannot leak across hosts or requests when sessions are reused, particularly during redirects and authentication failures.
  4. Architecture guards: The new guards are valuable, but ensure they test actual runtime behavior and cannot be bypassed by alternative helper functions or indirect URL/session construction.

Recommendation: Request Changes until scope-resolution edge cases, credential isolation, and registry-only egress behavior are verified across the affected workflows.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Global uninstall uses $APM_HOME as the execution root, causing relative cleanup commands to target the wrong files and potentially executing matching lifecycle scripts twice.

1 open issue
What changed in this PR

This PR consolidates manifest-path resolution and outbound-request routing for APM’s 0.37 hardening work, addressing #4087 and #4088.

Changes:

  • Centralizes manifest paths and user-scope policy reads, and adds apm policy status -g.
  • Routes registry-only decisions through a shared owner, adopts credential-scoped MCP sessions, and removes credentials from URL builders.
  • Updates architecture guards, regression expectations, lifecycle records, and documentation.
File Description
tests/​unit/​test_list_remote_refs.py Updates credential-free URL-builder expectations.
tests/​unit/​test_github_host.py Checks credential-free builder signatures.
tests/​unit/​test_generic_git_urls.py Removes token-embedding expectations.
tests/​unit/​test_auth_scoping.py Asserts clone URLs exclude credentials.
tests/​unit/​scripts/​test_architecture_runner.py Registers new architecture rule IDs.
tests/​unit/​marketplace/​test_marketplace_client.py Sets registry-only mode explicitly.
tests/​unit/​install/​test_validation_ado_bearer.py Updates auth-plumbing descriptions only.
tests/​unit/​install/​test_update_remediation_hints.py Sets registry-only environment for remediation tests.
tests/​unit/​install/​test_replay_exec_allow_map.py Expects user policy discovery at APM_HOME.
tests/​unit/​install/​test_integrate_phase3w5.py Sets registry-only mode for cache tests.
tests/​unit/​install/​test_integrate_orchestration.py Sets registry-only mode for orchestration tests.
tests/​unit/​deps/​test_github_throttle_fallback.py Checks credential-free fallback builder arguments.
tests/​unit/​deps/​test_github_downloader_validation.py Checks credentials never reach URL builders.
tests/​unit/​deps/​test_git_reference_resolver.py Updates reference-resolution call expectations.
tests/​unit/​deps/​test_download_strategies_selection.py Tests credential-free backend delegation.
tests/​unit/​deps/​test_download_strategies_phase3.py Updates URL-building regression expectations.
tests/​unit/​deps/​test_clone_engine_bearer_env.py Makes clone URL mocks credential-independent.
tests/​unit/​core/​test_scope.py Expects grants and policy at APM_HOME.
tests/​unit/​core/​test_host_providers.py Updates ADO builder invocation.
tests/​test_github_downloader.py Updates dependency references and credential-free assertions.
tests/​test_github_downloader_token_precedence.py Verifies credential-free public and private URLs.
tests/​quality/​test_gate_cell_obligations.py Restricts remote-discovered org gates to project scope.
tests/​quality/​gate_cell_obligations.json Updates user-scope gate obligations.
tests/​integration/​test_wave3_deps_models_coverage.py Removes an obsolete URL-builder test.
tests/​integration/​test_gitlab_sparse_transport_mutations.py Updates the sparse-transport mutation signature.
tests/​integration/​test_download_strategies_selection.py Checks GitLab receives no token argument.
tests/​integration/​test_download_strategies_phase3w5.py Updates GitLab delegation expectations.
tests/​integration/​test_download_copilot_end_to_end.py Revises credential-free URL coverage.
tests/​integration/​test_deps_coverage.py Removes obsolete legacy URL-builder tests.
tests/​integration/​test_deep_coverage_deps_policy.py Removes obsolete no-reference builder tests.
tests/​integration/​test_architecture_gitlab_sparse_transport.py Adapts credential-injection mutations.
tests/​integration/​_gate_machine_kit.py Models user-scope remote-policy suppression.
tests/​fixtures/​lifecycle_bug_ledger.json Records regressions for #4087 and #4088.
src/​apm_cli/​utils/​github_host.py Removes credential parameters and token-bearing URLs.
src/​apm_cli/​utils/​git_env.py Uses the manifest owner during root discovery.
src/​apm_cli/​security/​trust.py Routes grants and policy through scope helpers.
src/​apm_cli/​security/​executables.py Centralizes trust-manifest and policy-root selection.
src/​apm_cli/​registry/​client.py Adopts credential-scoped sessions and egress routing.
src/​apm_cli/​primitives/​discovery.py Uses the manifest-path owner.
src/​apm_cli/​policy/​project_config.py Centralizes policy-settings manifest paths.
src/​apm_cli/​policy/​policy_checks.py Centralizes policy-check manifest paths.
src/​apm_cli/​policy/​discovery.py Consults the scope owner before remote discovery.
src/​apm_cli/​policy/​ci_checks.py Uses the manifest owner for baseline checks.
src/​apm_cli/​policy/​_policy_http.py Checks and announces direct policy routing.
src/​apm_cli/​models/​validation.py Centralizes package-validation manifest paths.
src/​apm_cli/​models/​format_detection.py Uses the manifest owner for format detection.
src/​apm_cli/​models/​dependency/​reference.py Consults the egress owner during shorthand parsing.
src/​apm_cli/​models/​apm_package.py Centralizes default source-manifest selection.
src/​apm_cli/​marketplace/​version_check.py Centralizes local version-manifest lookup.
src/​apm_cli/​marketplace/​ref_resolver.py Removes the URL-builder token argument.
src/​apm_cli/​marketplace/​migration.py Centralizes marketplace manifest paths.
src/​apm_cli/​marketplace/​client.py Delegates direct-fetch restrictions to the egress owner.
src/​apm_cli/​marketplace/​builder.py Centralizes local metadata-manifest lookup.
src/​apm_cli/​integration/​mcp_integrator_install.py Centralizes runtime configuration lookup.
src/​apm_cli/​integration/​mcp_config_view.py Centralizes dependency manifest paths.
src/​apm_cli/​integration/​hook_ownership.py Uses the manifest owner for package detection.
src/​apm_cli/​integration/​hook_integrator.py Centralizes root package-name lookup.
src/​apm_cli/​integration/​_shared.py Centralizes locked-package manifest paths.
src/​apm_cli/​install/​validation.py Delegates probe restrictions and removes credential arguments.
src/​apm_cli/​install/​transaction.py Centralizes transaction manifest paths.
src/​apm_cli/​install/​template.py Uses the scope manifest for executable grants.
src/​apm_cli/​install/​sources.py Centralizes acquired-package manifest paths.
src/​apm_cli/​install/​source_helpers.py Centralizes materialized-manifest lookup.
src/​apm_cli/​install/​service.py Centralizes frozen local-manifest verification paths.
src/​apm_cli/​install/​replay_transport.py Centralizes replay manifest lookup.
src/​apm_cli/​install/​pipeline.py Skips refused probes and delegates proxy-only decisions.
src/​apm_cli/​install/​phases/​policy_gate.py Uses scope-aware policy roots.
src/​apm_cli/​install/​phases/​local_content.py Centralizes local-package manifest detection.
src/​apm_cli/​install/​phases/​integrate.py Delegates proxy-only cache decisions.
src/​apm_cli/​install/​mcp/​writer.py Centralizes the default MCP manifest path.
src/​apm_cli/​install/​mcp/​integration.py Uses a scope-aware policy preflight root.
src/​apm_cli/​install/​mcp/​command.py Accepts an explicit policy root for MCP preflight.
src/​apm_cli/​install/​manifest_reconcile.py Centralizes target-declaration manifest lookup.
src/​apm_cli/​install/​lsp/​integration.py Centralizes dependency LSP manifest lookup.
src/​apm_cli/​install/​local_bundle_handler.py Routes bundle policy and grants by scope.
src/​apm_cli/​install/​legacy_plugin_compat.py Centralizes cached-plugin manifest lookup.
src/​apm_cli/​install/​helpers/​ref_reuse.py Delegates source-enumeration restrictions.
src/​apm_cli/​install/​exec_gate.py Uses scope-aware replay policy and grant paths.
src/​apm_cli/​install/​dry_run_plan.py Uses the scope manifest for dry-run trust.
src/​apm_cli/​install/​drift.py Centralizes drift-replay manifest paths.
src/​apm_cli/​install/​audit_replay.py Centralizes audit-replay manifest paths.
src/​apm_cli/​export/​declared_license.py Centralizes declared-license manifest lookup.
src/​apm_cli/​deps/​virtual_file.py Centralizes generated manifest placement.
src/​apm_cli/​deps/​registry/​outdated.py Centralizes outdated-check manifest paths.
src/​apm_cli/​deps/​reachability.py Centralizes reachability manifest lookup.
src/​apm_cli/​deps/​plugin_parser.py Centralizes synthesized-plugin manifest placement.
src/​apm_cli/​deps/​package_validator.py Centralizes validation and version-stamping paths.
src/​apm_cli/​deps/​lock_parent_placement.py Centralizes parent manifest lookup.
src/​apm_cli/​deps/​github_downloader.py Requires dependency references and removes credential arguments.
src/​apm_cli/​deps/​github_downloader_validation.py Removes credentials from validation URL calls.
src/​apm_cli/​deps/​git_semver_resolver.py Delegates registry-only enumeration refusal.
src/​apm_cli/​deps/​git_reference_resolver.py Delegates egress restrictions and simplifies URL calls.
src/​apm_cli/​deps/​git_file_transport.py Corrects the URL callback docstring only.
src/​apm_cli/​deps/​clone_engine.py Removes credential arguments from clone URL calls.
src/​apm_cli/​deps/​artifactory_orchestrator.py Delegates registry-only detection.
src/​apm_cli/​deps/​apm_resolver.py Centralizes dependency-resolution manifest paths.
src/​apm_cli/​deps/​_shared.py Centralizes marketplace manifest materialization paths.
src/​apm_cli/​core/​target_detection.py Centralizes target-hint manifest lookup.
src/​apm_cli/​core/​script_runner.py Centralizes script configuration paths.
src/​apm_cli/​core/​scope.py Owns manifest paths and remote-discovery eligibility.
src/​apm_cli/​core/​plugin_manifest.py Centralizes authored MCP manifest lookup.
src/​apm_cli/​core/​lifecycle_scripts.py Uses shared user and project manifest helpers.
src/​apm_cli/​core/​build_orchestrator.py Centralizes marketplace build manifest selection.
src/​apm_cli/​compilation/​claude_formatter.py Centralizes source metadata-manifest lookup.
src/​apm_cli/​compilation/​agents_compiler.py Uses the manifest owner for configuration detection.
src/​apm_cli/​commands/​view.py Centralizes manifest paths and delegates listing restrictions.
src/​apm_cli/​commands/​update.py Uses scope-aware policy and manifest helpers.
src/​apm_cli/​commands/​uninstall/​cli.py Passes the scope manifest root to lifecycle discovery.
src/​apm_cli/​commands/​targets.py Centralizes target-manifest lookup.
src/​apm_cli/​commands/​self_update.py Checks the explicit self-update route.
src/​apm_cli/​commands/​publish.py Centralizes publish manifest lookup.
src/​apm_cli/​commands/​prune.py Centralizes prune manifest paths.
src/​apm_cli/​commands/​policy.py Adds user-scope status and scope reporting.
src/​apm_cli/​commands/​pack.py Centralizes pack and license manifest paths.
src/​apm_cli/​commands/​outdated.py Uses the egress owner for restriction diagnostics.
src/​apm_cli/​commands/​marketplace/​plugin/​__init__.py Centralizes authoring manifest lookup.
src/​apm_cli/​commands/​marketplace/​init.py Centralizes marketplace initialization paths.
src/​apm_cli/​commands/​marketplace/​doctor.py Centralizes diagnostic manifest lookup.
src/​apm_cli/​commands/​lock.py Uses shared user and project manifest helpers.
src/​apm_cli/​commands/​lifecycle.py Centralizes lifecycle initialization paths.
src/​apm_cli/​commands/​install.py Routes MCP and bundle policy reads by scope.
src/​apm_cli/​commands/​init.py Centralizes initialization manifest paths.
src/​apm_cli/​commands/​export_patch.py Centralizes manifest existence checks.
src/​apm_cli/​commands/​deps/​cli.py Centralizes dependency-command manifest paths.
src/​apm_cli/​commands/​deps/​_utils.py Centralizes package inspection manifest paths.
src/​apm_cli/​commands/​config.py Centralizes configuration presence checks.
src/​apm_cli/​commands/​compile/​watcher.py Centralizes watched-manifest detection.
src/​apm_cli/​commands/​compile/​cli.py Centralizes compilation manifest paths.
src/​apm_cli/​commands/​audit.py Centralizes audit manifest paths.
src/​apm_cli/​commands/​approve.py Centralizes approval manifest lookup.
src/​apm_cli/​commands/​_helpers.py Skips refused update checks and centralizes manifest paths.
src/​apm_cli/​bundle/​plugin_exporter.py Centralizes plugin export manifest lookup.
src/​apm_cli/​bundle/​packer.py Centralizes bundle manifest lookup.
src/​apm_cli/​bundle/​local_bundle.py Centralizes local bundle manifest detection.
src/​apm_cli/​bundle/​agent_plugin_exporter.py Centralizes Agent Plugin export manifest lookup.
src/​apm_cli/​agent_plugins/​loader.py Centralizes plugin configuration paths.
src/​apm_cli/​adopt/​discovery.py Centralizes adoption manifest discovery.
scripts/​validate-1061-real-world.py Formatting only.
scripts/​perf/​measure_dotnet_skills.py Formatting only.
scripts/​generate-notice.py Formatting only.
scripts/​bootstrap_requirements.py Formatting only.
scripts/​benchmark_manifest_ops.py Formatting only.
scripts/​architecture_linter/​groups/​transport_platform.py Registers egress-route rules.
scripts/​architecture_linter/​groups/​registry_delegation.py Registers scope-manifest rules and collectors.
scripts/​architecture_linter/​checks/​transport_gitlab_sparse.py Requires credential-free sparse URL calls.
scripts/​architecture_linter/​checks/​transport_authenticated_egress.py Removes the MCP session exemption.
scripts/​architecture_linter/​checks/​registry_owner_guards.py Updates lifecycle manifest delegation expectations.
scripts/​architecture_linter/​checks/​marketplace_package_and_registration.py Updates the canonical manifest guard pattern.
scripts/​architecture_linter/​checks/​install_trust_integrity.py Updates scope-aware policy-reader expectations.
scripts/​architecture_linter/​checks/​install_lsp_plugin.py Recognizes canonical scope-manifest helpers.
packages/​apm-guide/​.apm/​skills/​apm-usage/​commands.md Documents policy status -g.
packages/​apm-guide/​.apm/​skills/​apm-usage/​authentication.md Clarifies proxy restrictions and direct exceptions.
docs/​src/​content/​docs/​reference/​manifest-schema.md Documents user-scope policy settings.
docs/​src/​content/​docs/​reference/​environment-variables.md Clarifies registry-only update behavior.
docs/​src/​content/​docs/​reference/​cli/​policy.md Documents global status and the scope field.
docs/​src/​content/​docs/​enterprise/​registry-proxy.md Documents probe suppression and direct routes.
docs/​src/​content/​docs/​enterprise/​apm-policy.mdx Adds user-scope status guidance.
CHANGELOG.md Records scope-policy and egress behavior changes.
.apm/​architecture/​owners/​transport-auth-platform.json Registers egress ownership and credential guards.
.apm/​architecture/​owners/​core-runtime.json Extends scope ownership to manifest resolution.

Review effort: Balanced

Comment thread src/apm_cli/commands/uninstall/cli.py Resolved
CredentialScopedSession(ambient_credentials=False) keeps requests from
attaching .netrc credentials, including on redirect hops; the MCP
registry client uses it. Installed-CLI test, unit test, guard needle and
mutation case.

Refs #4088

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…cope contract

User scope is not governed by org policy (#4087), so the native bin/ deny
control now denies through the user store instead of an org policy
discovered from a git checkout at HOME. Bundle admission manifest reads
route through core.scope.manifest_file.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…ate URL-builder test bodies

Adds pytest.mark.promise to the #4087/#4088 lifecycle modules and to the
#4188 hook pin parity modules (plus its missing component marker), and
removes three exact-duplicate URL-builder test bodies. No allowance or
baseline growth.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
The 12 user-scope org-deny GATE cells are not reachable under #4087 (user
scope discovers no org policy), so they leave the required witness map and
the approved gate-cell count; the visited user undeclare|plugin|deny cell
joins it.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 91405e4 into main Nov 20, 2026
1 check passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-curly-carnival branch November 20, 2026 14:16
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 20, 2026
#4158 discovers org policy from the scope manifest root; the commit gate's
enforce_mcp_policy, which now owns MCP policy for install and install --mcp,
applies manifest_root, and the scope-manifest rule names it there.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 20, 2026
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 20, 2026
Take main for the driver, the Click resolver and the docs-surface test; keep
T2 witnesses in promise_obligations.json.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 20, 2026
Union imports where #4158's manifest_file meets catalog imports; keep catalog renders with manifest_file checks; registry_delegation carries output, scope-manifest, module-ownership and console-stream rules.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-integration Run the full integration suite (ci-integration.yml) on this PR before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Owner moves: one egress route owner for registry-only and credential-scoped requests Owner moves: one scope-manifest owner for project and user scope

3 participants