Skip to content

Merge Open Historia into Web Playables as a networked game - #22

Merged
sarthakagrawal927 merged 1 commit into
mainfrom
agent/web-playables-issue-21
Oct 9, 2026
Merged

sarthakagrawal927 merged 1 commit into
mainfrom
agent/web-playables-issue-21

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Refs #21. Merges Open Historia into this repo as a separate game. Source: Significant-Hobbies/open-historia at 84e83aa.

Layout

  • networked-games/open-historia/: the full Historia tree (SPA, Hono Worker, D1/Drizzle migrations, better-auth, multi-provider AI, Astro landing, unit + Playwright suites, docs, server local-ai submodule at 7694d76). Apart from the changes listed below, every file is byte-identical to the source commit.
  • Certified lane unchanged. Root lint/typecheck/test/build/build:yt are scoped to packages/, games/, apps/. Root biome and knip ignore networked-games/. Historia is not a YouTube Playables target and is not bound by the 64 KiB gamekit save envelope. AGENTS.md now documents the two lanes.
  • New root scripts historia:dev|check|e2e|deploy, CI job historia, and a manual deploy-historia.yml (same Worker open-historia, same D1 id, same custom domain, so no data migration is needed). Nothing was deployed.

Intentional changes to the source

  • wrangler.toml → wrangler.jsonc in both places, structurally identical (checked with tomllib against JSON). Wrangler looks for json/jsonc before toml, so without this a wrangler deploy run from the Historia folder picked up the root Pages wrangler.jsonc. wrangler deploy --dry-run now shows the same bindings (DB, FREE_AI, AI, NEURON_BUDGET, ASSETS, vars).
  • The Historia lockfile is merged into the root lockfile. A script confirmed that every Historia importer resolution equals the source lockfile, and that no root importer or snapshot changed.
  • Dropped: husky prepare and pre-push, nested packageManager, standalone workflows (ci, deploy, weekly), renovate/dependabot, and the machine-local .claude/settings.local.json (globally gitignored). Added Playwright output to .gitignore.

Verification (local, in a fleet-workspace worktree)

  • pnpm check (certified): biome, typecheck, gamekit 16 and idle-startup 34 tests, build. The site assembles with 1 game and has no Historia files in apps/hub/dist. build:yt zip has index.html at root and the YT SDK script first in <head>.
  • pnpm historia:check: typecheck, eslint, biome, vitest 115/115, cf:build.
  • pnpm historia:e2e: 22/22 Playwright tests (desktop + mobile). They cover command → validated consequence → save → reload, relations/diplomacy persistence, rewind and branch continuity, and layout at 390/768/1440px.

open-historia#34 (AI turn/advisor errors) is untouched.

🤖 Generated with Claude Code

Import Significant-Hobbies/open-historia at 84e83aa9eddc63f82e3be2d5175eb47da275b622
into networked-games/open-historia, a lane separate from the YouTube
Playables-certified games. Source files are byte-identical except:
- wrangler.toml -> wrangler.jsonc (structurally identical) so wrangler finds it
  before the root Pages wrangler.jsonc
- package.json drops the husky prepare hook and nested packageManager pin
- the nested lockfile/workspace are merged into the root (Historia keeps its
  exact resolutions; certified importers and snapshots unchanged)
- standalone .github workflows, .husky, renovate and dependabot replaced by
  root CI job `historia` and manual deploy-historia.yml

Root lint/typecheck/test/build/build:yt now target only packages/, games/
and apps/, so the Pages site and the YT zip are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sarthakagrawal927
sarthakagrawal927 merged commit 0acdcde into main Oct 9, 2026
2 checks passed
@sarthakagrawal927
sarthakagrawal927 deleted the agent/web-playables-issue-21 branch October 9, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant