24 KiB
SOR Project Working Memory
Mission
Help Jason ship SOR with low-friction, safe autonomy.
Operating Rhythm
- Keep an updated short backlog.
- Surface blockers quickly.
- Prioritize next 1-3 concrete actions.
- Log decisions and rationale.
Current Focus
- Build momentum on SOR implementation and coordination.
Next Review Questions
- What is the highest-impact next task?
- What is blocked and by what dependency?
- What can be delegated to sub-agents safely?
TODO (tracking)
-
Evaluate and optionally pilot
obra/superpowersfor Prime-only coding workflows; keep Shard focused on infrastructure/deploy operations. -
Add duration semantics flags for status/lock effects: choose whether
ForNTurnscounts total turns or owner-only turns. Current gameplay expectation: “cannot X for 2 turns” should cover the target’s next two turns (not just one full round). -
Improve client-facing internal error payload behavior by environment: expose actionable diagnostics in dev/test (exception message/type + traceId), keep production responses sanitized.
-
2026-03-11 16:59 UTC: Repo clean at commit da6899b; no blockers.
-
2026-03-11 21:42Z: No priority change. Repo clean; continue current track.
Heartbeat Notes
-
2026-03-11 23:12 UTC: Repo clean; no blockers; latest da6899b. Priorities unchanged.
-
[2026-03-12 03:27 UTC] Heartbeat: repo clean, no immediate blockers; continue current roadmap.
-
Heartbeat 2026-03-12 03:57 UTC: repo clean at da6899b; no immediate blockers.
-
2026-03-18 17:27 UTC: Repo clean at 6645231; no blockers. Priority remains execution momentum on current implementation track.
-
2026-03-19 15:57 UTC: Repo clean at cf05bac (Phase 6: GameGetLobbyHandler + CustomLobbyDetailDto); no blockers. Priority unchanged: continue implementation momentum.
-
2026-03-19 19:57 UTC: Repo clean at e9476a3 (Fix ReturnToHandEffect: revoke passives + skip target conditions at activation); no blockers. Priority unchanged: maintain implementation momentum.
-
2026-03-19 23:57 UTC: Repo clean at 7d572ae (Standardize active ability execution between unit and card paths); no blockers. Priority unchanged: maintain implementation momentum.
-
2026-03-19 20:27 UTC: Local WIP patch detected in SOR (
AbilitySystem.cs) for Repentance/Instinct effect execution compatibility. Awaiting Jason decision to commit/deploy. -
2026-03-19 21:04 UTC: Landed schema-unification commit
9f23e56(canonical AbilitiesJson + EffectsJson compatibility + backfill migration). Priority: rollout with migration. -
2026-03-19 21:34 UTC: Canonical AbilitiesJson rollout landed (
7a90e2b) with compatibility fallback + backfill migration applied. Next: redeploy SOR.Game and SOR.Admin and monitor Repentance/Instinct effect execution in live playtests. -
2026-03-19 23:04 UTC: New server fix commit
7ca86ceaddresses Repentance lock enforcement gap (movement + ability suppression); next high-value step is push and redeploysor-game. -
2026-03-20 00:27 UTC:
sor-gameincludes standardized active ability execution semantics (7d572ae); next high-value step is redeploy and validate Repentance lock card behavior in live match. -
2026-03-20 14:48 UTC: Repo head advanced to
2e3a5e4(Enable decks to have multiple Tier 1 ArchSpirits). No blocker detected; priority remains gameplay/deck-flow validation in live playtests. -
2026-03-20 15:48 UTC: Repo clean at
6c6a66c(Deck editor client cleanup). No blockers detected; priority unchanged. -
2026-03-25 18:57 UTC: Repo clean at
85e9b63(Account mailbox UX now wired to notifications and thread actions). No blockers; priority remains implementation momentum with live validation. -
2026-03-26 14:57 UTC: Repo clean at
84284be(fix active ability target gating for server-resolved ownership, including ExactSelf). No blockers; next high-value step is live-play validation of self-target activated abilities to confirm no regressions for explicit-target abilities. -
2026-03-26 15:57 UTC: Repo clean at
84284be(Fix active ability target gating for server-resolved ownership scopes). No blockers; next high-value step remains live-play validation for self-target activated abilities + regression check for explicit-target abilities. -
2026-03-26 19:57 UTC: Repo clean at
cf473d8(Fix board shapes, spectator-stuck, and display name on reconnect). No blockers; next high-value step is end-to-end reconnect validation across player/spectator paths including board shape rendering and display-name correctness. -
2026-03-26 22:57 UTC: Repo clean at
3c8614c(sparse-board adjacency fix for non-rectangular shapes). No blockers observed; priority remains reconnect/board-shape validation in live flows. -
2026-03-26 23:57 UTC: Repo clean at
4737d33(Fix triangular board compile error (nested Math.Max)). No blockers; next high-value step is reconnect + board-shape regression validation with explicit triangular layout coverage. -
2026-03-27 00:27 UTC: Repo clean at 4737d33; no blockers. Priority update: investigate/fix 3+ player custom-lobby state propagation so additional participants receive live lobby updates and ready-state sync regardless of join/ready order.
-
2026-03-27 00:57 UTC: Landed 32aa816 (3+ player custom lobby state/ready sync). No blockers. Priority: regression test multiplayer lobby participant/ready propagation across out-of-order joins/readies; then polish stale-ready UX for SESSION_NOT_INITIALIZING.
-
2026-03-27 01:57 UTC: Landed a84313e (3+ lobby ready UX clarity). No blockers. Priority: validate full 3+ participant ordering matrix in live flow and confirm no stale-ready regressions.
-
2026-03-27 02:27 UTC: Landed c2e19a3 to undo game.ready state regression; repo clean. Priority: validate join/start pipeline end-to-end with 3+ lobbies.
-
2026-03-27 03:27 UTC: Landed 775b30d to make lobby leave idempotent on stale IDs; priority is post-restart create/join validation and log watch for silent join failures.
-
2026-03-27 03:57 UTC: Repo clean at
775b30d(Make custom lobby leave idempotent for stale lobby IDs). No blockers; next high-value step is validating leave/rejoin behavior under stale lobby IDs and checking for spectator/reconnect regressions. -
2026-03-27 03:57 UTC: Landed 775b30d to harden stale lobby leave handling (server+client). Priority: verify join path reliability immediately after stale-state scenarios.
-
2026-03-27 11:57 UTC: Repo clean at
d257583("missing comma"); no blockers. Priority update: perform quick live validation of the updated response/payload path to ensure parser/consumer compatibility and no regressions. -
2026-03-27 12:57 UTC: Repo clean at
cb024c7(game.state_delta cutover to account-scoped multiplayer schema; client/server delta apply path updated). No blockers detected. Priority: live-validate 3+ player + spectator state convergence, especially ArchSpirit visibility timing and delta-version continuity. -
2026-03-27 13:10 UTC: Repo clean at
bf9e059(Fix delta arch-spawn propagation + viewer private lookup robustness). Remaining validation priority: 3+ player turn-by-turn state convergence from creator perspective, plus spectator continuity. Known local env limitation: client build not runnable here (docker/godotunavailable). -
2026-03-27 13:33 UTC: Repo clean at
de3c62e(client typo fix). Build validation context improved: local Godot 4.5+templates now available for HTML5 export checks in this environment; Docker daemon remains unavailable due to no-elevation runtime. -
2026-03-27 13:45 UTC: Repo clean at
6d20af8(active-session rejoin detection now includes additional players). Validation status: both local build checks passed this cycle (server dotnet build + client Godot HTML5 export). Next priority: live-validate reconnect prompt behavior for seats 3+ and ensure concede path semantics remain correct. -
2026-03-27 14:07 UTC: Repo clean at
8736217(rejoin gating for eliminated players, force-concede guard, board presence cleanup on elimination/concede). Both local build checks passed this cycle. Next validation target: multiplayer concede/elimination reconnect matrix + idle-timeout abuse regression. -
2026-03-27 14:17 UTC: Repo clean at
e5a9bde(client nil-guard for archSpirit after concede/elimination). Both local build checks passed this cycle. Next validation target: concede→relaunch→spectate path in multiplayer to confirm crash is gone. -
2026-03-27 14:25 UTC: Repo clean at
a656c70(spectator null-array getter hardening). Both local build checks passed this cycle. Next validation target: conceded-player spectate path and any remaining null-typed getter crashes in live reconnect flows. -
2026-03-27 14:55 UTC: Repo clean at
a656c70(nullable spectator/player-private array handling in client Game getters). Priority unchanged: validate concede→relaunch→spectate in multiplayer and monitor for further nil-hand/field regressions. -
2026-03-27 15:25 UTC: Current priority is completing/validating phase-1 ability additions across SOR.Game + SOR.Admin builder. Repo currently dirty with 7 files edited; next step is finish builder wiring, run server/client builds, then commit+push.
-
2026-03-27 15:41 UTC: Repo clean at
9e4fbd1with phase-1 ability primitives shipped and build-validated. High-value next step: live-author one or two cards using TriggerLimitPerTurn + RepositionUnit + move-affinity conditions to validate authoring ergonomics in admin builder. -
2026-03-27 15:57 UTC: Repo currently dirty with local WIP in AbilityBuilder + ability primitives (
9e4fbd1at HEAD). Priority update: convert current WIP into a coherent validated commit (or cleanly park partial changes) to avoid drift and reduce regression risk. -
2026-03-27 16:27 UTC: Phase 2 ability work remains in-progress; priority unchanged (finish implementation, run server/admin/client builds, commit coherent changeset).
-
2026-03-27 16:57 UTC: Phase 2 implementation is still in-progress (prevention/replacement + sequence-scoped duration + builder support). Repo remains intentionally dirty pending full compile/export validation and coherent commit.
-
2026-03-27 17:44 UTC: Repo clean at
e887a8cwith phase-2 shipped and validated. Suggested next focus: phase-3 implementation and a small authored-card validation pass covering BeforeDamageApplied/BeforeUnitDeath/PreventNextDamage semantics. -
2026-03-27 17:55 UTC: Phase 3 implementation progressing (relational adjacency filters/conditions, movement-state condition, source-qualified damage trigger, tile-control condition). Server game build green; pending admin build + client export before commit.
-
2026-03-27 17:56 UTC: Phase 3 status improved: both server builds now passing after neighbour helper fix. Pending step before landing changes is client HTML5 export validation, then commit/push.
-
2026-03-27 17:58 UTC: Repo clean at
8f0ed9d; Phases 1-3 complete and build-validated. Suggested next milestone: authored-card regression pack covering new trigger/condition/filter semantics and edge interactions (prevent-next-damage with sequence duration, source filter matching, tile-control comparators). -
2026-03-27 18:28 UTC: Monitoring check only; repo remains clean at
8f0ed9d. No new blockers/decisions since last update. -
2026-03-27 18:58 UTC: Steady state. Repo clean on phase-3 commit; no new deltas since last check.
-
2026-03-27 19:28 UTC: Stable post-Phase-3 state, repo clean. Next useful activity remains authored-card regression matrix for newly added ability primitives.
-
2026-03-27 19:57 UTC: Repo clean at
8f0ed9d(phase-3 adjacency/movement-state/tile-control primitives). No blockers. Priority update: run focused gameplay/regression validation around trigger ordering and control-state interactions before stacking additional primitives. -
2026-03-28 01:57 UTC: Repo not clean (
OVERALL.mdmodified) due to newly captured post-Phase-3 ability backlog (tile markers/equality, ChooseOne runtime hardening, exact reposition picks, destination-affinity channel-cost mods). Suggest commit this doc-only delta for clean baseline before next implementation. -
2026-03-28 02:27 UTC: No new SOR changes since last heartbeat; pending
OVERALL.mdbacklog update remains uncommitted. -
2026-03-28 03:57 UTC: Working tree not clean (
OVERALL.mdmodified) while HEAD stays8f0ed9d. Priority update: reconcile documentation WIP (commit or clean) so status checks clearly reflect code-state risk. -
2026-03-28 17:27 UTC: Heartbeat check — no state change. Repo still has local doc-only delta (
OVERALL.md), HEAD8f0ed9d; no blockers or priority changes. -
2026-03-28 20:27 UTC: Heartbeat check shows no priority change. SOR remains at
8f0ed9dwith local doc-onlyOVERALL.mdmodification pending commit/cleanup. -
2026-03-28 20:57 UTC: Repo now at
2e3e284(ability targeting gap fixes across multi-target/UpTo/ChooseOne/LinearOnly/LOS). Working tree remains dirty with localOVERALL.mddoc delta. Priority update: run targeted gameplay regression around targeting legality/resolution paths, then reconcile doc-only drift for a clean baseline. -
2026-03-28 22:57 UTC: No code-state change from prior check (HEAD
2e3e284); localOVERALL.mdremains modified for backlog reconciliation. Priority unchanged: run focused targeting/regression validation, then commit or clean doc drift. -
2026-03-29 13:57 UTC: Repo head advanced to
ed5e8f1(guard mouse orbit during touch gestures in browser). Working tree still has doc-onlyOVERALL.mdmodification; no blockers. Priority: validate camera pinch/pan behavior on device/browser and confirm no synthetic mouse-drag spin regression. -
2026-03-29 18:27 UTC: Repo head at
864ae4a(single-touch PanGesture ignored to preserve one-finger orbit). Working tree still has local doc-onlyOVERALL.mdmodification. No blockers; priority remains mobile/browser gesture validation for 1-finger orbit + 2-finger pan + pinch zoom. -
2026-03-29 20:27 UTC: Repo head advanced to
206ff9a(touch tap/hold selection + one-finger orbit handling). Working tree still has local doc-onlyOVERALL.mdmodification. No blockers; priority update: validate complete touch UX contract on device/browser (single-finger orbit, two-finger pan, pinch zoom, tap-select, hold-context/right-click). -
2026-03-30 21:57 UTC: Repo head advanced to
6e27f57(touch tap-suppression fix after gesture handling). Working tree still shows localOVERALL.mddoc-only modification; no blockers observed. Priority remains on-device/browser validation of full touch contract with emphasis on post-gesture tap suppression regressions. -
2026-03-31 13:27 UTC: Landed
a655ce8to fix board-click occupant redirect null handling (suspected movement regression root fromcb601ab). No hard blocker; next high-value step is live webclient validation that move interactions are restored after the new client image is active. -
2026-03-31 12:27 UTC: Repo head is
dead968(client rollback checkpoint to2e3e284for confirmation testing). Working tree still has doc-onlyOVERALL.mdmodification. No infra blocker observed; immediate priority is live confirmation of regression boundary aroundcb601abdbefore deciding revert vs surgical fix. -
2026-03-31 12:57 UTC: Repo head advanced to
a655ce8(surgical null-occupant guard in board-click redirect path). Working tree still has localOVERALL.mddocumentation delta. No infra blocker observed; immediate priority is live gameplay validation that movement/adjacent attack interactions are restored with this patch. -
2026-04-01 07:57 UTC: Repo head at
2abfbae(README update plus additional game_screen/login scene changes), working tree still onlyOVERALL.mdmodified. No blockers detected; priority remains live gameplay validation of board interactions and touch/camera behavior. -
2026-04-01 07:57 UTC: Heartbeat check — SOR HEAD is
2abfbae(Update README.md) with local doc-onlyOVERALL.mdmodification still pending. No hard blocker; high-value next action is to reconcile and commit/clean this backlog delta to restore a clean baseline. -
2026-04-01 08:58 UTC: Heartbeat check — no repo state change (HEAD
2abfbae,OVERALL.mdstill locally modified). No blockers; priority unchanged. -
2026-04-01 12:27 UTC: Repo head advanced to
1d53f10(merge Sacrifice/Ascend/Transition into unit ability panel). Working tree remains not clean with localOVERALL.mdmodification; no blockers detected. Priority unchanged: reconcile/commit (or clean) doc-onlyOVERALL.mddelta to restore clean baseline. -
2026-04-01 12:57 UTC: Heartbeat check — no repo state change (
OVERALL.mdmodified; HEAD1d53f10). No blockers; priority unchanged. -
2026-04-01 13:47 UTC: Heartbeat check — repo state unchanged (
OVERALL.mdmodified; HEAD1d53f10). No blockers; priority remains to reconcile/commit or clean the doc-only backlog delta for a clean baseline. -
2026-04-01 15:25 UTC: Heartbeat check — no repo change (
OVERALL.mdmodified; HEAD1d53f10). No blockers; priority unchanged (reconcile/commit or clean doc-onlyOVERALL.mddelta). -
2026-04-01 15:57 UTC: Repo head advanced to
1d53f10(merged Sacrifice/Ascend/Transition into unit ability panel). No blocker detected. Priority update: run focused UX validation for consolidated ability panel interactions, then reconcile lingering doc-onlyOVERALL.mdmodification for a clean baseline. -
2026-04-01 16:27 UTC: Heartbeat check — no repo/priorities change (
OVERALL.mdmodified; HEAD1d53f10). No blockers. -
2026-04-01 18:49 UTC: Heartbeat check — no repo/priorities change (
OVERALL.mdmodified; HEAD1d53f10). No blockers. -
2026-04-01 20:27 UTC: Heartbeat check — unchanged state (
OVERALL.mdmodified; HEAD1d53f10), no blockers, no priority shift. -
2026-04-01 23:50 UTC: Repo head advanced to
f9832d1(Hex board: corner starting zones, half tile spacing) whileOVERALL.mdremains locally modified. No blocker detected. Priority update: targeted validation of hex-board behavior (spawn/corner zoning, spacing/pathing/LOS) and then reconcile/commit or clean doc-onlyOVERALL.mddrift. -
2026-04-01 23:57 UTC: Repo head advanced to
f9832d1(hex board corner starting zones + half-tile spacing). No blocker detected. Priority update: focused validation of hex-board gameplay/layout implications, then reconcile lingering doc-onlyOVERALL.mdchange to restore clean baseline. -
2026-04-02 18:50 UTC: Repo head at
d5363fa(Keycloak auth + PKCE). No blocker. Priority update: harden Keycloak realm/client config for production (default-group hygiene + restricted redirect/web origins) and validate new-userplayerrole assignment end-to-end;OVERALL.mdlocal doc delta still pending. -
2026-04-02 18:51 UTC: Keycloak baseline for
aeternalisapplied (roles +sor-gameclient + audience mapper +/playerdefault group). Priority refinement: remove unintended/sound-creatorfrom realm default groups and locksor-gameredirect/web origins from*to production URIs; then run end-to-end new-user registration/login role validation. -
2026-04-02 18:55 UTC: Default-group hygiene completed: realm
aeternalisnow has/playeras the only default group. No blockers; next priority is hardeningsor-gameOIDC client by replacing wildcard redirect URIs/web origins with explicit production callback/origin values, then validating first-time player registration/login flow. -
2026-04-03 00:21 UTC: Added app-scoped IAM groups in Keycloak realm
aeternalis:argo-{admin,readonly},git-{admin,readonly},keycloak-{admin,readonly},harbor-{admin,readonly}, plussor-admin. Mappeddingo(emailjason.r.alleman@gmail.com) to all created admin groups. No blockers; immediate follow-up is enforcing explicitsor-gameredirect/web-origin allowlists and connecting Argo/Gitea/Harbor RBAC to these groups. -
2026-04-03 00:40 UTC: Added
git-user+nextcloud-user; assignedchaseto/git-user,/nextcloud-user,/argo-admin. Enforcement pass applied (excluding Harbor by request): Argo now uses group-only RBAC (/argo-adminadmin,/argo-readonlyreadonly), Gitea OIDC now requires/git-usergroup claim and maps/git-adminas admin, Nextcloud sociallogin now restricts users without mapped groups and maps/nextcloud-user→nextcloud-user,/nextcloud-admin→admin. No blockers; next priority is end-to-end auth validation for player/staff paths andsor-gameredirect/origin hardening. -
2026-04-03 15:57 UTC: Repo head advanced to
cfb10ae(Fix Keycloak auth failures: audience validation + packet drain race). No blockers detected. Priority update: run focused end-to-end auth validation (new login, token audience acceptance, reconnect/session stability) and then reconcile lingeringOVERALL.mdlocal doc delta for clean baseline. -
2026-04-04 15:17 UTC: Repo head advanced to
1b4a652(extract Keycloak group membership as role claims for SOR.Admin). Live diagnosis showsdingoreceivessor-adminin Keycloak token (realm_access.roles+groups) yet admin portal still 302-denies after/signin-oidc; priority update: instrument/fix SOR.Admin OIDC claim materialization so required role reliably lands in principal before fallback-policy evaluation. -
2026-04-04 15:57 UTC: Repo head advanced to
1b4a652(extract Keycloak group membership as role claims in SOR.Admin). Working tree now includes localOVERALL.mdplusdeploy/k8s/ingress.yamlmodifications. No hard blocker observed; priority update: run focused auth/RBAC validation for group->role claims and then reconcile/commit or clean ingress+doc deltas to restore a clean deployment baseline. -
2026-04-04 16:27 UTC: Repo head is
6fc7113(optionalKeycloak:MetadataAddressfor in-cluster OIDC discovery). No hard blocker, but priority update: decouple liveness/readiness from auth by adding an anonymous/healthendpoint (or probe path exemption), then re-validate admin login/challenge flow. -
2026-04-04 17:57 UTC: Repo head advanced to
e4ddd80(Redis-backed DataProtection key persistence for SOR.Admin). Priority update: perform RBAC consistency pass in SOR.Admin pages/components to replace legacyAdmin,SuperAdminrole attributes with the active Keycloak role model (sor-adminand any intended tiered roles), then re-validate end-to-end admin access. -
2026-04-04 18:21 UTC: Live IAM fix completed for onboarding:
/playerdefault group now maps realm roleplayer, so newly registered users should inheritplayerclaim automatically. Priority: run one fresh registration smoke test to confirm token containsplayerand SOR auth exchange no longer returns ROLE_REQUIRED. -
2026-04-04 18:51 UTC: No SOR repo blocker (HEAD
e4ddd80; localOVERALL.md+deploy/k8s/ingress.yamldeltas remain). Adjacent platform security action completed: ArgoCD now default-deny RBAC with explicit group grants only (/argo-admin,/argo-readonly) and local Argo user logins disabled. -
2026-04-04 19:57 UTC: Repo head advanced to
e4ddd80(DataProtection keys moved to Redis to prevent cross-pod cookie decryption failures). Working tree remains locally modified inOVERALL.mdanddeploy/k8s/ingress.yaml. No hard blocker observed; priority update: run focused multi-pod auth/session resilience validation, then reconcile/commit or clean ingress+doc deltas to restore deploy baseline clarity. -
2026-04-04 22:41 UTC: No SOR blocker (HEAD
e4ddd80; localOVERALL.md+deploy/k8s/ingress.yamlstill modified). Priority update: execute deferred IAM integration work — wire Harbor/Ceph/MinIO to Keycloak using newly created*-adminand*-readonlygroups, then validate role-based access end-to-end. -
2026-04-12 19:57 UTC: Repo head advanced to
bbe99d0(deploy: add sor-ai deployment manifest); working-tree drift remains unchanged (OVERALL.md,deploy/k8s/ingress.yaml). No immediate blocker; priority is validating the newsor-aideployment path and then reconciling lingering local drift for a clean baseline. -
2026-04-14 17:48 UTC: Repo head advanced to
b4062d8while local drift remains unchanged (OVERALL.md,deploy/k8s/ingress.yaml). No hard blocker detected; priority remains to validate current deployment/gameplay changes and reconcile persistent local drift to restore a clean operational baseline.