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

102 lines
6.2 KiB
Markdown

> Historical checkpoint. Final acceptance is recorded in [the completed lesson](../../LSN-0111-isolated-guest-targets-and-complete-structured-results.md).
# External runtime delivery verification
Owner: Studio / isolated guest tests. Result: provider delivered and verified;
the full Studio plan remains in progress.
## Delivered provider
Runtime HEAD is `c649e02` (`feat(headless): expose negotiated native log
observation`); its tracked working tree is clean. The eleven scoped source,
schema, fixture and specification files match every source hash in the retained
provider qualification. The three retained gate logs also match their hashes.
The provider evidence records 408 passing tests and one pre-existing ignored
manual latency qualification, with the initially skipped installation cases
subsequently executed.
The independent runtime lesson is
[LSN-0074](../../../../../../runtime/discussion/lessons/DSC-0070-headless-bounded-log-observation/LSN-0074-native-log-retention-and-reader-progress.md).
It explicitly limits its completion claim to runtime: no Studio runner, UI,
helpers or consumer end-to-end qualification was delivered there.
## Independent live verification
Existing executables were run directly, without cargo rebuild or runtime writes.
All fixtures and media were disposable temporary data.
| Gate | Result | Exact executable scope |
| --- | --- | --- |
| Existing CLI process test executable, all cases including installation cases | 28 passed, zero ignored/failures | Ordinary cases use the embedded debug headless path; three packaged cases use the isolated provider installation |
| The three packaged cases against the current stable installation | 3 passed | Native guest logs, existing production capture and separate-process memcard persistence |
| Studio headlessProcessTest and memcardProcessTest | 10 passed, zero skips/failures/errors | Current stable installation; existing production/evidence/media integration, not the unfinished structured-test runner |
| Direct dispatcher protocol probes | Passed for isolated and stable installations | Negotiate 1.2/log_read, read native sequence zero twice, verify identical pages and unchanged guest state, shutdown |
The debug, isolated qualification and current stable headless executables have
different digests. Their identities and test scopes are recorded separately;
no binary equivalence or release-capacity qualification is inferred.
Both installations currently advertise protocol 1.2 and log_read. The older
local qualification showing stable protocol 1.1 is historical and has not been
rewritten.
Evidence: [process rerun](live-process-recheck.json),
[stable packaged rerun](stable-packaged-recheck.json),
[direct probes](direct-installed-probes.json),
[audit summary and Studio reports](verification.json).
## Integration findings
1. **The accepted overflow rule conflicts with the delivered reader contract.**
DEC-0094 rule 10 says any overflow is an infrastructure failure. The current
[accumulator](../../../../../prometeu-studio-core/src/main/java/p/studio/core/session/GuestTranscript.java)
implements that rule at line 39. The provider defines overflow as historical
eviction, independently of unread loss. Its specification requires accepting
overflow=true/gap=false when the reader already consumed the evicted events.
A timely reader can therefore be incorrectly rejected after 4096 cumulative
records by the current consumer rule. No decision/spec/code was relaxed here;
explicit normative resolution is required before changing the consumer.
2. **Producer completeness needs a consumer check as well as native continuity.**
The unchanged guest path stores at most 10 messages/application/frame and
256 UTF-8 bytes/message. Excess calls disappear before receiving native
sequences. The provider process test demonstrates dropped calls while native
gap and overflow remain false. GuestTranscript currently validates native
sequences, event IDs and suite/case structure, but not a producer ordinal or
declared final event/assertion count. A dropped assertion can therefore go
undetected if enough valid assertions and later completion events remain.
S4/S5 must bound emission/encoded bytes and validate producer completeness.
The current life example literals are 104..249 UTF-8 bytes, so the present
examples fit; that does not establish safety for arbitrary test suites.
3. **Studio consumer execution is unfinished.** HeadlessProcessSession still
negotiates minor 0/1 for ordinary/memcard operation, and has no get_logs
adapter. The bounded structured-test runner, explicit run media/reopen flow,
test UI/MCP and full life/shop/save/Zelda acceptance remain to be implemented.
Existing production/media passes do not establish those missing gates.
## Proposed decision alignment — not applied
The proposed change is only the loss/overflow wording of DEC-0094 rule 10;
its existing invalid-event, conflicting-duplicate and inconsistent-suite failures
remain mandatory. Proposed replacement:
> O runner MUST consultar logs após cada bloco de frames e na conclusão/falha
> quando possível. Perda de histórico requerido pelo cursor (gap ou
> descontinuidade), evento inválido, duplicidade conflitante ou suite
> inconsistente são falhas de infraestrutura; eventos reconsultados pela
> sequência não são reaplicados. Overflow é informação de evicção histórica:
> sozinho, sem perda para este leitor, não causa falha. Não se promete entrega
> sem perda para suites que excedam a capacidade do ring entre consultas.
This wording requires explicit user acceptance under the repository Normative
Lock Rule. Only then propagate it to the plan, Studio specifications,
accumulator and tests. Producer-completeness implementation and the remaining
execution gates are still required; this proposal does not waive them.
## Workflow and authorization boundary
External provider delivery supersedes the earlier pending local write/build
request for the already delivered scope. It does not authorize additional
runtime edits or commits by this agent. This verification changed only Studio
tracking/evidence files and Studio build/test outputs. Runtime source and
installations were inspected/executed only. PLN-0172 remains in_progress; no
housekeeping or completion transition is appropriate yet.