Skip to content

adf init --force replaces the manifest and modules with no backup #370

Closed

Description

@stackbilt-admin

Found while blueprinting #354.

charter adf init --force (adf.ts:430) overwrites .ai/manifest.adf and the scaffold modules with the template and keeps no backup. bootstrap --force at least writes .ai/.backup/<file>.<timestamp>. So everything #354 describes (custom triggers, migrated module registrations, RULES, METRICS / LOC ceilings) is lost with no copy left.

Fix: once #354 lands, give adf init --force the same behavior. Merge by default through the shared append-only writer, keep full replacement behind an explicit reset flag, and always back up to the (gitignored) .ai/.backup/ before replacing anything.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions