Implement researched Guix package outcome for #384: [Guix packaging] Gruesome #690
Labels
No labels
accessibility
bug
category:ai-tool
category:browser
category:command-line-tool
category:compiler-toolchain
category:desktop-application
category:developer-tool
category:editor-extension
category:emulator
category:font
category:game
category:input-accessibility
category:library-framework
category:mud-client
category:multimedia
category:networking-client
category:programming-language
category:roguelike
category:storage-media-tool
category:system-tool
category:terminal-application
complexity:high
complexity:low
complexity:medium
difficulty:blocked
difficulty:easy
difficulty:hard
difficulty:moderate
documentation
duplicate
enhancement
good first issue
gooflow:guix-package-high
gooflow:guix-package-moderate
gooflow:guix-package-quality-gates
gooflow:guix-research-disposition
gooflow:guix-runtime-evidence-refresh
help wanted
invalid
kind:disposition
kind:packaging
needs:license-investigation
priority:quick
question
ready-for-agent
state:available-elsewhere
state:blocked
state:deferred
state:out-of-scope
state:ready
state:research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tay/guix-channel#690
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
This delivery ticket was created from research issue #384 ([Guix packaging] Gruesome).
The host-validated research finding follows:
Canonical upstream is the author's official Games of Grey archive directory, http://www.gamesofgrey.com/games/gruesome/; its latest release is gruesome0.0.3.zip (version 0.0.3, SHA-256 2fd4eed45954a6a3893aa39958871ef9c3a9d23ad87b98dab014c13dfb1388f). No canonical VCS repository, newer release, or same-upstream package/audit entry was found in this channel. The fixed archive contains source.pas, readme.txt, history.txt, license.txt, and a prebuilt Windows .exe; package only source.pas and documentation and never install the opaque .exe. license.txt is the complete GNU GPL Version 3, and source.pas identifies Darren Grey and the same license. There are no fonts, tiles, sounds, maps, submodules, registries, network/updater code, save files, or runtime downloads; focused source inspection finds only the standard Free Pascal crt unit and console I/O. Delivery: create tay/packages/gruesome.scm with gnu-build-system, no configure/check phases, native input fpc, and build source.pas with fpc -O2 -g-; install the real executable and upstream notices under share/doc/gruesome. Add a bash/expect launcher: normal invocation execs the real binary, while --smoke starts it in a PTY, supplies a deterministic name, begins the game, sends one '.' turn, then Q and the final acknowledgement key, verifies clean exit, and prints GRUESOME-SMOKE: gameplay-turn-ok. The wrapper's expect runtime input must be retained. Later acceptance must run upstream's compile-only check (no upstream test suite), guix lint, offline no-grafts build/check, and a fresh HOME/XDG smoke through bounded validation with no writable store paths, asserting that marker and the screenshot at .goocastle/evidence/issue-384.png; inspect the installed GPL notice and prove no archive .exe or store writes are present. Research did not claim a build because the host Guix daemon is intentionally unavailable.
Acceptance criteria
Runtime evidence contract
Implementation workflow:
guix-package-quality-gatesReviewed contract file:
.goocastle/runtime-evidence-contracts.jsonRequired proof phase:
safe-package-proof; screenshot phase:runtime-screenshotEvidence adapter:
github-issue-commentCopy this reviewed contract into the named file before running the package proof workflow.
Imported from GitHub issue/PR. Originally posted by htayj on 2026-09-05T08:12:16Z.
Goocastle blocked this ticket after the bounded repair budget was exhausted for the required command gate.
The failure receipt and task branch provenance remain preserved; inspect the branch and repair the failing gate before retrying.
Bounded failure evidence:
Failed command: node /opt/goocastle/bin/guix-package-proof.mjs '--package-name' gruesome '--module-path' tay/packages/gruesome.scm '--runtime-json' '{"executable":"gruesome","invocation":{"file":"gruesome","args":["--smoke"]},"successMarker":"GRUESOME-SMOKE: gameplay-turn-ok"}'
Exit status: 1
Final failure lines:
[stderr] Cannot start runtime evidence phase "safe-package-proof": task worktree contains uncommitted changes after agent phase "edge-case-audit"; scheduling bounded implementation/audit repair before retrying
Imported from GitHub comment. Originally posted by htayj on 2026-09-05T09:10:56Z.
Goocastle verified runtime evidence.
Runtime receipt
gruesomesafe-package-proof["node","/opt/goocastle/bin/guix-package-proof.mjs","--package-name","gruesome","--module-path","tay/packages/gruesome.scm","--runtime-json","{"executable":"gruesome","invocation":{"file":"gruesome","args":["--smoke"]},"successMarker":"GRUESOME-SMOKE: gameplay-turn-ok"}"]runtime-screenshot["sh",".goocastle/capture-guix-package-screenshot.sh"]/gnu/store/i5gxy52plaq7a8qhs1i72k1fksyksk40-gruesome-0.0.3/bin/gruesome["/gnu/store/i5gxy52plaq7a8qhs1i72k1fksyksk40-gruesome-0.0.3/bin/gruesome","--smoke"]["gruesome","--smoke"]GRUESOME-SMOKE: gameplay-turn-ok.goocastle/runtime-evidence-contracts.json (issue #690, SHA-256 eeb633ca59b2b9d21aec67f620dc0d3081a613ef3960e7f38c25f49d8f8d8b5a).goocastle/evidence/issue-690.png4c7668aa5be750eb36a0b3bd4497cb827ba64e6978e9a13a647be4716cd21d59211f4888b7be9a93690462abac31f713c8e219a516178 bytes / pngImported from GitHub comment. Originally posted by htayj on 2026-09-06T06:56:32Z.
Completed by Goocastle
Imported from GitHub comment. Originally posted by htayj on 2026-09-06T06:56:36Z.