From REVIEW_PROGRESS_FROM a credited review pays bonus * done // target
of its signed progress row, never more than 20, and with no verified row
pays 0 (logged); a row that fails verification is no row. A no or
unknown pays 0 whatever a row says, since the guard's accepted
submission is the evidence. Before that date the review pays as in
0.23.0 and ignores progress. Other earners are unchanged.
The 0.23.0 golden grid asks the review only no or unknown from the
switch, since a credited review without a row now differs by design.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZLyjnLjB1THD6ckou
The day's last verified progress row for the source wins, and both done
and target come from that one row. max(done) with max(target) could pair
a stale target with a new done when a gate re-derives its target within
a day (book-guard does). The rule reads neither created_at nor device,
which the workout ledger does not write.
A later row that fails verification, has the wrong kind, source or day,
or has unreadable numbers is skipped; no good row is still None. The
public API, the version and every other behaviour are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZLyjnLjB1THD6ckou
A gate can now sign "done N of target M for day D" and resolve() pays a
no-answer that share of a yes (60 * 1 // 3 = 20), floored, for shutdown,
gaming and sick days. A yes still pays full; "could not check" still pays
nothing. With no progress row anywhere every output is 0.23.0's, pinned by
a digest grid and, when installed, the real 0.23.0 as oracle.
Every failure reads as no progress, so the day pays by its yes/no rule and
never more:
- no row, a bad or missing signature, an edited row
- another day or another gate's source
- numbers typed as ints, floats, signed, padded, empty, non-ASCII or huge
- a zero target (no plan, no share)
- an unreadable key or ledger (logged, never raised)
- the gate being off today
- an earner with no progress source (tutor, focus)
A bad row beside a good one is skipped. Done above target is capped.
The focus earner now uses the same share arithmetic, same floor. A progress
row is not a credit: maturity and the done answers never see it. The floor
helpers moved to _floor.py and the tutor row contract to DOCS-tutor.md to
stay under the 250-line cap.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWVfmEXxPymCs5bo3Zs
history.py prints the guard's per-problem mirror (every status, code
cut at 1500 chars, newest 12); SKILL.md reads it at the start, for the
coach only. Read-only context, never a gate input.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both pick up the per-instance temp file name, so an app's UI and
headless engines stop losing writes to each other.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two FileLogPersistence instances on one file in one process (a Flutter
UI engine and a headless engine) shared <file>.<pid>.tmp, so one rename
moved the other's temp away and that write threw PathNotFoundException:
wake_alarm's bypass publish was lost to it on the emulator, 2026-11-22.
A random per-instance token now goes beside the pid.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A key=value *.lock file (name/repo/version/sha256) pins one package out of
an Arch-style repo .db. The adapter reads the db (gzip or zstd tar) via a
new http.get_bytes, matches %NAME% in each desc, and the judge compares
with a port of pacman's vercmp (epoch:pkgver-pkgrel), not PEP 440. A right
version with a wrong sha256 is a lock mismatch.
Locks are recognised by content (a repo= line ending in .db in the first
4 KB of a *.lock), so explicit paths from pre-commit and --all both work.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves all three onto kuhy-credit 0.3.2 and onto each other's new
tags, so a consumer can pin the newest of each without the resolver
conflicting. gatelock 0.16.1 also ships the 2026-11-21 lock-order
check and the earned-time 0.23.0 pin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the earned-time pin v0.22.0 -> v0.23.0 in gatelock
(pyproject.toml) and focus_project (pyproject.toml,
requirements.txt), and v0.21.0 -> v0.23.0 in focus_project's
.pre-commit-config.yaml. 0.23.0 adds the LeetCode review top-up.
gatelock's sickdays pin moves v0.5.5 -> v0.5.6 because the
dependency-freshness gate requires the newest stable tag.
Pin-only: no gatelock/focus_project release, no new tag.
Tests green against 0.23.0 (focus_project 339, gatelock 649,
the latter also against sickdays 0.5.6).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXYyzSw5S9UTM5k5M1
DOCS-review.md holds the coach row contract, the five pay rules, the
start date 2026-11-23 and every fail-closed path; README points at it
and lists the new API.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
The guard ledger is found by stripping REVIEW.ledger off the review
ledger path; a path that does not end in it now warns and answers
None instead of reading the wrong file or raising IndexError.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
A finished coach review pays 20 shutdown minutes, once a day, as a
top-up: never a rung, never in the floor, added last and capped at the
ceiling (sick days too). A row pays only if signed, sourced, first for
its slug ever, and backed by a signed non-manual accepted submission
in the guard ledger from the 14 days before. From 2026-11-23.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
0.1.6 adds /leetcode review: the review and skeleton events, review_cli,
the coach's own signed review ledger and DOCS-review.md. Not tagged here.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
Replace the placeholder in DOCS-skeletons.md with the real command
and say when it refuses, so the rule text and the CLI agree.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
README lists the review layer, the two new events, the review rule in
progress and the three review_cli commands.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
DOCS-review.md is the /leetcode review flow Claude follows; SKILL.md routes
a first token review to it and points at the skeleton rules, staying at
250 lines. The md-naming gate takes DOCS-* names only, so the text is not
REVIEW.md. test_review_docs.py holds the quoted commands to the CLI.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
Add the review and skeleton session-log events, the review_cli write path
(review-list, review-finish, skeleton-open) and the coach's own signed
review ledger. A review event marks the day solved and starts the +3/+10
re-test clock. The flagged report is read through the guard CLI; a guard
failure is could-not-check, never nothing-to-review.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXLvi9aq4MxL4XHKJ4
The CLI imports kuhy_credit since the logo commit, but install.sh put
only the package itself (--no-deps) in the venv, so every service run
died with ModuleNotFoundError and no game bundle became a task.
test_install.py checks one pip line per pyproject dependency.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
verify_all_lockers now runs six lockers at kuhy's ranks (workout,
book, tutor, diet, focus, LeetCode last), fails when they come up out
of order, and checks each installed locker's rank constant.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both CLIs import kuhy_credit since the logo commit, but the installers
only put crdt-sync and freedays in the venv, so the deploy's verify
step crashed with ModuleNotFoundError.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The logo commit changed sickdays and app_errors after their tags and
left app_errors/uv.lock without the kuhy-credit dependency; relock it.
kuhy_credit only gained README text but the deploy gate needs its tag
to match HEAD.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A ListView child got the full row width; the painter scaled the dark
field across the row and the glyph left the clip, so the logo was
invisible in punchme's settings. Loosen constraints at the root and
scale by the short side. Release 0.3.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 0.5.0 tag passed 'packages/design_system/...' plus package:,
so flutter_svg loaded a doubled key and the logo never rendered.
Lands the logo on main (0.5.0 was tagged off-branch) with tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A repo under ~/.cache (agent worktrees) had every file exempt, so the
local gate passed what CI rejects.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
checkPermission now reports deniedForever after a past request (prefs
flag + no rationale), so an app's resume re-check keeps the state.
currentLocation asks every enabled provider at once: fused alone sat
out its 30 s timeout on the emulator while GPS had a fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Flutter plugin over AOSP LocationManager (androidx LocationManagerCompat):
permission check/request, location switch, one-shot fix and a fix stream.
Replaces geolocator in umbrella and workout_app, whose Android side links
non-free play-services-location even with forceLocationManager.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
\kuhycreditcorner[<inset>] puts the linked logo on every page's
bottom-right corner via the shipout/foreground hook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated latex/kuhy-credit.sty draws the M1 logo as TikZ polygons and
links it to the site; compile E2E in pytest. Version 0.2.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Flutter example gets its android and web platform dirs (label
"Credit" for the launcher contract); logo painter moves to a part
file to stay under 250 lines.
- Godot click tests size the headless window to 640x360 (the official
build opens 64x64 and drops clicks outside it) and hide GUT's GUI.
- godot/test.sh writes godot output to files, not $(...), and fails
when fewer tests ran than tests/ declares.
- README Python snippet passes ruff format.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Held Enter no longer opens the site (Tk, web), Godot exports
rebuild after _init, strict SVG parser, relative --dir.
Todo: 3a5477b9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the explain-back exit and the opening-belief question. Once code
passes the examples (or kuhy says done), the coach writes the post-mortem
from the transcript, builds the cards, and appends missing toolbox entries
itself; toolbox_cards add gains --define for new vocabulary properties.
Adds the contribution technique entry from sum-of-all-odd-length-subarrays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWTVKrxg1PGVP4wc6W
Sonnet, opus and fable all run the skill as written; only haiku
gets the /model sonnet nudge. Help and DOCS name LEETCODE_MODEL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWTVKrxg1PGVP4wc6W
The round-safe master leaves a tab icon's corners empty: at 16 px the
letters spanned 11 pixels and the H lost its crossbar. This variant
fits the same letters to the square (14 of 16 pixels).
Todo: 4a9d9d9a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The filled Fourier K U / H Y mark kuhy chose, refitted so a round
avatar crop keeps 18 % of its radius as air (it trimmed the K and Y).
Todo: 4a9d9d9a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>