Repository navigation
[0.38] train train/20261121-1: #4619 #4613 #4584 #4585 #4005 #4580 #4559 #4062 #4622 - #4629
Closed
Daniel Meppiel (danielmeppiel) wants to merge 75 commits into
Closed
Daniel Meppiel (danielmeppiel) wants to merge 75 commits into
Daniel Meppiel (danielmeppiel) wants to merge 75 commits into
Conversation
, #3896) At project scope, `apm install` now deploys each approved Claude-format plugin whole to the committed `.agents/plugins/<plugin>/`, generates the catalog under a marketplace name unique to the repo, and declares it with a relative path in `.claude/settings.json` and `.github/copilot/settings.json`, following the plugin's targets. A fresh clone loads it in Claude Code and GitHub Copilot without APM. Agent Plugins move onto the same owner at both scopes, and `apm_modules/.github/plugin/apm-registration.json` registrations are migrated. Ownership comes from the previous and next `apm.lock.yaml`. This is the #3896 fix the 2026-11-19 decision chose: obra/superpowers ships per-harness hook files, so splitting it into primitives tripped the retired filename-routing guard (#3226) and every approved project install exited 1. It now installs intact with its hooks. Supersedes #4010 (rebased onto main after v0.37.0), with these changes: - approve: a Claude plugin is native at both scopes, so `apm approve` pins the whole plugin at project scope too (it pinned only hook files, leaving the approved plugin parked). - uninstall: a surviving native plugin the gates no longer allow loses its lock record, so the native owner retires its root and declarations (I4, as #4446 does for loose files). - 0.37 owners kept: catalog remedies for the new and moved messages (native-settings-invalid, native-plugin-update-held, project-scope loose-hooks switch), kept_note for the kept-version line, restore_lockfile_bytes for the rollback, scope-aware native drift for --frozen; lock row parsing and serialization of native fields moved to native_plugins/record.py (deps/lockfile.py at the 2100-line cap). - spec: provisional amendment renumbered 0.1.68 -> 0.1.73 (pending editor decision); CONFORMANCE regenerated. - tests: new failing-before lifecycle cell for the superpowers shape; 0.37 oracles that pinned project-scope split behavior re-pointed to the native surface (same promises); #4010 tests meet the AQ ceilings. Out of scope: targets that include cursor still refuse (no native route until #3922); Codex stays split (#3920). Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…l-fix-3896-native-project
Always-on and single-directory instructions reach Claude Code through the compiled AGENTS.md; every CLAUDE.md APM writes imports @AGENTS.md so both load on every Claude Code version. File-type globs stay in .claude/rules/. Hand-authored root CLAUDE.md without the import (or hand-authored AGENTS.md) keeps the legacy .claude/rules/ layout and warns; user scope is unchanged. Refs #3939 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
- Plugin names may carry interior dots (Agent Plugin names such as acme.review); a leading or trailing dot is still refused (req-na-002). - $schema is inert manifest metadata: it no longer parks a plugin. - At project scope a skills: selection deploys loose, as a root-only plugin.json does; a whole-plugin load cannot honor it. - Lifecycle cells re-pointed to the native surface with the same promise (S15, accepted by the 0.38 PM): Copilot enablement in the committed settings, the generalized native summary, the gate write set and the project-scope I1 digest. Split-route cells (export-patch, legacy classification, plugin-root MCP portability) keep their promise on the split route: cursor, or a root-only plugin.json. - Quickstart: the committed paths get their own git add line; J02 anchors the world-independent audit lines. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…l-fix-3896-native-project
…n cells The 21 cells citing closed #4053, #4178, #4224 and #4174 still failed on main, but for new reasons: the fixes had landed and the oracles were stale. - #4053 (10 LSP gate cells): --frozen now refuses with 'records an executables decision the gate no longer makes'; FROZEN_REFUSAL accepts it and the cells are required. - #4178 (9 approve cells): approve routes the org policy through the trust reader once; block classes refuse and write nothing, warn classes report 'Org policy not applied' once. Expectations follow; cells required. - J|E01|4|O8: sarif audit now names the failed check (#4224) but no format prints a runnable remedy: re-keyed to #4570. - J|E04|4|O8: the advice is diagnostic (#4174); O8 cannot model it (residual #4571), so step 4 drops O8 and pins host, credential, advice. KnownFailure (tests/lifecycle/known.py) replaces raw strict xfails: it names the tracking issue and the failure signature, and a makereport hook fails a known cell that failed without it. The gate tests/quality/test_known_cells_cite_open_issues.py requires every known cell to cite an issue recorded OPEN in known_cell_issue_states.json. Refs #4565, #4549 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- KnownFailure gains kind (bug | deferred-design) and raises; the signature plugin is registered by tests/conftest.py for every suite. - The #4543 @registry shorthand cells (a deferred design whose tracker stays open) become KnownFailure(kind='deferred-design') with their failure signature; reason text and strictness are unchanged. - The gate now discovers every strict xfail in tests/ by AST, so a raw strict xfail anywhere must cite an issue recorded OPEN. - test_journeys.py names its promise ids literally (tm006 --changed). Refs #4565, #4549 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…4556) record_unpacked_files now asks the deployment ledger which written files the existing apm.lock.yaml already claims with the same content hash and records only the rest as local-bundle. When nothing is left to record, the lockfile is neither migrated nor written, so a restore-style `apm unpack <bundle> -o <checkout>` keeps a tracked lockfile unchanged. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…#4556) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
load_marketplace_config now delivers every MarketplaceConfig.warnings entry (the list/string outputs deprecation and the outputs.<format>.path conflict) through its warn_callback, after the legacy marketplace.yml deprecation. apm pack, marketplace check and outdated already render that callback. Pack's release-gate reload passes a discard callback so no load warning prints twice. The marketplace-outputs-list catalog entry is now a printed warning with no scheduled removal, so the text drops the stale v0.15 date. Flips #4035's stays-unprinted pin into installed-CLI tests. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…cheduled (#4046) Regenerate the deprecations table (not scheduled, Warning) and say where the list-form warning appears in the publish guide, the pack reference and the manifest schema. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…eview folds) - Frozen read goes through InstallService.frozen_disposition; the native_declared stamp is written by the registered commit site. - install-commit-order anchors on the native activation phases; carry.py joins the claude-native-plugin-registration owner; the manifest path goes through core.scope.manifest_file. - Uninstall never rebuilds a survivor loose for a harness that loads it natively, and never restages a native plugin from its source (HIGH-2; hooks ran twice). Regression cell with approve --all. - Generator citations and obligations regenerated after main moved. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
A frozen replay of a pre-#3939 lock deleted the always-on .claude/rules/ file Claude now loads from AGENTS.md, then refused because the lock recorded a file missing from disk. --frozen never rewrites the lock, so stale-file cleanup now keeps such files with their lock claim and names them; a normal install migrates them. Re-pin the upgrade and receipt lifecycle cells to the AGENTS.md routing. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…t changed #4446's definition-change retirement still re-judges a changed local native plugin; an unchanged one is never re-copied or rebuilt loose. The #3499 MCP-shape cell keeps the split route with a root plugin.json. Docs: a skills: selection deploys loose at project scope. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…l-fix-3896-native-project # Conflicts: # docs/src/content/docs/specs/openapm-v0.1.md # tests/quality/lifecycle_obligations.json
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…l-fix-3896-native-project # Conflicts: # tests/lifecycle/generator/rules.py # tests/quality/lifecycle_obligations.json
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The loose-hooks switch remedy picks its scope in the remediation owner (claude_native_switch_loose_hooks), so services.py adds no lines over main. Generator citations and CONFORMANCE regenerated. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
# Conflicts: # CONFORMANCE.md
…l-fix-3896-native-project # Conflicts: # tests/quality/lifecycle_obligations.json
#4597 fixed #4572 (a git -> registry switch now drops the stale .apm-pin) but left the strict KnownCell registry-source-switch-stale-pin in test_m_source.py. The cell no longer fails, so the source spine (test_source_spine_covers_every_form_and_op, lifecycle_smoke shard 4) fails strict on every PR. Drop the cell and its KNOWN_CELLS_BY_ID entry; the regenerated pair X|install|pkg-registry|UPDATE=on moves from known-failing to required. Refs #4572, #4565 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…3-red-triage # Conflicts: # tests/lifecycle/machines/test_m_source.py
#4597 fixed the stale .apm-pin after a git -> registry switch but kept the strict known cell, so test_source_spine_covers_every_form_and_op failed on main: the bug no longer reproduces. The X|install|pkg-registry|UPDATE=on cell now earns its oracle receipt like any other. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…4560) The apm outdated ls-remote cache key now includes the manifest host_type and the provider the host resolves to (classify_host_provider: kind and credential purpose), so two dependencies on the same host and path with a different provider never share a cached listing and each runs its own provider and credential resolution. The cache stays per-run and token-free. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
apm-spec-waiver: apm outdated cache-key correctness only; no OpenAPM-observable behaviour change Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
A survivor rebuilt from the normalized apm_modules copy lost its marketplace_plugin type, so its own deployment plan never routed it native: a parked Claude plugin was rebuilt loose for copilot while install deploys nothing (I1, M-SOURCE spine). native_harnesses takes the lock's recorded type, as audit replay does (Analyst HIGH-D). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
A test that patches LockFile could be the first to import it, leaving its LockFile bound to the mock (Windows shard 2 session-finish check). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…4560) Delegate the cache key's provider identity to core/host_providers.effective_host_provider_identity (keeping the ValueError fallback), register the cache as a consumer of the host-credential-resolution owner and extend its static guard. apm-spec-waiver: apm outdated cache-key correctness only; no OpenAPM-observable behaviour change Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 21, 2026 13:39
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The legacy-lock path lacks pre-extraction validation, allowing unchecked restores or file overwrites before refusal, and stale-file retention introduces quadratic processing.
2 open issues
What changed in this PR
This 0.38 landing train updates APM’s native plugin deployment and Claude instruction handling, fixes bundle and marketplace behavior, and strengthens regression checks.
Changes:
- Deploys project-scoped Claude and Copilot plugins intact, with shared ownership, approval, and retirement handling.
- Routes Claude instructions through
AGENTS.md, restores Codex agents without descriptions, preserves unchanged unpack ownership, and prints marketplace warnings. - Updates lifecycle expectations, signed known failures, mutation coverage, architecture guards, and documentation.
| File | Description |
|---|---|
tests/unit/test_reference_registry_shorthand.py |
Signs deferred registry shorthand failures. |
tests/unit/test_dep_targets_persistence.py |
Tests canonical aliases and exact target errors. |
tests/unit/test_apm_yml_registries.py |
Signs the deferred registry scope failure. |
tests/unit/scripts/test_architecture_runner.py |
Registers the Claude routing guard expectation. |
tests/unit/registry/test_compat_matrix.py |
Signs deferred registry compatibility failures. |
tests/unit/install/test_pipeline_ownership_snapshot.py |
Updates the native reconciliation patch target. |
tests/unit/install/test_install_local_bundle.py |
Tests Codex description fallback and invalid fields. |
tests/unit/install/test_claude_native_registration.py |
Adapts tests to shared native registration. |
tests/unit/install/test_claude_native_admission.py |
Tests project-scoped native plugin admission. |
tests/unit/install/test_agent_plugin_deployment_boundary.py |
Checks committed native deployment surfaces. |
tests/unit/install/phases/test_finalize_compile_hint.py |
Expects Claude post-install compile guidance. |
tests/unit/deps/test_outdated_ref_cache.py |
Tests provider-aware remote reference caching. |
tests/unit/deps/test_lockfile_field_properties.py |
Covers native declaration field round-tripping. |
tests/unit/deps/test_lockfile_consumer_contract.py |
Adds native declaration consumer coverage. |
tests/unit/core/test_target_detection_logic.py |
Expects Claude to compile AGENTS.md. |
tests/unit/core/test_remediation_w4_phases_targets_catalog.py |
Classifies new native plugin remedies. |
tests/unit/core/test_remediation_w3_plugins_runtime_catalog.py |
Uses the shared native settings remedy. |
tests/unit/core/test_remediation_w3_deps_compilation_catalog.py |
Adds Claude routing remedy coverage. |
tests/unit/core/test_deprecation_owner_behavior.py |
Tests warning delivery and revised deprecation text. |
tests/unit/copilot_plugins/_builders.py |
Adds committed native plugin fixture helpers. |
tests/unit/compilation/test_stale_claude_md_cleanup_1729.py |
Checks import shims and instruction preservation. |
tests/unit/compilation/test_project_root_context_protection.py |
Updates nested context protection expectations. |
tests/unit/compilation/test_compile_target_flag.py |
Tests Claude’s AGENTS.md import output. |
tests/unit/compilation/test_compile_cli_surface.py |
Updates Claude compilation capability expectations. |
tests/unit/compilation/test_compile_clean_last_primitive_2130.py |
Uses a file-type rule for native-rule coverage. |
tests/spec_conformance/test_manifest_reqs.py |
Covers Claude post-install compile guidance. |
tests/spec_conformance/test_lockfile_reqs.py |
Adapts dependency import checks to import shims. |
tests/quality/test_taxonomy_baseline.json |
Removes the mutation runner classification allowance. |
tests/quality/lifecycle_obligations.json |
Retires the stale-pin failure and refreshes evidence. |
tests/quality/known_cell_issue_states.json |
Records issue states for known failures. |
tests/quality/complexity_baseline.json |
Removes the Claude compiler complexity allowance. |
tests/quality/assertion_quality_baseline.json |
Removes the mutation runner assertion allowance. |
tests/lifecycle/security/test_origin_and_credentials.py |
Uses signed known-failure declarations. |
tests/lifecycle/security/test_integrity.py |
Uses signed integrity failure declarations. |
tests/lifecycle/security/test_gate_removal.py |
Checks native roots and signed failures. |
tests/lifecycle/security/test_egress.py |
Applies signed egress failure marks. |
tests/lifecycle/security/gate_slices/mcp.py |
Types MCP failures as signed declarations. |
tests/lifecycle/security/gate_slices/lsp.py |
Retires stale LSP expected failures. |
tests/lifecycle/security/gate_slices/hook.py |
Types hook failures as signed declarations. |
tests/lifecycle/security/gate_slices/bin.py |
Signs known user-scope policy failures. |
tests/lifecycle/security/gate_slices/__init__.py |
Adds signed failures to gate rows. |
tests/lifecycle/security/gate_paths/__init__.py |
Recognizes stale executable-decision refusals. |
tests/lifecycle/security/egress_slices/__init__.py |
Adds signed failures to egress rows. |
tests/lifecycle/scenarios/test_history_upgrade.py |
Checks removal of migrated Claude rules. |
tests/lifecycle/scenarios/test_failure_phase.py |
Reassigns residual commit failures to their tracker. |
tests/lifecycle/scenarios/_kit.py |
Validates known-failure trackers and signatures. |
tests/lifecycle/oracles.py |
Recognizes verified project-scoped native roots. |
tests/lifecycle/machines/test_m_source.py |
Retires the fixed stale-pin known cell. |
tests/lifecycle/machines/test_m_scope_lock.py |
Adds typed scope-lock known failures. |
tests/lifecycle/machines/test_m_gate.py |
Tests portable project-native fingerprints. |
tests/lifecycle/machines/_kit.py |
Validates machine known-cell declarations. |
tests/lifecycle/machines/_gate_kit.py |
Tracks native writes and validates known cells. |
tests/lifecycle/journeys/test_journeys.py |
Uses signed journey failures and explicit promises. |
tests/lifecycle/journeys/index.yaml |
Removes an unsuitable diagnostic remediation check. |
tests/lifecycle/journeys/goldens/J03/02.txt |
Adds Claude compile guidance to expected output. |
tests/lifecycle/journeys/goldens/J02/03.txt |
Updates the expected audit file count. |
tests/lifecycle/journeys/goldens/J02/02.txt |
Refreshes install output and compile guidance. |
tests/lifecycle/journeys/goldens/J01/06.txt |
Adds compile guidance after reinstall. |
tests/lifecycle/journeys/goldens/J01/04.txt |
Updates instruction deployment output. |
tests/lifecycle/journeys/enterprise/E04-private-hosts.yaml |
Pins diagnostic advice instead of successful remediation. |
tests/lifecycle/journeys/enterprise/E01-org-policy-rollout.yaml |
Reassigns the remaining audit advice failure. |
tests/lifecycle/journeys/consumer/J02-team-onboarding.yaml |
Removes a brittle documentation file-count expectation. |
tests/lifecycle/generator/witnesses.py |
Reads trackers from signed machine failures. |
tests/integration/test_user_authored_name_collision_lifecycle.py |
Keeps collision coverage on Claude file-type rules. |
tests/integration/test_unquoted_lockfile_version_lifecycle.py |
Preserves rule replay coverage with a scoped fixture. |
tests/integration/test_unmanaged_skill_preflight_matrix.py |
Checks intact native deployment beside unmanaged skills. |
tests/integration/test_unicode_space_paths_lifecycle.py |
Keeps Unicode path coverage on deployed rules. |
tests/integration/test_required_lifecycle_state_machine.py |
Makes instruction fixtures routing-aware. |
tests/integration/test_prune_deployment_ledger_e2e.py |
Preserves Claude rule ledger coverage. |
tests/integration/test_project_self_audit_lifecycle.py |
Keeps self-audit coverage on file-type rules. |
tests/integration/test_mcp_portable_approval_lifecycle.py |
Reads committed Copilot plugin enablement. |
tests/integration/test_lock_e2e.py |
Supports scoped instruction fixtures. |
tests/integration/test_lock_derived_expected_state_lifecycle.py |
Preserves split-route service coverage. |
tests/integration/test_local_single_file_matrix.py |
Uses a file-type glob for Claude rule deployment. |
tests/integration/test_global_claude_dedup_lifecycle.py |
Checks project imports and unchanged user-scope rules. |
tests/integration/test_frozen_dropped_target_lifecycle.py |
Retains dropped-target coverage on file-type rules. |
tests/integration/test_frozen_deployed_hash_lifecycle.py |
Checks hashes and symlinks on retained rule types. |
tests/integration/test_file_primitive_receipt_lifecycle.py |
Keeps receipt coverage on deployed Claude rules. |
tests/integration/test_config_surface_lifecycle_contract.py |
Makes configuration fixtures routing-aware. |
tests/integration/test_compile_nested_context_protection_lifecycle.py |
Checks nested imports and hand-authored protection. |
tests/integration/test_compile_clean_nested_worktree.py |
Checks worktree isolation through AGENTS.md imports. |
tests/integration/test_compile_claude_single_h1.py |
Checks headings across the two context files. |
tests/integration/test_cleanup_deployment_evidence_lifecycle.py |
Preserves dropped-target cleanup evidence coverage. |
tests/integration/test_claude_plugin_hook_approval_lifecycle.py |
Moves split-hook approval coverage to Codex. |
tests/integration/test_claude_plugin_flat_mcp_lifecycle.py |
Keeps MCP parsing coverage on split plugins. |
tests/integration/test_claude_native_hook_lifecycle.py |
Updates shared native plugin diagnostics. |
tests/integration/test_claude_dependency_import_lifecycle.py |
Separates root and dependency imports. |
tests/integration/test_case_only_rename_lifecycle.py |
Keeps rename coverage on deployed rules. |
tests/integration/test_bin_canvas_deny_diagnostics_lifecycle.py |
Updates the native deployment summary expectation. |
tests/integration/test_approve_parked_native_plugin_lifecycle.py |
Checks whole-plugin approval at both scopes. |
tests/fixtures/lifecycle_bug_ledger.json |
Records the project-native plugin regression proof. |
tests/conftest.py |
Registers signature enforcement and an integrity seam. |
src/apm_cli/native_plugins/layout.py |
Preserves committed plugin bytes across checkouts. |
src/apm_cli/native_plugins/carry.py |
Retains native rows excluded by narrowed targets. |
src/apm_cli/marketplace/migration.py |
Delivers collected config warnings through callbacks. |
src/apm_cli/integration/agent_integrator.py |
Derives missing strict Codex agent descriptions. |
src/apm_cli/install/template.py |
Carries unevaluated native plugins without redeployment. |
src/apm_cli/install/service.py |
Defines frozen stale-file retention. |
src/apm_cli/install/pipeline.py |
Uses shared native activation after install gates. |
src/apm_cli/install/phases/finalize.py |
Adds Claude instruction compile reminders. |
src/apm_cli/install/phases/cleanup.py |
Retains stale locked files during frozen installs. |
src/apm_cli/install/exec_gate.py |
Includes native plugins in gate retirement decisions. |
src/apm_cli/install/drift.py |
Verifies shared native plugin replay results. |
src/apm_cli/install/context.py |
Tracks rejected and carried native plugins. |
src/apm_cli/install/bundle_admission.py |
Avoids rewriting matching unpack ownership records. |
src/apm_cli/core/target_detection.py |
Makes Claude an AGENTS.md consumer. |
src/apm_cli/core/deprecations.py |
Enables output-form warnings without a removal deadline. |
src/apm_cli/core/command_logger.py |
Explains frozen stale-file retention. |
src/apm_cli/copilot_plugins/constants.py |
Identifies legacy Copilot registration vocabulary. |
src/apm_cli/copilot_plugins/__init__.py |
Exposes migration through the shared native owner. |
src/apm_cli/commands/pack.py |
Avoids duplicate config warnings during gate reloads. |
src/apm_cli/commands/install.py |
Handles shared native plugin refusals. |
src/apm_cli/commands/deps/cli.py |
Reports native activation from lockfile records. |
src/apm_cli/commands/compile/cli.py |
Updates instruction deduplication help text. |
src/apm_cli/commands/approve.py |
Recognizes Claude native plugins at both scopes. |
scripts/architecture_linter/checks/transport_auth_platform.py |
Guards canonical provider identity in ref caching. |
scripts/architecture_linter/checks/registry_module_ownership.py |
Tightens the unowned-module ceiling. |
scripts/architecture_linter/checks/install_locked_content_verdict.py |
Permits attested routed-rule rendering. |
scripts/architecture_linter/checks/install_entry_and_commit.py |
Guards final native activation ordering. |
scripts/architecture_linter/checks/install_deployment_analyzers.py |
Registers the Claude instruction routing guard. |
scripts/architecture_linter/checks/contracts_test_taxonomy.py |
Guards read-only legacy lock resolution for unpack. |
pyproject.toml |
Expands mutation owners and repairs test selections. |
packages/apm-guide/.apm/skills/apm-usage/workflow.md |
Documents context imports and committed native roots. |
packages/apm-guide/.apm/skills/apm-usage/governance.md |
Updates whole-plugin executable deployment guidance. |
docs/src/content/docs/troubleshooting/index.md |
Explains native plugin activation troubleshooting. |
docs/src/content/docs/reference/targets-matrix.md |
Documents Claude instruction routing and compilation. |
docs/src/content/docs/reference/policy-schema.md |
Updates native plugin executable scope. |
docs/src/content/docs/reference/manifest-schema.md |
Documents visible marketplace output warnings. |
docs/src/content/docs/reference/index.md |
Refreshes the output-form deprecation entry. |
docs/src/content/docs/reference/cli/unpack.md |
Documents unchanged ownership during bundle restore. |
docs/src/content/docs/reference/cli/uninstall.md |
Documents native removal and recovery at both scopes. |
docs/src/content/docs/reference/cli/audit.md |
Explains native source and deployed-copy verification. |
docs/src/content/docs/reference/cli/approve.md |
Documents whole-plugin approval pins. |
docs/src/content/docs/producer/write-primitives.md |
Explains Claude routing and intact plugin hooks. |
docs/src/content/docs/producer/publish-to-a-marketplace.mdx |
Clarifies warnings and native catalog locations. |
docs/src/content/docs/producer/build-a-plugin.mdx |
Explains package versus native plugin installation. |
docs/src/content/docs/consumer/update-and-refresh.mdx |
Adds the Claude instruction migration guide. |
docs/src/content/docs/consumer/installing-from-marketplaces.md |
Documents whole-plugin marketplace installation. |
docs/src/content/docs/consumer/install-packages.md |
Lists native plugin files to commit. |
docs/src/content/docs/consumer/install-mcp-servers.md |
Explains services loaded from native plugins. |
docs/src/content/docs/consumer/choose-harnesses.mdx |
Updates the Claude output example. |
docs/src/content/docs/consumer/approve-executables.mdx |
Explains plugin approval at both scopes. |
docs/src/content/docs/concepts/how-apm-works.md |
Adds native plugin commit guidance. |
.github/workflows/main-architecture-ratchets.yml |
Runs the known-cell issue-state gate on main. |
.github/workflows/ci.yml |
Adds the known-cell issue-state gate to CI. |
.apm/architecture/unowned-modules.json |
Removes the now-owned Claude formatter. |
.apm/architecture/owners/transport-auth-platform.json |
Records ref-cache provider identity ownership. |
.apm/architecture/owners/marketplace-plugins.json |
Defines shared native and legacy migration ownership. |
.apm/architecture/owners/install-deployment.json |
Registers Claude instruction routing ownership. |
Review effort: Balanced
Comment on lines
+219
to
+220
| lockfile = _recorded_lockfile(root) | ||
| claimed = DeploymentLedgerCodec.deployed_file_hashes(lockfile) if lockfile else {} |
| lock claim until a normal install re-renders the package. | ||
| """ | ||
| retained = sorted(stale) | ||
| new_deployed.extend(path for path in retained if path not in new_deployed) |
Collaborator
Author
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.


Landing train
train/20261121-1(LANDING-CONTROLLER rev 1).Carriers (ranked): #4619 #4613 #4584 #4585 #4005 #4580 #4559 #4062 #4622
Ejected: #4596 (conflict; next train)
Fixes #3921
Fixes #3939
Fixes #4046
Fixes #4556
Fixes #4560