Repository navigation
refactor(targets): derive harness tables from the target registry and guard harness literals - #5743
Merged
Daniel Meppiel (danielmeppiel) merged 5 commits intoDec 2, 2026
Conversation
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Dec 2, 2026
… trees (#5743) apm-spec-waiver: changelog fragment for a behaviour-preserving registry derivation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This was referenced Dec 2, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Dec 2, 2026
…elds - capability.detection, pack_cross_map, native_plugin_settings and hosts_agent_plugins (from #5743) are claimed by the predicates whose registry sources derive from them. - trust_hint has landed, so FORWARD_FIELDS is empty. - harness_conformance.json is regenerated at 1622a4a; the 41 Pi cells join the baseline owned by #2908 until their witnesses move them to required. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Dec 2, 2026
… trees (#5743) apm-spec-waiver: changelog fragment for a behaviour-preserving registry derivation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
force-pushed
the
danielmeppiel-target-registry-derivation
branch
from
December 2, 2026 14:44
da70628 to
3c71b0d
Compare
Daniel Meppiel (danielmeppiel)
marked this pull request as ready for review
December 2, 2026 15:01
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Incorrect scope and pack applicability leave coverage impossible or omitted, while baseline and witness-ID validation gaps can let baseline growth and nonexistent parameterized witnesses pass.
4 open issues
What changed in this PR
Prepares APM's target registry for future Pi support without adding Pi itself. The diff also includes the harness-conformance foundation from stacked PR #5775.
Changes:
- Derives detection, packing, placement and plugin tables from registry data.
- Adds architecture guards and conformance checks.
- Includes
.grok/in compile descriptions and instruction placement.
| File | Description |
|---|---|
| tests/unit/scripts/test_architecture_runner.py | Registers the two new guard IDs. |
| tests/unit/scripts/test_architecture_harness_literals.py | Tests literal and settings guards. |
| tests/unit/core/test_target_registry_derivation.py | Pins derived behavior and .grok placement. |
| tests/quality/test_harness_conformance.py | Checks conformance coverage and ratcheting. |
| tests/quality/promise-catalog.json | Registers the conformance promise. |
| tests/quality/harness_conformance.json | Records required witnesses and baseline cells. |
| tests/quality/complexity_baseline.json | Removes resolved detection complexity debt. |
| tests/lifecycle/scenarios/test_harness_conformance.py | Adds registry-driven skill deployment witnesses. |
| tests/lifecycle/obligations.py | Loads required harness witnesses. |
| tests/lifecycle/obligation_space.py | Includes generated harness obligations. |
| tests/lifecycle/harness_ratchet.py | Implements conformance ratchet management. |
| tests/lifecycle/harness_contract.py | Defines promises and applicability predicates. |
| tests/integration/test_verdict_record.py | Checks coverage of registry-derived roots. |
| tests/integration/test_architecture_owner_rule_mutations.py | Adds mutation cases for both guards. |
| src/apm_cli/native_plugins/scopes.py | Derives native plugin settings paths. |
| src/apm_cli/integration/user_scope_links.py | Houses extracted user-scope link policy. |
| src/apm_cli/integration/targets.py | Adds profile metadata and shared helpers. |
| src/apm_cli/install/native_plugin_admission.py | Uses registry-declared plugin hosts. |
| src/apm_cli/core/target_detection.py | Derives detection and display tables. |
| src/apm_cli/core/target_catalog.py | Centralizes detection metadata and ordering. |
| src/apm_cli/copilot_plugins/settings.py | Reuses the canonical settings key. |
| src/apm_cli/copilot_plugins/constants.py | Removes the hard-coded host constant. |
| src/apm_cli/copilot_plugins/capability.py | Resolves plugin hosts from profiles. |
| src/apm_cli/compilation/context_optimizer.py | Derives hidden placement roots. |
| src/apm_cli/bundle/lockfile_enrichment.py | Derives cross-target packing maps. |
| scripts/architecture_linter/groups/registry_delegation.py | Includes the new guards. |
| scripts/architecture_linter/checks/registry_harness_literals.py | Enforces literal and settings ownership. |
| changelog.d/5743.fixed.md | Documents the two .grok fixes. |
| .github/workflows/merge-train.yml | Runs harness-conformance checks. |
| .github/workflows/ci.yml | Runs harness-conformance checks. |
| .apm/architecture/owners/marketplace-plugins.json | Associates the settings guard with its owner. |
| .apm/architecture/owners/hooks-integrations.json | Registers the extracted link-policy module. |
| .apm/architecture/owners/core-runtime.json | Associates the harness-literal guard with its owner. |
| .apm/architecture/harness-literal-legacy.json | Lists grandfathered harness literals. |
Review effort: Balanced
Comment on lines
+85
to
+86
| if scope == PROJECT: | ||
| return frozenset(profile.primitives) |
Comment on lines
+254
to
+258
| if not profile.pack_prefixes: | ||
| mapped = "maps foreign bundle paths only" if profile.pack_cross_map else "no pack_cross_map" | ||
| return _na(f"pack_prefixes is empty; {mapped}") | ||
| if not profile.pack_cross_map: | ||
| return (Verdict.UNKNOWN, "pack_prefixes without a pack_cross_map") |
| names: dict[str, frozenset[str]] = {} | ||
| for key, node in sorted(ratchet.required.items()): | ||
| path, _, test = node.partition("::") | ||
| function = test.split("[", 1)[0] |
Comment on lines
+150
to
+154
| # A merge queue or push commit: its first parent is the base. | ||
| head = _git(root, "rev-parse", "HEAD").stdout.strip() | ||
| step = _git(root, "fetch", "--no-tags", "--depth=2", "origin", head) if head else None | ||
| resolved = ( | ||
| _git(root, "rev-parse", "--verify", "HEAD^1") if step and step.returncode == 0 else step |
This was referenced Dec 2, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Dec 2, 2026
… trees (#5743) apm-spec-waiver: changelog fragment for a behaviour-preserving registry derivation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
force-pushed
the
danielmeppiel-target-registry-derivation
branch
from
December 2, 2026 19:40
3c71b0d to
7f60351
Compare
… guard harness literals Target detection tables, the pack cross-target map, placement hidden tool trees, the native plugin harness set and the Copilot Agent Plugins host are now derived from registry data (core/target_catalog.py TargetDetection and order tuples; integration/targets.py TargetProfile.pack_cross_map, native_plugin_settings, hosts_agent_plugins). Byte-equality pins hold the derived values to the previous literals; the only deltas add .grok/ to the "all" description and the placement hidden tool trees. Two architecture guards keep it that way: - registry_delegation.harness_name_literals: no literal of a post-guard target's name, alias or root outside the registry files (exact match; the 19 pre-guard harnesses sit in a frozen, shrink-only allowlist). - registry_delegation.native_settings_writer: native activation keys and write_settings_document stay with the native plugin registration owners. The user-scope link policy moves to integration/user_scope_links.py to keep integration/targets.py under the file-length guardrail. apm-spec-waiver: behaviour-preserving derivation of target tables from registry data; no OpenAPM-observable change Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… trees (#5743) apm-spec-waiver: changelog fragment for a behaviour-preserving registry derivation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… roots apm-spec-waiver: tests for a behaviour-preserving registry derivation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…cement pin apm-spec-waiver: tests for a behaviour-preserving registry derivation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…elds The four profile fields this change adds are claimed by the predicates that read them, so the field-coverage guard stays closed: - capability.detection: HC-DETECT-01 applies when detection signals exist, and answers UNKNOWN when detect_by_dir and the signals disagree. - pack_cross_map: HC-PACK-01 reads it beside pack_prefixes; pack_prefixes without a cross map is UNKNOWN. - native_plugin_settings: HC-PLUGIN-02, HC-PLUGIN-03 and HC-PLUGIN-03.overlap read it directly; disagreement with the native plugin owner is UNKNOWN. - hosts_agent_plugins: HC-PLUGIN-01.host and HC-PLUGIN-01.refuse read it directly; disagreement with the admission owner is UNKNOWN. Test data only: every applies() verdict and tests/quality/harness_conformance.json are unchanged (690 APPLIES cells, 15 required, 675 baseline). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
force-pushed
the
danielmeppiel-target-registry-derivation
branch
from
December 2, 2026 20:12
7f60351 to
6b74b69
Compare
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-target-registry-derivation
branch
December 2, 2026 20:49
4 of 10 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Dec 2, 2026
Restacked as one commit onto main 4e733b0 (#5775, #5778, #5743 and #5784 landed). This is the net Pi delta of danielmeppiel-pi-target at 0871e7d7 over the stack it carried, applied with no conflicts: - the pi target (registry profile, catalog capability, .pi detection, skills in .agents/skills, commands in .pi/prompts, PI_CODING_AGENT_DIR user root, read verbatim), trust hint, init picker from the registry, unsupported primitive warning once, governance_dirs for unmanaged_files; - project cleanup removes only roots that do not signal their target, and only roots that do are created before a write (materializes_root); an auto_create target's merged hook config is created with its root; - the trust hint also fires for project-only .apm content; - harness conformance: Pi cells all required (zero baseline), HC-PLUGIN-01 .dryrun promoted (26 rows formerly #5781) with an exact-line oracle; main's required cells kept (the carried ratchet had them in baseline), known_failing merged into the promise engine, PI_CODING_AGENT_DIR scrubbed in tests/conftest.py, Pi journey variants, Pi receipts; - real-harness Pi 1.6.0 lane with the cross-spawn and minimatch overrides. apm-spec-waiver: adds the pi target as registry data on the shared target layer; no change to an OpenAPM v0.1 requirement apm-spec-waiver: policy default scan dirs now come from registry data; the existing list is byte-identical and pi adds .pi Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Dec 2, 2026
Restacked as one commit onto main 4e733b0 (#5775, #5778, #5743 and #5784 landed). This is the net Pi delta of danielmeppiel-pi-target at 0871e7d7 over the stack it carried, applied with no conflicts: - the pi target (registry profile, catalog capability, .pi detection, skills in .agents/skills, commands in .pi/prompts, PI_CODING_AGENT_DIR user root, read verbatim), trust hint, init picker from the registry, unsupported primitive warning once, governance_dirs for unmanaged_files; - project cleanup removes only roots that do not signal their target, and only roots that do are created before a write (materializes_root); an auto_create target's merged hook config is created with its root; - the trust hint also fires for project-only .apm content; - harness conformance: Pi cells all required (zero baseline), HC-PLUGIN-01 .dryrun promoted (26 rows formerly #5781) with an exact-line oracle; main's required cells kept (the carried ratchet had them in baseline), known_failing merged into the promise engine, PI_CODING_AGENT_DIR scrubbed in tests/conftest.py, Pi journey variants, Pi receipts; - real-harness Pi 1.6.0 lane with the cross-spawn and minimatch overrides. apm-spec-waiver: adds the pi target as registry data on the shared target layer; no change to an OpenAPM v0.1 requirement apm-spec-waiver: policy default scan dirs now come from registry data; the existing list is byte-identical and pi adds .pi Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Dec 3, 2026
Restacked as one commit onto main 4e733b0 (#5775, #5778, #5743 and #5784 landed). This is the net Pi delta of danielmeppiel-pi-target at 0871e7d7 over the stack it carried, applied with no conflicts: - the pi target (registry profile, catalog capability, .pi detection, skills in .agents/skills, commands in .pi/prompts, PI_CODING_AGENT_DIR user root, read verbatim), trust hint, init picker from the registry, unsupported primitive warning once, governance_dirs for unmanaged_files; - project cleanup removes only roots that do not signal their target, and only roots that do are created before a write (materializes_root); an auto_create target's merged hook config is created with its root; - the trust hint also fires for project-only .apm content; - harness conformance: Pi cells all required (zero baseline), HC-PLUGIN-01 .dryrun promoted (26 rows formerly #5781) with an exact-line oracle; main's required cells kept (the carried ratchet had them in baseline), known_failing merged into the promise engine, PI_CODING_AGENT_DIR scrubbed in tests/conftest.py, Pi journey variants, Pi receipts; - real-harness Pi 1.6.0 lane with the cross-spawn and minimatch overrides. apm-spec-waiver: adds the pi target as registry data on the shared target layer; no change to an OpenAPM v0.1 requirement apm-spec-waiver: policy default scan dirs now come from registry data; the existing list is byte-identical and pi adds .pi Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

Milestone 0.40.0. #5775 (
37fdcb39) and #5778 (cafb1bbb) have landed. This branch is rebased onto maincafb1bbb, so the diff against main shows only this PR's commits.Lands after the v0.39.4 tag.
Description
This PR prepares the Pi target (#2908) as registry data. It contains no Pi content. It moves the per-harness tables that sat outside the target registry into registry data and derives the old tables from it. Two new architecture guards stop future harnesses from reintroducing per-harness literals outside the registry. Behaviour is preserved, and new tests pin the derived values byte-for-byte to the old literals.
Derived from registry data:
core/target_detection.py: derivesdetect_targetroots,should_compile_agents_md,get_target_description,SIGNAL_WHITELIST,CANONICAL_TARGETS_ORDERED,CANONICAL_DEPLOY_DIRSandCANONICAL_SIGNAL. The data comes from a newTargetDetectiontable incore/target_catalog.py, plus three order tuples for orders users can see:AUTO_DETECT_ORDER,SIGNAL_SCAN_ORDERandTARGET_DISPLAY_ORDER.TargetTypeandUserTargetTypebecomestraliases, because the catalog already validates target names wherever they enter.bundle/lockfile_enrichment._CROSS_TARGET_MAPS: now derived from the new fieldTargetProfile.pack_cross_map. The deprecated aliasvscodeselects its target's map.compilation/context_optimizer.PLACEMENT_HIDDEN_TOOL_TREES: now derived from the registry's static deploy roots through a newstatic_target_roots()helper.native_plugins/scopes.HARNESSESandPROJECT_SETTINGS_RELATIVE: now derived from a new fieldTargetProfile.native_plugin_settings.copilot_plugins/capability.pyandinstall/native_plugin_admission.py. The host is now the registry flagTargetProfile.hosts_agent_plugins. The error text is byte-identical.Intended deltas: two grok-build fixes. Both add
.grok, the root of the in-allgrok-buildtarget, which was missing from two hand-written tables:apm compile --target alldescription now lists.grok/;PLACEMENT_HIDDEN_TOOL_TREESnow includes.grok, soapplyToplacement handles.grok/**like other harness roots.Both are recorded in
changelog.d/5743.fixed.md.Placement callers pick up the second fix:
commands/uninstall/local_reanchor.py(line 1049) also walks.grok/now. A newContextOptimizertest (apply_to=".grok/**/*.md") fails on main and passes here.Left as a literal on purpose:
install/verdict_record._GOVERNED_DIRSstays a literal mirror. That module must not import the registry: "the hit runs before the CLI is imported", and importingintegration.targetscosts about 350 ms. The existing coverage cell intests/integration/test_verdict_record.pyalready pins it toKNOWN_TARGETS. The literal guard lists it as a mirror file._LITERAL_MIRRORSstays a one-file set. Adding any new mirror needs a reviewed linter edit and its own pin test.Guards:
registry_delegation.harness_name_literals(owneraccepted-target-vocabulary):core/target_catalog.pyandintegration/targets.py, nosrc/apm_clistring literal may equal the name, an alias, or the root (with or without/) of a target that is not in the frozen allowlist.apm/architecture/harness-literal-legacy.json.registry_delegation.native_settings_writer(ownerclaude-native-plugin-registration): the native activation keys (extraKnownMarketplaces,enabledPlugins) andwrite_settings_documentstay withnative_plugins/and the Claude and Copilot registrars.copilot_plugins/settings.pynow readsENABLED_KEYinstead of spelling the key.File length:
integration/targets.pymust stay under the 2100-line limit. To make room, the user-scope link policy moves unchanged to a new module,integration/user_scope_links.py, with the same owner.targets.user_scope_link_policystays as a thin wrapper, so no caller changes.Follow-ups for 0.41:
settings.jsonwriter onto one JSON-document I/O owner.native_settings_writerguards only the native activation keys andwrite_settings_document. Hook and Gemini MCP writers writesettings.jsonlegitimately and stay outside it.Intended behaviour deltas
Characterization of head
da706284against parentd0bdbe76(report by [PGM] Engineer, Pi Receipts; QL accepted):.grok/change, in the--target allcell (fixture: twoapplyToinstructions under.grok/tools/and.claude/tools/).src/patch byte-identical (see the rebase note below), so these results carry over to the new head.apm compile --target allstdout, "Compiling for ..." line... + .kiro/ + .agents/... + .kiro/ + .grok/ + .agents/.grok/.grok/tools/**/*.pyrow./AGENTS.md, rel 0%.grok/tools/AGENTS.md, rel 100%.grok/[!] Warning: applyTo for 'grok-tools' matched no files - placing at project root3 directories scanned,3 files analyzed, efficiency 16.7%,Generated GEMINI.md.grokis now walked)project:.grok/tools/AGENTS.md,project:.grok/tools/CLAUDE.mdproject:AGENTS.md,project:CLAUDE.md,project:GEMINI.mdhome:.apm/compiled-outputs/<h>.json,home:.apm/compiled-agents-md/<h>.json.grok/tools/AGENTS.mdandCLAUDE.mdapm targets --json --all, gemini rowactive, sourceGEMINI.mdinactive, needsGEMINI.mdSummary of the deltas:
.grok/(row 1)..grok/tools/**instructions are placed at.grok/tools/instead of falling back to the root (rows 2-6).GEMINI.mdis no longer written (row 8).Rebase onto #5775 and the harness contract claims
1622a4aa. After test(lifecycle): harness conformance contract and ratchet in the promise engine #5775 and test(lifecycle): harness conformance surface witnesses across the registry #5778 landed, all five commits (including3c71b0d1) were rebased onto maincafb1bbb.git range-diff 1622a4aa..3c71b0d1 cafb1bbb..<head>reports all five as=, and there were no conflicts.git range-diff d0bdbe76..da706284 1622a4aa..<head>reports all four as=.src/patch is byte-identical tod0bdbe76..da706284. This was checked by diffing the twogit diff -- srcoutputs with index lines stripped; the result was empty.3c71b0d1: test data only, intests/lifecycle/harness_contract.py. The predicates now read this PR's four new profile fields:capability.detection-> HC-DETECT-01;pack_cross_map-> HC-PACK-01;native_plugin_settings-> HC-PLUGIN-02, HC-PLUGIN-03 and HC-PLUGIN-03.overlap;hosts_agent_plugins-> HC-PLUGIN-01.host and .refuse.native_plugins.scopes.HARNESSES, the Agent Plugins admission) or with thedetect_by_dirandpack_prefixesdata.applies()verdict, andtests/quality/harness_conformance.json(690 APPLIES cells: 15 required, 675 baseline).Issue and approved scope
Issue: Refs #2908
Human scope-approval comment: #2908 (comment). This PR is the shared-layer preparation the Pi target needs under the CEO architecture constraint, which requires Pi to be declarative data with no Pi-only paths.
What remains: the Pi profile data, its tests, docs, and the real-harness and lifecycle cells. They come in the stacked PR-B.
Type of change
Testing
Validation evidence, run locally on this head; each
pytestandpylintrun went through the host guard script with-p no:xdist:.venv/bin/python -m pytest -q -p no:xdist tests/unit/core/test_target_registry_derivation.py tests/unit/scripts/test_architecture_harness_literals.py.venv/bin/python -m pytest -q -p no:xdist tests/unit/core tests/unit/copilot_plugins tests/unit/bundle tests/unit/compilation tests/unit/test_lockfile_enrichment.py tests/unit/test_packer.py tests/unit/install tests/unit/integration tests/unit/commands/test_pack.py tests/unit/deps/test_lockfile_generator.py tests/unit/models/test_apm_package_models.py.venv/bin/python -m pytest -q -p no:xdist tests/unit/integration tests/unit/utils tests/unit/core tests/unit/copilot_plugins tests/unit/scripts/test_architecture_harness_literals.py tests/unit/scripts/test_architecture_runner.py tests/integration/test_grok_bot_target.py tests/integration/test_openclaw_target.py tests/integration/test_hermes_target.py tests/integration/test_architecture_apply_to_patterns.py tests/integration/test_native_project_scope.py tests/integration/test_copilot_project_settings_precedence.py tests/integration/test_claude_known_marketplace_lifecycle.py tests/integration/test_architecture_native_plugin_audit.py_build_target_catalogtests intest_target_catalog.py. Fixed by makingdetectionoptional; the re-run of that file passed 11.venv/bin/python -m pytest -q -p no:xdist tests/integration/test_architecture_owner_rule_mutations.py -k "report_nothing or harness_name or native_settings or harness-name or native-settings or coverage or order or user-root or target-vocabulary".venv/bin/ruff checkandruff format --checkonsrc/ tests/ scripts/lint_architecture_boundaries.py scripts/architecture_linter/ scripts/windows_native_symlink_probe_entry.py(ruff 0.15.12, theuv.lockpin)pylint --disable=all --enable=R0801 --min-similarity-lines=10 --fail-on=R0801on the same pathsbash scripts/lint-auth-signals.shscripts/check_complexity_ratchet.py --base-ref <main d0bdbe76>detect_targetPLR0911 is fixed, so its baseline entry was prunedpython -m tests.quality.taxonomy --changedscripts/lint_architecture_boundaries.py --root .3c71b0d1:pytest -p no:xdist tests/unit/core/test_target_registry_derivation.py tests/unit/scripts/test_architecture_harness_literals.py tests/quality/test_harness_conformance.py tests/quality/test_generated_obligations.py tests/unit/core/test_target_catalog.py3c71b0d1: the ruff, pylint R0801, auth-signal, complexity ratchet (--base-ref 1622a4aa),check_test_assertions.py,check_exact_test_duplicates.py, taxonomy and architecture-boundaries checksintegration/targets.pyis at 2042Changelog
changelog.d/<pr>.<section>.md, holdingone line: user-visible effect first, 25 words or fewer, ending with
(#PR); breaking changes only under upgrade notes; no Highlights; nonew lines under
## [Unreleased]. Seechangelog.d/README.mdand.github/instructions/changelog.instructions.md.changelog.d/5743.fixed.mdcovers the two grok-build fixes. The refactor itself is internal-only and has no fragment, aschangelog.d/README.mdallows.Spec conformance (OpenAPM v0.1)
apm-spec-waiver: behaviour-preserving derivation of target tables from registry data; no OpenAPM-observable change
Agent assessment
.grokadditions as the only listed deltas. All architecture rules are clean at the head. Both new guards fire on their MutationCase and stay silent on unrelated longer literals.