Skip to content

[P2] Make scaffolding and installation guidance consume the supported host catalog; Amp is currently rejected at project creation #745

Description

@ScriptedAlchemy

User-facing failure

At main 14c9822bc6c01d8ff2788454d0e1dc7861bc3816, the framework advertises and implements the amp target, but create-agent-bundle --targets amp rejects it. A new user cannot select a supported host through the recommended entry point. This is a source-established inconsistency; this audit did not run the scaffolder or a native Amp session.

Evidence

Simplification

Use one small build-time host catalog for scaffoldable target IDs and their installation capabilities. Generate/import the tiny data needed by the scaffolder without pulling the compiler, renderer or host implementations into project creation. Update the existing tables, not a new plugin registry or service.

Keep three concepts explicit: a native compilation target, a portable-format client, and a host supported by the live-dev proxy. They are not interchangeable. This issue must not silently claim every portable client has a native adapter or that Amp supports the three existing hosts' development proxy.

Required changes

  • Admit Amp in CLI validation and interactive host selection; include correct selected-host instructions in generated projects.
  • Remove independently maintained target/installation lists and hard-coded recovery strings where a shared catalog can supply them.
  • Keep selection explicit. Do not add Amp to every existing project's targets or change default target policy merely to fix discoverability.
  • Cover all advertised native targets in scaffolder contract tests and require an explicit disposition when a target intentionally cannot use a template.
  • Distinguish a portable-only project's valid client installation path from 'no plugin can be installed'; no false claim that native registration is mandatory.

Acceptance

Scaffold each template for Amp-only and a mixed selected-host set using a pinned compatible compiler/runtime pair. Check the generated configuration, README, build/validate output and actual nested Amp install root. Unknown target names still fail before writing a project. Static templates remain renderer/runtime-free. Adding another real native adapter must make an omitted scaffolder choice fail a contract test, rather than wait for a user's bug report.

Use existing isolated native-validation/fixture evidence where available; authenticated model execution is a separate proof level, not a prerequisite requiring an unavailable account.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions