Skip to content

feat(game001): complete V5 night protocol runtime - #1

Merged
DTALEX66 merged 38 commits into
mainfrom
feat/game001-v5-night-protocol
Jul 27, 2026
Merged

feat(game001): complete V5 night protocol runtime#1
DTALEX66 merged 38 commits into
mainfrom
feat/game001-v5-night-protocol

Conversation

@DTALEX66

Copy link
Copy Markdown
Owner

Summary

  • 完成 Game001《异常电梯》V5「夜班协议」前后端运行时接线
  • 修复事件链首步安装、pending inspection、quick decision 分流和超时推进
  • 接入 eventChainFlags 结算、nextShiftModifiers 消费和统一 timeline sequence
  • 接入 V5 visualState、CCTV 夜班氛围、移动端触控区和独立音频语义
  • 将 visual 资源声明为 v5-visual subpackage,清理旧版输出目录
  • 更新 V5 进度与验证证据

Verification

  • npm test: 318/318 pass
  • npm run douyin:check: 17/17 pass, 0 runtime blocker
  • WeChat strict bundle check: 8/8 pass, 0 blocker
  • git diff --check: pass
  • WeChat total package: 18,259,743 bytes
  • Douyin total package: 18,259,816 bytes

Release boundary

  • 未提交 release.config.jsonproject.private.config.json.tmp/
  • 真实微信/抖音 AppID、广告位和开发者工具/真机人工验收仍需在正式发布前完成

DTALEX66 and others added 30 commits July 12, 2026 20:16
Phase A of Night Protocol:
- add five self-contained content schemas and staged content containers
- add six initial one-sentence night protocols
- add protocol generation/evaluation with guaranteed applicable rule
- add neutral three-field evidence comparison and silent-play validation
- add clamped contamination state, tiers, causal history and reliable paths
- integrate contamination into shared initial state and platform bundles
- add V5 content validator, Phase A handoff docs and 15 new tests

Verification: 255/255 tests, skins valid, Douyin 0 blockers,
verify summary fully green
- replace all 24 wide and 24 mobile CCTV states with text-free artwork
- replace all 8 button sprites with runtime-label-safe hardware plates
- normalize lockdown SFX to -1 dBFS and add calm/pressure BGM loops
- remove legacy CCTV top/bottom cropping and opaque baked-HUD mask
- add dedicated mini-game and H5 music controls with mute/lifecycle/ad handling
- switch calm/pressure music from runtime anomaly state without parallel loops
- regenerate WeChat, Douyin and Android WebView artifacts
- add regression coverage for full-cover rendering and music lifecycle

Verification: 260/260 tests; WeChat/Douyin 0 blockers; Android OK
- remove seven unreferenced generated/reference images
- remove non-runtime spritesheets and unused SVG icon previews
- update visual manifest, asset docs and inventory tests
- retain all runtime CCTV, buttons, overlays and release screenshots
- document 4.6GB to 1.2GB local cleanup and preserved toolchain

Verified: 260/260 tests; skins and V5 content valid;
WeChat/Douyin builds pass; Douyin has 0 runtime blockers;
Android resource preparation passes
- ignore Android WebView staging directory generated by android:prepare
- remove tracked game.js, index.html and styles.css staging copies
- verify Android staging regenerates from an empty state
- update cleanup report to 1.04GB final footprint

Verified: npm test 260/260 pass
- render 720x420 CCTV art with contain instead of cropping it to portrait stage
- use a low-opacity ambient cover layer behind the complete frame
- keep runtime HUD and anomaly overlays unchanged
- add regression coverage preventing cover-only CCTV rendering

Verified: 260/260 tests; Douyin strict 0 runtime blockers
- restore the responsive large CCTV monitor layout
- stretch the complete image into the existing viewport
- remove contain letterboxing and duplicate ambient backgrounds
- preserve readings, decision buttons and bottom feedback placement

Verified in active Douyin simulator; 260/260 tests pass
- evaluate only applicable night protocols as one deterministic rule set
- add CAM-scoped evidence discovery and corroboration rules
- add limited thermal scan and three-second replay tools
- add free protocol lookup without exposing direct answers
- register investigation logic in the mini-game bundle
- document Phase 1 completion with no visual changes

Verified: 267/267 tests; Douyin 0 runtime blockers
- add 30 anomalies across six evidence categories
- add 10 normal shifts with round types and passenger references
- enforce silent verification and cross-content reference integrity
- bundle identity and event-chain engines without changing UI

Verified: 276/276 tests; V5 content valid; Douyin 0 runtime blockers
- resolve contextual high-risk actions with real power costs
- carry wrong decisions into later shifts without immediate failure
- build ordered decision event-chain and contamination timelines
- select five deterministic endings from night outcomes
- bundle logic without changing Canvas UI or visual assets

Verified: 281/281 tests; Douyin 0 runtime blockers
- extract eight text-free 720x420 CCTV scenes from the approved source crops
- keep full-screen 393x852 and 360x640 mockups reference-only
- preload V5 scenes through the Canvas asset store
- synchronize WeChat Douyin and Android asset coverage
- add deterministic extraction script and package-size evidence

Verified: 281/281 tests; Douyin 18.14MB; 0 runtime blockers
@DTALEX66
DTALEX66 merged commit d4bf0b3 into main Jul 27, 2026
1 check passed
@DTALEX66
DTALEX66 deleted the feat/game001-v5-night-protocol branch July 27, 2026 16:45
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