Files
faunosteo/.claude/tasks/contracts/2026-11-14-sandbox-rule-line-1410.md

23 lines
1.1 KiB
Markdown

# CONTRACT — sandbox-rule-line (LRN-080 promotion made true)
- date: 2026-11-14 | flow: hotfix | branch: chore/sandbox-rule-line (off develop)
- status: active
## REQUEST (verbatim — IMMUTABLE)
faunosteo: LRN-080 status (2026-11-13, block F) says "implemented, promoted to rule line .claude/rules/database.md" but that rule file has no sandbox line: the promotion claim is false. Add one bullet to .claude/rules/database.md from LRN-080's own Apply text: every migration step is tried first on the throwaway sandbox (`pnpm db:sandbox`, scripts/db-sandbox.sh), never on DEV; DEV changes stay owner actions. 1 file.
## CLARIFICATIONS
- [gated 2026-11-14] wording = LRN-080 Apply line; no challenge (doc line, no behaviour); placed right after the "A migration is never edited once applied" bullet.
## ACCEPTANCE CRITERIA
1. The rule file carries the sandbox line.
CHECK: grep -c 'db:sandbox' .claude/rules/database.md
EXPECT: 1
EVIDENCE: PENDING
2. Frontmatter unchanged, project rules check green.
CHECK: git diff -U0 .claude/rules/database.md | grep -c '^[-+]paths:'
EXPECT: 0
EVIDENCE: PENDING
## FILE SCOPE
.claude/rules/database.md