Skip to content

fix(demo): complete both job cycles and ship updated APK - #50

Open
DanielHC16 wants to merge 2 commits into
mainfrom
fix/demo-complete-cycle
Open

DanielHC16 wants to merge 2 commits into
mainfrom
fix/demo-complete-cycle

Conversation

@DanielHC16

Copy link
Copy Markdown
Owner

Summary

The offline APK stopped at Applied unless the presenter repeatedly operated both accounts, and an accepted listing hid its assignment link. Either account can now complete the job cycle independently, with automatic local responses from the other account and a direct Open assignment action.

Related Issue

Closes #49.

Changes

  • Employer: publish → automatic applicant → select → automatic text submission → approve.
  • Worker: apply → automatic selection → submit → automatic approval.
  • Save user actions and counterpart responses atomically. Recover older pending applications and empty custom posts on startup or account switching, without resetting progress or duplicating events.
  • Move account switching and confirmed reset into Settings, add Home/Settings navigation, and remove presentation disclaimers from product screens as explicitly requested by the owner.
  • Replace the shareable offline APK at do-well-apk/do-well-demo-offline.apk and update installation/presentation documentation. The live APK is unchanged.

Validation

  • Test-first failures reproduced missing counterpart turns, the hidden assignment CTA, old-post recovery and Settings/UI gaps before fixes.
  • Local full suite: 118 suites / 733 tests passed; lint, strict TypeScript and formatting pass.
  • Independent source review: LGTM after fixing recovery when switching from worker to employer.
  • Local standalone APK build: SUCCESS in1m48s; v2 signature, ARM64/x86_64, embedded JavaScript, unchanged source manifest and private-value scans pass. Offline APK SHA-256: EA03C652ED36378D0829A554F28DBE24906B2FD86CF3217725F7E59FC988FE69.
  • Actual API35 emulator: install-r preserves data; employer and worker cycles both complete in airplane mode without Metro. Both five-event timelines, both cold-restart/account persistence checks, Settings switching and confirmed reset pass. Rehearsal exit0,8PASS checks; screenshots inspected. Emulator left ready at Maya's starter workspace. Legacy pending-state recovery is automated-test proof, not a separately established old-device-state rehearsal. Details: docs/DEMO_GUIDE.md.

Screenshots

Local emulator evidence and its filenames are recorded in docs/DEMO_GUIDE.md.

Security Review

All data and automatic counterpart decisions stay in the isolated local demo runtime. No production auth, gateways, RLS, database schema, credentials or live account changes. Saved progress is validated and persisted before success is displayed. Keys and generated native output remain ignored.

Cost Review

PHP 0 / USD 0. Local compilation; no service, billing, card or overage capability added.

Known Limitations

The offline APK simulates the other account's applications, selections, text submissions and approvals. It does not prove real counterpart decisions, hosted authentication/RLS, image uploads, payments or remote sync. The owner explicitly replaced the template/ADR 0006 on-screen disclosure requirement with ordinary product copy; ADR 0010 records that change. The APK filename, README and runbook continue to identify the local simulation. Physical-device and broader hosted acceptance remain #46. Video generation is untouched.

Next Steps

Use the rebuilt offline APK for the complete local walkthrough; continue #46 separately for hosted/device acceptance.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T16:07:31.497650Z 8c6a2a6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

fix(demo): complete offline job cycle and move account switching to Settings

1 participant