The human's first F6 run found four defects headless GUT could not see, all now fixed and break-proven. 1. Fifteen Labels shipped invisible. _fonts() sets a default font and size but never a default font_color for the base Label type, so a Label with no type-variation inherited Godot's built-in default — WHITE — and rendered white-on-parchment: the four race names, four race blurbs, and seven calling names, every unreadable string on the sheet. New CardTitle / CardBody roles (mock #3a2f1c / #6a5a3a) fix it. NOT a global default Label colour: the Title screen has 12 bare Labels on a dark background that rely on white. 2. The PRIMARY badge covered the rolled value. The ability card is a PanelContainer, and a Container force-fits its children, so the badge's authored anchors were dead letters — it stretched to the card's full width and centred over the value. Nesting it under a plain Control (not a Container) restores absolute positioning. The badges also carried _flat()'s 12/6 card padding; a new tight pill stylebox matches the mock's 2px 9px. 3. Race cards overflowed their own border (108px card, 114px of content). Bumped to 140. The CHOSEN badge on the calling card moved from centre to the mock's top-right, and the ability card got its own AbilityCard variation with 16px top headroom for the badge (ParchmentCard is shared with the shell). 4. The default window (1600x900) was larger than a 1600x900 laptop's usable area, so the WM clamped it to 1589x752 and the run came up pillarboxed. Default is now 1280x720, resizable; the 1920x1080 design canvas is unchanged (canvas_items + keep scales it, so no layout number moved). Also closes M4-b's two open copy items: the cutpurse origin fragment (it contradicted its own blurb) and the Hint label (it omitted the roll's floor of 8, now pinned to NewGame.roll_attributes). Guards for 1-4 are new and each was re-broken and watched go red. The overflow guard in 3 was FIRST WRITTEN AS A TAUTOLOGY — Godot clamps Control.size up to its combined minimum, so `min <= size` is `x <= x` — and passed against the bug, 29/29, until it was rewritten to measure against the card that clips. That is traps.md #17 and the thirteenth cannot-fail assertion this branch has caught. 319 client tests green, content build green, theme drift guard satisfied. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
77 lines
3.1 KiB
Plaintext
77 lines
3.1 KiB
Plaintext
# ─────────────────────────────────────────────
|
|
# Local scratch — never versioned
|
|
# ─────────────────────────────────────────────
|
|
# Ad-hoc F6 / smoke-test captures. Kept for the working session, not the repo.
|
|
/screenshots/
|
|
|
|
# ─────────────────────────────────────────────
|
|
# Godot 4.7 (client/)
|
|
# ─────────────────────────────────────────────
|
|
# Editor + import cache (4.x replaced .import/ with .godot/)
|
|
.godot/
|
|
# Exported builds
|
|
/client/build/
|
|
export.cfg
|
|
# export_presets.cfg holds keystore paths / signing config — keep secrets out of history
|
|
export_presets.cfg
|
|
# Mono/C# (only if we drop to C# per charter §16)
|
|
.mono/
|
|
data_*/
|
|
*.mono/
|
|
|
|
# ─────────────────────────────────────────────
|
|
# Python / FastAPI (api/)
|
|
# ─────────────────────────────────────────────
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.egg-info/
|
|
.eggs/
|
|
build/
|
|
dist/
|
|
# Virtual envs
|
|
.venv/
|
|
venv/
|
|
env/
|
|
ENV/
|
|
# Tooling caches
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
|
|
# ─────────────────────────────────────────────
|
|
# Secrets — the API key lives here in dev, NEVER in the client (charter §4)
|
|
# ─────────────────────────────────────────────
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# ─────────────────────────────────────────────
|
|
# Editors / OS
|
|
# ─────────────────────────────────────────────
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# ─────────────────────────────────────────────
|
|
# Logs (charter §4/§10 logs go to a store, not the repo)
|
|
# ─────────────────────────────────────────────
|
|
*.log
|
|
|
|
# ─────────────────────────────────────────────
|
|
# Claude Code harness session/state files
|
|
# ─────────────────────────────────────────────
|
|
# Ignore every .claude/ dir anywhere in the tree...
|
|
**/.claude/
|
|
# ...but keep the repo-root .claude/skills/ dir: project-local skills are
|
|
# checked-in tooling, versioned like code. (Re-include the root dir, drop its
|
|
# other contents, then re-include skills/.)
|
|
!/.claude/
|
|
/.claude/*
|
|
!/.claude/skills/
|