@dailephd/my-frontend-observer 0.8.1 → 0.9.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 (111) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/README.md +109 -7
  3. package/dist/application/projectWorkflowService.d.ts +18 -1
  4. package/dist/application/projectWorkflowService.js +40 -2
  5. package/dist/application/projectWorkflowService.js.map +1 -1
  6. package/dist/application/visualAnnotationContractPromotionService.d.ts +41 -0
  7. package/dist/application/visualAnnotationContractPromotionService.js +143 -0
  8. package/dist/application/visualAnnotationContractPromotionService.js.map +1 -0
  9. package/dist/application/visualAnnotationPersistenceService.d.ts +34 -0
  10. package/dist/application/visualAnnotationPersistenceService.js +68 -0
  11. package/dist/application/visualAnnotationPersistenceService.js.map +1 -0
  12. package/dist/application/visualAnnotationReferenceMaterializationService.d.ts +53 -0
  13. package/dist/application/visualAnnotationReferenceMaterializationService.js +194 -0
  14. package/dist/application/visualAnnotationReferenceMaterializationService.js.map +1 -0
  15. package/dist/artifacts/visualAnnotationArtifactReader.d.ts +19 -0
  16. package/dist/artifacts/visualAnnotationArtifactReader.js +66 -0
  17. package/dist/artifacts/visualAnnotationArtifactReader.js.map +1 -0
  18. package/dist/artifacts/visualAnnotationArtifactWriter.d.ts +42 -0
  19. package/dist/artifacts/visualAnnotationArtifactWriter.js +85 -0
  20. package/dist/artifacts/visualAnnotationArtifactWriter.js.map +1 -0
  21. package/dist/cli.js +464 -454
  22. package/dist/cli.js.map +1 -1
  23. package/dist/domain/visualAnnotation.d.ts +217 -0
  24. package/dist/domain/visualAnnotation.js +584 -0
  25. package/dist/domain/visualAnnotation.js.map +1 -0
  26. package/dist/domain/visualAnnotationIdentity.d.ts +17 -0
  27. package/dist/domain/visualAnnotationIdentity.js +47 -0
  28. package/dist/domain/visualAnnotationIdentity.js.map +1 -0
  29. package/dist/index.d.ts +11 -0
  30. package/dist/index.js +6 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/projectWorkflow/projectPaths.d.ts +9 -0
  33. package/dist/projectWorkflow/projectPaths.js +21 -0
  34. package/dist/projectWorkflow/projectPaths.js.map +1 -1
  35. package/dist/viewer/assets/{index-CN_yb9Uf.css → index-BN41MI7m.css} +1 -1
  36. package/dist/viewer/assets/index-CkKXnlrI.js +9 -0
  37. package/dist/viewer/index.html +2 -2
  38. package/dist/viewer/sw.js +1 -1
  39. package/dist/viewerServer/annotationAuthoring.d.ts +64 -0
  40. package/dist/viewerServer/annotationAuthoring.js +230 -0
  41. package/dist/viewerServer/annotationAuthoring.js.map +1 -0
  42. package/dist/viewerServer/annotationContractPromotion.d.ts +51 -0
  43. package/dist/viewerServer/annotationContractPromotion.js +105 -0
  44. package/dist/viewerServer/annotationContractPromotion.js.map +1 -0
  45. package/dist/viewerServer/annotationReferenceMaterialization.d.ts +40 -0
  46. package/dist/viewerServer/annotationReferenceMaterialization.js +91 -0
  47. package/dist/viewerServer/annotationReferenceMaterialization.js.map +1 -0
  48. package/dist/viewerServer/authoringSecurity.d.ts +59 -0
  49. package/dist/viewerServer/authoringSecurity.js +112 -0
  50. package/dist/viewerServer/authoringSecurity.js.map +1 -0
  51. package/dist/viewerServer/evidence/annotationView.d.ts +28 -0
  52. package/dist/viewerServer/evidence/annotationView.js +43 -0
  53. package/dist/viewerServer/evidence/annotationView.js.map +1 -0
  54. package/dist/viewerServer/evidence/classify.d.ts +3 -1
  55. package/dist/viewerServer/evidence/classify.js +12 -0
  56. package/dist/viewerServer/evidence/classify.js.map +1 -1
  57. package/dist/viewerServer/evidence/discovery.d.ts +2 -0
  58. package/dist/viewerServer/evidence/discovery.js +6 -0
  59. package/dist/viewerServer/evidence/discovery.js.map +1 -1
  60. package/dist/viewerServer/evidence/handles.js +1 -0
  61. package/dist/viewerServer/evidence/handles.js.map +1 -1
  62. package/dist/viewerServer/evidence/index.d.ts +29 -0
  63. package/dist/viewerServer/evidence/index.js +43 -1
  64. package/dist/viewerServer/evidence/index.js.map +1 -1
  65. package/dist/viewerServer/evidence/mediaResolver.d.ts +1 -1
  66. package/dist/viewerServer/evidence/mediaResolver.js +28 -2
  67. package/dist/viewerServer/evidence/mediaResolver.js.map +1 -1
  68. package/dist/viewerServer/evidence/projection.d.ts +5 -1
  69. package/dist/viewerServer/evidence/projection.js +19 -0
  70. package/dist/viewerServer/evidence/projection.js.map +1 -1
  71. package/dist/viewerServer/httpServer.d.ts +13 -2
  72. package/dist/viewerServer/httpServer.js +278 -4
  73. package/dist/viewerServer/httpServer.js.map +1 -1
  74. package/dist/viewerServer/viewerService.d.ts +8 -0
  75. package/dist/viewerServer/viewerService.js +38 -2
  76. package/dist/viewerServer/viewerService.js.map +1 -1
  77. package/docs/ARCHITECTURE.md +108 -21
  78. package/docs/CI_CD.md +78 -1
  79. package/docs/COMMANDS.md +44 -4
  80. package/docs/CONTRACTS.md +78 -8
  81. package/docs/CURRENT_STATE.md +224 -35
  82. package/docs/DEVELOPMENT.md +38 -3
  83. package/docs/PROJECT_DESCRIPTION.md +4 -1
  84. package/docs/PROJECT_MILESTONES.md +32 -0
  85. package/docs/PROJECT_OVERVIEW.md +58 -17
  86. package/docs/QUICKSTART.md +52 -39
  87. package/docs/RELEASE.md +17 -11
  88. package/docs/ROADMAP.md +458 -66
  89. package/docs/SECURITY.md +71 -14
  90. package/docs/WORKFLOWS.md +151 -23
  91. package/docs/plans/v0.9-implementation-plan.md +1529 -0
  92. package/docs/plans/v0.9.1-implementation-plan.md +468 -0
  93. package/docs/reports/v0.9-architecture-retrieval.md +567 -0
  94. package/docs/reports/v0.9-batch1-visual-annotation-foundation.md +351 -0
  95. package/docs/reports/v0.9-batch2-viewer-annotation-authoring-boundary.md +438 -0
  96. package/docs/reports/v0.9-batch3-runtime-screenshot-annotation-authoring.md +412 -0
  97. package/docs/reports/v0.9-batch4-external-reference-annotation-authoring.md +452 -0
  98. package/docs/reports/v0.9-batch5-runtime-intent-contract-promotion.md +535 -0
  99. package/docs/reports/v0.9-batch6-reference-materialization.md +514 -0
  100. package/docs/reports/v0.9-batch7-integrated-acceptance.md +644 -0
  101. package/docs/reports/v0.9-demo-foundation.md +589 -0
  102. package/docs/reports/v0.9-final-pre-release-readiness.md +209 -0
  103. package/docs/reports/v0.9-final-readiness-corrections.md +530 -0
  104. package/docs/reports/v0.9-pre-release-readiness.md +170 -0
  105. package/docs/reports/v0.9-tutorial-end-to-end-acceptance.md +980 -0
  106. package/docs/reports/v0.9-tutorial-integration.md +731 -0
  107. package/docs/reports/v0.9.1-batch1-pwa-hard-gate-isolation.md +359 -0
  108. package/docs/reports/v0.9.1-batch2-hard-gate-validation-integration.md +262 -0
  109. package/docs/reports/v0.9.1-pre-release-readiness.md +206 -0
  110. package/package.json +3 -2
  111. package/dist/viewer/assets/index-D98S1_2d.js +0 -9
@@ -0,0 +1,170 @@
1
+ # v0.9 Pre-release Readiness
2
+
3
+ ## 1. VERDICT
4
+
5
+ `RUN_A` passed the configured candidate job and all three exact-candidate
6
+ platform jobs. This is implementation-complete v0.9 readiness evidence, not a
7
+ release. A second complete workflow run is required after this report is
8
+ committed because the report is included in the npm package.
9
+
10
+ ## 2. Repository identity
11
+
12
+ - Repository: `C:\Users\daile\Projects\my-frontend-observer`
13
+ - Starting branch: `master`
14
+ - Prompt 7 entry commit: `a78a058271564661e2f04a835db04071b135258a`
15
+ - Package: `@dailephd/my-frontend-observer`
16
+ - Package version: `0.8.1`
17
+ - Viewer protocol: `1.3.0`
18
+ - Visual annotation schema: `1.0.0`
19
+ - Frontend-contract schema: `1.0.0`
20
+ - External-reference schema: `1.0.0`
21
+
22
+ ## 3. Prompt 7 entry gate
23
+
24
+ The required Prompt 7 verdict was present:
25
+ `PASS_V0_9_BATCH7_INTEGRATED_IMPLEMENTATION_COMPLETE`.
26
+
27
+ The entry commit was the required `a78a058...`, the tracked worktree was clean,
28
+ and `docs/reports/v0.9-architecture-retrieval.md` retained its `S`
29
+ skip-worktree state. The seven v0.9 batch reports were present. Prompt 7 states
30
+ that v0.8.1 is the latest published release, v0.9 implementation is complete,
31
+ and v0.9 is not released.
32
+
33
+ ## 4. Validation branch
34
+
35
+ - Branch: `validation/v0.9-pre-release`
36
+ - The branch was created from the required entry commit and pushed normally.
37
+ - `master` was not pushed.
38
+
39
+ ## 5. Workflow architecture
40
+
41
+ `.github/workflows/pre-release-readiness.yml` uses a Node 24 Ubuntu candidate
42
+ job. It runs `npm ci`, Chromium installation, typecheck, lint, unit tests,
43
+ real-Chromium browser tests, the security suite, build, documentation checks,
44
+ and `npm pack`. It uploads one candidate tarball and its SHA-256 file.
45
+
46
+ The Windows, Ubuntu, and macOS matrix jobs download that artifact, independently
47
+ verify its SHA-256, install Chromium, and run the packed observation, viewer,
48
+ and v0.9 annotation smokes. The workflow is triggered by `validation/**` and
49
+ retains workflow dispatch support.
50
+
51
+ ## 6. Run A exact commit
52
+
53
+ - Run ID: `35258547214`
54
+ - URL: <https://github.com/dailephd/my-frontend-observer/actions/runs/35258547214>
55
+ - Head: `a78a058271564661e2f04a835db04071b135258a`
56
+ - Event: `push`
57
+ - Result: `PASS`
58
+
59
+ `RUN_A` passed all configured platforms. A second complete workflow run is
60
+ required after this report is committed. The final run ID and exact candidate
61
+ SHA are intentionally recorded outside the tracked package and in the terminal
62
+ summary to avoid self-referential candidate drift.
63
+
64
+ ## 7. Candidate job
65
+
66
+ The candidate job passed typecheck, lint, unit tests, real-Chromium browser
67
+ tests, security tests, build, documentation checks, exact packaging, SHA-256
68
+ calculation, and candidate artifact upload.
69
+
70
+ ## 8. Windows exact-candidate result
71
+
72
+ The `windows-latest` matrix job passed. The smoke summaries reported platform
73
+ `win32` and package version `0.8.1`.
74
+
75
+ ## 9. Linux exact-candidate result
76
+
77
+ The `ubuntu-latest` matrix job passed. The smoke summaries reported platform
78
+ `linux` and package version `0.8.1`.
79
+
80
+ ## 10. macOS exact-candidate result
81
+
82
+ The `macos-latest` matrix job passed. The smoke summaries reported platform
83
+ `darwin` and package version `0.8.1`.
84
+
85
+ ## 11. Packed observation smoke
86
+
87
+ The packed observation smoke passed on Windows, Linux, and macOS. Its aggregate
88
+ `pass` value was `true` on every platform. The protected and preserved failure
89
+ values in the summary are the intentional negative-case contract evaluation,
90
+ not smoke failure.
91
+
92
+ ## 12. Packed viewer smoke
93
+
94
+ The packed viewer smoke reported `PASS` on Windows, Linux, and macOS. It
95
+ verified the installed package's project/viewer behavior, real Chromium view,
96
+ protocol `1.3.0`, provenance, media, PWA, and stale-evidence boundaries.
97
+
98
+ ## 13. Packed v0.9 annotation smoke
99
+
100
+ The packed v0.9 annotation smoke reported `PASS` on Windows, Linux, and macOS.
101
+ Package contents, public exports, consumer purity, project workflow, runtime
102
+ annotation, runtime promotion, contract inspection, reference annotation,
103
+ reference materialization, new-reference inspection, and the read-only
104
+ boundary passed on each platform.
105
+
106
+ ## 14. Candidate SHA verification procedure
107
+
108
+ The candidate artifact downloaded from Run A contained:
109
+
110
+ - `dailephd-my-frontend-observer-0.8.1.tgz`
111
+ - `candidate.sha256.txt`
112
+
113
+ The independently computed SHA-256 was
114
+ `bd40d2e83704e435d8647f5004ab29fd3a523540256ac67e10fec995c6f7d443`, equal to
115
+ the SHA recorded by the candidate job. The matrix jobs consumed this same
116
+ candidate artifact and independently verified its digest.
117
+
118
+ ## 15. Cross-platform defects and fixes, if any
119
+
120
+ No product, packaging, test, documentation, portability, workflow, or
121
+ infrastructure defect was exposed by Run A. No remediation commit was needed.
122
+
123
+ ## 16. Public API audit
124
+
125
+ - `materializeVisualAnnotationReference`: public export, as required by Prompt 6.
126
+ - `promoteVisualAnnotationContract`: public export `no`, intentional.
127
+
128
+ The promotion service remains an application service behind the supported
129
+ viewer-server promotion route. Prompt 5 did not freeze it as a package public
130
+ API, while Prompt 6 explicitly required the materialization service to be
131
+ exported. No new public surface was added during readiness.
132
+
133
+ ## 17. Version/release-state audit
134
+
135
+ - `package.json` version: `0.8.1`.
136
+ - `package-lock.json` version: `0.8.1`.
137
+ - README, CHANGELOG, `docs/CURRENT_STATE.md`, and `docs/ROADMAP.md` state that
138
+ v0.8.1 is the latest published release and v0.9 is implementation-complete
139
+ but unreleased.
140
+ - No v0.9.0 tag was created.
141
+ - No npm publication or GitHub release was performed.
142
+
143
+ ## 18. Security/readiness audit
144
+
145
+ The candidate security suite passed. The packed annotation smoke continued to
146
+ prove the installed package's project-aware authoring surface without adding a
147
+ new write capability. The `.tmp-*` discovery exclusion passed the candidate and
148
+ packed validation; the existing Windows EPERM race description remains
149
+ structurally mitigated by excluding writer temporary directories from viewer
150
+ discovery, not a claim of deterministic impossibility.
151
+
152
+ ## 19. Remaining risks
153
+
154
+ The final authoritative workflow must still run on the commit containing this
155
+ report. PWA installation proof remains browser-level rather than OS-level, as
156
+ already recorded by Prompt 7. The final candidate SHA must be recorded outside
157
+ the packaged tracked report to avoid changing the validated package.
158
+
159
+ ## 20. Final authoritative rerun requirement
160
+
161
+ After this report is committed and pushed, a complete new workflow run must
162
+ pass the candidate job and Windows, Linux, and macOS exact-candidate matrix
163
+ jobs on the same commit. That run is the authoritative final readiness run.
164
+
165
+ ## 21. Next step after final PASS
166
+
167
+ `v0.9.0 controlled release preparation:` bump the package from `0.8.1` to
168
+ `0.9.0`, reconcile release-version documentation and changelog state, build and
169
+ validate the exact `0.9.0` candidate, then perform the controlled tag/npm/GitHub
170
+ release workflow.