Skip to content

User-facing copy never names keep.lock (CAP-982) - #539

Merged
cvince merged 6 commits into
feat/onboarding-v2from
cap-982-no-keep-lock-copy
Dec 2, 2026
Merged

cvince merged 6 commits into
feat/onboarding-v2from
cap-982-no-keep-lock-copy

Conversation

@cvince

@cvince cvince commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

CAP-982. Rule: no user-facing copy names keep.lock, and .env is named only where the person needs the file name to act (spec copy rule 8, AGENTS.md).

keep.lock

  • Every terminal line, flag help, error and JSON message a person reads now says what it is: "This folder is not set up with Capy yet. Run capy here to set it up.", "Capy's setup" (setup and Git outcome lines), "Capy's project file" (deploy and damaged-file errors).
  • Recurring sentences live in src/core/projectFileCopy.ts.
  • The folder picker shows the keep.lock marker as "Capy project".
  • Error screens: "Delete keep.lock and .capy/" steps removed; the remaining next step is "Run capy: it offers to recreate the project" / "Restore the file from Git if you can, then run capy to re-sync".
  • Left as is (agent-facing): PR titles and bodies, the AGENTS block, capy help docs, codes, logs, debug lines. src/ui/screens/generated.ts (legacy screens, only auth-success/auth-error are served) is generated from the monorepo and not hand-edited.

.env in setup copy

  • Kept: the "Create a new Capy project from the existing .env file" choice and the folder picker's "Has a .env".
  • Everything else in setupCopy.ts says "your variables".

docs/cli-reference.md regenerated. New test failures vs a clean feat/onboarding-v2 run: none (the failures that remain fail the same on the base, mostly the sandbox's git identity hook). The copy parity test now allows the folder question to have no description, like the choice question (its sentence was removed on purpose in ebb9673; recorded in the setup spec).

Terminal output, flag help, setup questions and outcome lines, errors and
the folder picker say what the file is for the person instead: "this folder
is not set up with Capy", "Capy's setup", "Capy's project file". The
recurring sentences live in src/core/projectFileCopy.ts. Agent-facing text
(PR bodies, the AGENTS block, capy help docs, codes, logs) still names it.
Spec copy rule 8; AGENTS.md carries the rule.
.env stays only where the person needs the file name to act: the
"Create a new Capy project from the existing .env file" choice and the
folder picker's "Has a .env" marker. Agent-facing lines keep it.
Its sentence was removed on purpose in ebb9673; its options carry the
descriptions, as with the choice question. Recorded in the setup spec.
@cvince cvince self-assigned this Dec 2, 2026
…ugh Capy and Git (CAP-982)

Vincent chose these labels on 2026-12-01 (CAP-979). Descriptions say
Capy's setup instead of keep.lock; --share-setup help and the setup
display table follow. No "this folder only" left in this question.
@cvince
cvince merged commit b116a51 into feat/onboarding-v2 Dec 2, 2026
1 check passed
cvince added a commit that referenced this pull request Dec 6, 2026
User-facing copy never names keep.lock (CAP-982)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant