@dailephd/my-frontend-observer 0.9.1 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/CHANGELOG.md +490 -471
  2. package/LICENSE +21 -21
  3. package/README.md +375 -357
  4. package/dist/application/projectCheckService.d.ts +6 -0
  5. package/dist/application/projectCheckService.js +8 -1
  6. package/dist/application/projectCheckService.js.map +1 -1
  7. package/dist/application/projectWorkflowService.d.ts +7 -2
  8. package/dist/application/projectWorkflowService.js +10 -3
  9. package/dist/application/projectWorkflowService.js.map +1 -1
  10. package/dist/application/visualChangeAgentHandoffService.d.ts +28 -0
  11. package/dist/application/visualChangeAgentHandoffService.js +111 -0
  12. package/dist/application/visualChangeAgentHandoffService.js.map +1 -0
  13. package/dist/application/visualChangeProjectWorkflowService.d.ts +95 -0
  14. package/dist/application/visualChangeProjectWorkflowService.js +376 -0
  15. package/dist/application/visualChangeProjectWorkflowService.js.map +1 -0
  16. package/dist/application/visualChangeReviewService.d.ts +50 -0
  17. package/dist/application/visualChangeReviewService.js +69 -0
  18. package/dist/application/visualChangeReviewService.js.map +1 -0
  19. package/dist/application/visualChangeWorkflowPersistenceService.d.ts +26 -0
  20. package/dist/application/visualChangeWorkflowPersistenceService.js +15 -0
  21. package/dist/application/visualChangeWorkflowPersistenceService.js.map +1 -0
  22. package/dist/artifacts/visualChangeWorkflowArtifactReader.d.ts +9 -0
  23. package/dist/artifacts/visualChangeWorkflowArtifactReader.js +47 -0
  24. package/dist/artifacts/visualChangeWorkflowArtifactReader.js.map +1 -0
  25. package/dist/artifacts/visualChangeWorkflowArtifactWriter.d.ts +20 -0
  26. package/dist/artifacts/visualChangeWorkflowArtifactWriter.js +41 -0
  27. package/dist/artifacts/visualChangeWorkflowArtifactWriter.js.map +1 -0
  28. package/dist/cli.js +9 -7
  29. package/dist/cli.js.map +1 -1
  30. package/dist/domain/visualChangeAgentHandoff.d.ts +82 -0
  31. package/dist/domain/visualChangeAgentHandoff.js +80 -0
  32. package/dist/domain/visualChangeAgentHandoff.js.map +1 -0
  33. package/dist/domain/visualChangeAgentHandoffSerialization.d.ts +2 -0
  34. package/dist/domain/visualChangeAgentHandoffSerialization.js +11 -0
  35. package/dist/domain/visualChangeAgentHandoffSerialization.js.map +1 -0
  36. package/dist/domain/visualChangeCycle.d.ts +8 -0
  37. package/dist/domain/visualChangeCycle.js +7 -0
  38. package/dist/domain/visualChangeCycle.js.map +1 -0
  39. package/dist/domain/visualChangeWorkflow.d.ts +125 -0
  40. package/dist/domain/visualChangeWorkflow.js +109 -0
  41. package/dist/domain/visualChangeWorkflow.js.map +1 -0
  42. package/dist/domain/visualChangeWorkflowIdentity.d.ts +5 -0
  43. package/dist/domain/visualChangeWorkflowIdentity.js +24 -0
  44. package/dist/domain/visualChangeWorkflowIdentity.js.map +1 -0
  45. package/dist/index.d.ts +21 -1
  46. package/dist/index.js +12 -1
  47. package/dist/index.js.map +1 -1
  48. package/dist/projectWorkflow/projectPaths.d.ts +3 -0
  49. package/dist/projectWorkflow/projectPaths.js +7 -0
  50. package/dist/projectWorkflow/projectPaths.js.map +1 -1
  51. package/dist/viewer/assets/index-DglJ6f28.css +1 -0
  52. package/dist/viewer/assets/index-DsODREY5.js +9 -0
  53. package/dist/viewer/index.html +15 -15
  54. package/dist/viewer/sw.js +1 -1
  55. package/dist/viewerServer/evidence/classify.d.ts +3 -1
  56. package/dist/viewerServer/evidence/classify.js +10 -0
  57. package/dist/viewerServer/evidence/classify.js.map +1 -1
  58. package/dist/viewerServer/evidence/handles.js +1 -0
  59. package/dist/viewerServer/evidence/handles.js.map +1 -1
  60. package/dist/viewerServer/evidence/projection.d.ts +5 -0
  61. package/dist/viewerServer/evidence/projection.js +19 -0
  62. package/dist/viewerServer/evidence/projection.js.map +1 -1
  63. package/dist/viewerServer/evidence/visualChangeWorkflowView.d.ts +31 -0
  64. package/dist/viewerServer/evidence/visualChangeWorkflowView.js +36 -0
  65. package/dist/viewerServer/evidence/visualChangeWorkflowView.js.map +1 -0
  66. package/dist/viewerServer/httpServer.js +323 -1
  67. package/dist/viewerServer/httpServer.js.map +1 -1
  68. package/dist/viewerServer/referenceApproval.d.ts +22 -0
  69. package/dist/viewerServer/referenceApproval.js +42 -0
  70. package/dist/viewerServer/referenceApproval.js.map +1 -0
  71. package/dist/viewerServer/referenceVisualChangeAuthoring.d.ts +28 -0
  72. package/dist/viewerServer/referenceVisualChangeAuthoring.js +134 -0
  73. package/dist/viewerServer/referenceVisualChangeAuthoring.js.map +1 -0
  74. package/dist/viewerServer/runtimeVisualChangeAuthoring.d.ts +33 -0
  75. package/dist/viewerServer/runtimeVisualChangeAuthoring.js +81 -0
  76. package/dist/viewerServer/runtimeVisualChangeAuthoring.js.map +1 -0
  77. package/dist/viewerServer/visualChangeAuthoring.d.ts +46 -0
  78. package/dist/viewerServer/visualChangeAuthoring.js +63 -0
  79. package/dist/viewerServer/visualChangeAuthoring.js.map +1 -0
  80. package/dist/viewerServer/visualChangeHandoff.d.ts +23 -0
  81. package/dist/viewerServer/visualChangeHandoff.js +31 -0
  82. package/dist/viewerServer/visualChangeHandoff.js.map +1 -0
  83. package/dist/viewerServer/visualChangeReview.d.ts +30 -0
  84. package/dist/viewerServer/visualChangeReview.js +46 -0
  85. package/dist/viewerServer/visualChangeReview.js.map +1 -0
  86. package/docs/ARCHITECTURE.md +1394 -1373
  87. package/docs/CI_CD.md +349 -327
  88. package/docs/COMMANDS.md +1035 -1012
  89. package/docs/CONTRACTS.md +1971 -1926
  90. package/docs/CURRENT_STATE.md +1277 -1238
  91. package/docs/DEVELOPMENT.md +240 -237
  92. package/docs/DOCUMENTATION_PRESERVATION_POLICY.md +50 -50
  93. package/docs/PROJECT_DESCRIPTION.md +2248 -2224
  94. package/docs/PROJECT_MILESTONES.md +2681 -2558
  95. package/docs/PROJECT_OVERVIEW.md +200 -191
  96. package/docs/QUICKSTART.md +100 -96
  97. package/docs/RELEASE.md +37 -33
  98. package/docs/ROADMAP.md +1105 -1033
  99. package/docs/SECURITY.md +297 -275
  100. package/docs/WORKFLOWS.md +806 -770
  101. package/docs/plans/v0.10-implementation-plan.md +1509 -0
  102. package/docs/plans/v0.8-implementation-plan.md +655 -655
  103. package/docs/plans/v0.8.1-cli-usability-patch-plan.md +505 -505
  104. package/docs/plans/v0.9-implementation-plan.md +1529 -1529
  105. package/docs/plans/v0.9.1-implementation-plan.md +468 -468
  106. package/docs/reports/v0.10-batch1-visual-change-workflow-foundation.md +102 -0
  107. package/docs/reports/v0.10-batch2-project-composition-check-recording.md +103 -0
  108. package/docs/reports/v0.10-batch3-viewer-visual-change-workspace.md +93 -0
  109. package/docs/reports/v0.10-batch4-actual-frontend-entry.md +59 -0
  110. package/docs/reports/v0.10-batch5-reference-driven-entry.md +238 -0
  111. package/docs/reports/v0.10-batch6-coding-agent-handoff.md +85 -0
  112. package/docs/reports/v0.10-batch7-correction-review-acceptance.md +145 -0
  113. package/docs/reports/v0.10-batch8-integrated-acceptance.md +109 -0
  114. package/docs/reports/v0.10-implementation-completeness-documentation-reconciliation.md +344 -0
  115. package/docs/reports/v0.10-pre-release-readiness.md +120 -0
  116. package/docs/reports/v0.10-release-preparation.md +70 -0
  117. package/docs/reports/v0.10.1-project-check-baseline-context-implementation.md +86 -0
  118. package/docs/reports/v0.7-bounded-fidelity-context-prompt7.md +243 -243
  119. package/docs/reports/v0.7-implementation-completeness-documentation-reconciliation.md +497 -497
  120. package/docs/reports/v0.7-pre-release-readiness.md +337 -337
  121. package/docs/reports/v0.7-reference-binding-prompt5.md +223 -223
  122. package/docs/reports/v0.7-reference-compatibility-prompt4.md +234 -234
  123. package/docs/reports/v0.7-reference-correction-workflow-prompt8.md +222 -222
  124. package/docs/reports/v0.7-reference-fidelity-prompt6.md +216 -216
  125. package/docs/reports/v0.7-reference-foundation-prompt1.md +151 -151
  126. package/docs/reports/v0.7-reference-regions-prompt2.md +195 -195
  127. package/docs/reports/v0.7-reference-requirements-prompt3.md +217 -217
  128. package/docs/reports/v0.7-release-prep.md +423 -423
  129. package/docs/reports/v0.8-binding-fidelity-interaction-batch6.md +279 -279
  130. package/docs/reports/v0.8-bounded-context-correlation-batch7.md +233 -233
  131. package/docs/reports/v0.8-comparison-contract-inspection-batch4.md +279 -279
  132. package/docs/reports/v0.8-evidence-index-readers-batch2.md +247 -247
  133. package/docs/reports/v0.8-implementation-completeness-documentation-reconciliation.md +741 -741
  134. package/docs/reports/v0.8-integrated-viewer-acceptance-batch8.md +128 -128
  135. package/docs/reports/v0.8-observation-svg-inspection-batch3.md +223 -223
  136. package/docs/reports/v0.8-prerelease-readiness-cross-platform-security-code-rot.md +687 -687
  137. package/docs/reports/v0.8-reference-candidate-inspection-batch5.md +232 -232
  138. package/docs/reports/v0.8-viewer-runtime-pwa-batch1.md +278 -278
  139. package/docs/reports/v0.8.1-implementation-completeness-documentation-reconciliation.md +114 -114
  140. package/docs/reports/v0.8.1-prerelease-readiness-cross-platform-security-code-rot.md +170 -170
  141. package/docs/reports/v0.9-architecture-retrieval.md +14 -37
  142. package/docs/reports/v0.9-final-pre-release-readiness.md +209 -209
  143. package/docs/reports/v0.9-final-readiness-corrections.md +530 -530
  144. package/docs/reports/v0.9-pre-release-readiness.md +169 -169
  145. package/docs/reports/v0.9.1-batch1-pwa-hard-gate-isolation.md +359 -359
  146. package/docs/reports/v0.9.1-batch2-hard-gate-validation-integration.md +262 -262
  147. package/docs/reports/v0.9.1-pre-release-readiness.md +206 -206
  148. package/package.json +59 -59
  149. package/dist/viewer/assets/index-BN41MI7m.css +0 -1
  150. package/dist/viewer/assets/index-CkKXnlrI.js +0 -9
@@ -0,0 +1,85 @@
1
+ # v0.10 Batch 6 Coding-Agent Handoff
2
+
3
+ ## 1. Verdict and repository
4
+
5
+ PASS. Repository `C:\Users\daile\Projects\my-frontend-observer`, branch `feature/v0.10-full-visual-workflow`, starting commit `ac79b2c41e53ac36c825c4b398bbeb4856d5db0e`.
6
+
7
+ ## 2. Retrieval and fresh index
8
+
9
+ - Resolved my-dev-kit: `1.12.4`; CLI identity and `index`, `search`, `lookup`, `slice`, `source`, `graph-diff`, and `context` were verified.
10
+ - Install: `.my-dev-kit-workflow/tools/v0.10-batch6/mdk-1.12.4/`.
11
+ - Index: `.my-dev-kit-context/indexes/my-frontend-observer-v0.10-batch6-20260922`.
12
+ - Command: `node .my-dev-kit-workflow/tools/v0.10-batch6/mdk-1.12.4/node_modules/@dailephd/my-dev-kit/dist/cli.js index --root C:\Users\daile\Projects\my-frontend-observer --src src --src viewer/src --src tests --src scripts --out C:\Users\daile\Projects\my-frontend-observer\.my-dev-kit-context\indexes\my-frontend-observer-v0.10-batch6-20260922 --call-graph --json`.
13
+ - Result: 306 files, 2,487 symbols, 4,796 edges, zero index warnings/errors. Frontend analysis was complete; data-model and classification were partial with 834 and 2,436 warnings.
14
+
15
+ ## 3. Contract and canonical owners
16
+
17
+ `VisualChangeAgentHandoff` is a non-persisted, closed `my-frontend-observer/visual-change-agent-handoff` `1.0.0` transfer contract with deterministic canonical JSON and a terminal newline. Batch 2 readiness was extracted into `prepareActiveVisualChangeWorkflow`; canonical check recording and handoff preparation now share activation, restoration, acceptance-drift, exact-alias, and frozen-evidence checks. Existing `projectBoundedAgentContext`, `evaluateReferenceCandidateFidelity`, and `prepareReferenceCorrection` remain the projection/evaluation owners. No evidence schema changed.
18
+
19
+ ## 4. Actual and reference projections
20
+
21
+ Actual mode carries exact workflow/request and annotation identities, baseline identity and clauses, and all per-change clauses including protected/preserved categories. Reference mode carries exact approved-reference identity and bounded requirements, explicit bindings, optional coherent contract clauses, canonical fidelity-derived context, and binding target focus IDs. A `not-evaluated` fidelity result fails closed. When v0.7 prerequisites exist, the exact `prepareReferenceCorrection` review ID is exposed; otherwise an explicit narrow `not-applicable` reason is returned without a fabricated ID.
22
+
23
+ ## 5. Context and external coordination
24
+
25
+ Observer-generated bounded context is primary. No context file omits supplemental context; unsupported versions fail; coherent valid context is included unchanged, retaining static producer/correlation ownership. The application never invokes my-dev-kit. Optional coordination accepts only provider `my-dev-kit-orchestrator` and a bounded non-path run ID/version. It is handoff-only traceability and is never persisted to the workflow or inspected on disk.
26
+
27
+ ## 6. Post-edit contract and Viewer
28
+
29
+ Every handoff contains `{ command: 'check', baselineAlias: <exact Batch 2 alias>, json: true }` and the Viewer renders `my-frontend-observer check <alias> --json`. The secured project-aware route is `POST /api/visual-changes/:handle/prepare-handoff`. Active, non-restored workflows expose Prepare handoff, optional coordination fields, a bounded summary, Copy handoff, and Download handoff. Copy/download share canonical serialization and the filename `visual-change-handoff-<workflowId>.json`. Preparation creates no attempt, check, review, source edit, handoff artifact, or orchestrator action.
30
+
31
+ ## 7. Disposable published-orchestrator compatibility proof
32
+
33
+ - Published version: `1.4.1`; installed under `.my-dev-kit-workflow/tools/v0.10-batch6/orchestrator-1.4.1/`; version plus `init/start/status/export --help` passed.
34
+ - Root: `.my-dev-kit-workflow/v0.10-batch6/orchestrator-proof/project/`.
35
+ - A real application-owner-generated `observer-visual-change-handoff.json` was referenced by an ordinary feature request specifying external editing and the exact Observer check command.
36
+ - Run ID: `20260922T121702-observer-handoff-proof`.
37
+ - `status` honestly remained at request-brief with 0/10 artifacts and a blocked final report. `export` produced `orchestrator-export.txt` retaining the run identity. No run was advanced or completed.
38
+ - SHA comparison proved handoff bytes unchanged. Observer source/evidence remained unchanged. A second generated handoff round-tripped provider, run ID, and package version without changing Observer workflow/request identity.
39
+ - No orchestrator dependency was added and no production Observer code invokes or reads orchestrator state.
40
+
41
+ ## 8. Browser, security, regressions, and validation
42
+
43
+ The actual-mode real-Chromium ACCEPTANCE GATE starts from a fresh project/workflow, prepares and inspects a handoff, checks the exact command, copies and downloads identical canonical JSON, verifies the filename, and proves the active workflow remains byte-identical with zero attempts and no check. Reference application tests cover exact requirements/bindings, canonical fidelity, focused context, protected/preserved projection, and both v0.7 trace states.
44
+
45
+ - Typecheck: PASS.
46
+ - Lint: PASS.
47
+ - Unit: PASS, 99 files / 1,514 tests.
48
+ - Browser: PASS, 30 files / 280 tests.
49
+ - Security: PASS, 16 unit files / 168 tests plus 3 browser files / 77 tests and the hard gate.
50
+ - PWA hard gate: PASS; `/api/` remains uncached and Batch 5 synchronization is unchanged.
51
+ - Build: PASS.
52
+ - Documentation check: PASS.
53
+ - `git diff --check`: PASS (line-ending notices only).
54
+ - Batch 1-5, bounded-context, and reference-correction regressions pass. Viewer protocol remains `1.3.0`.
55
+
56
+ ## 9. Frozen responsibility ledger
57
+
58
+ Each line names the concrete test owner and test name (or canonical shared suite) that proves the responsibility.
59
+
60
+ - TST-B6-001..004 — `visualChangeAgentHandoffService.test.ts` — `rejects inactive, restored, acceptance-drifted, and baseline-drifted workflows through the shared readiness owner` — PASS.
61
+ - TST-B6-005..013 — `visualChangeAgentHandoffService.test.ts` — `projects exact actual scope and bounded context without checking, capturing, editing, or persisting a handoff` — PASS.
62
+ - TST-B6-014..018, TST-B6-022..026 — `visualChangeAgentHandoffService.test.ts` — `projects canonical reference fidelity, exact requirements/bindings, focus targets, and an honest not-applicable correction trace` — PASS.
63
+ - TST-B6-019..021 — `visualChangeAgentHandoffService.test.ts` — `reuses the canonical v0.7 reference correction identity when its exact contract preconditions apply` — PASS.
64
+ - TST-B6-027..035 — `visualChangeAgentHandoffService.test.ts` — `includes coherent supplemental context verbatim and rejects unsupported or mismatched context` plus actual/reference projection tests — PASS.
65
+ - TST-B6-036..043 — `visualChangeAgentHandoff.test.ts` — `accepts only bounded opaque orchestrator correlation and changes no workflow semantics`; disposable CLI proof — PASS.
66
+ - TST-B6-044..048 — `visualChangeAgentHandoffService.test.ts` actual projection and `runtimeAnnotationContractPromotion.test.ts` ACCEPTANCE GATE — PASS.
67
+ - TST-B6-049..057 — `visualChangeAgentHandoff.test.ts` — `uses the exact non-artifact kind/version, validates the closed bounded contract, and serializes deterministically with a newline`; unchanged canonical schema suites — PASS.
68
+ - TST-B6-058..060 — `viewerVisualChangeAuthoring.test.ts` — `keeps every POST project-aware, token/Host/Origin/JSON guarded, closed, bounded, and no-store`; browser ACCEPTANCE GATE — PASS.
69
+ - TST-B6-061..069 — `runtimeAnnotationContractPromotion.test.ts` — `ACCEPTANCE GATE: creates an inactive actual workflow from confirmed runtime intent and explicitly activates its immutable revision`; contract tests — PASS.
70
+ - TST-B6-070 — `visualChangeWorkflow.test.ts` canonical Batch 1 suite — PASS.
71
+ - TST-B6-071 — `visualChangeProjectWorkflowService.test.ts` canonical Batch 2 suite — PASS.
72
+ - TST-B6-072 — Viewer/security canonical suites — PASS.
73
+ - TST-B6-073 — `runtimeAnnotationContractPromotion.test.ts` actual entry flow — PASS.
74
+ - TST-B6-074 — Batch 5 reference route/workspace/browser suites — PASS.
75
+ - TST-B6-075 — `boundedAgentContext*.test.ts` canonical suites — PASS.
76
+ - TST-B6-076 — `referenceCorrectionWorkflow.test.ts` canonical suite — PASS.
77
+ - TST-B6-077 — `viewerAuthoringSecurity.test.ts` — `keeps existing read-only routes answering GET and HEAD in authoring mode` — PASS (`1.3.0`).
78
+
79
+ ## 10. Full-file read accounting
80
+
81
+ Full source/test file reads: none. Retrieval used my-dev-kit search, lookup, slice, exact source, continuation/dependency expansion, then bounded PowerShell ranges only.
82
+
83
+ ## 11. Batch 7+ exclusions and handoff
84
+
85
+ No source editing, agent/LLM execution, automatic check, attempt recording, correction/review/accept/abandon behavior, governance, release, or orchestrator runtime integration was implemented. Batch 7 should begin from the committed Batch 6 result and add only the separately planned review/correction behavior.
@@ -0,0 +1,145 @@
1
+ # v0.10 Batch 7 Correction, Review, and Acceptance
2
+
3
+ ## Verdict and correction history
4
+
5
+ PASS. The initial result remained `NEEDS_CORRECTION` because production was green but the frozen acceptance evidence was incomplete. This continuation preserved that implementation and added the missing canonical, browser, identity, and governance proofs. No production redesign was required.
6
+
7
+ - Repository: `C:\Users\daile\Projects\my-frontend-observer`
8
+ - Starting commit: `5db4d93bc5e39812da694aedbbc4f51de152114e`
9
+ - Branch: `feature/v0.10-full-visual-workflow`
10
+ - Package remains `0.9.1`.
11
+ - my-dev-kit: `1.12.4`, pinned and CLI-verified under `.my-dev-kit-workflow/tools/v0.10-batch7-correction/`.
12
+ - Fresh correction index: `.my-dev-kit-context/indexes/my-frontend-observer-v0.10-batch7-correction-20260922`; `src viewer/src tests scripts`, call graph, 317 files, 2,559 symbols, 4,979 edges, zero top-level warnings/errors. Data-model/classification were partial (872/2,509 warnings); frontend analyzers were complete.
13
+
14
+ ## Result
15
+
16
+ The pure cycle owner derives initial, review-required, correction-requested, accepted, and abandoned without schema persistence. Check and handoff share it. Review owns `decidedAt`, changes only the latest review in an immutable child, preserves request/attempt/candidate/check identity, uses active-scope readiness for correction and acceptance, and accepts only the latest canonical PASS. Abandon is terminal without requiring active acceptance. Restore remains separately explicit.
17
+
18
+ Applicable reference checks reuse `buildReferenceCorrectionReviewIdentity` and `buildReferenceCorrectionAttemptIdentity`; `checkProject` runs once and `reviewReferenceCorrectionAttempt` is not called. Orchestrator metadata is non-authoritative.
19
+
20
+ Governance records only already-persisted canonical results after acceptance. The baseline proof calls `approveAndPersistBaseline` for the exact accepted candidate before recording it. The reference proof imports a successor and calls `approveExternalReference` with the exact frozen predecessor before recording it. Both create immutable workflow children, reject mismatch/overwrite, preserve parents, and leave project configuration unchanged. Acceptance itself leaves governance absent and calls no approval or restore owner.
21
+
22
+ The independent Chromium ACCEPTANCE GATE owns a mutable loopback frontend. External edit 1 passes the requested shrink but fails protected rail width, so canonical checking records FAIL and pending review blocks check/handoff/Accept. Request correction creates an immutable child. External edit 2 produces distinct candidate/attempt IDs, immediate lineage, PASS, and acceptance. The original active manifest bytes remain unchanged; governance remains absent; acceptance is not restored; continuation becomes terminal.
23
+
24
+ Canonical reference precedence is proved by `Proof B: the external actor satisfies the reference but introduces a protected regression - overall FAIL`. The reference visual-workflow test then proves one check per candidate, common deterministic v0.7 review identity, distinct reference attempt identities, lineage, and PASS-only acceptance. Existing Proof C independently exercises two real canonical reference candidates.
25
+
26
+ ## TST-B7-001..087 responsibility ledger
27
+
28
+ Abbreviations: `service` = `tests/unit/visualChangeAgentHandoffService.test.ts`; `viewer` = `tests/unit/viewerVisualChangeAuthoring.test.ts`; `actual-gate` = `tests/browser/visualChangeCorrectionAcceptance.test.ts`; `reference-proof` = `tests/browser/referenceCorrectionWorkflow.test.ts`.
29
+
30
+ - TST-B7-001 — service — “derives the canonical cycle and rejects review with zero attempts” — existing-covered — no-attempt review rejected.
31
+ - TST-B7-002 — service — “enforces terminal transitions and permits abandonment…” — existing-covered — pending FAIL to correction.
32
+ - TST-B7-003 — service — “accepts only the latest canonical PASS…” — existing-covered — pending PASS to correction.
33
+ - TST-B7-004 — service — “accepts only the latest canonical PASS…” — existing-covered — pending PASS accepted.
34
+ - TST-B7-005 — service — “rejects non-PASS acceptance…” — existing-covered — FAIL rejected.
35
+ - TST-B7-006 — service — “rejects non-PASS acceptance…” — existing-covered — BLOCKED rejected.
36
+ - TST-B7-007 — service — “rejects non-PASS acceptance…” — existing-covered — REVIEW_REQUIRED rejected.
37
+ - TST-B7-008 — service — “enforces terminal transitions…” — existing-covered — pending abandoned.
38
+ - TST-B7-009 — service — “enforces terminal transitions…” — existing-covered — correction abandoned.
39
+ - TST-B7-010 — service — “enforces terminal transitions…” — existing-covered — correction cannot accept.
40
+ - TST-B7-011 — service — “runs the explicit FAIL -> correction -> PASS loop…” — existing-covered — accepted terminal.
41
+ - TST-B7-012 — service — “enforces terminal transitions…” — existing-covered — abandoned terminal.
42
+ - TST-B7-013 — service — “accepts only the latest canonical PASS…” — existing-covered — server decidedAt.
43
+ - TST-B7-014 — service — same test — existing-covered — attempt ID unchanged.
44
+ - TST-B7-015 — service — same test — existing-covered — candidate/check/recordedAt unchanged.
45
+ - TST-B7-016 — service — same test — existing-covered — fresh workflow ID.
46
+ - TST-B7-017 — service — same test — existing-covered — request ID preserved.
47
+ - TST-B7-018 — service — same test — existing-covered — child supersedes parent.
48
+ - TST-B7-019 — service — “runs the explicit FAIL -> correction -> PASS loop…” — existing-covered — parent bytes unchanged.
49
+ - TST-B7-020 — actual-gate — “ACCEPTANCE GATE: external FAIL edit…” — newly-covered — first check allowed.
50
+ - TST-B7-021 — service — “blocks check and handoff while pending…” — existing-covered — second check blocked.
51
+ - TST-B7-022 — service — same test — existing-covered — handoff blocked.
52
+ - TST-B7-023 — service — same test — existing-covered — correction enables handoff.
53
+ - TST-B7-024 — actual-gate — ACCEPTANCE GATE — newly-covered — correction enables check.
54
+ - TST-B7-025 — service — explicit loop — existing-covered — immediate prior ID.
55
+ - TST-B7-026 — actual-gate — ACCEPTANCE GATE — newly-covered — candidate IDs differ.
56
+ - TST-B7-027 — actual-gate — ACCEPTANCE GATE — newly-covered — attempt IDs differ.
57
+ - TST-B7-028 — actual-gate — ACCEPTANCE GATE — newly-covered — request ID stable.
58
+ - TST-B7-029 — service — explicit loop — existing-covered — new attempt pending.
59
+ - TST-B7-030 — service — explicit loop — existing-covered — accepted blocks check.
60
+ - TST-B7-031 — service — explicit loop — existing-covered — accepted blocks handoff.
61
+ - TST-B7-032 — service — terminal-transition test — existing-covered — abandoned blocks check.
62
+ - TST-B7-033 — service — terminal-transition test — existing-covered — abandoned blocks handoff.
63
+ - TST-B7-034 — service — “runs the reference two-candidate correction gate…” — newly-covered — canonical review builder.
64
+ - TST-B7-035 — service — same test — newly-covered — canonical attempt builder.
65
+ - TST-B7-036 — viewer — “keeps every POST project-aware…closed…” — existing-covered — browser supplies no trace ID.
66
+ - TST-B7-037 — service — reference two-candidate test — newly-covered — one check per attempt/no second evaluator.
67
+ - TST-B7-038 — service — same test — newly-covered — distinct reference attempt IDs.
68
+ - TST-B7-039 — service — same test — newly-covered — common review request ID.
69
+ - TST-B7-040 — service — “projects canonical reference fidelity…not-applicable…” — existing-covered — omitted when inapplicable.
70
+ - TST-B7-041 — actual-gate — ACCEPTANCE GATE — newly-covered — requested PASS/protected FAIL stores FAIL and blocks Accept.
71
+ - TST-B7-042 — reference-proof — “Proof B: … protected regression - overall FAIL” plus service reference loop — newly-covered — fidelity PASS/contract FAIL/accept rejected.
72
+ - TST-B7-043 — service — latest-PASS test — existing-covered — earlier PASS cannot authorize latest FAIL.
73
+ - TST-B7-044 — service — latest-PASS test — existing-covered — only latest PASS accepted.
74
+ - TST-B7-045 — service — non-PASS/orchestrator test — existing-covered — coordination cannot authorize.
75
+ - TST-B7-046 — service — same test — existing-covered — no orchestrator invocation.
76
+ - TST-B7-047 — actual-gate — ACCEPTANCE GATE — newly-covered — no baseline approval on accept.
77
+ - TST-B7-048 — actual-gate — ACCEPTANCE GATE — newly-covered — no reference approval on accept.
78
+ - TST-B7-049 — service — canonical governance tests — existing-covered — acceptance/config separation.
79
+ - TST-B7-050 — actual-gate — ACCEPTANCE GATE — newly-covered — no automatic restore.
80
+ - TST-B7-051 — service — governance tests — existing-covered — pre-acceptance record rejected.
81
+ - TST-B7-052 — service — “records only a canonically approved candidate-matching baseline…” — newly-covered — approval service succeeds first.
82
+ - TST-B7-053 — service — same test — newly-covered — matching approval recorded.
83
+ - TST-B7-054 — service — same test — newly-covered — unrelated observation rejected.
84
+ - TST-B7-055 — service — same test — newly-covered — baseline overwrite rejected.
85
+ - TST-B7-056 — service — “records a canonically approved superseding reference…” — newly-covered — approval owner succeeds first.
86
+ - TST-B7-057 — service — same test — newly-covered — exact successor recorded.
87
+ - TST-B7-058 — service — same test — newly-covered — unrelated successor rejected.
88
+ - TST-B7-059 — service — same test — newly-covered — reference overwrite rejected.
89
+ - TST-B7-060 — service — same test — existing-covered — actual mode rejects reference result.
90
+ - TST-B7-061 — service — governance tests — existing-covered — immutable child.
91
+ - TST-B7-062 — service — governance tests — existing-covered — parent unchanged.
92
+ - TST-B7-063 — service — governance tests — newly-covered — config unchanged.
93
+ - TST-B7-064 — service — governance tests — newly-covered — recording performs no approval.
94
+ - TST-B7-065 — actual-gate — ACCEPTANCE GATE — newly-covered — Request correction shown.
95
+ - TST-B7-066 — actual-gate — ACCEPTANCE GATE — newly-covered — Abandon shown.
96
+ - TST-B7-067 — actual-gate — ACCEPTANCE GATE — newly-covered — PASS Accept enabled.
97
+ - TST-B7-068 — actual-gate — ACCEPTANCE GATE — newly-covered — FAIL Accept disabled.
98
+ - TST-B7-069 — viewer — closed POST test — existing-covered — decision-only request.
99
+ - TST-B7-070 — actual-gate — ACCEPTANCE GATE — newly-covered — exact child reselection.
100
+ - TST-B7-071 — actual-gate — ACCEPTANCE GATE — newly-covered — correction continuation UI.
101
+ - TST-B7-072 — actual-gate — ACCEPTANCE GATE — newly-covered — accepted terminal UI.
102
+ - TST-B7-073 — viewer — Viewer workflow test — existing-covered — abandoned terminal UI.
103
+ - TST-B7-074 — actual-gate — ACCEPTANCE GATE — newly-covered — no auto restore.
104
+ - TST-B7-075 — viewer — Viewer workflow test — existing-covered — accepted governance section.
105
+ - TST-B7-076 — viewer — closed POST test — existing-covered — exact evidence handle.
106
+ - TST-B7-077 — viewer — Viewer workflow test — existing-covered — governance exact reselection.
107
+ - TST-B7-078 — viewer — secured closed POST test — existing-covered — no token/path leak.
108
+ - TST-B7-079 — `tests/unit/visualChangeWorkflow.test.ts` — workflow identity suite — shared-regression-covered.
109
+ - TST-B7-080 — `tests/unit/visualChangeProjectWorkflowService.test.ts` — activation/check suite — shared-regression-covered.
110
+ - TST-B7-081 — `tests/unit/viewerAuthoringSecurity.test.ts` — Viewer/security suite — shared-regression-covered.
111
+ - TST-B7-082 — `tests/browser/visualChangeActualEntry.test.ts` — actual entry gate — shared-regression-covered.
112
+ - TST-B7-083 — `tests/browser/visualChangeReferenceEntry.test.ts` — reference entry gate — shared-regression-covered.
113
+ - TST-B7-084 — `tests/browser/visualChangeHandoff.test.ts` — handoff acceptance — shared-regression-covered.
114
+ - TST-B7-085 — `tests/unit/projectBoundedAgentContext.test.ts` — bounded-context suite — shared-regression-covered.
115
+ - TST-B7-086 — reference-proof — Proof A/B/C suite — shared-regression-covered.
116
+ - TST-B7-087 — `tests/unit/viewerProtocol.test.ts` — protocol 1.3.0 — shared-regression-covered.
117
+
118
+ Every responsibility has a named passing test; none is implementation-only coverage.
119
+
120
+ ## Validation
121
+
122
+ - Focused actual gate: PASS, 1/1.
123
+ - Focused canonical project/reference files: PASS, 2 files / 11 tests.
124
+ - Focused service/review/governance/reference identity: PASS, 15/15.
125
+ - `npm run typecheck`: PASS.
126
+ - `npm run lint`: PASS.
127
+ - `npm test`: PASS, 99 files / 1,524 tests.
128
+ - `npm run test:browser`: PASS after additions, 31 files / 281 tests.
129
+ - `npm run test:security`: PASS (168 unit security tests, 77 browser tests, nested hard gate PASS).
130
+ - `npm run test:pwa-hard-gate`: PASS independently. The state-based active/scope/controller/precache/no-API-cache/server-down/offline/no-stale-evidence/cleanup proof remains intact.
131
+ - `npm run build`: PASS; PWA 1.3.0, 10 precache entries.
132
+ - `npm run check:docs`: PASS after this update.
133
+ - `git diff --check`: PASS after this update.
134
+
135
+ Visual-change and bounded-agent-context schemas remain `1.0.0`; all other governed schemas are unchanged; Viewer protocol remains `1.3.0`.
136
+
137
+ ## Full-file read accounting
138
+
139
+ Full source/test file reads: none. Retrieval used my-dev-kit search, lookup, slices/exact source, dependency expansion, and bounded ranges.
140
+
141
+ Correction-run additional full source/test file reads: none.
142
+
143
+ ## Batch 8 exclusion and handoff
144
+
145
+ No Batch 8 integrated matrix, packaging, release reconciliation, version bump, readiness, PR, merge, tag, or publication work was performed. Exact next action is separately authorized Batch 8 execution from the committed Batch 7 result.
@@ -0,0 +1,109 @@
1
+ # v0.10 Batch 8 Integrated Acceptance
2
+
3
+ ## 1. Verdict and repository
4
+
5
+ `IMPLEMENTATION_COMPLETE` / PASS. This is not a release-readiness verdict.
6
+
7
+ - Repository: `C:\Users\daile\Projects\my-frontend-observer`
8
+ - Branch: `feature/v0.10-full-visual-workflow`
9
+ - Starting commit: `325ae3eebc8f3b6f6a828615c6970c1aee0c9dd0`
10
+ - Package version: `0.9.1`
11
+ - v0.10 release state: unreleased
12
+ - my-dev-kit: `1.12.4`
13
+ - Fresh index: `.my-dev-kit-context/indexes/my-frontend-observer-v0.10-batch8-20260922`; 318 files, 2,567 symbols, 4,989 edges, zero top-level warnings/errors. Data-model/classification were partial with 872/2,517 warnings; frontend analyzers were complete.
14
+
15
+ No production behavior changed. Batch 8 added integration aggregation, installed-package proof, CI wiring, and implementation documentation.
16
+
17
+ ## 2. Integrated scenario matrix
18
+
19
+ 1. Actual-frontend visual entry: PASS in `runtimeAnnotationContractPromotion.test.ts` ACCEPTANCE GATE.
20
+ 2. Reference-driven visual entry: PASS in `referenceAnnotationMaterialization.test.ts` ACCEPTANCE GATE.
21
+ 3. Measurable reference failure: PASS in `referenceCorrectionWorkflow.test.ts` Proof A/B and `projectCheckWorkflow.test.ts` fidelity mapping.
22
+ 4. Requested success plus protected regression: PASS in `visualChangeCorrectionAcceptance.test.ts`.
23
+ 5. Fidelity PASS plus contract FAIL: PASS in `referenceCorrectionWorkflow.test.ts` Proof B.
24
+ 6. Two-attempt immutable correction: PASS in `visualChangeCorrectionAcceptance.test.ts` and reference Proof C.
25
+ 7. Explicit latest-PASS acceptance: PASS in the correction ACCEPTANCE GATE.
26
+ 8. Governance separation: PASS in Batch 7 service integration and the correction ACCEPTANCE GATE.
27
+ 9. Optional orchestrator correlation: PASS in handoff service tests and the packed workflow smoke; it does not change request identity or acceptance.
28
+ 10. Standalone Viewer read-only: PASS in `visualChangeWorkspace.test.ts` and the packed smoke.
29
+ 11. v0.7-v0.9.1 regression safety: PASS through the normal unit/browser/security/PWA suites and the three legacy packed smokes.
30
+
31
+ `tests/browser/v010IntegratedAcceptance.test.ts` is the single Batch 8 entrypoint. It composes the existing independently owned fresh-state gates and passed 20/20 tests.
32
+
33
+ ## 3. Packed pre-version-bump implementation candidate
34
+
35
+ - Filename: `dailephd-my-frontend-observer-0.9.1.tgz`
36
+ - Version: `0.9.1`
37
+ - SHA-256: `282a240790c65344c539fb9d1650bd6d6cc4efca4e43ad6d7a6432b4da5ce9f2`
38
+ - Location: `.my-dev-kit-workflow/v0.10-batch8/packed-candidate/`
39
+ - Exactly one `npm pack` created the candidate. The hash was independently checked before each smoke.
40
+ - Packed observation smoke: PASS.
41
+ - Packed Viewer smoke: PASS.
42
+ - Packed v0.9 annotation smoke: PASS.
43
+ - Packed v0.10 workflow smoke: PASS.
44
+ - Summaries: `observation-summary.json`, `viewer-summary.json`, `v09-summary.json`, and `v010-summary.json` under the generated candidate directory.
45
+
46
+ The new smoke installed only the exact tarball into a clean consumer. Its programmatic imports resolve from consumer `node_modules`, not the source checkout. It exercised installed public constants/validators/readers, actual workflow creation and activation, handoff serialization, FAIL rejection, correction, a linked PASS attempt, acceptance, reference workflow creation with persisted bindings, real-Chromium Visual changes discovery, standalone read-only behavior, and parent/evidence immutability. The summary asserts absence of authoring tokens, note text, absolute project/temp paths, and orchestrator paths.
47
+
48
+ ## 4. CI same-candidate wiring
49
+
50
+ The candidate job remains the only `npm pack` owner. `matrix-smoke` still downloads that tarball and verifies the candidate SHA before installed-package work. It now runs `runPackedV010WorkflowSmoke.mjs` after the v0.9 smoke and uploads `v010-workflow-smoke-summary.json` in the existing `smoke-summary-${{ matrix.os }}` artifact. No second candidate, artifact family, or matrix was added. Wiring exists; formal cross-platform v0.10 readiness has not been run or claimed.
51
+
52
+ ## 5. Published orchestrator compatibility
53
+
54
+ Published `@dailephd/my-dev-kit-orchestrator@1.4.1` was resolved dynamically and CLI-verified. Disposable run `20260922T143421-batch8-proof` referenced the generated Observer handoff. Status honestly remained at request-brief with 0/10 artifacts and a blocked final report. Export retained run/request identity. Handoff bytes were unchanged. Observer imports no orchestrator runtime, reads no run directory, and grants no acceptance from orchestrator state.
55
+
56
+ ## 6. Documentation and release state
57
+
58
+ CURRENT_STATE, ROADMAP, README, WORKFLOWS, COMMANDS, ARCHITECTURE, CONTRACTS, CI/CD, RELEASE guidance, and CHANGELOG `[Unreleased]` now distinguish implementation completion from release. The published package remains 0.9.1. v0.10 is not released. Hardened documentation/implementation-completeness reconciliation, formal cross-platform/security readiness, release preparation, version bump, tag, and publication remain pending.
59
+
60
+ ## 7. Validation
61
+
62
+ Responsibility mapping:
63
+
64
+ - TST-B8-001..018: the runtime/reference entry ACCEPTANCE GATEs, correction
65
+ ACCEPTANCE GATE, handoff service suite, and Batch 7 governance suite.
66
+ - TST-B8-019..024: reference-correction Proof A/B/C, project-check fidelity
67
+ mapping, persisted reference-attempt identity test, and non-PASS review tests.
68
+ - TST-B8-025..026: visual-change workspace standalone inspection tests and the
69
+ installed standalone Viewer proof.
70
+ - TST-B8-027..042: `runPackedV010WorkflowSmoke.mjs`, including clean install,
71
+ installed exports/owners, actual/reference creation, activation, two attempts,
72
+ PASS-only acceptance, immutable bytes, Viewer modes, and leakage assertions.
73
+ - TST-B8-043..052: the one recorded candidate/hash, four same-hash smoke
74
+ summaries, and additive same-candidate workflow wiring.
75
+ - TST-B8-053..064: documentation reconciliation plus `check:docs` and the
76
+ `[Unreleased]`/package-version assertions.
77
+ - TST-B8-065..074: normal reference-correction, Viewer, project-check,
78
+ annotation, isolated PWA, full Batch 1-7 suites, protocol/schema tests, and
79
+ installed public-contract checks.
80
+ - TST-B8-075..079: dynamically resolved orchestrator 1.4.1, disposable run
81
+ `20260922T143421-batch8-proof`, status/export, dependency audit, and unchanged
82
+ Observer handoff identity.
83
+
84
+ All TST-B8-001..079 responsibilities have passing named owners or generated
85
+ proof evidence. No formal cross-platform readiness result is inferred from CI
86
+ wiring.
87
+
88
+ Focused integrated suite: PASS, 20/20. `npm run typecheck`, `npm run lint`,
89
+ `npm test` (99 files, 1,524 tests), `npm run test:browser` (32 files,
90
+ 301 tests), `npm run test:security` (168 unit/security tests, 77 browser tests,
91
+ and its isolated PWA tail), standalone `npm run test:pwa-hard-gate`, build,
92
+ documentation check, and `git diff --check` passed. One locator capture failed
93
+ once in the first security invocation immediately after the long browser run;
94
+ the exact test passed alone and the complete canonical security command then
95
+ passed, with no source change. This was classified as a transient Chromium
96
+ lifecycle anomaly rather than a product defect.
97
+
98
+ `npm pack --dry-run` passed and listed compiled v0.10 application/domain/viewer
99
+ owners plus Viewer assets. It included no tests, generated workflow/tool state,
100
+ consumer/profile state, smoke summaries, or nested tarball. The four
101
+ same-candidate packed smokes and published-orchestrator compatibility passed.
102
+
103
+ ## 8. Full-file read accounting
104
+
105
+ Authoritative documentation and historical reports were required whole-file reads. Source/test inspection used retrieval-first search, bounded source, continuation, dependency expansion, and bounded ranges. Full source/test file reads: none.
106
+
107
+ ## 9. Exact next action
108
+
109
+ Run the separate hardened documentation and implementation-completeness reconciliation for v0.10.