Skip to content

feat(init): add metadata flags for non-interactive project setup - #2231

Merged
Daniel Meppiel (danielmeppiel) merged 7 commits into
microsoft:mainfrom
atulya-singh:feat/2146-init-metadata-flags
Nov 12, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 7 commits into
microsoft:mainfrom
atulya-singh:feat/2146-init-metadata-flags

Conversation

@atulya-singh

Copy link
Copy Markdown
Contributor

Closes #2146.

Problem

apm init's interactive mode collects name, version, description and author, but its non-interactive mode exposes no flag for any of them. Scripted / CI / --yes init is therefore pinned to boilerplate and has to hand-edit apm.yml afterwards. The description -- the field an interactive user is most likely to customize -- is the one a non-interactive user cannot set at all.

$ apm init myproj --yes --description "My cool project"
Error: No such option: --description

Change

Adds --name, --description, --version and --author to apm init, following the apm marketplace init --name/--owner precedent already in the CLI.

The overrides are applied at the point where the interactive and --yes paths converge on the config dict, rather than inside _get_default_config() -- that helper has a second caller in commands/install.py which must stay unaffected. The new _perform_init() parameters are keyword-only and default to None, so apm plugin init (the other caller) is unchanged.

The issue's exact invocation now works:

$ apm init myproj --yes --description "My cool project" --version 0.1.0 --author "Jane Dev"
$ cat myproj/apm.yml
name: myproj
version: 0.1.0
description: My cool project
author: Jane Dev

--name boundary

Per the triage panel's note, the positional argument keeps its contract. It does two jobs -- naming the project and mkdir + chdir -- so it takes precedence over --name, which only labels the manifest. --name covers the in-place case interactive init already allowed:

$ apm init --yes --name custom-name     # names the manifest, creates no subdirectory

Passing both reports the ignored flag rather than dropping it silently:

$ apm init myproj --yes --name ignored-name
[!] --name 'ignored-name' ignored: positional project name 'myproj' takes precedence.

--name also gets the same _validate_project_name check the interactive prompt already enforces, so --name ../evil exits 1.

Two findings from tracing the path

  • Plugin-mode version clobber. _perform_init overwrote config["version"] with 0.1.0 after the config was built (if plugin and yes). That would have silently discarded an explicit --version. It is now gated on version is None, preserving the existing default while honoring the flag. Covered by test_explicit_version_survives_plugin_default.
  • The issue's non-TTY claim is inaccurate. It states non-interactive is "--yes or non-TTY stdin", but the metadata branch keys purely on yes; _stdin_is_tty() only guards the target prompt. Rather than have flags silently ignored outside --yes, they seed the matching prompt defaults, so an empty answer still yields the flag value. This keeps the change consistent with the project's stance against silent field loss. Covered by test_flags_seed_interactive_prompts.

Tests

11 new tests in tests/unit/test_init_command.py::TestInitMetadataFlags, all verified to fail on unmodified main before the fix:

Test Contract
test_description_flag_overrides_boilerplate --description beats auto-detected boilerplate
test_version_flag_overrides_default --version replaces hardcoded 1.0.0
test_author_flag_overrides_git_detection --author beats git config user.name
test_all_metadata_flags_together the issue's full invocation writes exact values
test_name_flag_names_project_in_place --name labels manifest, creates no subdirectory
test_name_flag_applies_with_explicit_dot apm init . --name x is the in-place case
test_positional_arg_wins_over_name_flag_with_warning positional wins; --name reported, not dropped
test_name_flag_rejects_path_separators --name ../evil exits 1
test_flags_seed_interactive_prompts flags honored outside --yes
test_plugin_init_unaffected_by_new_params apm plugin init keeps its 0.1.0 default
test_explicit_version_survives_plugin_default --version survives plugin mode

tests/unit/test_init_command.py: 69 passed (58 pre-existing + 11 new). Wider run across init/plugin/install/helpers/cli: 5152 passed. Three failures there (test_mcp_integrator_install_flow, test_mcp_integrator_install_phase3, test_helpers::test_is_tool_available) were confirmed pre-existing by stashing the change and re-running on clean main. ruff check and ruff format --check clean.

CHANGELOG entry added under [Unreleased] / Added.

`apm init` collected name, version, description and author interactively
but exposed no flag for any of them, so scripted and CI init was pinned to
boilerplate and had to hand-edit apm.yml afterwards. The description --
the field an interactive user is most likely to customize -- was the one a
non-interactive user could not set at all.

Add --name, --description, --version and --author. The overrides are
applied where the interactive and --yes paths converge on the config dict,
so _get_default_config() stays untouched for its other caller in
commands/install.py. The new _perform_init() parameters are keyword-only
and default to None, leaving `apm plugin init` unchanged.

Two details worth noting:

- The positional project name also creates and enters a directory, so it
  keeps precedence over --name, which only labels the manifest. Passing
  both reports the ignored flag rather than dropping it silently. --name
  gets the same validation the interactive prompt already enforces.
- Plugin mode overwrote config["version"] with 0.1.0 after the config was
  built, which would have clobbered an explicit --version. It now applies
  only when no version was given.

Outside --yes the flags seed the matching prompt defaults, so a flag is
never silently discarded.

Closes microsoft#2146

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.

Pull request overview

Adds non-interactive metadata flags to apm init so scripted/CI initialization can set name, description, version, and author without post-editing apm.yml, while preserving the existing positional-argument directory-creation contract.

Changes:

  • Added --name, --description, --version, and --author options to apm init, applying overrides in the shared init path and seeding interactive prompt defaults when --yes is not used.
  • Added unit tests covering the new flag behavior (including precedence, validation, and plugin-mode version defaulting).
  • Added a CHANGELOG entry under [Unreleased].

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/apm_cli/commands/init.py Introduces metadata flags, precedence/validation, and prompt seeding for apm init.
tests/unit/test_init_command.py Adds a new test class validating metadata flag behavior across --yes, interactive, and plugin paths.
CHANGELOG.md Documents the new apm init metadata flags under Unreleased/Added.

Comment thread src/apm_cli/commands/init.py Resolved
Comment thread src/apm_cli/commands/init.py Resolved
Comment thread CHANGELOG.md Resolved

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Suppressed comments (5)

src/apm_cli/commands/init.py:455

  • Flag values passed as empty strings (e.g., --author "") are treated as falsy and replaced by auto-detection/defaults in interactive mode because author or _auto_detect_author() / version or "1.0.0" is used. This breaks the "flags seed prompt defaults" contract for valid (but empty) explicit values; prefer is None checks so only the absence of a flag triggers auto-detection/defaults.
    auto_author = author or _auto_detect_author()
    auto_description = description or _auto_detect_description(default_name)
    auto_version = version or "1.0.0"

src/apm_cli/commands/init.py:93

  • This PR adds new user-facing CLI flags (--name, --description, --version, --author), but the docs/reference surface does not appear updated. At minimum, docs/src/content/docs/reference/cli/init.md and packages/apm-guide/.apm/skills/apm-usage/commands.md should document the new flags and the --name precedence/ignored-warning behavior (per repo docs-sync rules).
@click.option(
    "--name",
    default=None,
    help="Project name written to apm.yml. Ignored when a positional project name is given.",
)

CHANGELOG.md:58

  • Changelog entry formatting does not match the repository's Keep a Changelog / SemVer rules: entries should be a single line per PR and end with (#PR_NUMBER), and contributor credit should be inline (not on a separate -- by ... line). This entry also uses (closes #2146) instead of the standard (#...) PR reference.
- `apm init` now accepts `--name`, `--description`, `--version`, and `--author`,
  so scripted and CI init can write a finished `apm.yml` without hand-editing it
  afterwards. `--name` labels the manifest in place and is reported as ignored
  when a positional project name is given; outside `--yes` the flags seed the
  matching prompt defaults instead of being discarded. (closes #2146)

src/apm_cli/commands/init.py:95

  • --version help text says the default is always 1.0.0, but apm init --plugin --yes defaults to 0.1.0 (see plugin-mode override later in _perform_init). This makes apm init --help misleading for the plugin path.
@click.option("--version", default=None, help="Project version (default: 1.0.0)")

src/apm_cli/commands/init.py:122

  • The init docstring still says the deprecated --plugin/--marketplace flags "will be removed in v0.16" (later in this docstring), but the repo is already past that version (CHANGELOG shows 0.25.0). Please update this to a current removal milestone or make it version-agnostic to avoid user-facing drift.
    can produce a finished manifest. Outside --yes they seed the prompt
    defaults rather than being discarded.

    Producers: prefer 'apm plugin init' (plugin scaffold) or
    'apm marketplace init' (marketplace block). The --plugin and

@sergio-sisternes-epam

Copy link
Copy Markdown
Collaborator

APM Review Panel: needs_rework

PR #2231 adds --name, --description, --version, --author flags to apm init, unlocking non-interactive CI/scripted project setup -- table-stakes parity with npm/cargo that unblocks pipeline adopters.

cc atulya-singh Daniel Meppiel (@danielmeppiel) Sergio Sisternes (@sergio-sisternes-epam) -- a fresh advisory pass is ready for your review.

All eight active panelists converge: the implementation is correct, minimal, and well-tested. The python-architect validated the precedence logic and plugin-mode fix; supply-chain-security confirmed no injection vector; CLI logging and DevX UX found only nits. The single point of real tension is the doc-writer's blocking finding: the canonical CLI reference page ships without the four new flags. This is not a hypothetical drift -- it is drift introduced by this PR itself, discoverable the moment a user runs apm init --help, sees --name, and checks the docs. I side with the doc-writer: doc drift on a first-run command is a conversion leak, not a cosmetic gap. The fix is mechanical (four table rows + one example), so it should not delay the PR -- but it must land in the same merge or a stacked commit.

The test-coverage-expert's missing edge-case finding (empty/whitespace --name) carries outcome: missing on a devx surface. It is not blocking because the failure mode is local (user's own apm.yml) and recoverable, but it ranks above opinion-only recommendations per the evidence weighting contract. The DevX UX recommendation for a confirmation echo in --yes mode is a genuine improvement aligned with npm's behavior but is additive, not a regression -- safe to defer to a follow-up.

Strategically, this PR reinforces APM's positioning as the package manager that works like the tools developers already know. The CHANGELOG entry should draw that parallel explicitly.

Dissent. Doc-writer classified the missing CLI reference rows as blocking; no other panelist challenged this. The CEO upholds the severity: the PR introduces the drift, and apm init is the #1 first-run command -- letting docs lag here directly harms the conversion funnel. However, since the panel is advisory, this is framed as "should not ship without" rather than a merge gate.

Aligned with: Pragmatic-as-npm (flags mirror npm/cargo conventions; --name seeds interactive prompt default); Portable-by-manifest (enables fully reproducible project scaffolding from a single CLI invocation -- no manual file editing required).

Growth signal. Non-interactive init flags are table-stakes for CI adopters (npm/pip/cargo all have this). Recommend: (a) release-note beat positions APM as "npm-like for AI packages" by drawing the explicit parallel; (b) docs/integrations/ci-cd page gets a one-liner example; (c) templates could pre-populate a GitHub Actions workflow that uses apm init --yes -- second-use retention hook for the CI segment.

Panel summary

Persona B R N Takeaway
Python Architect 0 1 2 Clean, minimal feature addition; keyword-only params with None defaults are the right pattern at this scale.
CLI Logging Expert 0 0 2 Messages use CommandLogger correctly and are ASCII-only; two cosmetic nits on help text.
DevX UX Expert 0 1 3 Flag names align well with npm/cargo conventions; no confirmation echo in --yes mode is the one gap.
Supply Chain Security Expert 0 0 1 Low risk; YAML injection not possible via dump_yaml; one nit on null-byte validation.
OSS Growth Hacker 0 2 1 Table-stakes CI unblock; missed opportunity to draw the npm parallel in CHANGELOG and docs.
Doc Writer 1 2 1 New flags absent from the canonical CLI reference page -- blocking drift introduced by this PR.
Test Coverage Expert 0 1 1 11 new tests cover critical surfaces well; empty-string --name edge case untested.

B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.

Top 5 follow-ups

  1. [Doc Writer] (blocking-severity) Add --name, --description, --version, --author to docs/reference/cli/init.md Options table and include a scripted-init example -- doc drift introduced by this PR on the Why do we need a GitHub token? #1 first-run command; mechanical fix that should land in the same merge.
  2. [Test Coverage Expert] Add test for empty-string and whitespace-only --name flag -- outcome: missing on a devx surface; empty name could violate lockfile keying expectations downstream.
  3. [Doc Writer] Fix CHANGELOG attribution format to include PR number: (closes #2146) -- by @atulya-singh (#2231) -- consistency with adjacent entries; trivial fix.
  4. [DevX UX Expert] Add confirmation echo in --yes mode: Created apm.yml (name=foo, version=1.0.0) -- npm parity; CI scripts cannot verify intent without a follow-up cat.
  5. [Doc Writer] Update packages/apm-guide/.apm/skills/apm-usage/commands.md with the four new flags for apm init -- keeps the apm-expert agent's quick-reference current and prevents stale advice.

Architecture

classDiagram
    direction LR
    class InitCommand {
        <<ClickCommand>>
        +project_name
        +yes
        +plugin
        +name
        +description
        +version
        +author
    }
    class _perform_init {
        <<SharedBody>>
        +project_name
        +yes
        +plugin
        +name: str|None
        +description: str|None
        +version: str|None
        +author: str|None
    }
    class PluginInitCommand {
        <<ClickCommand>>
    }
    class CommandLogger {
        <<Base+Subclass>>
        +start()
        +warning()
        +error()
    }
    class _interactive_project_setup {
        <<Pure>>
        +default_name
        +description: str|None
        +version: str|None
        +author: str|None
    }
    class _get_default_config {
        <<Pure>>
        +name
    }
    InitCommand --> _perform_init : delegates
    PluginInitCommand --> _perform_init : delegates (no metadata flags)
    _perform_init --> CommandLogger : uses
    _perform_init --> _interactive_project_setup : if not --yes
    _perform_init --> _get_default_config : if --yes
    classDef touched fill:#fff3b0,stroke:#d47600
    class InitCommand:::touched
    class _perform_init:::touched
    class _interactive_project_setup:::touched
Loading
flowchart TD
    A["CLI: apm init --name X --version 2.0 --yes"] --> B{"positional project_name?"}
    B -->|Yes + --name| C["logger.warning: --name ignored"]
    C --> D["_validate_project_name(project_name)"]
    B -->|No| E{"--name provided?"}
    E -->|Yes| F["_validate_project_name(name)"]
    F -->|Invalid| G["logger.error + sys.exit(1)"]
    F -->|Valid| H["final_project_name = name"]
    E -->|No| I["final_project_name = cwd.name"]
    D --> J{"--yes flag?"}
    H --> J
    I --> J
    J -->|Yes| K["_get_default_config(final_project_name)"]
    K --> L["override loop: config[field] = flag if not None"]
    L --> M{"plugin and version is None?"}
    M -->|Yes| N["config.version = 0.1.0"]
    M -->|No| O["keep config.version"]
    J -->|No| P["_interactive_project_setup(desc, ver, author as defaults)"]
    P --> Q["Prompt.ask with seeded defaults"]
    Q --> R["_confirm_setup_summary"]
    N --> S["write apm.yml"]
    O --> S
    R --> S
Loading

Recommendation

Ship once docs/src/content/docs/reference/cli/init.md includes the four new flags and at least one scripted-init example. This is a mechanical addition that should not delay the PR beyond the current review cycle. The empty-string test gap and confirmation echo are strong follow-ups but do not block merge. The feature itself is correct, well-tested, and strategically important for CI adoption.


Full per-persona findings

Python Architect

  • [recommended] Consider an InitMetadata dataclass when the next metadata flag lands at src/apm_cli/commands/init.py:160
    _perform_init now takes 10 positional/keyword params. The current count is tolerable but one more flag tips it into 'parameter object' territory. A frozen dataclass (InitMetadata with name/description/version/author) would collapse 4 params into 1, make the --yes override loop a method, and keep the function signature stable.
    Suggested: Add a # TODO(#2146): extract InitMetadata dataclass if a 5th metadata field is added comment near _perform_init's signature.
  • [nit] The override loop in --yes path could be a dict comprehension merge at src/apm_cli/commands/init.py:254
    Minor readability preference -- current form is fine.
  • [nit] Double-backslash in f-string error message is fragile at src/apm_cli/commands/init.py:197
    Consistent with existing code but a raw string or named constant would be cleaner.

CLI Logging Expert

  • [nit] --name help text is a full sentence while peer flags are terse fragments at src/apm_cli/commands/init.py:91
    Makes apm init --help visually uneven. The runtime warning already covers the caveat.
    Suggested: help="Project name for apm.yml (default: directory name)"
  • [nit] Escaped backslash literal in error message is fragile at src/apm_cli/commands/init.py:188
    Renders correctly but double-escaped source is hard to read.
    Suggested: "project names must not contain path separators or be '..'."

DevX UX Expert

  • [recommended] No confirmation echo in --yes mode
    When running apm init --yes --name foo --description bar, user gets no stdout summary of what was written to apm.yml. npm prints "Wrote to /path/package.json". Without this, CI scripts can't verify intent without a follow-up cat.
    Suggested: Add one-line success summary: Created apm.yml (name=foo, version=1.0.0)
  • [nit] Warning message is verbose for a common CI typo
    Consider the shorter: Ignoring --name 'foo'; using positional name 'bar'.
  • [nit] Help text for --description says 'auto-detected' without explaining how
    (default: auto-detected) is opaque in CI contexts. Consider (default: empty) or naming the detection source.
  • [nit] --name seeds prompt outside --yes -- should be documented in --help
    Adding (used as prompt default in interactive mode) to help text removes guesswork.

Supply Chain Security Expert

  • [nit] _validate_project_name allows null bytes and control characters at src/apm_cli/commands/_helpers.py
    Validator only rejects path separators and '..'. Low severity because name is only written to user's own apm.yml -- no registry lookup or trust boundary crossed.
    Suggested: Consider name.isprintable() and '\x00' not in name check.

OSS Growth Hacker

  • [recommended] Release-note story angle: draw the npm parallel explicitly at CHANGELOG.md
    CHANGELOG explains what flags do but misses the hook: "apm init now works like npm init -y -- one line, no prompts, CI-ready."
  • [recommended] Add a CI/scripted setup snippet to quickstart or ci-cd docs page at docs/src/content/docs/getting-started/quick-start.md
    No docs page currently shows apm init myproj --yes as a CI pattern. A 3-line scripted setup example converts pipeline-oriented visitors.
  • [nit] Help text could reinforce the CI story at src/apm_cli/commands/init.py
    Appending (useful for scripted/CI workflows) to at least one flag's help text makes --help a conversion surface.

Auth Expert -- inactive

No auth fast-path files changed; PR adds CLI metadata flags to apm init with no impact on token management, credential resolution, or host classification.

Doc Writer

  • [blocking] New metadata flags missing from the CLI reference Options table at docs/src/content/docs/reference/cli/init.md:35
    The Options table lists existing flags but not --name, --description, --version, --author. Readers consulting the canonical CLI reference after this PR ships will find no trace of these flags. This is doc drift introduced by the PR itself.
    Suggested: Add four rows to the Options table, a Behavior note that each auto-detected field can be overridden, and one scripted-init example.
  • [recommended] CHANGELOG attribution format inconsistent with surrounding entries at CHANGELOG.md:59
    New entry uses -- by @atulya-singh standalone; adjacent entries use inline (closes #NNNN) -- by @login (#PR).
    Suggested: (closes #2146) -- by @atulya-singh (#2231)
  • [recommended] packages/apm-guide commands.md missing the four new flags for apm init at packages/apm-guide/.apm/skills/apm-usage/commands.md
    This file is the authoritative quick-reference used by the apm-expert agent. Keeping it current prevents the agent from giving stale advice.
    Suggested: Append --name, --description, --version, --author to the Key flags cell for apm init.
  • [nit] Examples section in CLI reference has no CI/scripted-init example at docs/src/content/docs/reference/cli/init.md:80
    Page already has a --yes example. Adding one with metadata flags makes the CI use-case discoverable.

Test Coverage Expert

  • [recommended] No test for empty-string or whitespace-only --name flag at tests/unit/test_init_command.py
    If validation silently accepts empty strings, the resulting apm.yml violates downstream expectations. Probed tests/unit/test_init_command.py for 'empty' and 'whitespace' in TestInitMetadataFlags -- no match found.
    Suggested: Add test_empty_or_whitespace_name_flag_rejected asserting --name '' and --name ' ' either exit non-zero or fall back to directory-name default.
    Proof (missing): tests/unit/test_init_command.py::test_empty_or_whitespace_name_flag_rejected -- proves: Empty --name does not produce an invalid apm.yml [devx]
  • [nit] Warning assertion in positional-vs-name test is loosely coupled to wording
    Asserts '--name' in output and 'ignored' in output.lower() -- acceptable pattern; no change required.
    Proof (passed): tests/unit/test_init_command.py::test_positional_arg_wins_over_name_flag_with_warning -- proves: When positional arg conflicts with --name, the user is warned and positional wins [devx]

Performance Expert -- inactive

No performance hot-path files changed; PR adds CLI flags to apm init with no impact on install/update latency, cache layout, or dependency resolution.

This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.

@sergio-sisternes-epam Sergio Sisternes (sergio-sisternes-epam) removed the panel-review Request an advisory PR review; consumed after review. Not human approval or a merge gate. label Aug 18, 2026
@sergio-sisternes-epam

Copy link
Copy Markdown
Collaborator

PR triage recommendation

needs-issue

Recommendation only, not merge or scope approval. A responsible
human maintainer must approve. Labels, automated advice, and
silence are not approval.

Linked issue

#2146 -- open; labels area/cli, type/feature, triage/recommended. Not status/accepted. Agentic issue-triage comments are not human scope approval.

Proposed classification

area/cli, type/feature (match the linked issue; PR currently has none).

Suggested next action

Wait for a human maintainer to record status/accepted on #2146. Until then this PR stays status/deferred and is not invited for implementation.

CODEOWNERS review requests already present: Daniel Meppiel (@danielmeppiel), Sergio Sisternes (@sergio-sisternes-epam). This comment does not add or remove review requests.

Suggested PR comment

Thank you for contributing this pull request, @atulya-singh. APM starts with an
issue, not an implementation
(https://github.com/microsoft/apm/blob/main/CONTRIBUTING.md).

#2146 is linked (`Closes #2146`) and describes the same `apm init` metadata-flag
gap, but it is not labelled `status/accepted`. Automated triage advice and
silence are not scope approval.

Please wait for a maintainer to review and accept #2146 first. This PR is
labelled `status/deferred` until that happens.

@sergio-sisternes-epam Sergio Sisternes (sergio-sisternes-epam) added triage/recommended Automated advice completed; not human scope approval. status/deferred Not invited for implementation now; no release commitment. area/cli CLI command surface, flags, help text (cross-cutting). type/feature New capability, new flag, new primitive. labels Sep 16, 2026
@danielmeppiel Daniel Meppiel (danielmeppiel) removed the status/deferred Not invited for implementation now; no release commitment. label Nov 12, 2026
Resolve the init.py conflict by keeping main's typed init signature,
--discover routing, and bootstrap project-name fallback while threading
the --name/--description/--version/--author flags through _init_scaffold
into _perform_init. Fold the review follow-ups for microsoft#2146 scope:

- --name/--version use `is not None` checks and are trimmed like prompt
  answers; empty or whitespace --name now fails the shared project-name
  rule and empty --version fails (apm.yml requires a non-empty version).
- Interactive prompt seeding uses `is None` so an explicit empty flag is
  not replaced by auto-detection (Copilot inline on init.py:455).
- --discover refuses metadata flags instead of silently dropping them.
- --version help names the plugin-mode 0.1.0 default.
- CHANGELOG entry moved to [Unreleased] in the one-line format with the
  PR number (Copilot inline on CHANGELOG.md:59); a stale microsoft#2005 entry the
  auto-merge resurrected is dropped.
- CLI reference and apm-usage commands guide list the four flags
  (Copilot inline on init.py:96; panel doc-writer follow-ups).
- Tests: each flag with --yes and with piped non-TTY input, defaults
  unchanged, name/version rejection, trimming, explicit-empty seeding,
  and --discover refusal.

Co-authored-by: atulya-singh <[email protected]>
Co-authored-by: Copilot App <[email protected]>
@danielmeppiel

Copy link
Copy Markdown
Collaborator

APM Review Panel: ship_with_followups

Community PR ships scriptable apm init metadata flags (--name, --description, --version, --author), unlocking one-command project setup for CI/CD and template authors.

panel-mode=full; personas=python-architect,test-coverage-expert,doc-writer,devx-ux-expert,cli-logging-expert(adhoc),oss-growth-hacker,apm-ceo

cc atulya-singh Daniel Meppiel (@danielmeppiel) Sergio Sisternes (@sergio-sisternes-epam) -- a fresh advisory pass is ready for your review.

Six panelists converged cleanly: zero blocking findings, zero dissent on severity, and the test-coverage-expert returned a spotless report -- all eight Done-when criteria from the approved scope are covered by 33 passing parametrized tests with mutation-break regression traps. That is an unusually strong evidence floor for a community-authored feature PR. The material delta since the prior panel (2026-08-18, needs_rework) is substantial: the merge-worker folded CLI reference docs for all four flags, apm-usage commands.md entries, CHANGELOG format, empty/whitespace --name rejection, empty --version rejection, is-None prompt seeding for the interactive path, --discover + metadata flag refusal, and per-flag --yes and non-TTY tests. Every item the prior panel flagged as blocking or recommended is now resolved in the current head (2ced01c).

The highest-signal remaining item is the doc-writer's recommended finding: the init.md intro, the CHANGELOG line, and commands.md all say the metadata flags work 'without prompts', which is only true with --yes. Without --yes the flags seed prompt defaults -- still useful, but a different UX contract. This is a wording-only fix inside the approved docs scope; the merge-worker should fold it before landing. The python-architect's recommended finding (partial consolidation of _invalid_project_name_message into the interactive path) is a clean internal refactor that reduces future wording-drift risk and stays inside scope. Both doc-writer and devx-ux independently flagged the --version help text missing the --yes qualifier for the plugin 0.1.0 default -- cross-panelist agreement on a one-token fix.

Strategically, this PR is high-value. It is APM's first scripted-init surface -- the primitive that CI pipelines, template generators, and quickstart guides need before they can wire apm init into a single reproducible command. The contributor (atulya-singh) delivered a complete feature with tests, docs, and CHANGELOG on a community fork with maintainerCanModify enabled. That is exactly the contribution pattern we want to reward with a fast, clean merge cycle.

Aligned with: Portable-by-manifest (Flags write standard apm.yml fields (name, description, version, author); manifest schema and portability are unchanged.); Pragmatic-as-npm (Mirrors cargo init --name / npm init --yes conventions; zero learning curve for existing package-manager users.); OSS community-driven (First-time community contributor (atulya-singh) shipping a feature end-to-end from issue to passing tests and docs.)

Growth signal. atulya-singh's PR unlocks a one-command project setup story for CI/CD and template authors -- the prerequisite for quickstart snippets, starter workflows, and a 'copy one line' onboarding proof moment. The oss-growth-hacker notes this enables the next docs pass (out of this PR's scope): a README/quickstart CI snippet and a starter workflow that inlines a single apm init line. Shout out the first-time contributor in the release notes.

Panel summary

Persona B R N Takeaway
Python Architect 0 1 2 Clean metadata threading with correct flag precedence; partial error-text consolidation leaves a canonical-authority gap in the interactive path.
CLI Logging Expert 0 0 1 All new output routes through CommandLogger; ASCII-only; wording is clear, names the thing, and follows traffic-light severity. One nit: empty-version error omits a fix suggestion.
DevX UX Expert 0 0 1 Flags mirror cargo init --name precedent; help, errors, exit codes, and prompt seeding are solid. One help-text nit.
OSS Growth Hacker 0 0 2 Scripted-init story is well-shaped; CHANGELOG hook lands; two polish nits on the docs example and release-note mining.
Doc Writer 0 1 1 The docs match the code: the option rows, the --yes vs prompt-seeding paragraph and the exit codes are correct. The intro and CHANGELOG wrongly say the flags avoid prompts without --yes.
Test Coverage Expert 0 0 0 All 8 Done-when criteria covered by 33 passing parametrized tests (7.04s); each flag exercised under --yes, non-TTY, in-place, and positional paths with mutation-break regression traps.

B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.

Top 5 follow-ups

  1. [Doc Writer] Fix 'without prompts' wording in init.md intro, CHANGELOG line, and commands.md to clarify the flags only skip prompts with --yes; without it they seed prompt defaults. -- Misleading public docs contract -- users piping non-TTY stdin will still see prompts. Wording-only fix, stays inside approved docs scope. Merge-worker should fold before landing.
  2. [Python Architect] Route the two inline validation-error strings in _interactive_project_setup through _invalid_project_name_message() to complete the consolidation. -- Partial consolidation leaves a wording-drift risk between the --name and interactive paths. Output-identical refactor, stays inside approved scope.
  3. [Doc Writer + DevX UX Expert] Change --version Click help text from '0.1.0 with --plugin' to '0.1.0 with --plugin --yes' to match the actual code gate. -- Cross-panelist agreement on a one-token fix. Interactive plugin mode defaults the prompt to 1.0.0, contradicting the current help text. Stays inside approved scope.
  4. [CLI Logging Expert] Append a recovery hint to the empty-version error message: 'Provide a version string (e.g. 1.0.0) or omit --version to use the default.' -- APM message-writing rule Add ARM64 Linux support to CI/CD pipeline #4 (include the fix). The error exits 1 with no guidance. Stays inside approved scope.
  5. [OSS Growth Hacker] Add expected output lines (success banner + Created Files) after the scripted-metadata docs example. -- The primary proof moment for CI authors currently shows a bare one-liner with no visible result. Stays inside approved docs scope. Separate from the out-of-scope quickstart/README CI snippet tracked in the growth strategy.

Architecture

classDiagram
    direction LR
    class init_command {
        <<ClickCommand>>
        +init(ctx, project_name, yes, plugin, name, description, version, author)
    }
    class _init_scaffold {
        <<Procedural>>
        +_init_scaffold(ctx, ..., name, description, version, author)
    }
    class _perform_init {
        <<Facade>>
        +_perform_init(project_name, yes, ..., name, description, version, author)
    }
    class _interactive_project_setup {
        <<IOBoundary>>
        +_interactive_project_setup(default_name, logger, description, version, author) dict
    }
    class _get_default_config {
        <<Pure>>
        +_get_default_config(project_name) dict
    }
    class _invalid_project_name_message {
        <<Pure>>
        +_invalid_project_name_message(name) str
    }
    class validate_project_name {
        <<Pure>>
        +validate_project_name(name) bool
    }
    class CommandLogger {
        <<BaseClass>>
        +error(msg)
        +warning(msg)
    }
    init_command ..> _init_scaffold : delegates
    _init_scaffold ..> _perform_init : delegates
    _perform_init ..> _interactive_project_setup : interactive path
    _perform_init ..> _get_default_config : --yes path
    _perform_init ..> _invalid_project_name_message : error text
    _perform_init ..> validate_project_name : validates name and --name
    _interactive_project_setup ..> validate_project_name : prompt loop
    _perform_init ..> CommandLogger : logs
    class init_command:::touched
    class _init_scaffold:::touched
    class _perform_init:::touched
    class _interactive_project_setup:::touched
    class _invalid_project_name_message:::touched
    classDef touched fill:#fff3b0,stroke:#d47600
Loading
flowchart TD
    A["apm init --name N --version V --author A --yes"] --> B{"--discover set?"}
    B -->|yes| C["click.UsageError if any metadata flag is set; exit 2"]
    B -->|no| D["_init_scaffold forwards keyword args"]
    D --> E["_perform_init"]
    E --> F["strip name, description, version, author"]
    F --> G{"positional PROJECT_NAME and --name?"}
    G -->|yes| H["logger.warning: --name ignored; name = None"]
    G -->|no| I{"--name given?"}
    H --> I
    I -->|yes| J["validate_project_name"]
    J -->|invalid| K["logger.error; exit 1"]
    J -->|valid| L{"--version empty?"}
    I -->|no| L
    L -->|empty| M["logger.error; exit 1"]
    L -->|None or non-empty| N{"--yes?"}
    N -->|yes| O["_get_default_config then override set flags"]
    N -->|no| P["_interactive_project_setup with flags as prompt defaults"]
    O --> Q{"plugin and yes and version is None?"}
    Q -->|yes| S["config version = 0.1.0"]
    Q -->|no| R["write apm.yml"]
    S --> R
    P --> R
Loading

Recommendation

Fold the five follow-ups above (all in-scope, none blocking) and land. The doc-writer's 'without prompts' wording fix is the highest-signal item -- it corrects a public contract claim that would mislead non-TTY users. After folding, this is a clean, well-tested community feature that advances APM's scripted-init surface. Track the quickstart/README CI snippet and release-note contributor shout-out as separate post-merge items.


Full per-persona findings

Python Architect

  • [recommended] _invalid_project_name_message() only partially consolidates the validation error text -- _interactive_project_setup still has two inline copies. at src/apm_cli/commands/init.py:72
    The new helper shares the project-name rule between the positional-arg and --name validations, but the Rich and click branches of _interactive_project_setup keep inline copies of the same string. A wording fix in the helper would silently diverge from the prompts. The interactive copies are pre-existing; routing them through the helper is output-identical.
    Suggested: Replace the two inline strings with _invalid_project_name_message(name), wrapping it in Rich [error] markup or ERROR/RESET at the call site.
  • [nit] New keyword params on _init_scaffold and _perform_init lack type annotations. at src/apm_cli/commands/init.py:244
    The four new keyword params are typed only by their None defaults; str | None hints match the new helper's hints and the type-hints-on-public-APIs standard.
    Suggested: name: str | None = None, description: str | None = None, version: str | None = None, author: str | None = None
  • [nit] Plugin-mode version gate runs after the --yes override loop; precedence is correct but non-obvious. at src/apm_cli/commands/init.py:396
    The gate checks the raw --version flag, not config['version']; a one-line comment anchors that intent against future reordering.
    Suggested: Comment: checks the raw --version flag, not config['version'], so an explicit --version wins.

CLI Logging Expert

  • [nit] Empty-version error message does not include a recovery hint. at src/apm_cli/commands/init.py:299
    APM message-writing rule Add ARM64 Linux support to CI/CD pipeline #4 ('Include the fix') says every error/skip message should tell the user what to do next. The --name-ignored warning is self-explanatory (command continues), but the --version error exits 1 without suggesting the fix.
    Suggested: Append a recovery clause: Provide a version string (e.g. '1.0.0') or omit --version to use the default.

DevX UX Expert

  • [nit] --version help text omits the --yes qualifier for the plugin 0.1.0 default at src/apm_cli/commands/init.py:119
    Click help says 'default: 1.0.0, or 0.1.0 with --plugin' but the 0.1.0 override only fires with --yes (code: if plugin and yes and version is None). The docs table correctly says '--plugin --yes'. A user running interactive plugin init expecting 0.1.0 as the version prompt default will see 1.0.0 instead, contradicting the help text.
    Suggested: Change help text to: "Project version (default: 1.0.0, or 0.1.0 with --plugin --yes)"

OSS Growth Hacker

  • [nit] Scripted metadata example shows no expected output, weakening the proof moment. at docs/src/content/docs/reference/cli/init.md
    The first example shows the success banner and Created Files list; the new scripted-metadata example, the primary proof for CI authors, is a bare one-liner. Showing the success line makes it copy-paste-and-verify friendly.
    Suggested: Add the '[+] APM project initialized successfully!' and Created Files lines after the scripted example.
  • [nit] CHANGELOG hook is diluted by the --name caveat in the second clause. at CHANGELOG.md
    The 'so' clause is the repostable story; the --name positional caveat is reference detail already covered by the CLI reference page.
    Suggested: Front-load the one-command story; keep the --name caveat short or leave it to the reference page.

Doc Writer

  • [recommended] The init.md intro, the CHANGELOG line and commands.md say the metadata flags work 'without prompts', which only holds with --yes. at docs/src/content/docs/reference/cli/init.md:19
    When --yes is absent (including piped non-TTY stdin), _perform_init still calls _interactive_project_setup and _confirm_setup_summary; the flags only seed prompt defaults. The Options paragraph in init.md is correct, but the intro, the CHANGELOG line and the commands.md cell contradict it. The intro also says 'those fields' after listing three auto-detected fields while four flags exist (version is not auto-detected). Wording only; stays inside the approved scope.
    Suggested: init.md intro: 'With --yes, --name, --description, --version, and --author set those apm.yml fields without prompts.' CHANGELOG: 'apm init --yes writes a finished apm.yml without prompts; without --yes the flags seed the prompt defaults'. commands.md: 'set manifest metadata with -y and seed the prompt defaults without it'.
  • [nit] The --version help text says '0.1.0 with --plugin', but the code applies 0.1.0 only with --plugin --yes. at src/apm_cli/commands/init.py
    The gate is if plugin and yes and version is None; interactive plugin mode defaults the prompt to 1.0.0. The docs row is accurate but apm init --help is less precise than the reference page.
    Suggested: help="Project version (default: 1.0.0, or 0.1.0 with --plugin --yes)"

Test Coverage Expert

No findings.

This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.


Generated by autopilot-pr-review-worker. This comment is AI-generated and may contain errors.

Address the iteration-1 advisory panel on microsoft#2231 (all inside the microsoft#2146
apm-scope:v1 record):

- Docs, apm-usage guide, and CHANGELOG now say the flags skip prompts
  only with --yes and seed the prompt defaults otherwise (doc-writer).
- --version help names the real plugin default gate (--plugin --yes)
  (doc-writer, devx-ux-expert).
- Empty --version error tells the user how to recover (cli-logging).
- Interactive prompts reuse _invalid_project_name_message, completing
  the single rule text; this imports ERROR, which the click fallback
  referenced without importing (python-architect).
- Type hints on the new keyword params and a comment on the plugin
  version gate (python-architect nits).
- Scripted docs example shows expected output (oss-growth-hacker).

Co-authored-by: atulya-singh <[email protected]>
Co-authored-by: Copilot App <[email protected]>
`apm init --version VALUE` now sets the manifest version (microsoft#2146), so a
bare `apm init --version` is Click's missing-argument usage error (exit
2) instead of "No such option". The entrypoint still delegates to Click
unchanged, which is what the case guards. Fixes CI shard 2 on microsoft#2231.

Co-authored-by: atulya-singh <[email protected]>
Co-authored-by: Copilot App <[email protected]>
The click fallback in _interactive_project_setup referenced ERROR
without importing it, so an invalid name crashed with NameError when
Rich was unavailable; e634799 fixed the import. Add a regression trap
that drives the fallback with an invalid then valid name and asserts
the shared rule text. Verified failing with the ERROR import removed.
Addresses delta-panel test-coverage-expert finding on microsoft#2231.

Co-authored-by: atulya-singh <[email protected]>
Co-authored-by: Copilot App <[email protected]>
@danielmeppiel

Copy link
Copy Markdown
Collaborator

APM Review Panel: ship_now

Delta panel unanimous: the single regression-trap gap (click fallback invalid-name) is folded and mutation-verified; all iteration-1 follow-ups resolved; community feature ships clean.

panel-mode=delta; personas=python-architect,test-coverage-expert,doc-writer,devx-ux-expert,cli-logging-expert,oss-growth-hacker,apm-ceo

cc atulya-singh Daniel Meppiel (@danielmeppiel) Sergio Sisternes (@sergio-sisternes-epam) -- a fresh advisory pass is ready for your review.

Since the 2ced01c advisory the merge-worker folded all five in-scope follow-ups (docs wording, shared invalid-name message routing, help-text plugin default, empty-version recovery hint, scripted example output) plus two architect nits, and then addressed the sole delta finding -- a missing regression trap for the click-fallback invalid-name error path identified by the test-coverage-expert. That test (test_fallback_text_path_reprompts_on_invalid_name) landed in 7f6bbd1 with mutation-break verification: removing the ERROR import makes the test fail, which is exactly the guardrail the panel asked for. The CI-only failure at 2ced01c (test_version_entrypoint.py pinning stale Click output for apm init --version) was a mechanical consequence of the approved scope adding --version VALUE and was corrected in e6bbb33 by expecting Click's requires an argument message -- still exit 2, the entrypoint still delegates to Click.

All six delta panelists converge: python-architect confirms the prior nits (message routing, type hints, plugin-gate comment) are resolved; doc-writer and devx-ux-expert confirm docs, CHANGELOG, and help text match init.py; cli-logging-expert confirms the recovery hint and the ERROR import fix; oss-growth-hacker confirms the scripted example shows real output. No new findings, no dissent. The PR closes #2146 within its approved scope and is up to date with current main.

Aligned with: Portable-by-manifest (Metadata flags write directly to apm.yml, enabling fully scripted project scaffolding in CI.); OSS community-driven (Community contribution by atulya-singh closing maintainer-approved #2146; follow-ups folded via maintainerCanModify with co-author credit.); Pragmatic-as-npm (--yes plus metadata flags match npm init -y / cargo init --name workflows; prompt seeding without --yes keeps interactive discoverability.)

Growth signal. Clean community contribution cycle: scoped issue, two panel passes, all follow-ups folded, contributor credited in CHANGELOG -- worth highlighting in release notes.

Panel summary

Persona B R N Takeaway
Python Architect 0 0 0 All 3 prior findings (message routing, type hints, plugin-gate comment) cleanly resolved; no new architectural concerns in delta.
CLI Logging Expert 0 0 0 Prior empty-version recovery-hint nit resolved; ERROR import fix closes a latent NameError in the click fallback path; no output regressions.
DevX UX Expert 0 0 0 Delta resolves prior help-text nit; bare init --version error is standard Click behavior and more accurate; no new CLI surface concerns.
OSS Growth Hacker 0 0 0 Both prior nits resolved; docs example shows output, CHANGELOG hook is clean. No new growth-surface concerns in delta.
Doc Writer 0 0 0 Both earlier doc-writer findings are fixed. The delta's docs, CHANGELOG, guide row and help text match init.py. No new issues; ship.
Test Coverage Expert 0 1 0 Delta regression traps intact for recovery hint, entrypoint expectation, and Rich-path error routing; click fallback invalid-name error path (ERROR import bug fix) had no regression trap.

B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.

Top 2 follow-ups

  1. [DevX UX Expert] Add a confirmation echo in --yes mode (e.g. name and version written). -- Post-merge, out of scope for [FEATURE] Non-interactive flags for apm init project metadata (name, description, version, author) #2146: an output change outside the approved surface; npm-parity polish for a separate issue.
  2. [OSS Growth Hacker] Show the new metadata flags in a README/quickstart CI snippet. -- Post-merge, out of scope for [FEATURE] Non-interactive flags for apm init project metadata (name, description, version, author) #2146: docs outside the approved CLI-reference + apm-usage surface; next docs sweep.

Folded in this run

  • (merge) Merged current main; resolved the init.py conflict with main's --discover routing and bootstrap-name fallback -- resolved in 2ced01c.
  • (Copilot) Prompt seeding uses is None, so an explicit empty flag is kept -- resolved in 2ced01c.
  • (Copilot, doc-writer) CLI reference and apm-usage commands guide list the four options -- resolved in 2ced01c, e634799.
  • (Copilot, doc-writer) CHANGELOG entry moved to [Unreleased] in one-line format with (#2231) -- resolved in 2ced01c, e634799.
  • (scope record) Per-flag tests with --yes and piped non-TTY input, defaults-unchanged test -- resolved in 2ced01c.
  • (scope record, test-coverage) Empty/whitespace --name rejected with the shared rule; empty --version rejected -- resolved in 2ced01c.
  • (devx) --discover refuses metadata flags instead of dropping them -- resolved in 2ced01c.
  • (doc-writer) Flags skip prompts only with --yes; docs/CHANGELOG/guide wording fixed -- resolved in e634799.
  • (doc-writer, devx) --version help names the --plugin --yes default gate -- resolved in e634799.
  • (cli-logging) Empty --version error gives a recovery hint -- resolved in e634799.
  • (python-architect) Interactive prompts reuse _invalid_project_name_message (fixes the missing ERROR import in the click fallback); type hints; plugin-gate comment -- resolved in e634799.
  • (oss-growth) Scripted docs example shows expected output -- resolved in e634799.
  • (CI) test_version_entrypoint.py expects Click's requires an argument for bare apm init --version -- resolved in e6bbb33.
  • (test-coverage, delta) Regression trap for the click-fallback invalid-name path -- resolved in 7f6bbd1.

Copilot signals reviewed

  • src/apm_cli/commands/init.py:455 -- LEGIT: empty flag values were replaced by auto-detection (resolved in 2ced01c).
  • src/apm_cli/commands/init.py:96 -- LEGIT: docs and apm-usage guide missing the flags (resolved in 2ced01c).
  • CHANGELOG.md:59 -- LEGIT: entry format and PR reference (resolved in 2ced01c).
  • src/apm_cli/commands/init.py:95 (suppressed) -- LEGIT: --version help omitted the plugin default (resolved in e634799).
  • src/apm_cli/commands/init.py:122 (suppressed) -- NOT-LEGIT for this PR: the "removed in v0.16" deprecation text predates this PR and is outside the [FEATURE] Non-interactive flags for apm init project metadata (name, description, version, author) #2146 scope.

Deferred (out-of-scope follow-ups)

  • (devx-ux-expert) Confirmation echo in --yes mode -- scope boundary: new init output beyond the four metadata flags.
  • (oss-growth-hacker) README/quickstart CI snippet -- scope boundary: docs beyond the CLI reference and apm-usage guide named in the scope record.

Regression-trap evidence (mutation-break gate)

  • test_version_flag_rejects_empty_version -- deleted the empty-version check; test FAILED as expected; guard restored.
  • test_explicit_empty_author_seeds_prompt_instead_of_git -- reverted the is None author seed; test FAILED; guard restored.
  • test_discover_rejects_metadata_flags -- removed metadata flags from the --discover guard; test FAILED; guard restored.
  • test_flag_values_are_trimmed_like_prompt_answers -- removed .strip(); test FAILED; guard restored.
  • test_name_flag_rejects_names_the_prompt_rejects -- reverted name is not None; test FAILED; guard restored.
  • test_each_flag_with_non_tty_input -- removed version prompt seeding; test FAILED; guard restored.
  • test_explicit_version_survives_plugin_default -- removed version is None from the plugin gate; test FAILED; guard restored.
  • test_fallback_text_path_reprompts_on_invalid_name -- removed the ERROR import; test FAILED; guard restored.

Lint contract

ruff check and ruff format --check (pinned 0.15.12) over src/ tests/ and the CI script paths, pylint R0801, lint-auth-signals.sh, and lint-architecture-boundaries.sh all silent at 7f6bbd1.

CI

All runs green at 7f6bbd1 (CI, Merge Gate, CodeQL, Spec conformance, NOTICE Drift, Deploy Docs; 23 success, 2 neutral, 1 skipped); license/cla success (after 1 CI fix iteration).

Mergeability status

PR head SHA CEO stance iters folds defers Copilot rounds CI mergeable mergeStateStatus notes
#2231 7f6bbd1 ship_now 2 14 2 2 green MERGEABLE BLOCKED pending required review

Recommendation

All iteration-1 and delta findings are folded and verified, CI is green at the final head, and six panelists converge with zero open in-scope findings. Ready for maintainer landing. The two deferred items (--yes confirmation echo, README snippet) are polish outside the approved scope and can land as independent follow-ups.


Full per-persona findings

Python Architect

No findings.

CLI Logging Expert

No findings.

DevX UX Expert

No findings.

OSS Growth Hacker

No findings.

Doc Writer

No findings.

Test Coverage Expert

  • [recommended] Click fallback invalid-name error path in _interactive_project_setup has no regression-trap test for the ERROR import bug fix. at tests/unit/test_init_command_selection.py
    The delta imports ERROR into init.py to fix a latent NameError in the click fallback branch of _interactive_project_setup. The existing test_fallback_text_path mocks _validate_project_name to return True, so the error branch is never reached. A bug fix without a regression trap re-regresses.
    Suggested: Add test_fallback_text_path_reprompts_on_invalid_name: disable Rich, feed an invalid then valid name, do not mock validation, assert the invalid-name text is echoed.

This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.


Generated by autopilot-pr-review-worker. This comment is AI-generated and may contain errors.

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Lane L: main merged for landing

  • Pre-merge head: 7f6bbd13a786a943861e020a243d135b8fe8ea93
  • Merged origin/main c2c2e0d72c8e8c88f143099c73f40720b6529a4e (clean merge; GitHub reported DIRTY only on CHANGELOG.md, which this repo merges with merge=union).
  • New head: a140d3e22df4167cdf2db87fc73411ca2aa8a859
  • CHANGELOG: moved 1 bullet(s) in '### Added' after entry Integrate copilot runtime #2 of 7, so queued PRs no longer collide at the section head while landing serially.
  • Lint: ruff check + ruff format --check silent at the new head; CI green at the new head.
  • Owner-touch report regenerated at the new head; every recorded functional test was re-run at that exact head and passed (one process at a time, no xdist).
  • Push: git push https://github.com/atulya-singh/apm.git HEAD:refs/heads/feat/2146-init-metadata-flags (plain push, no force).

This comment was generated by an AI agent (Lane L landing desk) on behalf of Daniel Meppiel (@danielmeppiel).

@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 71398ec into microsoft:main Nov 12, 2026
26 checks passed
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 12, 2026
Clean merge of eight main commits (#3408, #2231, #2602, #3640, #3611,
#3645, #3602, #3646); no lockfile or autopilot package conflicts and
apm audit --ci passes with no drift.

Co-authored-by: sergio-sisternes-epam <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli CLI command surface, flags, help text (cross-cutting). triage/recommended Automated advice completed; not human scope approval. type/feature New capability, new flag, new primitive.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Non-interactive flags for apm init project metadata (name, description, version, author)

4 participants