Files
bquarkz 1471b427f1
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
feat(studio): deliver asset authoring and automation workflows
Add shared human/task asset batches with reviewed atomic publication, explicit
reference rebinds, ownership inspection and qualified glyph/scene budgets.
Expose the same authoring and capacity results through Assets and MCP.

Deliver isolated guest test targets, retained visual evidence and immutable
runtime lifecycle/control observations. Preserve provider qualification and
installed authoring examples alongside the completed discussion lessons.

Close AGD-106 coordination and the delivered discussion workflows through
housekeeping, updating lesson references and preserving qualification limits.
Sound remains outside the asset delivery wave.

Validation: 579 module tests and 31 additional desktop, process and installed
checks passed; native glyph/scene 16/17 boundaries qualified. Discussion
validation passed after housekeeping.
2026-11-11 01:21:25 +00:00

4.1 KiB

Historical checkpoint. Final acceptance is recorded in the completed lesson.

Native reopen watchdog — confirmed regression and proposed scope

Owner: Studio guest-test acceptance; correction owner: runtime/headless. Status: reproduced twice through Studio and once directly through native JSONL. No runtime source/build/staging/commit was changed by this investigation.

The user explicitly selected correction by the runtime AI using this handoff. This Studio task has no authorization to edit/build/commit the provider. After external delivery, verify its exact installed identity and rerun the unchanged pilot; do not change the fixture, budgets or single-advance policy to bypass it.

Read-only follow-up: the runtime AI has opened its own PLN-0202, currently in_progress from HEAD 49d7fca with provider working changes. That external plan owns its authorized correction scope. Its working tree is not yet an installed delivery or Studio acceptance result; the consumer resume gate remains unchanged.

The public Zelda shop writer passes: purchase, explicit commit completion and clean process shutdown. A new process reopens the same disposable image. Boot succeeds, but its first advance(1) returns host_error/watchdog_expired with completed=0, logicalFrameIndex=0, tickIndex=2, PC=233 and get_fault=null. The memcard observation reports a pending presentation request with native IO active. This matches the previously reported ATR-20. The original game's sources/barrels and personal image are unchanged.

The direct probe bypasses the Studio consumer and sends exactly one advance. It negotiates protocol 1.2/memcard/log_read, mounts a temporary copy of the fixture-owned image, boots the retained reader cartridge, observes the failure and shuts down. It never retries advance or raises a budget. See native-probe.json, reader result, writer result and source/media proof.

Reproduce with the existing installation, writing only temporary fixture media and the explicitly selected report:

python3 reproduce.py '<installation>' '<report.json>'

Read-only diagnosis and proposed correction

The headless frame loop spins at most 100000 firmware ticks. Firmware ticks poll background IO, but this loop has no wait for IO progress. The boot admission loop already waits on the native memcard lane's progress stamp. The observed pending presentation IO makes starvation/insufficient host IO progress the first correction hypothesis; it is not a confirmed VM/guest instruction-budget failure.

Proposed runtime-relative file scope:

File Proposed change and impact
crates/host/prometeu-host-headless/src/host.rs Coordinate bounded native IO progress while owning a frame advance; retain cancellation/watchdog/frame counting and native errors. No automatic second advance or guest budget increase.
crates/tools/prometeu-cli/tests/automation_process.rs Native JSONL regression for first-frame progress after opening an existing fixture card, with exact progress/state and compatibility checks.
crates/tools/prometeu-cli/tests/support/memcard_process.rs Self-contained public memcard fixture support as needed for the regression; no Studio checkout or game dependency in provider tests.

Source-write authorization must also cover normal build/test outputs and a new isolated qualification installation. Retain the current selected stable install. No commits, commit-producing integrations, new guest ABI, log/VM budgets or additional substantive source files are included. If the diagnosis requires a different file/contract, update the scope before writing it.

Required validation after correction: focused native first-frame/reopen case, existing headless/memcard process compatibility, then the unchanged Studio Zelda writer/reader pilot and current shared runner/UI/MCP gates against the exact new installed executable. An accepted commit alone remains distinct from readback in a new process. Keep PLN-0172 in_progress until this mandatory pilot passes.