Repository navigation
Conversation
Chess Dog needs a trusted service boundary to Chess-Crawl before its player workflows and Live/Turbo components are designed. This adds server-side archive reads, scoped run/job reads, and explicitly budgeted collection submissions with stable idempotency keys. Rich archive reads verify the configured token-to-workspace binding before fetching private observations. Mercure Bundle supplies five-minute, subscriber-only JWTs for exact authorized run/job topics. Browser-safe connection options exclude credentials; cookies are HttpOnly, host-only, same-origin and HTTPS Secure. Validated JSON event identities feed snapshot-authoritative revision/reconnect decisions. Documentation explains local configuration and the authenticated app-user-to-workspace resolver needed for SaaS. UX design and browser/component wiring remain open; no templates, controllers, routes, styles or navigation change. Validation: 29 unit/existing functional tests, 136 assertions; Symfony YAML/container lint; Composer strict validation and dependency audit; native Mate confirms PHP 8.5.11 and service wiring with secrets redacted. Independent scope/security review fixes are included, including rich-player credential binding and nullable retry timestamps in normal job events. Integration limits: targets the companion workspace-scoped Crawl API. The local configured authority is not app-user authentication. Subscriber signing uses the hub's separate HMAC subscriber key and a same-origin proxy. No application subscriber route or arbitrary HTML publication is introduced. Live Components and Turbo are already installed; the Flowbite subscription can support the later UX work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promote the archive and Mercure service foundation from
devintomaster, the repository's default branch.Included work from #8:
UX design and browser/Live Component/Turbo wiring remain open. The existing preview does not call the new services. SaaS exposure requires an authenticated app-user-to-workspace resolver.
Validation:
3c90aa2e81bd77b9cdb060eb5255f7f4525b837a).devis 5 commits ahead ofmaster, with no commits behind, across 30 changed files.Draft for maintainer review; PR CI runs through the existing workflow.