Skip to content

Polish pass, with PRs 50, 51, 52, 53 and 47 brought together - #54

Merged
EmotiveImpact merged 32 commits into
mainfrom
claude/project-thread-pze6ha
Nov 27, 2026
Merged

EmotiveImpact merged 32 commits into
mainfrom
claude/project-thread-pze6ha

Conversation

@EmotiveImpact

Copy link
Copy Markdown
Owner

Requested by Edem · project thread

Edem asked for the open work to be merged and published, with the Calculator restyled first. This branch is main plus the five open pull requests, merged in the order below, with one polish commit on top. Merging it with a merge commit also lands PRs 50, 52, 51, 53 and 47. PR 39 (Art Book) is left out: it is 62 commits behind main and conflicts.

What is merged in

PR What it is
#50 Removes the discount code from DEVLOG.TXT
#52 One-line fix to the Final Interview music loop
#51 Augustus redrawn with the afro, in game and on the title, with an eight-frame run
#53 General edition at the plain address, Solved edition from ?from=james
#47 The spoken video intro (cut 10) and "Play the game"

One conflict, in tests/browser.py: PRs 53 and 47 changed the same check. Kept PR 47's title_play() (it waits for the title's "press any button") and PR 53's general-edition wording.

The polish commit

Calculator. Laid out and coloured as Windows 3.1's Standard Calculator: a memory column, C, CE and Back above the pad, blue digits, red operators and memory keys, a white readout with the trailing full stop, and Edit, View and Help menus (About Calculator uses Program Manager's About box). History, which holds the £4,000,000 joke, stays and is also under View. The M- key is gone because the real one had none. The keys keep their symbols in data-key, so the keyboard and the browser test work as before.

Phones.

  • Sideways: cutscenes put the picture beside the words. Stacked, four lines of dialogue left the picture no room. Messages sit above the touch buttons instead of across them.
  • The interview answer scrolls into view clear of the pinned button, on any size.
  • The ending fits an upright or sideways phone: the words, then the notes and scores on one row, then the buttons in short rows. Very small phones (iPhone SE size) still scroll a little.
  • Desktop layouts are unchanged; every rule is inside a phone media query.

Smaller things.

  • The portrait beside the hearts is cut from the afro hero sheet by tools/cut-hud-portrait.py. The short-haired one is kept as assets/source/characters/portrait-reference-v1.png.
  • The save joke is told once a visit, then the message says "Saved." It used to show at every save point, about twenty times a play.
  • README.TXT gives the version the desktop label shows, 0.4.

Not in here

The ending's five equal buttons, the length of the opening before the first jump, and the size of cutscene pictures in their frame are taste calls Edem has not decided, so none of them is touched.

Checked

  • node --test tests/simulation.test.js: 43 pass. tools/build.py, tests/build-check.py and tools/package.py run clean.
  • Screenshots from a local build at 1280x800, iPhone 13 upright and sideways: Calculator, cutscene, interview, world complete, ending, a save message, the corner portrait.
  • The Playtest workflow (desktop, Android, iPhone) runs on this pull request.

Generated by Claude Code

The first time the game is started, a short intro plays before the title.
A telly flicks through three channels (the news, a technology show and an
antiques programme), goes off with a collapsing picture, and two shots of
the studio find the job. The title then drops in and waits behind "Press
any button to continue" before showing its menu. The intro plays once, can
be skipped with its button or Escape, and each line can be hurried along
with any key or a tap.

Every beat is a painted still. The three channels also have a five second
silent clip that starts on the still's own frame and holds its last one;
clips are left out on data saver, slow connections and reduced motion, and
the still stays underneath in any case. Reduced motion also drops the
static, the switch-off and the typed captions.

The stills are embedded in the offline build. The browser tests go through
the intro and the new prompt on their way to the title menu.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
The assistant is Pepper, a round pink character with bunny ears, in the
intro and in the email scene's chat lines. The two studio pictures now
show Pepper on the laptop.

After the telly goes off the doorbell rings. At the door Augustus asks
Pepper for a job over his shoulder, Pepper answers "Yes, sir", and the
delivery rider has a question about that. Two new stills carry the
exchange before Pepper finds the job.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
The title's buttons are hidden until the intro has ended and a button has
been pressed, so the gallery and "Choose a world" checks timed out. They
now reach the menu through the same helper as the play button.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
Every shot of the intro is now a short clip in which the characters speak
the script, from the newsreader to Pepper finding the job. The clips stay
muted and each shot's voices are a separate MP3 played through the game's
own sound, so the mute button and the limiter cover them. Each line is
still shown as a subtitle, timed to the moment it is spoken.

"We need a job" now has its own moment after the telly goes off, the
doorbell follows it, and the bag is handed over on screen while Augustus
calls back to Pepper.

Without the clips (data saver, a slow connection, reduced motion, a clip
that will not load within 2.5 seconds) the stills and typed lines stand in.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
…title from pressing its menu

A channel now cuts to the next the moment its last word is spoken, instead
of holding for the rest of the clip and a pause after it.

On a phone, the tap on "Press any button to continue" woke the title on
the press, and the click that followed fell on whichever menu button had
appeared under the finger, so the game left the title at once. The title
now wakes on the finished click. The click that skips the intro no longer
counts as that press either, so the prompt shows after a skip as well.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
…f the intro's voices

The single offline file carries the intro's stills only, yet the intro
still tried to fetch each shot's clip and voices there. A fetch from a
file: page fails with a console error, which the browser test caught on
all three profiles. The app now tells the intro when it is running from
the embedded build, and the intro asks for nothing: stills and typed
lines, as intended.

The voice tracks are rebuilt from a voice-only separation of each clip's
sound, so the music bed that some clips came with is gone. Lengths and
line timings are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
… changing, push-ins become cuts

Pepper's approved panel is laid back on the laptop in the room and door shots.
The newsreader and the second channel's presenter sit over one still background,
so nobody walks behind him and her set no longer redraws itself.
The antiques shot cuts to its close view of the letter before a second magnifying
glass appears. The door and driver shots hold a framing and cut in where they
used to creep in, and their stills are re-cropped to the frame each clip opens on.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
Edem: the code belongs in the posts and videos, not on the dev log.
DEVLOG.TXT goes back to the heading and the dated entries, and the
browser test checks the code is not in it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1c9tVNmxEGVjNGsTHm
… from HIRE.EXE's own window

Main now starts the game straight from the window on the desktop, with no title
screen in between. A first visit still opens on the intro there, and the title
lands after it; once the intro has been seen the button starts the game at once.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
Edem found the repaired clips worse than the generated ones. The clips and the
two re-cropped stills go back to the cut he reviewed, ahead of new takes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
Edem rejected the afro patched onto the old sprite. Augustus is now painted
as one 18-pose sheet (afro, full beard, teal hoodie, charcoal trousers) and
tools/cut-hero-sheet.py cuts it into the hero atlas at the same cells, anchor
and standing height, with one shared palette, and cuts the title-screen hero
from the same sheet. tools/repaint-hero.py is retired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1cNevy2HFj41ARkqbS
…the title lands

The intro's telly switch-off (intro-off) now lets in intro-room, Application
Alley's tune at a stroll on a marimba, kept about 14 dB under the voices. The
title landing after the intro plays intro-title once. Both are inert until the
intro itself is in main; the room tune stops if the intro is left any other way.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1YDyCJJL1RLLXnSThG
News, second channel, antiques, room and door are new complete takes from
the same start pictures, used as generated with no cuts inside them:
- news: the passers-by leave early and nobody changes behind the reader
- second channel: the wall of apps holds its shape
- antiques: one magnifying glass throughout
- room: locked camera, Pepper keeps her shape
- door: Pepper keeps her shape, the camera settles once
Voices have any music taken off; line times and channel ends re-measured.
The driver and last shots are unchanged.

The desktop window and the title menu now say Play the game.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
…y the game

After the Tony Stark line Augustus gets as far as "Don't hate the player"
when Pepper calls from the laptop: "Sir. Found one. Startup studio wants a
builder who ships with AI. And has taste." He looks back, grins and
finishes: "play the game." The title lands on that word.

The last shot is a new whole take from the doorway picture (play.*); the
old desk shot and "That's perfect" are gone from the running order, with
their sources kept. The driver shot is left before the second half of
his line, the way channels are left.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
… the James link

Plain hireexe.me now shows a general edition that names neither Solved Studio nor
James. hireexe.me/?from=james (or ?edition=solved-001) opens the Solved edition as
before, and the browser remembers the choice so a return to the plain address keeps
the same game and save. ?edition=general puts the general edition back.

The general edition uses the same 28-shot director's cut. Its wording differs only
through edition.cutscenes (lines, speakers and chapter titles by shot id), so the
shots in src/director-scenes.js stay one list. README.TXT, the tagline, the ending,
the last interview question and Setup's steps have general wording; the Netscape
Navigator link to solved.studio shows only in the Solved edition.

The CV page, CV.TXT and CV.PDF drop the one sentence that answers Solved's advert
in the general edition. The Solved PDF moves to assets/cv/solved/ unchanged and
assets/cv/Augustus-Edem-CV.pdf is a fresh print without that sentence.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1YKBjCEcstJ6HukeZ5
Pepper's "Startup studio wants a builder" is recognisably the Solved
advert, and the line is spoken in the clip, so text alone cannot swap it.
Editions other than solved-001 now play their own whole take of the last
shot (play-general.*), in which she says "They want a builder who ships
with AI. And has taste." The Solved edition is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
Pepper's line names no kind of firm now, so every edition hears the same
last shot: "Sir. Found one. A startup wants an AI product builder." then
"Play the game." The driver shot and the last shot are new whole takes;
the driver shot ends on "Don't hate the player" by itself.

Each channel is left half a second after its last word. Where that falls
after the clip runs out, the last frame holds until then.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
…s not drop out

Measured at the join: the quietest quarter-seconds after it were -39 to -43 dB
with the marimba alone; with strings under it they are -31 to -34 dB. The
theme's overall level is unchanged at -22.6 dB RMS.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1YDyCJJL1RLLXnSThG
Edem spotted that the run frames barely changed. The run is now painted on
its own sheet as a real cycle (contact, down, passing and up for each leg),
cut at the same afro width as the idle pose and lifted by as much as he leaves
the ground. The atlas gains a fourth row for run_6 and run_7, and the run
animation plays all eight frames at 14 fps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1cNevy2HFj41ARkqbS
Every clip now begins just before its first word, so no shot waits in
silence, and every spoken line is brought to one loudness. The room shot
is left as the doorbell rings.

New whole takes: the technology show says "looking at the state of them,
anyone has"; the antiques expert's "2023" falls flat; the door shot opens
on the food changing hands and "Oh, and Pepper."; in the last shot
Augustus keeps hold of the bag. The driver shot is the earlier take again.

The channel-change static is louder.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
…riting in view

Pepper is heard from the room and not seen, so no screen or written word appears.
Line times follow the new take.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
Edem heard it under intro cut 6 and wants it gone. This removes the room tune,
the title fanfare and their hooks in the app's sound object. The intro keeps
its telly, switch-off and doorbell sounds, which are already in main.

This reverts commit 78dc075.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1YDyCJJL1RLLXnSThG
In the previous take a black ball came up on the desk behind Augustus two
seconds in. This whole take keeps the desk as it starts and pushes in further.
Line times follow the new take.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
…ady close-up

The doorbell is the two-note chime that came with the first room clip, played as a
recording; the game's own two notes remain for the offline file. The snow between
channels now lasts the whole flip instead of dying away at once. The Tony Stark
exchange is a new whole take: a close two-shot with a still camera.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
The rider asks in his own close-up and Augustus answers in his, each a whole take
with a still camera, in place of the two-shot. Clips are fetched two shots ahead
so the short reply is ready when the rider's line ends.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
The chime's two notes read as two doorbells. Only the second note rings now, in
the recording and in the game's own fallback, and the room shot is left sooner.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1agXB7QTFVgw7YjYr5
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1bGULTqh1E16ispjGk
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1bGULTqh1E16ispjGk
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1bGULTqh1E16ispjGk
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1bGULTqh1E16ispjGk
tests/browser.py: both PR 53 and PR 47 changed the same check. Kept PR 47's title_play(), which
waits for the title's 'press any button', and PR 53's general-edition wording.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1bGULTqh1E16ispjGk
… the hearts

Phones
- Cutscenes on a phone held sideways put the picture beside the words, so four lines of dialogue
  no longer squeeze the picture out; messages sit above the touch buttons.
- The interview answer scrolls into view clear of the pinned button, and the ending fits an
  upright or sideways phone (words, notes and scores, then the buttons).

Calculator
- Laid out and coloured as Windows 3.1's Standard Calculator: memory column, C, CE and Back,
  blue digits, red operators, a white readout with the trailing full stop, and Edit, View and
  Help menus. History stays, under View.

Smaller things
- The portrait beside the hearts is cut from the afro hero sheet (tools/cut-hud-portrait.py);
  the short-haired one is kept as assets/source/characters/portrait-reference-v1.png.
- The save joke is told once a visit, then it says Saved.
- README.TXT gives the version the desktop shows, 0.4.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TySN1bGULTqh1E16ispjGk
@EmotiveImpact EmotiveImpact self-assigned this Nov 27, 2026
@EmotiveImpact
EmotiveImpact marked this pull request as ready for review November 27, 2026 09:24
@EmotiveImpact
EmotiveImpact merged commit 7217e34 into main Nov 27, 2026
3 of 4 checks passed

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 9 potential issues.

Devin Review

Comment thread src/app.js
Comment on lines +371 to +372
const how=await H.intro.play(layer,{asset,voice,clips:!globalThis.HIRED_EMBEDDED_ASSETS,sound:name=>audio.effect('intro-'+name)});
if(launch!==launchNumber||uiMode!=='intro')return;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Intro hijacks controls after exit

Opening Worlds during the intro leaves H.intro.play running. Its keyboard handler still intercepts movement keys after the player enters a world. Closing the game also leaves the intro running behind the desktop.

Learn more

The game toolbar stays available during the intro and its Worlds button switches to the world directory. The intro only removes its capturing keyboard listener and stops speech in finish, which changing screens does not call. The mode check after awaiting playback prevents an obsolete title transition but does not cancel the intro itself.

Example: Start a first visit, click Worlds, select Application Alley and click Skip cutscene. Press Right: the intro consumes the key instead of letting the player move. Clicking the window’s close button instead leaves the intro active behind the desktop.

Recommended fix: Give the intro an explicit cancellation API and call it whenever the app leaves intro mode. Reuse the normal cleanup and distinguish cancellation from a completed or deliberately skipped intro. Exclude intro from desktop return targets unless it can actually be resumed.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread src/desktop.js
Comment on lines +17 to +19
const paste = () => navigator.clipboard?.readText().then(text=>{
for(const ch of text.trim())if(/[0-9.]/.test(ch))input(ch);
}).catch(()=>{});

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Calculator paste changes numeric values

Copy a result of -12, clear the Calculator, then choose Paste. paste drops the minus sign and enters 12. It also strips exponent notation from results such as 1e-7.

Learn more

Copy writes the raw value shown by the Calculator. Paste reads the clipboard but replays only digits and decimal points rather than interpreting the clipboard as one number. The Calculator's format can produce scientific notation as well as signed values.

Example: Enter 12, click +/−, choose Edit → Copy, clear with C, and choose Edit → Paste. The display changes to 12 instead of −12.

Recommended fix: Validate the full trimmed clipboard string as a finite numeric literal, including an optional sign and exponent. Apply the parsed value as one Calculator entry, preserving any pending operator, rather than sending individual digits through input. Test a round trip for both signed and scientific-notation results.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread src/intro.js
Comment on lines +252 to +256
function onKey(e) {
if (e.metaKey || e.ctrlKey || e.altKey || e.key === 'Tab') return;
e.preventDefault(); e.stopPropagation();
if (e.key === 'Escape') finish('skipped');
else if (!e.repeat) next();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Skip intro ignores keyboard activation

With Skip intro focused, onKey suppresses Enter and Space. Both keys advance the intro instead of skipping it.

Suggested change
function onKey(e) {
if (e.metaKey || e.ctrlKey || e.altKey || e.key === 'Tab') return;
e.preventDefault(); e.stopPropagation();
if (e.key === 'Escape') finish('skipped');
else if (!e.repeat) next();
function onKey(e) {
if (e.metaKey || e.ctrlKey || e.altKey || e.key === 'Tab') return;
if ((e.key === 'Enter' || e.key === ' ') && e.target.closest?.('#intro-skip')) return;
e.preventDefault(); e.stopPropagation();
if (e.key === 'Escape') finish('skipped');
else if (!e.repeat) next();

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread src/desktop.js
Comment on lines +25 to +26
{ label: '&Copy', key: 'Ctrl+C', id: 'calc-copy', disabled: !navigator.clipboard?.writeText, action: copy },
{ label: '&Paste', key: 'Ctrl+V', id: 'calc-paste', disabled: !navigator.clipboard?.readText, action: paste }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Calculator clipboard shortcuts do nothing

The Calculator advertises Ctrl+C and Ctrl+V for copy and paste. Its keyboard handler ignores Ctrl combinations, so neither shortcut runs the advertised action.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread src/app.js
const CALC_ICON='<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAf0lEQVR4Ae2WAQqAQAgE9+k+zZ/ZAZIcRdYhUrQDQ9wFITJAIIQ41m9gMOtVZBoiLv3FsiK3FCQDqOpjp29kwq4HWAHDog2sNlGwgQaTDbiqukc1KD1nG4iogOrzgwbc+jMbYAN/aeCEvgZ8oNn+BsKPNADzy77n8besX0LewQYWnBFReoXS9wAAAABJRU5ErkJggg==" alt="">';
const SUB_ICON='<span class="pm-glyph pm-glyph-sub">⚓</span>';
const CV_PDF='assets/cv/Augustus-Edem-CV.pdf';
const CV_PDF=E.cvPdf||'assets/cv/Augustus-Edem-CV.pdf';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Standalone Solved downloads the wrong CV

In the standalone Solved edition, the CV downloads use HIRED_EMBEDDED_CV instead of the edition’s PDF. The standalone build embeds only the general CV, so the download omits the Solved-specific sentence.

Learn more

The standalone game still runs chooseEdition, including its explicit query selection. Its build embeds one PDF, from the general asset. The desktop shortcut and ending link builder prefer that embedded PDF, while CV.TXT uses the selected edition.

Example: Open the standalone game with ?edition=solved-001, then open CV.TXT and download CV.PDF. The text addresses Solved’s advert, but the PDF is the general version.

Recommended fix: Embed both PDFs and pick the matching data URI after edition selection. Use that same resolver for the desktop, ending and footer downloads; test both editions without network access.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread src/intro.js
Comment on lines +103 to +107
film.src = asset(FOLDER + b.art + '.mp4');
films[b.art] = film;
voices[b.art] = voice
? fetch(asset(FOLDER + b.art + '.mp3')).then(reply => reply.ok ? reply.arrayBuffer() : Promise.reject())
.then(bytes => voice.decode(bytes)).catch(() => null)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Local checkout loses intro voices

When Chrome opens the checkout directly, fetchShot cannot fetch dialogue from file: URLs. The muted clips still play with subtitles, but none of the voices are heard.

Learn more

The README documents opening the game directly from a complete checkout. The app enables clips for that launch because it is not the embedded standalone. Chrome blocks Fetch API reads from sibling local files, while media elements can load local media directly. On a failed fetch, the code sets the voice to null and roll plays only the muted video and subtitles.

Example: Open the checkout’s game page from Finder or Explorer in Chrome and click Play the game with sound enabled. The TV shows the newsreader and subtitles, but the newsreader is silent.

Recommended fix: Use a local-file-compatible media path with mute support, or explicitly route file: launches to the still-and-text fallback instead of playing unvoiced clips.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread art-book.html
<div class="components-intro"><div class="sprite-lab"><div class="sprite-stage"><span class="stage-badge">LIVE ATLAS PREVIEW</span><canvas id="hero-preview" width="240" height="224" aria-label="Animated preview of the Augustus character sprite">Augustus hero animation preview.</canvas></div><div class="sprite-controls"><h3>Augustus</h3><p>The applicant.<br>The playable character.</p><label for="animation-select">ANIMATION</label><select id="animation-select"><option value="idle">Idle</option><option value="run" selected>Run</option><option value="jump">Jump</option><option value="fall">Fall</option><option value="dash">Dash</option><option value="hurt">Hurt</option><option value="crouch">Crouch</option><option value="victory">Victory</option></select><button class="button small" id="animation-pause" aria-pressed="false">Pause</button><button class="button small" id="animation-flip" aria-pressed="false">Face left</button><div class="sprite-meta">80 × 96 cells<br>18 frames / 8 states<br>Shared foot anchor</div></div></div><div class="character-summary"><div class="label-row"><span class="chip blue">ORIGINAL CHARACTER</span><span class="chip">TRANSPARENT ATLAS</span></div><h2>A consistent hero in every frame.</h2><p>Short curls, an expressive face, teal jacket, cream shirt, dark trousers and trainers. The approved character now has a fixed-cell atlas and explicit animation timings.</p><p>The animation preview reads the delivered sprite frames. Foot-centred anchors keep the character connected to the ground as poses change.</p><a href="docs/ART-BIBLE.md">Character frames and processing notes ↗</a></div></div>
<div class="section-head"><div><h2>Characters &amp; encounters</h2><p>Production sheets with their original transparent backgrounds.</p></div></div>
<div class="atlas-grid"><figure class="figure"><div class="figure-bar">AUGUSTUS / HERO ATLAS<span class="tag">18 FRAMES</span></div><div class="checker"><button class="media-button" data-zoom="assets/production/characters/hero-atlas.png" data-caption="Augustus · production hero atlas, 480 × 288" aria-label="Enlarge the hero production atlas"><img src="assets/production/characters/hero-atlas.png" alt="Eighteen Augustus animation frames on a transparent atlas." width="480" height="288" loading="lazy"></button></div><figcaption class="image-note"><span>Idle · run · jump · fall · dash · hurt · crouch · victory</span><a href="assets/production/characters/hero-atlas.json">JSON ↗</a></figcaption></figure><figure class="figure"><div class="figure-bar">ENEMIES / BOSSES / PICKUPS<span class="tag">RUNTIME ATLAS</span></div><div class="checker"><button class="media-button" data-zoom="assets/production/enemies/enemy-atlas.png" data-caption="Enemies, bosses and collectibles · production atlas, 768 × 384" aria-label="Enlarge the enemy and collectible production atlas"><img src="assets/production/enemies/enemy-atlas.png" alt="CV bots, envelopes, paper planes, four bosses and collectible icons on a transparent atlas." width="768" height="384" loading="lazy"></button></div><figcaption class="image-note"><span>Three enemy families · four boss silhouettes · eight icons</span><a href="assets/production/enemies/enemy-atlas.json">JSON ↗</a></figcaption></figure></div>
<div class="atlas-grid"><figure class="figure"><div class="figure-bar">AUGUSTUS / HERO ATLAS<span class="tag">20 FRAMES</span></div><div class="checker"><button class="media-button" data-zoom="assets/production/characters/hero-atlas.png" data-caption="Augustus · production hero atlas, 480 × 384" aria-label="Enlarge the hero production atlas"><img src="assets/production/characters/hero-atlas.png" alt="Twenty Augustus animation frames on a transparent atlas." width="480" height="384" loading="lazy"></button></div><figcaption class="image-note"><span>Idle · run · jump · fall · dash · hurt · crouch · victory</span><a href="assets/production/characters/hero-atlas.json">JSON ↗</a></figcaption></figure><figure class="figure"><div class="figure-bar">ENEMIES / BOSSES / PICKUPS<span class="tag">RUNTIME ATLAS</span></div><div class="checker"><button class="media-button" data-zoom="assets/production/enemies/enemy-atlas.png" data-caption="Enemies, bosses and collectibles · production atlas, 768 × 384" aria-label="Enlarge the enemy and collectible production atlas"><img src="assets/production/enemies/enemy-atlas.png" alt="CV bots, envelopes, paper planes, four bosses and collectible icons on a transparent atlas." width="768" height="384" loading="lazy"></button></div><figcaption class="image-note"><span>Three enemy families · four boss silhouettes · eight icons</span><a href="assets/production/enemies/enemy-atlas.json">JSON ↗</a></figcaption></figure></div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Art Book previews an incomplete stride

The Run preview still cycles through six frames at 12 fps. The production run cycle uses eight frames at 14 fps, so the preview omits the final two.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread README.md
## Reuse for another application

The default URL selects `solved-001`. Use `?edition=portfolio` for the employer-neutral version. Add another entry to the edition map in [src/edition.js](src/edition.js) and give it a distinct ID. Set its company, role, opening, closing, projects, field notes, contact and interview questions. The same built site serves each registered edition by URL and keeps results under separate keys. Unknown IDs fall back to the default. Keep private project walkthroughs as descriptions.
The default URL selects `general`, the edition with no employer in it. `?from=james` (the link in the email to James) or `?edition=solved-001` selects the Solved Studio edition, and the browser remembers that choice until `?edition=general` is opened. `?edition=portfolio` is the older neutral edition the playtest uses. An edition rewords the cutscenes through its `cutscenes` entry (lines, speakers, chapter titles and pictures by shot ID), so the shots in [src/director-scenes.js](src/director-scenes.js) stay one list. The CV page, CV.TXT and CV.PDF follow the edition too: `cvOmit` lists the sentences an edition leaves out and `cvPdf` names its own PDF, so reprint both PDFs from `cv.html` after any CV change (`cv.html` for the general one, `cv.html?edition=solved-001` for `assets/cv/solved/`). Add another entry to the edition map in [src/edition.js](src/edition.js) and give it a distinct ID. Set its company, role, opening, closing, projects, field notes, contact and interview questions. The same built site serves each registered edition by URL and keeps results under separate keys. Unknown IDs fall back to the default. Keep private project walkthroughs as descriptions.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 General CV print instructions reuse Solved

The general CV print URL has no edition parameter. After a Solved visit, chooseEdition selects Solved on that URL too.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread tests/browser.py
Comment on lines +196 to +201
page.wait_for_function("['intro','title'].includes(HIRED_APP.mode)")
if page.evaluate("HIRED_APP.mode === 'intro'"):
expect(page.locator('.intro-osd')).to_have_text('CH 1')
expect(page.locator('.intro-words strong')).to_have_text('Newsreader')
activate('#intro-skip')
expect(page.locator('.game-title.title-land')).to_be_visible()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Natural intro completion goes untested

The browser test waits for the first caption, then skips. It never checks that the voiced clips advance on their own and reach the title.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

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.

2 participants