Skip to content

fix(bootstrap): on-demand ADF modules missing after bootstrap completes #4

@SmartBrandStrategies

Description

@SmartBrandStrategies

Summary

Running charter bootstrap --yes on a fullstack repo creates a manifest.adf that references frontend.adf and backend.adf as on-demand modules, but the bootstrap process does not create those files. This causes charter doctor to immediately warn after a fresh bootstrap.

Steps to Reproduce

charter bootstrap --yes
charter doctor

Actual Result

[warn] adf on-demand modules: Missing or unparseable: frontend.adf (missing), backend.adf (missing)

Expected Result

charter doctor should pass cleanly immediately after charter bootstrap. If the manifest declares on-demand modules, bootstrap should scaffold them (even as stubs).

Workaround

charter adf init --module frontend --yes
charter adf init --module backend --yes

Environment

  • charter v0.4.2
  • Detected preset: fullstack
  • Node 22

Suggested Fix

In the bootstrap step that creates the ADF context ([3/5]), iterate over ON_DEMAND entries in the generated manifest and scaffold any modules that don't already exist on disk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions