Repository navigation
Owner moves: console construction, remediation advice and module ownership - #4143
Merged
Daniel Meppiel (danielmeppiel) merged 114 commits intoNov 20, 2026
Merged
Conversation
…ner skeleton (#4090) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…ut (#4089) - console-construction: utils/console.new_table() builds every Rich table (ASCII box); all command and formatter Table() calls route through it. - user-facing-output-diagnostics: MCP client adapters and the safe installer emit through CommandLogger (library_output/library_logger); adapters no longer echo their own success line. - install --frozen resolves and announces MCP targets once. - A skills/ bundle reports one tree line per package. - Default init names no third-party tool; install --mcp names the manifest relative to cwd (or ~). - experimental-flag-registry: every flag has a reader; retired flags in config are ignored with one verbose note. - Guards: registry_delegation.console_construction, registry_delegation.experimental_flags (H6, DX8, H8) and the adapter sub-check of registry_delegation.output_diagnostics, with mutation cases. 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]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Adds P-INV-I1..I9 and P-LAW-<id> for every lifecycle law, renames owner:<id> to P-OWN-<id>, rejects unknown prefixes and undeclared families, and fails when a lifecycle law has no P-LAW id. Pre-seeds an in-flight allowance for #4143. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Merged
6 of 10 tasks
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…ner skeleton (#4090) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…ecycle-state commands (#4091) - lifecycle trust/untrust, runtime setup/remove, marketplace migrate and self-update route through install/locking.py serialization. - Closed-world rule install-deployment-lifecycle-serialization-closed-world: every CLI command is serialized, delegated, exempt or pending (unpack is pending the shared bundle admission owner). - Closed-world rule registry_delegation.module_ownership: every src/apm_cli module has one owner or a shrink-only unowned allowlist entry. - Append-only selectors: core/script_trust.py (lifecycle-script-firing-gate: project script trust), install/exec_gate.py (executable-item-admission: allowExecutables admission), install/phases/cleanup.py (file-level-deploy-sync-cleanup: orphan and stale-file removal), install/phases/targets.py (effective-install-target-selection: install target selection phase), cache/git_cache.py (git-cache-key-normalization: cache keyed by normalized URL), bundle/packer.py (pack-plugin-manifests: pack-time bundle assembly). 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]>
…ecuted proofs (#4090) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
… and drift-kind guard (#4090) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…d-h3-w1 Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
… lifecycle validate/test are read-only (#4090) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
… proof (#4090) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
… advice wording (#4090) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Restore the commands/_helpers.py orphan-selection selector; core/experimental.py now owned (unowned ceiling 309). Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…itive kind (RA-009, #4090) audit --ci, audit and install --frozen no longer claim a plain install keeps local edits. Catalog entries drift-restore-edited-overwrite and drift-restore-edited-skill keep the delete-then-install remedy and state per kind that install overwrites instructions, agents, prompts, commands and rules and refuses edited skills. The pre-install notice is now a warning naming the overwritten files. CheckResult carries structured remediations serialized by audit --format json. 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]>
…tured remediation; DX5/DX6 guards (#4089, #4090) - get_config() and is_enabled() never create or write config.json; only update_config writes it (closed-world sub-check of registry_delegation.experimental_flags, mutation flag-read-creates-config). - lockfile-exists, deployed-files-present and no-orphaned-packages carry catalog remediations; documented on the audit reference page. - contracts-tooling-remediation-advice also guards the landed --frozen help (DX5) and init --apply implying --discover (DX6), with isolating mutations. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…nd flags (#4090) tests/quality/test_cli_command_literals.py walks every printed string literal under src/apm_cli through tests/utils/click_tree.py; no baseline. Fixes the init hints that named the nonexistent 'apm targets set'. Ledger rows reference the H6 pure-read proof, the audit remediation proofs and the truth test. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Merged
6 of 10 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
… via check_cli_output (AQ003) Matches the 80-column predicate agreed in #4143: a longer row is unwrapped output, never a wrap. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Goldens J01/03,04,06, J02/02, J03/02,04, P01/02 re-recorded; key lines follow catalog wording (#4090), relative manifest labels (#4089 DX9) and #4184 counts; strict cells that now pass are removed (#4181, #4182, #4183, #4184, #4190, #4196, #4199, #4207). J08 step 1 gains the #4193 O6 cell J04 and J08 step 3 already carry: #4184 dropped the stray 'integrated' line that masked it. Obligations regenerated. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
_logical_lines keeps the wrap rule agreed with Stream P: a row wraps when it breaks at a space or fills the 79-80 column width; a longer row is unwrapped output (RA-010); #4366 fold-tail and #4368 plain-wrap cases pass. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…citations Tests follow #4143's output owners: error lines and failed-check details assert on stderr (RA-004), #4184 adopt/local counts and converged reruns, catalog wording, a pure config read. MCP runtime failures name the runtime, so one server failing on several targets prints distinct lines. Oracle cells #4243/#4267 accept the adopted phrasing and the stderr error summary; generator citations follow line drift; the text-shape conformance case is derived from the statement. With H-A2 and H-N. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Main's scope-aware approve_command/explain_command (#4154, #4275) and _install_command now feed the catalog remediations through Remediation.with_command, so the advice keeps catalog wording and gains the -g form. Generator anchors follow main; obligations regenerated. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
5 of 10 tasks
… follow #4143 owners test_install_services_phase3w5 gets the same created-root-skill fixture as its orchestration twin; the native cache audit detail is asserted on stderr with its failed-check header (RA-004). Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Full collection (pytest tests --collect-only -p no:xdist), then gen_statement: req-sc-007 moves from xfail to active. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
This was referenced Nov 20, 2026
Skill lines keep #4184's changed-bytes count and gain #4217's adoption of identical unowned copies (counted once, labelled adopted). Stale cleanup lists each removed path (#4193 via #4217) under a header naming the portable dependency label. J08 takes main's cells (#4193 fixed). Generator anchors follow line drift; obligations regenerated. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
…ation The restored catalog digest is staged provisionally: it commits with a completed update, or with the state change of an update that fails later, and an update that fails before changing state leaves apm.lock.yaml byte-identical. The commit site cites #4430 for routing it through the commit owner. Drop the #4196 ledger row whose test #4217 handed to #4143. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…stall.py within budget The module #4217 added joins the host-credential-resolution owner; its uninstall step renders repository-not-found; the --frozen verified-line check is inlined. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…4143) Take #4395's hook-summary dedupe and drop the #4243 cell widening it supersedes; generator anchors follow line drift; obligations regenerated. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…, S6, S13, S8) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
install --frozen resolves MCP targets once; regression test_frozen_install_announces_mcp_targets_once. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
The S12 test now passes on a deny-with-reason verdict from a local HTTPS policy fixture instead of on outcome=absent from the network. A second hermetic case keeps the fetch_failure_default=block refusal covered without asserting a --no-policy bypass hint. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
- policy/outcome_routing.py: a fetch_failure_default=block refusal now names a non-bypass next step: "Check that the org policy source is reachable (apm policy status) and retry, or ask your org admin." Steward ruling: an org-enforced block never advertises --no-policy. - test_mcp_policy_block_reason_lifecycle: the hermetic unfetchable-policy case asserts that remedy on the [x] stderr line and no --no-policy. - vscode adapter tests assert adapter errors on captured.err (thread PRRT_kwDOPyZEpc65-GW9: library_logger().error renders on stderr). - test_marketplace_errors parses the emitted URL with urllib.parse and compares scheme, hostname and path (thread PRRT_kwDOPyZEpc65-GYN, tests.instructions.md URL rule). Co-authored-by: Copilot App <[email protected]>
6 of 14 tasks
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-bookish-train
branch
November 20, 2026 18:45
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
This was referenced Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Resolves CHANGELOG (both sides kept) and regenerates tests/quality/lifecycle_obligations.json and CONFORMANCE after #4143. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Resolutions: take the train's removal of the #4196 cells (fixed by #4143 on the train) and its E04 key line; keep the J14 removals and J10 key line. From verification run 44807302102: remove E03 #4172 (now passes) and the E03 #4196 cell; restore E04 step 4 O8 #4174 (still fails, issue reopened). Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
…s, refusals on stderr Steward ruling A (#4360): a plain install keeps a managed file it cannot prove APM wrote, names it and exits 1. These tests now assert that contract through the shared template (unproven_overwrite_message), check the kept bytes, then EXECUTE the printed remedy and keep every original convergence assertion: - test_multitarget_edit_audit_chain_lifecycle step 5 (move aside, install); - test_hermetic_lifecycle_foundation [deployed-file] (delete the edited file as the audit remedy says, install, clean audit); - test_mixed_case_materialization_lifecycle (move the stale link aside, install, links resolve); - test_export_patch_e2e: the hint is local_edit_hint(1, overwritten=0); no overwrite claim. Product: with #4184, a managed file already holding the final render is adopted without a rewrite, so a fresh clone's install recorded no deployment receipt and later uninstall/overwrite had no evidence (test_cleanup_deployment_evidence: receipts dir never created). _check_adopt_or_skip now records the receipt the skipped rewrite would have, for MANAGED files only; unmanaged adoptions stay receipt-less (#3701). test_kiro_prompt_lifecycle / test_cursor_rules_lifecycle: "Uninstall refused" is an error line on stderr since #4143 (RA-004); read both streams. test_target_manifest_upgrade_lifecycle[v0.35.1] stays red by ruling: #4398 part 2 (ebcd9e57). Co-authored-by: Copilot App <[email protected]>
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.
Description
TL;DR — The H3 integration PR (output, remediation and ownership). Install and init output now prints each event once, through one owner. Rich tables and consoles come only from
utils/console.py, so they stay ASCII. MCP client adapters and the safe installer emit throughCommandLogger. Every experimental flag must have a reader. Closed-world guards with isolating mutation cases lock all of this in.Problem (WHY)
On main
1b96706, the installed CLI showed these defects (red snapshots below):apm install --frozenresolved MCP targets twice, so it printedTargeting declared target from apm.yml: copilottwice.skills/bundle printed bothSkill integrated -> Xand2 skill(s) integrated -> Xfor one package.[*] Configured MCP server 'fetch' for ...line next to the install tree. Adapters also used rawprint(),click.echoand_rich_*calls, and no guard coveredadapters/.apm initprinted an agentrc tip, andinstall --mcpprintedapm.yml: /tmp/.../apm.yml(an absolute path).Table()calls had no owner. An experimental flag could be registered with no reader. The fixes from fix(0.37): product fixes found while rebuilding the docs [PR D of #3994] #4004 (DX8 inactive-resolver notice, H8 audit help) had no static guard.The repo rule this enforces is single canonical owner: "one authority per durable decision, guarded by a regression test + a static boundary check".
Approach (WHAT)
utils/console.py—new_console, newnew_table(newconsole-construction)registry_delegation.console_construction(moved Console sub-check + Table +rich.box)core/command_logger.py—library_output()binds,library_logger()reads,NullCommandLoggerdefault (user-facing-output-diagnostics, extended)registry_delegation.output_diagnosticsoveradapters/**+core/safe_installer.pycore/experimental.py(newexperimental-flag-registry)registry_delegation.experimental_flags: H6 reader forms, DX8 verbose gate, H8 closed[experimental]listresolve_mcp_targets()→ResolvedMcpTargets, reused byrun_mcp_installskill_support.skills_integrated()The steward approved all three registry entries, with conditions. Those conditions are folded in here (see Trade-offs).
Implementation (HOW)
utils/console.pynew_table()defaults tobox.ASCII. It accepts onlybox=Noneor an ASCII box and raises on any other box. Output is unchanged, because our consoles already degraded every box tobox.ASCII.output/formatters.pyTable(→new_table(;box=SIMPLE*dropped (it already rendered as ASCII).core/command_logger.py,core/null_logger.pyContextVar-bound library logger.MCPIntegrator.installbinds the command's logger. Unbound callers getNullCommandLogger, which prints through the console helpers, neverprint().NullCommandLogger.blank_lineadded.adapters/client/*,adapters/package_manager/default_manager.py,core/safe_installer.pylibrary_logger()or the passed logger. Adapter success echoes are removed, because the install tree reports success once. The safe installer drops its embedded[+]/[!]/[x]prefixes. Message wording is unchanged (H-I owns remediation text).install/service_integration.py,install/mcp/integration.py,integration/mcp_integrator*.pyResolvedMcpTargetsis threaded intorun_mcp_install, which skips re-resolution.install/services.py,integration/skill_support.pySkill integratedorN skill(s) integrated.commands/init.pyinstall/mcp/command.pymanifest_label(): cwd-relative, else~/-relative. Used by the tree line (manifest: apm.yml), the dry-run line and theCreatedline.commands/experimental.pyscripts/architecture_linter/checks/registry_output_guards.pyregistry_owner_guards.pyshrinks, because it was near the 2100-line cap.Diagrams
Library output: the command binds its logger once, and every adapter line renders through it.
sequenceDiagram participant C as apm install (InstallLogger) participant I as MCPIntegrator.install participant R as run_mcp_install participant A as Client adapter participant L as library_logger() C->>I: install(..., logger) I->>I: with library_output(logger) I->>R: run_mcp_install(resolved_targets?) R->>A: configure_mcp_server() A->>L: warning / error L-->>C: rendered by the bound logger Note over L: unbound callers get NullCommandLogger, never print()Trade-offs
ClientFactory.create_clientsites. I chose a scoped binding (library_output) so the adapter constructors stay unchanged. The guard keeps raw output out ofadapters/**.+- MCP Serversheader. The non-frozen order is unchanged. This keeps exactly one resolution per run.new_console, and test(smoke): assert the ASCII deps table in the binary smoke test #4076 had already flipped the smoke anti-oracle, so neither needed a change. Default isNullCommandLogger. No JSON-mode command reaches adapter writes, so the nearest check isaudit --ci --format jsonafter a Codex adapter install. Its stdout stays valid JSON, because JSON mode routes the console to stderr. I confirmed the H8 closed list:--externalcallsrequire_external_scanners_enabled, and--external-sarif,--external-llmand--external-argsexit 2 without--external.outcome.status_matches_stateandportability.byte_deterministic.apm mcp listcomes from external registry data, and the lead marked it out of scope.Benefits
Targeting ...line oninstall --frozen(was 2).print/click.echo/_rich_*calls left underadapters/**andcore/safe_installer.py, enforced by a guard.Validation
Red before (installed CLI, main
1b96706):APM_BINARY_PATH=.venv/bin/apm uv run --extra dev pytest tests/integration/test_command_output_owner_e2e.py→7 failed.Green after (same command, this branch):
9 passed(7 original + retired-flag + JSON-stdout checks).Lint chain (CI mirror, on the merge with main f371fcb)
Guards and mutation cases
tests/integration/test_architecture_owner_rule_mutations.py— matrix casesregistry-delegation-console-constructionandregistry-delegation-experimental-flags(sorted), plustest_output_owner_guards_catch_bypasseswith 11 isolating mutations. Each mutation asserts that only its own rule fires: rich Console/Table/box imports, adapterprint, adapter_rich_*import, safe-installerclick.echo, flag without reader, DX8 verbose gate removed,[experimental]on--policy, audit help losing a mode.tests/unit/scripts/test_architecture_runner.py—_EXPECTED_RULE_ID_TEXTgains both rule ids.tests/quality/test_lifecycle_bug_ledger.py— 2 passed.Scenario evidence
test_command_output_owner_e2e.py::test_frozen_install_announces_mcp_targets_once::test_skill_bundle_reports_one_line_per_package::test_mcp_adapter_success_is_reported_once::test_default_init_prints_no_third_party_tipinstall --mcpnames the manifest relatively::test_install_mcp_names_the_manifest_relatively::test_retired_experimental_flag_in_config_is_ignored::test_json_audit_after_adapter_install_keeps_stdout_jsonHow to test
APM_BINARY_PATH=.venv/bin/apm uv run --extra dev pytest tests/integration/test_command_output_owner_e2e.pyuv run --extra dev pytest tests/integration/test_architecture_owner_rule_mutations.py -k "output_owner or matrix"targets: [codex]and a.codex/dir, runapm install --mcp fetch -- echo ready: you should see onefetch -> Codex CLI (configured)line andmanifest: apm.yml.Remediation advice (#4090)
core/remediation.pycatalog (Remediation(command, fixes_promise, before, then)), owner entryremediation-advice; closed-world AST detectorcontracts-tooling-remediation-advicewith a shrink-only per-file baseline (.apm/architecture/remediation-advice-baseline.json)test_remediation_advice_lifecycle.py(executed audit proofs and W1 text proofs); W1 component proofstests/unit/core/test_remediation_commands_catalog.pycontracts-tooling-remediation-drift-kinds(emittedDriftFinding(kind=...)literals ==DRIFT_KIND_REMEDIATIONkeys)contracts-tooling-remediation-drift-kinds,drift-kind-orphaned-loses-its-rowinstall --frozenhelp names the hash refusal;init --applyimplies--discoverfrozen-help-drops-hash-refusal,init-apply-stops-implying-discoverinstall/local_edits.py(install_keeps_edit,edited_file_remediations,overwrite_notice); catalogdrift-restore-edited-overwrite/drift-restore-edited-skillkeep delete-then-install and state that a plain install overwrites instructions, agents, prompts, commands and rules and refuses edited skills; the pre-install notice is[!]and names the files; docsenterprise/drift-detection.md,enterprise/enforce-in-ci.mdxtest_local_edit_advice_lifecycle.py(6 kinds, red 6/6 before, executes the printed remedy)remediationCheckResult.remediationsserialized asremediation/remediations; documented on theapm auditreference pagetests/quality/test_cli_command_literals.py: every printedapm <cmd> [flags]literal resolves throughtests/utils/click_tree.py, no baseline. It fixed two init hints that named the nonexistentapm targets setget_config()/is_enabled()are pure reads; onlyupdate_configwritesconfig.json(closed-world sub-check ofregistry_delegation.experimental_flags)tests/unit/core/test_experimental.py::test_flag_read_is_a_pure_read; mutationflag-read-creates-configNote
Residual remediation baseline: see the landing packet. Per Daniel's 10:11 gate, the worker sweep continues in follow-up PRs until it reaches zero.
Module ownership (#4091, from H-J)
registry_delegation.module_ownership: everysrc/apm_climodule has one owner or a shrink-only entry in.apm/architecture/unowned-modules.json(ceiling = list length).install-deployment-lifecycle-serialization-closed-world: every CLI command is serialized, delegated, exempt or pending (unpackis pending the shared bundle admission owner).lifecycle trust/untrust,runtime setup/remove,marketplace migrateandself-updateroute throughinstall/locking.py.core/script_trust.py→lifecycle-script-firing-gate: project script trust.install/exec_gate.py→executable-item-admission: allowExecutables admission.install/phases/cleanup.py→file-level-deploy-sync-cleanup: orphan and stale-file removal.install/phases/targets.py→effective-install-target-selection: install target selection phase.cache/git_cache.py→git-cache-key-normalization: cache keyed by normalized URL.bundle/packer.py→pack-plugin-manifests: pack-time bundle assembly.commands/_helpers.py→orphan-package-selection(restored after a merge dropped it).Issue and approved scope
Squash commit message (for the merge)
Fixes #4089 — scope record: #4089 (comment)
Fixes #4090 — scope record: #4090 (comment)
Fixes #4091 — scope record: #4091 (comment)
Fixes #4092 — scope record: #4092 (comment)
Fixes #4179
Fixes #4181
Fixes #4182
Fixes #4183
Fixes #4184
Fixes #4196 (scope record: #4196 (comment))
Fixes #4327 (scope record: #4327 (comment))
This is the H3 integration PR ("output, remediation and ownership"). It absorbs #4128 and the lane branches for #4090, #4091 and #4092. The sections above describe #4089. The remediation, module-ownership and conformance sections are added as each lane lands.
apm-spec-waiver: output wording, remediation advice and ownership guards only; no OpenAPM-normative behaviour change
Type of change
Testing
Changelog
## [Unreleased]inCHANGELOG.md:user-visible effect first, 25 words or fewer, ending with
(#PR);breaking changes only under upgrade notes; no Highlights; see
.github/instructions/changelog.instructions.md.Spec conformance (OpenAPM v0.1)
CONFORMANCE.{md,json}regeneratedCo-authored-by: Copilot [email protected]