Skip to content

v6.x slot rename + migrate alias map (Mk4 canonical names) #66

Description

@Wolfe-Jam

Gap

The pre-v6 cli (March 2026) renamed 6 slots to Mk4 canonical names with bi-directional aliases (read either, write Mk4). v6 ground-up rewrite reverted all of it — src/core/slots.ts still uses pre-Mk4 names.

Memory entry faf-cli-slot-rename.md documents the v5 implementation as "completed" — the claim is stale relative to v6.

Renames

Current (v6) Mk4 canonical
stack.frontend stack.framework
stack.css_framework stack.css
stack.state_management stack.state
stack.api_type stack.api
stack.database stack.db
stack.package_manager stack.pkg_manager

Scope

  1. Rename the 6 slot paths in src/core/slots.ts to Mk4 canonical.
  2. Read path — accept both old + new names (backward compat for existing .faf files; 36k+ downloads in the wild).
  3. Write path — emit Mk4 names only on next save.
  4. faf migrate — add the alias map so an explicit faf migrate run rewrites old → new in place.
  5. Tests cover both old-name-on-disk and new-name-on-disk cases.
  6. Slot descriptions / display labels updated.
  7. Parity gate (tests/parity-brake.test.ts) — confirm xai-faf-rust ref impl uses the same Mk4 names; if not, coordinate in lockstep.

Why now

  • v6.6.0 = The Trophy Edition; the v5 era promised this rename was already done. v6 should honour the canonical vocabulary, not the legacy.
  • Pairs naturally with Trophy-only recommendation — clean vocabulary, clean threshold, same release line.
  • Closes the memory↔code drift on faf-cli-slot-rename.md.

Out of scope

  • Renaming any human_context.* or monorepo.* paths (Mk4 doesn't touch those).
  • Renaming the category labels (frontend, backend, etc. as category names) — only slot paths inside stack.*.

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