Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
ff2435e
test: expect the season contract under the configured root
dadadave80 Nov 14, 2026
8134e31
feat: the Tidekeeper's daily asks and the tide log store
dadadave80 Nov 14, 2026
35fa791
feat: Bram's tide log with replayed charts
dadadave80 Nov 14, 2026
2bef997
feat: the Tidekeeper's daily ask on Beacon Court
dadadave80 Nov 14, 2026
8e1c25b
test: browser check for today's tide
dadadave80 Nov 14, 2026
e5a8187
feat: tide art masters and their optimizer
dadadave80 Nov 14, 2026
3ccbcaf
feat: the Tidekeeper's stamps in the ask card and the tide log
dadadave80 Nov 14, 2026
cd338cc
feat: start a tide over
dadadave80 Nov 14, 2026
d35d716
fix: asks hold live, an empty satchel keeps nothing, on-time days sta…
dadadave80 Nov 14, 2026
3a34988
build: Bram's shelf no longer sits behind a flag
dadadave80 Nov 14, 2026
640384f
feat: Bram's shelf joins the daily tide
dadadave80 Nov 14, 2026
63443bc
fix: the harbor names what slipped and what comes tomorrow
dadadave80 Nov 14, 2026
924cf13
feat: asks show when they hold, and coming home stamps them
dadadave80 Nov 14, 2026
9e699bb
test: browser check for holding asks, the four harbor states and earl…
dadadave80 Nov 14, 2026
b7b6386
docs: README banner
dadadave80 Nov 14, 2026
31da10e
fix: chips say why an ask slipped, and the coming-home stamps don't s…
dadadave80 Nov 14, 2026
7997541
fix: Bram's shelf thanks you for today's haul instead of refusing it
dadadave80 Nov 14, 2026
0d98caf
docs: the daily ask and Bram's shelf in the README
dadadave80 Nov 14, 2026
0d9bc60
test: the harbor check allows the shelf's public RPC views and nothin…
dadadave80 Nov 14, 2026
ce59071
build: the release build ships the tide and shelf art
dadadave80 Nov 14, 2026
e54fe03
fix: a walked crossing counts even when the surge splashes Mochi back
dadadave80 Nov 14, 2026
c7ffd10
fix: blocked site data, a hung RPC or a failed shelf load no longer b…
dadadave80 Nov 14, 2026
956ffe0
fix: sailing waits for a pending harbor action and the tide log refre…
dadadave80 Nov 14, 2026
88a01ff
fix: Bram's shelf says so when the browser won't keep it
dadadave80 Nov 14, 2026
eb9ed0c
fix: the tide turns over at UTC midnight and sailing says why it's bl…
dadadave80 Nov 14, 2026
e8505bc
docs: progress row for the daily ask and Bram's shelf
dadadave80 Nov 14, 2026
e4ae587
build: painted title signpost art, its optimizer and release allowlist
dadadave80 Nov 14, 2026
0fbefee
feat: the title signpost is painted: post, bell, tag, planks and parc…
dadadave80 Nov 14, 2026
5b46359
feat(assets): optimize painted UI artwork for release
dadadave80 Nov 14, 2026
9d23bdb
style(season): Bram's shelf leads with the action and prices sit behi…
dadadave80 Nov 14, 2026
73de833
style(opening): the title planks glow on focus and sound controls are…
dadadave80 Nov 14, 2026
5581132
fix(copy): logging in never makes a second account
dadadave80 Nov 14, 2026
9ea1669
feat: the harbor, coming home and the court match the Pocket Harbor c…
dadadave80 Nov 14, 2026
d15088a
docs(design): record the interface system for the harbor, coming home…
dadadave80 Nov 14, 2026
4bef31a
fix(court): the dock label sits on the platform rim on phones
dadadave80 Nov 14, 2026
a4dc430
docs: progress row for the visual pass
dadadave80 Nov 14, 2026
280a13e
feat(run): the tide run, its three story tides and its save
dadadave80 Nov 14, 2026
70b5d6f
feat(harbor): device harbors open with the story tides and a daily ti…
dadadave80 Nov 14, 2026
9a6cc67
docs: progress row for the tide run
dadadave80 Nov 14, 2026
04bc998
fix(run): a finished tide survives a reload and a failed save can be …
dadadave80 Nov 14, 2026
b2f732a
feat(run): painted pearl and Signal Vane, and the tide-run interface …
dadadave80 Nov 14, 2026
f6f666e
docs: progress row for the reviewed tide run and its art
dadadave80 Nov 14, 2026
2e31e1b
fix(run): the tide run fits a phone held sideways
dadadave80 Nov 14, 2026
57d8565
docs: progress row for the tide run in phone landscape
dadadave80 Nov 14, 2026
0044d0b
feat(tide): Today's tide, the Home sheet, the log, the harbor card an…
dadadave80 Nov 14, 2026
3b2a910
fix(tide): tide-run days fill the stamp sheet and open their own page
dadadave80 Nov 14, 2026
90473f4
style(tide): the haul row and the tide-run log page, with tests for t…
dadadave80 Nov 14, 2026
e7b29fe
style(season): Bram's shelf lays out the tide-run haul
dadadave80 Nov 14, 2026
f5643c5
feat: the tide run is the device harbor's daily
dadadave80 Nov 14, 2026
8ef4ebb
Merge branch 'feat/one-tide-ui' into feat/one-tide
dadadave80 Nov 14, 2026
944e5c9
test: the season, harbor and touch suites follow the tide run as the …
dadadave80 Nov 14, 2026
f67d9fe
test(tide): the tide suite follows the daily tide run and reaches the…
dadadave80 Nov 14, 2026
b95ae9d
test(lifecycle): reach the classic court from the Chart, since a fres…
dadadave80 Nov 14, 2026
0632d6a
docs: progress row for one tide
dadadave80 Nov 14, 2026
29d1284
fix: sticky panel headings pin to the panel edge; the landscape end c…
dadadave80 Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions PROGRESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Full earlier progress and acceptance records are preserved in the [archive](docs
| 2026-11-13 | Season 2 game screens built locally behind `VITE_SEASON2_ENABLED` (`feat/season-two-ui`), not deployed | `bun run test` 259 pass; `cargo test --workspace` 175 passed/3 ignored; `make build`, `make browser` (Chromium/WebKit), `make evidence`; `bun run test:season-browser` at 390×844 and 1440×900 on day 20770 (`first_light_v1`) and day 20771 (`first_light_v2`: the 17-step rope route was played through the real controls, kept as a tide return, First Light home and return memories unchanged) | Bram's shelf and till read live `get_shelf`/`get_today` from `season.familiar-game.testnet`; quotes simulate unit by unit and match the live one-unit `buy_price`/`sell_price`; trades send `max_price`/`min_price` from the shown quote. Signed out, the market is a labelled device preview using `pricing.ts`. Today's tide starts a fresh Beacon Court outing kept apart from First Light progress and docks it with `claim_daily`. Mochi's wish sets/cancels and shows the postcard. Signer allowlist now admits exactly `claim_daily`, `buy`, `sell`, `set_wish`, `cancel_wish` and `storage_deposit` (0.0125 NEAR exactly) on `season.<root>`. Browser check: views live, signed-in ledger and signing mocked in a dev-only harness. **No signed-in trade, claim, wish or registration has run on testnet.** Under the production Privy provider the hosted relayer signs nothing native; season calls are checked by `validateNativeIntent` in the browser (`privy-adapter.ts`), so the allowlist and receiver gates go live on merge even with the flag off (no UI calls them then). The near-auth relayer path uses the same validator but its deployed copy is unchanged. Discrepancy: `web/PRODUCT.md` says Today's Tide is coming soon and not playable; with the flag on it is playable (product docs not edited). Even (`first_light_v1`) days cannot be sailed from the current game. Icons generated with gpt-6-astra via Codex CLI; provenance in `web/public/assets/season/provenance.json`. |
| 2026-11-14 | First live Season 2 day on testnet (day 20771, Beacon Court) | `bun --env-file=.env.tidebound scripts/season-live.ts` (faucet rate-limited, so root created `qa-season-mwfncbhi.familiar-game.testnet` with 0.3 NEAR): storage_deposit `H2JB6GcoiaHURYESUFqbbg6bkLAx8UzTm3AXDsZe6koE` 2.159 Tgas; claim_daily `BPH4quoUi5CnKmkwRoZZExCfs4mZ2zgMFUoKL8Lmayk5` 3.699 Tgas; sell glass `4KZnGDNJV7Hf6PP7MXfxUgqcdG25EYPnq22GM9XgXA5A`, sell reed `DVckVNtfN8cHACkCGCc5QaKJKxbCvyfU7Jw59rPFWecY`, buy reed `4XUZB8QnFvoKBzJMZqXWmGxsB9xzNTYbS2txLPiU9aMZ`, 2.536 Tgas each | The 17-step rope route minted 1 glass + 1 reed with score 10000 (value equals the best haul at docking prices); after two sales and one buy the account holds 5 Shells and 1 reed, matching the contract arithmetic. 100 Tgas prepaid needs about 0.1 NEAR of balance (a 0.1 NEAR account was refused), so the UI's trade gas was lowered to 30 Tgas. Earlier faucet runs also recorded storage `GLhCCAWEA5Nd7Q7m8iUaGsik4UVcbCv2wKs8pLXBZm8k`, claim `FfPPx4LpARtMzk7eXGGHKYvo4uFJpCrSy4aG9K6TKX79`, sell `59PzZGPQ8mJf11edrpfqK3gZkE8dRNcdWmvi2qr2TmYu`, then a script buy refused with ERR_SHELLS (3 Shells could not pay 4). No wish yet: the test account owns no pet. |
| 2026-11-14 | Season 2 UI review fixes; rebased onto `main` (#3–#5); release build carries `VITE_SEASON2_ENABLED` | `bun run typecheck`; `bun run test` 289 pass/17104 assertions; `cargo test --workspace` 182 passed/0 failed/3 ignored; `make build`, `make browser`, `make evidence`, `make break` (now also `familiar-season`: 27 season `break_` tests) ok; `bun run test:season-browser` passed at 390×844 and 1440×900 on 14 Nov UTC (a Beacon Court day); `test:records-browser` passed (one earlier run exited 1 with every check printed as passed and no error; four reruns exited 0). `VERCEL_ENV=production PRIVY_APP_ID=localcheck bun --no-env-file scripts/build-release.ts` with `VITE_SEASON2_ENABLED=true` emits `SeasonBram-*.js` containing the season screens; without the flag, or with `yes`, no season chunk or season strings are in `.vercel/output/static/assets` | Second ledger deposit refused before sending (`get_account` read at final); refusals before sending show the controller's own words (`SeasonNotSent`); wish form hidden without Mochi; buttons stay focusable with `aria-disabled` and focus returns to the status line; the device preview rolls over each day like the contract. Release flag follows the sealed note: production only, Privy app present, exactly `true`. The lazy season import is now behind the flag, so builds without it leave the screens out. The key line's signer-action list names the six season calls. Not deployed; no Vercel env change; nothing signed. |
| 2026-11-14 | The Tidekeeper's ask and Bram's tide log, with Bram's shelf joined into the same daily loop (`VITE_SEASON2_ENABLED` removed), on local branch `feat/tidekeepers-ask`; not pushed or deployed | At `eb9ed0c`: `bun run typecheck`; `bun run test` 393 pass/0 fail/18157 assertions (HTTP tests included); `bun run build`; `bun run test:tide-browser` (412×860 and 1280×800, incl. Playwright-clock UTC-midnight rollover), `test:season-browser`, `test:expedition-harbor-browser`, `test:expedition-touch-browser`, `test:routing-browser`, `test:records-browser` all pass. At `956ffe0`: `bun --no-env-file run build:release` ships 22 `assets/tide` and 7 `assets/season` files; `cargo test --workspace` 182 passed/0 failed/3 ignored (contracts unchanged since); `make evidence` (15 verified); `make break` (27 season `break_` + 13 signer tests) | Chromium only for the new browser checks. `test:expedition-browser`, `test:expedition-qa-browser` and `test:expedition-lifecycle-browser` fail identically on clean `origin/main` (320×480 departure panel covers Workbench/Satchel). With the flag gone, opening Bram's dialog sends read-only `call_function` views to `test.rpc.fastnear.com` for signed-out players too, and signed-in shelf actions sign on testnet after a labelled storage deposit; there is no off switch short of a revert. The signed-in shelf was not exercised live this session. |
| 2026-11-14 | Visual pass toward the Pocket Harbor concept: painted UI art (gpt-6-astra: 4 place signs, 3 Mochi portraits, 12 ask icons; 8 title signpost pieces) and one interface system for the harbor, Home sheet, court, Bram's shelf and title, on local branch `feat/tidekeepers-ask` (`0fbefee`–`4bef31a`); not pushed or deployed | At `d15088a`: `bun run typecheck`; `bun run test` 414 pass/0 fail/18513 assertions; `bun --no-env-file run build:release` ships 21 `assets/ui` and 10 `assets/title` files; `test:season-browser`, `test:expedition-harbor-browser`, `test:routing-browser` (Chromium and WebKit), `test:records-browser` pass. At `4bef31a`: typecheck, `bun run test` 414 pass/0 fail, `test:tide-browser` (412×860, 390×844, 844×390, 1280×800, 1440×900) and `test:expedition-touch-browser` pass; `cargo test --workspace` 182 passed/0 failed/3 ignored (contracts unchanged). UI optimizer reruns byte-identical; 19 WebPs total 174,340 bytes | Running the suites caught two real bugs: Phaser hit-tested Mochi through the harbor card, so "Take it to Bram" also sat Mochi down and cancelled itself (scene presses now require `pointer.downElement` to be the canvas); and WebKit never focuses a clicked button, so closing a panel lost the opener (the last pressed button is remembered). Ask chips moved into the move tray on every size because portrait phones have no free band above the board. Not verified: real devices, Firefox, human playtest; the desktop signs stand as a cluster on the quay rather than beside each character; the landscape title hides the left rule beside "First Light". `test:expedition-browser`, `-qa-browser` and `-lifecycle-browser` were not rerun (they failed identically on `origin/main` before this pass) |
| 2026-11-14 | Tide run (`tide_run_v1`): three story tides (lens, vane, moth) and a daily tide scored against Bram's guess, on device harbors only, on local branch `feat/tide-run` (off `a4dc430`); the lit harbor keeps the Tidekeeper's ask as its main button; signed-in harbors and the season contract are unchanged; painted pearl and Signal Vane (gpt-6-astra, provenance in `web/public/assets/run/provenance.json`); not pushed or deployed | At `2e31e1b`: `bun run typecheck`; `bun run test` 439 pass/0 fail/39864 assertions; `bun run build`; `bun run test:tide-run-browser` (Chromium 390×844, reduced motion: three story tides, reload on the end card, failed-save retries, leave and resume, today's tide), `test:routing-browser` (Chromium and WebKit), `test:tide-browser`, `test:season-browser`, `test:expedition-harbor-browser`, `test:expedition-touch-browser`, `test:records-browser` all pass. `cargo test --workspace` 182 passed/0 failed/3 ignored at `70b5d6f`; no file under `contracts/` differs from `a4dc430`. `test:tide-browser` failed “the phone tray clears the complete dock platform” once at `70b5d6f` (a cargo build ran alongside) and once at `2e31e1b` (other headless browsers ran alongside); it passed both times when re-run alone. `test:expedition-browser`, `test:expedition-lifecycle-browser`, `test:expedition-qa-browser` and `test:passage-browser` fail, with the same errors at `a4dc430`. A gpt-6.1 sol review found three defects (a finished tide lost on reload, a silent failed save, reduced motion ignored mid-move); all three are fixed in `04bc998`. Played through by script at 1280×800, 390×844 and 844×390 with no page errors. At 844×390 the dock row was clipped and the DOCK label covered Mochi; `2e31e1b` (gpt-6-astra layout pass) fixes that and fits the daily end card without scrolling, checked in Chromium screenshots. The tide run is played and saved on the device only: no contract referees it and nothing from it reaches Bram's shelf or a token. |

## Recorded discrepancies (NEAR AI, 2026-11-13)

Expand All @@ -31,3 +34,4 @@ Full earlier progress and acceptance records are preserved in the [archive](docs
- **Signature URL.** The skill shows `/v1/signature/{id}?model=…&signing_algo=…`; the SDK and Familiar omit `model`, and the signature was found on the first try.
- **Model tier.** `/v1/models` has no explicit tier field (`owned_by:"nearai"`). The SDK's attestation criterion (`/v1/model/{id}`: `providerType:"vllm"`, `attestationSupported:true`) is what Familiar checks.
- **Brief vs repository.** The handoff said `.env.example` already had a `NEAR_AI_API_KEY` placeholder; it did not. The placeholder was added (empty).
| 2026-11-14 | One tide: the tide run and the Tidekeeper's ask as one game, on local branch `feat/one-tide` (merges `feat/one-tide-ui` `e7b29fe` into familiar-bb's `f5643c5`). On device harbors the daily is the tide run: Today's tide shows the day's card, Bram's guess and three stamps (home, guess, dry); the Home sheet celebrates the result; the tide log keeps run pages beside old three-ask pages; Bram's shelf offers today's reed and glass, up to 3 each, and pearls stay with Mochi. Signed-in harbors keep the three-ask court. Not pushed or deployed | At `f67d9fe`: `bun run typecheck`; `bun run test` 485 pass/0 fail/40232 assertions; `bun --no-env-file run build:release`; `cargo test --manifest-path contracts/Cargo.toml --workspace`; `test:tide-browser` (390×844, 412×860, 844×390, 1280×800, 1440×900), `test:tide-run-browser`, `test:season-browser`, `test:expedition-harbor-browser`, `test:expedition-touch-browser`, `test:routing-browser`, `test:records-browser` all pass. `test:expedition-browser` (320 harbor brand clickable) and `test:expedition-qa-browser` (home controls obscured at 9 sizes, 667×375 court) fail with the same messages at the base `57d8565`. At `b95ae9d`, `test:expedition-lifecycle-browser` reaches the court through the Chart and then fails at the same "Familiar home" obscured assertion as the base. Chromium screenshots from a fresh harbor through chapter one, the lit harbor, today's tide, the Home sheet, the log, Bram's shelf and the harbor after at 390×844, 844×390 and 1280×800, with no page errors. Browser emulation only: no real device, no human playtest, signed-in shelf not exercised |
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Familiar

A cozy turn-based Phaser puzzle adventure with Mochi and a coastal harbor to restore. The introduction at `/` leads to `/outing/`. Recover the Beacon Lens, route the tide through Wind Gate, help at Bell/Reed Steps, and follow Mochi's later shore-bell discovery.
![Familiar: a little adventure with Mochi. A felt-miniature harbor at sunset: Mochi, an orange kitten in a red bandana, leaps between spiral stepping stones past a teal wave and a glowing wind-moth, while the stone-crab Tidekeeper watches and Bram the badger waves from the quay below the lighthouse.](docs/readme-banner.jpg)

A cozy turn-based Phaser puzzle adventure with Mochi and a coastal harbor to restore. The introduction at `/` leads to `/outing/`. Recover the Beacon Lens, route the tide through Wind Gate, help at Bell/Reed Steps, and follow Mochi's later shore-bell discovery. Three story chapters are tide runs: twelve waves on a small board, where Mochi picks up what each wave leaves and banks it at the dock before the water lands. Once the beacon is lit, today's tide run is the daily, played and saved on this device: its three stamps (come home with something, match or beat Bram's guess, keep dry paws) are the day's asks, the first tide each day is the one that counts, and later sails are practice. The Home sheet shows the result, Bram's tide log keeps a page for each day, and Bram shelves the reed and glass Mochi brings home, to trade for Shells toward Mochi's wish. Saved harbors keep the Tidekeeper's three-ask court on Beacon Court, which device harbors can still open from the Chart.

## Run

Expand Down Expand Up @@ -39,6 +41,9 @@ Live stack: root `familiar-game.testnet`, items `items.familiar-game.testnet`. `
## Source

- `web/src/expedition/`: rules, Phaser presentation, Mochi, sound and harbor.
- `web/src/run/`: the tide run (`tide_run_v1`): rules, Bram's guess, the story chapters and the device tide book.
- `web/src/tide/`: Today's tide, the Home sheet, Bram's tide log and the Tidekeeper's three-ask court with its solver.
- `web/src/season/`: Bram's shelf, till and Mochi's wish over the testnet `season` contract.
- `web/src/account/`, `web/src/tidebound/`: recoverable identity, original transactions and item provenance.
- `web/src/compatibility/`: frozen historical return validation.
- `contracts/`, `services/relayer/`: Rust testnet contracts and account HTTP service.
Expand Down
Binary file added docs/readme-banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading