9 KiB
DuneRealms Alpha 1.0.0.5 PR #198 Handover
Current user instruction (2026-11-12): Work ONLY on DuneGit through the authenticated Composio Gitea/Forgejo plugin for now. No Work mode. No DuneHub. No GitHub PR #8. Prefer actual coding and commits over repeated reporting.
Repository: https://www.dunerealms.com/git/unimatrix/MC
PR: unimatrix/MC#198
Branch: fix/website-integrations-20261111 -> main
Access
Use mcp__Composio__COMPOSIO_SEARCH_TOOLS to discover GITEA tools; the unimatrix Gitea connection is active. Read via GITEA_GET_PULL_REQUEST, GITEA_GET_REPOSITORY_CONTENTS, GITEA_LIST_COMMITS. Write via GITEA_CHANGE_REPOSITORY_FILES with base64 content and SHA for updates, specifying exact branch. Verify the returned commit and PR head. Do not reveal tokens, force push, merge or deploy without authorization.
Status
Last confirmed code commit from this chat: 2a1ce5869a2f4b2bd4bbccd63de8c6763812eae8 Task 01/10 account migration snapshot validation rejects unexpected tables and duplicate usernames case-insensitively; adds two tests in website/tests/minimal-account-migration.test.mjs. Tests have NOT yet been executed. Recheck branch head before any write.
Continue Tasks 0110, especially migration safety, staff permissions, Kit Exchange end-to-end, and regression verification. Preserve accounts, bank data, worlds, sessions and all existing functionality. Inspect current source, implement focused fixes, add tests, execute checks where available, review and commit. Clearly distinguish tests added from tests passing.
Do not repeat earlier mistake
GitHub unimatrixgit/mcdune PR #8 and commits a1f891d, 178db6b, 919512c, 5de9e3e are NOT DuneGit PR #198. User explicitly wants DuneGit-only for now. Keep messages brief.
Mandatory commit title format
Use exactly Alpha 1.0.0.5 - [Task NN/10] Short descriptive action for EVERY development, test, documentation and handover commit in PR #198. Keep the literal square brackets, zero-padded task number, /10, and the Alpha 1.0.0.5 - prefix. Example: Alpha 1.0.0.5 - [Task 01/10] Validate migration tables and unique usernames. No generic docs: or ci: prefixes. Preserve this naming in future chats.
Latest progress
Commit 1de5d29898b591dcac098ee7fa985f6ca0d99def strengthened website/node/minimal-account-migration.mjs to reject array snapshots/rows and invalid or missing timestamps, adding two regression tests in website/tests/minimal-account-migration.test.mjs. Tests not executed. Earlier commit 2a1ce5869a2f4b2bd4bbccd63de8c6763812eae8 rejected unexpected tables and case-insensitive duplicate usernames. Both are on DuneGit PR #198. Continue DuneGit-only; do not touch DuneHub or GitHub PR #8.
Updated mandatory workflow: separate implementation and test commits (2026-11-12)
User explicitly requires the same split used by another developer on PR #198:
- Inspect the latest PR head and existing implementations/tests before starting; other agents may commit concurrently. Do not overwrite their changes.
- Commit actual implementation in a separate implementation-only commit with title
Alpha 1.0.0.5 - [Task NN/10] <Task Name> - <Implementation description>. - Add or update regression tests in a separate test-only commit, titled
Alpha 1.0.0.5 - [Task 10/10] Testing, Merge & Deployment - <Test description>. - Run relevant tests; report pass/fail accurately. Fix failures in focused commits. Never claim that a syntax check equals an integration test.
- Only DuneGit PR #198 for now. No Work mode, no GitHub runner dependency, no merge or deployment without authorization.
Examples from another developer: implementation
d772142247(consistent MySQL export snapshot), testdfa4a3f4a2(require consistent snapshot); implementationc5e058e81a(escape username wildcard), testbc0aaf4e11(literal underscore searches).
Recent verified work: 8434d60 expanded dependency-free syntax checks; b6400a5, 90850f2, b47029e built the syntax suite; 80f1e9e aligned monitoring/staff regression expectations; 462e8fc fixed ban bridge SQL string syntax. Focused migration and staff tests passed; broad CP tests require runtime dependencies (mysql2, etc.).
Latest user decision: prioritize efficiency (2026-11-12)
User superseded the strict two-commit requirement with "work whatever way is most efficient". Prefer implementation and regression tests together in one atomic, tested DuneGit commit when that saves time; separate commits are optional when they genuinely improve review or debugging. Preserve the exact Alpha 1.0.0.5 - [Task NN/10] ... naming convention and always show actual commit links in the reply. Recheck the PR head and blob SHAs before writes to avoid colliding with other agents. DuneGit PR #198 only; no Work mode, no unauthorized merge/deploy.
Task 09: commit a51e044e838f5c462c53e69baabdb9250a817e56 rejects malformed native Kit Exchange response shapes. Follow-up malformed-response regression tests were locally passing (5/5) but their separate commit was blocked; next step is to publish them and verify against current PR branch.
Preferred workflow confirmed 2026-11-12: larger tested batches
The user explicitly approved larger cohesive coding runs as the preferred method ("this is da way"). Inspect the latest DuneGit PR #198 head first, group several related changes and their tests into a single coherent batch, run relevant tests, then commit implementation + tests together under Alpha 1.0.0.5 - [Task NN/10] .... Separate commits only when useful for isolating failures. Always provide real DuneGit commit links and test counts. Coordinate against colleagues' concurrent commits using current blob SHAs. No Work mode, no GitHub, no merge/deploy without authorization.
Latest completed batch: 7d6e6530e0e8f48730b0796c6babebe111050981 tightened Kit Studio UUID validation and native API response checks; 15/15 focused Kit Studio/Market tests passed.
Progress checkpoint (2026-11-12)
Overall Alpha 1.0.0.5: approximately 74% (planning estimate). Task 09/10 Kit Exchange: approximately 82% (planning estimate). These figures are not test-derived or release approval.
DuneGit PR #198 has published Kit Market and Studio preflight changes (74dcc82, 569c66f), their regression tests (251c90c), and browser API malformed-response handling (db0d3bd). Latest focused suite: 52/52 Kit Exchange tests passed; no Minecraft plugin integration or production deployment was tested.
Remaining Task 09 scope: end-to-end website/CP shop usability, kit publishing and database integration checks, native API compatibility verification, and the deferred Minecraft claim/delivery implementation in a later update. Preserve rollout gates, identity checks, cart idempotency, and the website-only scope.
Workflow: implement cohesive website batches, run regression tests, publish each passing batch directly to DuneGit PR #198, and verify the remote commit before further development. Never ask the user to run Git commands when connected publishing works. Do not merge or deploy without authorization.
Saved progress — 2026-11-12 (latest checkpoint)
Remote branch head: 2fa146ebc5f717df484e9ca5a1987cbe72f92e30, DuneGit PR #198, fix/website-integrations-20261111. Latest verified focused checks: 79/79 passing, including website syntax; this is not live database, native game integration, or production acceptance testing.
Planning estimates only: Overall Alpha 1.0.0.5 ~74%; Task 09/10 Kit Exchange ~87%. These are not measured or release-approved completion rates.
Completed since earlier checkpoint: Kit Market and Studio request preflight hardening; regression coverage; browser API response and cart validation; case-insensitive UUID consistency; staged checkout handling; receipt grouping, safe refresh and redemption-state display; native order response validation; optional receipt references/timestamps; private redemption-code stripping for sellers and fulfilled receipts; Kit Studio draft withdrawal, archive/restore publication safety, and concurrency conflict guards. Latest pair f3c222e (reject duplicate unpublish under listing row lock) and 2fa146e (regression test). Earlier critical branch fix 1e9c9ff and test 3707fdb prevent existing design saves from entering the new-blueprint insert path.
Next development task: Inspect simultaneous publishing and stale listing revisions, duplicate listing creation, and transaction integrity; implement focused website/CP fixes and regression tests. Review actual DB schema and native order/claim contracts before asserting full integration. Preserve historical purchases and bank records. No Minecraft plugin edits, Work mode, GitHub, production deployment, or PR merge without explicit authorization.
Publishing workflow: Use authorized Composio Gitea connection for DuneGit; inspect remote HEAD and blob SHA before writes, test changes, publish passing batches, and verify returned commits. Do not ask user to run server commands while direct publishing works. Development does not continue after the assistant turn ends; a new turn is needed to resume.

Staff