Repository navigation
feat: add trailer, docs site, diagrams and a hardened redeployed contract - #39
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
Prepares the submission: the trailer and README media (#24), a hardened and redeployed contract, a docs site at
/docs, architecture diagrams, and the documentation pass behind issue #25.What changed
Contract (
contracts/deepmark-contract)transfer(a, a, id)is an authorized no-op, so a self transfer no longer duplicates an id.unwrap()calls became a typedNotInitializederror.start_runrenews the shared storage entries and a veteran's records.MintFailedand reverts the wholefinish_run, so the run stays open and can be retried.start_runnow costs about 0.9 XLM instead of 183.9 XLM. New ids are indocs/deployments.mdandclient/src/stellar/config.ts.Client (
client)start_runis re-simulated, andfinish_runkeeps the saved run onMintFailedor a lost response.vercel.jsonwith a Content-Security-Policy and security headers.game-app.tswent from 957 to 130 lines, and the code now lives insrc/app/modules. Biome andcargo fmtandclippyrun in CI. 134 client tests./docs, built from the repository markdown with no client JavaScript, and kept out of the game bundle.Diagrams (
diagrams): seven diagrams generated from code, with a CI check that fails when the committed output drifts.Trailer (
trailer): a Remotion workspace that renders the 30 second and 90 second trailers and the animated share card from gameplay recorded on the production build, plus the README screenshots and GIF. The videos are linked from the README.Docs: README with explorer links, a "verify a run in 60 seconds" block and a measured costs table, an updated threat model, a roadmap and a business model.
Verification
bun run typecheck,lint,format:check,bun test(134) andbun run buildpass inclient.cargo fmt --check,cargo clippy -D warningsandcargo testpass in the contract.DMRARE, two full clears and a veteran run. Every transaction hash linked in the README issuccessfulon Horizon, andverify_runmatches therun_finishedevent.Known limits
docs/threat-model.md.Closes #24. Refs #25: the remaining items there need the owner (submission, pitch video, real device checks).