@dailephd/my-frontend-observer 0.8.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.
- package/CHANGELOG.md +397 -0
- package/LICENSE +21 -0
- package/README.md +255 -0
- package/dist/application/browserCaptureService.d.ts +11 -0
- package/dist/application/browserCaptureService.js +12 -0
- package/dist/application/browserCaptureService.js.map +1 -0
- package/dist/application/comparisonService.d.ts +56 -0
- package/dist/application/comparisonService.js +77 -0
- package/dist/application/comparisonService.js.map +1 -0
- package/dist/application/externalReferencePersistenceService.d.ts +75 -0
- package/dist/application/externalReferencePersistenceService.js +182 -0
- package/dist/application/externalReferencePersistenceService.js.map +1 -0
- package/dist/application/frontendContractEvaluationService.d.ts +49 -0
- package/dist/application/frontendContractEvaluationService.js +112 -0
- package/dist/application/frontendContractEvaluationService.js.map +1 -0
- package/dist/application/frontendContractPersistenceService.d.ts +56 -0
- package/dist/application/frontendContractPersistenceService.js +91 -0
- package/dist/application/frontendContractPersistenceService.js.map +1 -0
- package/dist/application/observationPersistence.d.ts +59 -0
- package/dist/application/observationPersistence.js +79 -0
- package/dist/application/observationPersistence.js.map +1 -0
- package/dist/application/projectCheckService.d.ts +3 -0
- package/dist/application/projectCheckService.js +169 -0
- package/dist/application/projectCheckService.js.map +1 -0
- package/dist/application/projectWorkflowService.d.ts +46 -0
- package/dist/application/projectWorkflowService.js +92 -0
- package/dist/application/projectWorkflowService.js.map +1 -0
- package/dist/application/referenceFidelityEvaluationService.d.ts +28 -0
- package/dist/application/referenceFidelityEvaluationService.js +45 -0
- package/dist/application/referenceFidelityEvaluationService.js.map +1 -0
- package/dist/artifacts/artifactReader.d.ts +19 -0
- package/dist/artifacts/artifactReader.js +36 -0
- package/dist/artifacts/artifactReader.js.map +1 -0
- package/dist/artifacts/artifactWriter.d.ts +25 -0
- package/dist/artifacts/artifactWriter.js +68 -0
- package/dist/artifacts/artifactWriter.js.map +1 -0
- package/dist/artifacts/comparisonArtifactReader.d.ts +18 -0
- package/dist/artifacts/comparisonArtifactReader.js +35 -0
- package/dist/artifacts/comparisonArtifactReader.js.map +1 -0
- package/dist/artifacts/comparisonArtifactWriter.d.ts +41 -0
- package/dist/artifacts/comparisonArtifactWriter.js +67 -0
- package/dist/artifacts/comparisonArtifactWriter.js.map +1 -0
- package/dist/artifacts/externalReferenceArtifactReader.d.ts +18 -0
- package/dist/artifacts/externalReferenceArtifactReader.js +35 -0
- package/dist/artifacts/externalReferenceArtifactReader.js.map +1 -0
- package/dist/artifacts/externalReferenceArtifactWriter.d.ts +44 -0
- package/dist/artifacts/externalReferenceArtifactWriter.js +77 -0
- package/dist/artifacts/externalReferenceArtifactWriter.js.map +1 -0
- package/dist/artifacts/frontendContractArtifactReader.d.ts +24 -0
- package/dist/artifacts/frontendContractArtifactReader.js +47 -0
- package/dist/artifacts/frontendContractArtifactReader.js.map +1 -0
- package/dist/artifacts/frontendContractArtifactWriter.d.ts +34 -0
- package/dist/artifacts/frontendContractArtifactWriter.js +70 -0
- package/dist/artifacts/frontendContractArtifactWriter.js.map +1 -0
- package/dist/artifacts/frontendContractEvaluationArtifactReader.d.ts +17 -0
- package/dist/artifacts/frontendContractEvaluationArtifactReader.js +34 -0
- package/dist/artifacts/frontendContractEvaluationArtifactReader.js.map +1 -0
- package/dist/artifacts/frontendContractEvaluationArtifactWriter.d.ts +32 -0
- package/dist/artifacts/frontendContractEvaluationArtifactWriter.js +58 -0
- package/dist/artifacts/frontendContractEvaluationArtifactWriter.js.map +1 -0
- package/dist/artifacts/types.d.ts +17 -0
- package/dist/artifacts/types.js +2 -0
- package/dist/artifacts/types.js.map +1 -0
- package/dist/browser/chromiumAdapter.d.ts +21 -0
- package/dist/browser/chromiumAdapter.js +204 -0
- package/dist/browser/chromiumAdapter.js.map +1 -0
- package/dist/browser/evidenceCapture.d.ts +62 -0
- package/dist/browser/evidenceCapture.js +500 -0
- package/dist/browser/evidenceCapture.js.map +1 -0
- package/dist/browser/scrollCapture.d.ts +32 -0
- package/dist/browser/scrollCapture.js +163 -0
- package/dist/browser/scrollCapture.js.map +1 -0
- package/dist/browser/types.d.ts +24 -0
- package/dist/browser/types.js +2 -0
- package/dist/browser/types.js.map +1 -0
- package/dist/cli.d.ts +8 -0
- package/dist/cli.js +2411 -0
- package/dist/cli.js.map +1 -0
- package/dist/domain/boundedAgentContext.d.ts +226 -0
- package/dist/domain/boundedAgentContext.js +355 -0
- package/dist/domain/boundedAgentContext.js.map +1 -0
- package/dist/domain/boundedAgentContextCorrelation.d.ts +74 -0
- package/dist/domain/boundedAgentContextCorrelation.js +441 -0
- package/dist/domain/boundedAgentContextCorrelation.js.map +1 -0
- package/dist/domain/boundedAgentContextIdentity.d.ts +26 -0
- package/dist/domain/boundedAgentContextIdentity.js +69 -0
- package/dist/domain/boundedAgentContextIdentity.js.map +1 -0
- package/dist/domain/boundedAgentContextProjection.d.ts +71 -0
- package/dist/domain/boundedAgentContextProjection.js +477 -0
- package/dist/domain/boundedAgentContextProjection.js.map +1 -0
- package/dist/domain/comparison.d.ts +220 -0
- package/dist/domain/comparison.js +350 -0
- package/dist/domain/comparison.js.map +1 -0
- package/dist/domain/comparisonEngine.d.ts +76 -0
- package/dist/domain/comparisonEngine.js +734 -0
- package/dist/domain/comparisonEngine.js.map +1 -0
- package/dist/domain/comparisonIdentity.d.ts +13 -0
- package/dist/domain/comparisonIdentity.js +46 -0
- package/dist/domain/comparisonIdentity.js.map +1 -0
- package/dist/domain/completion.d.ts +30 -0
- package/dist/domain/completion.js +22 -0
- package/dist/domain/completion.js.map +1 -0
- package/dist/domain/diagnostics.d.ts +17 -0
- package/dist/domain/diagnostics.js +77 -0
- package/dist/domain/diagnostics.js.map +1 -0
- package/dist/domain/evidence.d.ts +29 -0
- package/dist/domain/evidence.js +59 -0
- package/dist/domain/evidence.js.map +1 -0
- package/dist/domain/explicitState.d.ts +40 -0
- package/dist/domain/explicitState.js +54 -0
- package/dist/domain/explicitState.js.map +1 -0
- package/dist/domain/externalReference.d.ts +158 -0
- package/dist/domain/externalReference.js +167 -0
- package/dist/domain/externalReference.js.map +1 -0
- package/dist/domain/externalReferenceApplicability.d.ts +43 -0
- package/dist/domain/externalReferenceApplicability.js +52 -0
- package/dist/domain/externalReferenceApplicability.js.map +1 -0
- package/dist/domain/externalReferenceCompatibility.d.ts +40 -0
- package/dist/domain/externalReferenceCompatibility.js +48 -0
- package/dist/domain/externalReferenceCompatibility.js.map +1 -0
- package/dist/domain/externalReferenceFidelity.d.ts +171 -0
- package/dist/domain/externalReferenceFidelity.js +419 -0
- package/dist/domain/externalReferenceFidelity.js.map +1 -0
- package/dist/domain/externalReferenceIdentity.d.ts +38 -0
- package/dist/domain/externalReferenceIdentity.js +70 -0
- package/dist/domain/externalReferenceIdentity.js.map +1 -0
- package/dist/domain/externalReferenceImage.d.ts +35 -0
- package/dist/domain/externalReferenceImage.js +160 -0
- package/dist/domain/externalReferenceImage.js.map +1 -0
- package/dist/domain/externalReferenceRegionRelationships.d.ts +63 -0
- package/dist/domain/externalReferenceRegionRelationships.js +98 -0
- package/dist/domain/externalReferenceRegionRelationships.js.map +1 -0
- package/dist/domain/externalReferenceRegions.d.ts +65 -0
- package/dist/domain/externalReferenceRegions.js +105 -0
- package/dist/domain/externalReferenceRegions.js.map +1 -0
- package/dist/domain/externalReferenceRequirementIdentity.d.ts +12 -0
- package/dist/domain/externalReferenceRequirementIdentity.js +35 -0
- package/dist/domain/externalReferenceRequirementIdentity.js.map +1 -0
- package/dist/domain/externalReferenceRequirements.d.ts +215 -0
- package/dist/domain/externalReferenceRequirements.js +401 -0
- package/dist/domain/externalReferenceRequirements.js.map +1 -0
- package/dist/domain/externalReferenceRuntimeBinding.d.ts +146 -0
- package/dist/domain/externalReferenceRuntimeBinding.js +183 -0
- package/dist/domain/externalReferenceRuntimeBinding.js.map +1 -0
- package/dist/domain/frontendContractEvaluation.d.ts +57 -0
- package/dist/domain/frontendContractEvaluation.js +454 -0
- package/dist/domain/frontendContractEvaluation.js.map +1 -0
- package/dist/domain/frontendContractEvaluationArtifact.d.ts +65 -0
- package/dist/domain/frontendContractEvaluationArtifact.js +108 -0
- package/dist/domain/frontendContractEvaluationArtifact.js.map +1 -0
- package/dist/domain/frontendContractIdentity.d.ts +39 -0
- package/dist/domain/frontendContractIdentity.js +70 -0
- package/dist/domain/frontendContractIdentity.js.map +1 -0
- package/dist/domain/frontendContracts.d.ts +188 -0
- package/dist/domain/frontendContracts.js +260 -0
- package/dist/domain/frontendContracts.js.map +1 -0
- package/dist/domain/identity.d.ts +21 -0
- package/dist/domain/identity.js +47 -0
- package/dist/domain/identity.js.map +1 -0
- package/dist/domain/referenceCorrectionIdentity.d.ts +40 -0
- package/dist/domain/referenceCorrectionIdentity.js +77 -0
- package/dist/domain/referenceCorrectionIdentity.js.map +1 -0
- package/dist/domain/referenceCorrectionWorkflow.d.ts +160 -0
- package/dist/domain/referenceCorrectionWorkflow.js +165 -0
- package/dist/domain/referenceCorrectionWorkflow.js.map +1 -0
- package/dist/domain/referenceFidelityProjection.d.ts +65 -0
- package/dist/domain/referenceFidelityProjection.js +135 -0
- package/dist/domain/referenceFidelityProjection.js.map +1 -0
- package/dist/domain/relationships.d.ts +210 -0
- package/dist/domain/relationships.js +352 -0
- package/dist/domain/relationships.js.map +1 -0
- package/dist/domain/schema.d.ts +269 -0
- package/dist/domain/schema.js +442 -0
- package/dist/domain/schema.js.map +1 -0
- package/dist/domain/scrollEvidence.d.ts +51 -0
- package/dist/domain/scrollEvidence.js +134 -0
- package/dist/domain/scrollEvidence.js.map +1 -0
- package/dist/index.d.ts +114 -0
- package/dist/index.js +64 -0
- package/dist/index.js.map +1 -0
- package/dist/projectWorkflow/aliasCatalog.d.ts +21 -0
- package/dist/projectWorkflow/aliasCatalog.js +67 -0
- package/dist/projectWorkflow/aliasCatalog.js.map +1 -0
- package/dist/projectWorkflow/checkAcceptance.d.ts +25 -0
- package/dist/projectWorkflow/checkAcceptance.js +55 -0
- package/dist/projectWorkflow/checkAcceptance.js.map +1 -0
- package/dist/projectWorkflow/checkResult.d.ts +85 -0
- package/dist/projectWorkflow/checkResult.js +101 -0
- package/dist/projectWorkflow/checkResult.js.map +1 -0
- package/dist/projectWorkflow/projectConfig.d.ts +43 -0
- package/dist/projectWorkflow/projectConfig.js +84 -0
- package/dist/projectWorkflow/projectConfig.js.map +1 -0
- package/dist/projectWorkflow/projectDiscovery.d.ts +9 -0
- package/dist/projectWorkflow/projectDiscovery.js +20 -0
- package/dist/projectWorkflow/projectDiscovery.js.map +1 -0
- package/dist/projectWorkflow/projectPaths.d.ts +8 -0
- package/dist/projectWorkflow/projectPaths.js +23 -0
- package/dist/projectWorkflow/projectPaths.js.map +1 -0
- package/dist/request/paths.d.ts +14 -0
- package/dist/request/paths.js +33 -0
- package/dist/request/paths.js.map +1 -0
- package/dist/request/request.d.ts +111 -0
- package/dist/request/request.js +464 -0
- package/dist/request/request.js.map +1 -0
- package/dist/safety/policy.d.ts +14 -0
- package/dist/safety/policy.js +81 -0
- package/dist/safety/policy.js.map +1 -0
- package/dist/viewer/assets/index-CN_yb9Uf.css +1 -0
- package/dist/viewer/assets/index-D98S1_2d.js +9 -0
- package/dist/viewer/icons/icon-192.png +0 -0
- package/dist/viewer/icons/icon-512.png +0 -0
- package/dist/viewer/index.html +15 -0
- package/dist/viewer/manifest.webmanifest +1 -0
- package/dist/viewer/registerSW.js +1 -0
- package/dist/viewer/sw.js +1 -0
- package/dist/viewer/workbox-9c191d2f.js +1 -0
- package/dist/viewerServer/context.d.ts +48 -0
- package/dist/viewerServer/context.js +60 -0
- package/dist/viewerServer/context.js.map +1 -0
- package/dist/viewerServer/evidence/classify.d.ts +59 -0
- package/dist/viewerServer/evidence/classify.js +124 -0
- package/dist/viewerServer/evidence/classify.js.map +1 -0
- package/dist/viewerServer/evidence/comparisonView.d.ts +28 -0
- package/dist/viewerServer/evidence/comparisonView.js +43 -0
- package/dist/viewerServer/evidence/comparisonView.js.map +1 -0
- package/dist/viewerServer/evidence/contextSourceView.d.ts +25 -0
- package/dist/viewerServer/evidence/contextSourceView.js +20 -0
- package/dist/viewerServer/evidence/contextSourceView.js.map +1 -0
- package/dist/viewerServer/evidence/discovery.d.ts +31 -0
- package/dist/viewerServer/evidence/discovery.js +78 -0
- package/dist/viewerServer/evidence/discovery.js.map +1 -0
- package/dist/viewerServer/evidence/evaluationView.d.ts +32 -0
- package/dist/viewerServer/evidence/evaluationView.js +50 -0
- package/dist/viewerServer/evidence/evaluationView.js.map +1 -0
- package/dist/viewerServer/evidence/handles.d.ts +21 -0
- package/dist/viewerServer/evidence/handles.js +43 -0
- package/dist/viewerServer/evidence/handles.js.map +1 -0
- package/dist/viewerServer/evidence/index.d.ts +41 -0
- package/dist/viewerServer/evidence/index.js +82 -0
- package/dist/viewerServer/evidence/index.js.map +1 -0
- package/dist/viewerServer/evidence/limits.d.ts +27 -0
- package/dist/viewerServer/evidence/limits.js +28 -0
- package/dist/viewerServer/evidence/limits.js.map +1 -0
- package/dist/viewerServer/evidence/linkedEvidence.d.ts +43 -0
- package/dist/viewerServer/evidence/linkedEvidence.js +151 -0
- package/dist/viewerServer/evidence/linkedEvidence.js.map +1 -0
- package/dist/viewerServer/evidence/mediaResolver.d.ts +16 -0
- package/dist/viewerServer/evidence/mediaResolver.js +85 -0
- package/dist/viewerServer/evidence/mediaResolver.js.map +1 -0
- package/dist/viewerServer/evidence/observationView.d.ts +29 -0
- package/dist/viewerServer/evidence/observationView.js +46 -0
- package/dist/viewerServer/evidence/observationView.js.map +1 -0
- package/dist/viewerServer/evidence/pathSafety.d.ts +11 -0
- package/dist/viewerServer/evidence/pathSafety.js +31 -0
- package/dist/viewerServer/evidence/pathSafety.js.map +1 -0
- package/dist/viewerServer/evidence/projection.d.ts +55 -0
- package/dist/viewerServer/evidence/projection.js +152 -0
- package/dist/viewerServer/evidence/projection.js.map +1 -0
- package/dist/viewerServer/evidence/referenceView.d.ts +133 -0
- package/dist/viewerServer/evidence/referenceView.js +169 -0
- package/dist/viewerServer/evidence/referenceView.js.map +1 -0
- package/dist/viewerServer/httpServer.d.ts +27 -0
- package/dist/viewerServer/httpServer.js +381 -0
- package/dist/viewerServer/httpServer.js.map +1 -0
- package/dist/viewerServer/openBrowser.d.ts +7 -0
- package/dist/viewerServer/openBrowser.js +32 -0
- package/dist/viewerServer/openBrowser.js.map +1 -0
- package/dist/viewerServer/port.d.ts +16 -0
- package/dist/viewerServer/port.js +19 -0
- package/dist/viewerServer/port.js.map +1 -0
- package/dist/viewerServer/viewerService.d.ts +62 -0
- package/dist/viewerServer/viewerService.js +88 -0
- package/dist/viewerServer/viewerService.js.map +1 -0
- package/docs/ARCHITECTURE.md +1286 -0
- package/docs/CI_CD.md +250 -0
- package/docs/COMMANDS.md +972 -0
- package/docs/CONTRACTS.md +1856 -0
- package/docs/CURRENT_STATE.md +1049 -0
- package/docs/DEVELOPMENT.md +202 -0
- package/docs/DOCUMENTATION_PRESERVATION_POLICY.md +50 -0
- package/docs/PROJECT_DESCRIPTION.md +2221 -0
- package/docs/PROJECT_MILESTONES.md +2526 -0
- package/docs/PROJECT_OVERVIEW.md +150 -0
- package/docs/QUICKSTART.md +83 -0
- package/docs/RELEASE.md +27 -0
- package/docs/ROADMAP.md +641 -0
- package/docs/SECURITY.md +218 -0
- package/docs/WORKFLOWS.md +642 -0
- package/docs/plans/v0.8-implementation-plan.md +655 -0
- package/docs/plans/v0.8.1-cli-usability-patch-plan.md +505 -0
- package/docs/reports/v0.7-bounded-fidelity-context-prompt7.md +243 -0
- package/docs/reports/v0.7-implementation-completeness-documentation-reconciliation.md +497 -0
- package/docs/reports/v0.7-pre-release-readiness.md +337 -0
- package/docs/reports/v0.7-reference-binding-prompt5.md +223 -0
- package/docs/reports/v0.7-reference-compatibility-prompt4.md +234 -0
- package/docs/reports/v0.7-reference-correction-workflow-prompt8.md +222 -0
- package/docs/reports/v0.7-reference-fidelity-prompt6.md +216 -0
- package/docs/reports/v0.7-reference-foundation-prompt1.md +151 -0
- package/docs/reports/v0.7-reference-regions-prompt2.md +195 -0
- package/docs/reports/v0.7-reference-requirements-prompt3.md +217 -0
- package/docs/reports/v0.7-release-prep.md +423 -0
- package/docs/reports/v0.8-binding-fidelity-interaction-batch6.md +279 -0
- package/docs/reports/v0.8-bounded-context-correlation-batch7.md +233 -0
- package/docs/reports/v0.8-comparison-contract-inspection-batch4.md +279 -0
- package/docs/reports/v0.8-evidence-index-readers-batch2.md +247 -0
- package/docs/reports/v0.8-implementation-completeness-documentation-reconciliation.md +741 -0
- package/docs/reports/v0.8-integrated-viewer-acceptance-batch8.md +128 -0
- package/docs/reports/v0.8-observation-svg-inspection-batch3.md +223 -0
- package/docs/reports/v0.8-prerelease-readiness-cross-platform-security-code-rot.md +687 -0
- package/docs/reports/v0.8-reference-candidate-inspection-batch5.md +232 -0
- package/docs/reports/v0.8-viewer-runtime-pwa-batch1.md +278 -0
- package/docs/reports/v0.8.1-check-orchestration-prompt2.md +69 -0
- package/docs/reports/v0.8.1-implementation-completeness-documentation-reconciliation.md +114 -0
- package/docs/reports/v0.8.1-prerelease-readiness-cross-platform-security-code-rot.md +170 -0
- package/docs/reports/v0.8.1-project-workflow-foundation-prompt1.md +66 -0
- package/package.json +58 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Project Overview
|
|
2
|
+
|
|
3
|
+
The repository contains the complete v0.8.1 source workflow (`init`, `capture`,
|
|
4
|
+
`check`, project-aware `view`), released as
|
|
5
|
+
`@dailephd/my-frontend-observer@0.8.1` under the MIT license.
|
|
6
|
+
|
|
7
|
+
`my-frontend-observer` is the rendered browser/runtime evidence producer in
|
|
8
|
+
the my-dev-kit ecosystem. It addresses the gap between source-level evidence
|
|
9
|
+
and what a browser actually renders and supports three durable jobs: human-to-LLM
|
|
10
|
+
design communication, safer LLM-assisted frontend changes, and runtime evidence
|
|
11
|
+
for coordinated ecosystem work. Human-to-LLM design communication can begin
|
|
12
|
+
from the currently rendered frontend or from an approved external visual
|
|
13
|
+
reference that describes the desired design.
|
|
14
|
+
|
|
15
|
+
The responsibility split is stable:
|
|
16
|
+
|
|
17
|
+
- `my-dev-kit` produces static repository/source evidence.
|
|
18
|
+
- `my-frontend-observer` produces rendered browser/runtime evidence and owns the
|
|
19
|
+
structured external-reference evidence used to compare approved desired-design
|
|
20
|
+
intent with an actual browser-rendered candidate.
|
|
21
|
+
- `my-dev-kit-orchestrator` coordinates workflows and bounded evidence use.
|
|
22
|
+
- `my-dev-kit-lab` owns compatibility, fixtures, experiments, and evaluation.
|
|
23
|
+
|
|
24
|
+
## Current repository state
|
|
25
|
+
|
|
26
|
+
v0.1, Runtime Observation Foundation; v0.2, Stable Semantic Targets and
|
|
27
|
+
Region Identity; v0.3, Runtime Scrolling, Overflow, and Visibility Behavior;
|
|
28
|
+
v0.4, Layout Relationships, Dependency Evidence, and Before/After
|
|
29
|
+
Comparison; v0.5, Executable Frontend Contracts and Explicit Change Scope;
|
|
30
|
+
v0.6, Bounded Agent Context and Native my-dev-kit Ecosystem Integration;
|
|
31
|
+
v0.7, End-to-End Coding-Agent Frontend Change Review; and v0.8, Interactive
|
|
32
|
+
Local Observation Viewer, are released and published to npm. The current
|
|
33
|
+
package version is `0.8.1` as `@dailephd/my-frontend-observer` (observation schema `1.2.0`, comparison schema
|
|
34
|
+
`1.0.0`, frontend contract schema `1.0.0`, evaluation artifact schema `1.0.0`,
|
|
35
|
+
bounded-agent-context schema `1.0.0`, external-reference schema `1.0.0`). The
|
|
36
|
+
released package was validated as a packed npm tarball in a clean consumer
|
|
37
|
+
environment across Windows, Linux, and macOS.
|
|
38
|
+
|
|
39
|
+
The released low-level command surface remains artifact-oriented: a real
|
|
40
|
+
`observe` command launches Chromium, enforces loopback-only safety, captures
|
|
41
|
+
bounded page/target evidence through CSS shorthand, structured semantic targets,
|
|
42
|
+
or a bounded scroll scenario, and persists one portable local artifact; a real
|
|
43
|
+
`compare` command reads two persisted observations and derives before/after
|
|
44
|
+
relationship and difference evidence; `approve-baseline`,
|
|
45
|
+
`save-change-contract`, and `evaluate-contract` provide canonical executable
|
|
46
|
+
change-scope evaluation; and the v0.7 reference commands import, approve, and
|
|
47
|
+
evaluate approved external visual references. See `docs/CURRENT_STATE.md` for
|
|
48
|
+
the complete implemented state and release evidence.
|
|
49
|
+
|
|
50
|
+
v0.6 adds a programmatic bounded runtime projection plus an explicit
|
|
51
|
+
runtime/static correlation boundary (`correlated`/`ambiguous`/
|
|
52
|
+
`unavailable`), exported from `src/index.ts` with no new CLI command.
|
|
53
|
+
|
|
54
|
+
v0.7 (End-to-End Coding-Agent Frontend Change Review) adds the complete
|
|
55
|
+
external-reference architecture: the external-reference artifact foundation
|
|
56
|
+
and explicit approval lifecycle (`import-reference`/`approve-reference`),
|
|
57
|
+
explicit reference regions and reusable geometry relationships, selected
|
|
58
|
+
design requirements/tolerances/reference-evidence adequacy, reference
|
|
59
|
+
applicability and candidate-state compatibility, explicit
|
|
60
|
+
reference-region-to-runtime-target binding, structured
|
|
61
|
+
reference-vs-candidate fidelity evaluation (`evaluate-reference-fidelity`),
|
|
62
|
+
its integration into the existing v0.6 bounded-agent-context, and a
|
|
63
|
+
controlled, programmatic end-to-end correction workflow
|
|
64
|
+
(`prepareReferenceCorrection`/`reviewReferenceCorrectionAttempt`) proven
|
|
65
|
+
against real Chromium (success, protected-regression, and multi-attempt
|
|
66
|
+
correction-iteration cases). See `docs/CURRENT_STATE.md` for the full
|
|
67
|
+
implementation record and
|
|
68
|
+
`docs/reports/v0.7-implementation-completeness-documentation-reconciliation.md`
|
|
69
|
+
for the completeness audit that preceded release.
|
|
70
|
+
|
|
71
|
+
v0.8 (Interactive Local Observation Viewer) is released as package version
|
|
72
|
+
`0.8.0` - `my-frontend-observer view` starts a loopback-only Node server
|
|
73
|
+
serving a React + TypeScript + Vite viewer (normal browser or installed PWA)
|
|
74
|
+
that inspects observations, comparisons, contract results, external
|
|
75
|
+
references/candidates with explicit binding cross-selection and on-demand
|
|
76
|
+
fidelity evaluation, and, when supplied, a bounded agent context's
|
|
77
|
+
adequacy/omissions/truncations/correlation - all through the same canonical
|
|
78
|
+
engines used by the CLI, never a second implementation of them. See
|
|
79
|
+
`docs/CURRENT_STATE.md`,
|
|
80
|
+
`docs/reports/v0.8-implementation-completeness-documentation-reconciliation.md`,
|
|
81
|
+
and `docs/reports/v0.8-prerelease-readiness-cross-platform-security-code-rot.md`
|
|
82
|
+
for the implementation and release evidence.
|
|
83
|
+
|
|
84
|
+
The repository implementation now includes released v0.8.1, a project-workflow
|
|
85
|
+
CLI usability patch published as `@dailephd/my-frontend-observer@0.8.1`. It does
|
|
86
|
+
not introduce a new evidence model. It adds project configuration,
|
|
87
|
+
human-readable aliases, managed project-local Observer state, and a small
|
|
88
|
+
high-level `init` / `capture` / `check` / project-aware `view` workflow above
|
|
89
|
+
the existing canonical engines. The purpose is to stop making humans and coding
|
|
90
|
+
agents repeatedly manage output paths, evidence roots, and long canonical
|
|
91
|
+
artifact identifiers during ordinary use. Existing low-level commands remain
|
|
92
|
+
supported. The frozen plan is
|
|
93
|
+
`docs/plans/v0.8.1-cli-usability-patch-plan.md`.
|
|
94
|
+
|
|
95
|
+
v0.9 and v0.10 remain future and unimplemented. v0.9 adds structured visual
|
|
96
|
+
annotation through the existing viewer. v0.10 completes the visual human-LLM
|
|
97
|
+
workflow and should consume the v0.8.1 high-level acceptance surface rather than
|
|
98
|
+
introduce another Observer command architecture.
|
|
99
|
+
|
|
100
|
+
The revised dependency path reaches practical coding-agent use before graphical
|
|
101
|
+
interaction and keeps later visual work on the same canonical evidence system:
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
runtime observation and stable identity
|
|
105
|
+
→ bounded behavior, relationships, comparison, and safe-change contracts
|
|
106
|
+
→ bounded agent context plus native ecosystem integration (released as 0.6.0)
|
|
107
|
+
→ text/config-driven coding-agent change review
|
|
108
|
+
+ external visual-reference evidence foundation
|
|
109
|
+
+ reference-vs-candidate structured fidelity evaluation
|
|
110
|
+
+ controlled end-to-end correction workflow (released as 0.7.0)
|
|
111
|
+
→ interactive viewer with reference/candidate inspection (released as 0.8.0)
|
|
112
|
+
→ project workflow CLI + human-readable evidence aliases (implemented in source; not published)
|
|
113
|
+
→ structured visual annotation on runtime screenshots and external references
|
|
114
|
+
(planned v0.9)
|
|
115
|
+
→ full visual human-LLM workflow with actual-frontend-driven and
|
|
116
|
+
reference-driven entry modes (planned v0.10)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
The implemented reference model is not a second observer or a
|
|
120
|
+
screenshot-cloning system. An external reference is desired-design evidence,
|
|
121
|
+
not an earlier runtime observation, and reference design vs candidate remains
|
|
122
|
+
distinct from before vs after comparison and contract vs candidate evaluation.
|
|
123
|
+
Structured geometry, relationships, explicit design intent, applicability
|
|
124
|
+
state, provenance, and bounded tolerances remain primary; image similarity may
|
|
125
|
+
only supplement them where reliable. Reference-derived executable intent must
|
|
126
|
+
reuse the existing requested/expected-dependent/protected/preserved contract
|
|
127
|
+
semantics rather than create a second PASS/FAIL taxonomy.
|
|
128
|
+
|
|
129
|
+
Viewer and annotation enhance the proven coding-agent workflow; they are not
|
|
130
|
+
prerequisites for proving it. The viewer must consume the reference model and
|
|
131
|
+
fidelity evidence established before it rather than inventing a UI-only
|
|
132
|
+
comparison engine. The implemented v0.8.1 workflow layer likewise resolves project
|
|
133
|
+
configuration and human aliases to existing canonical artifacts and services;
|
|
134
|
+
it does not replace artifact identity or evaluation semantics.
|
|
135
|
+
|
|
136
|
+
Repository-local authorities and navigation:
|
|
137
|
+
|
|
138
|
+
- [PROJECT_DESCRIPTION.md](PROJECT_DESCRIPTION.md) contains complete durable
|
|
139
|
+
product intent and responsibility boundaries.
|
|
140
|
+
- [PROJECT_MILESTONES.md](PROJECT_MILESTONES.md) contains the complete ordered
|
|
141
|
+
capability plan and cross-milestone rules.
|
|
142
|
+
- [ROADMAP.md](ROADMAP.md) owns version-level direction without prewritten
|
|
143
|
+
implementation batches.
|
|
144
|
+
- [CURRENT_STATE.md](CURRENT_STATE.md) records current implementation and
|
|
145
|
+
release state.
|
|
146
|
+
- [plans/v0.8.1-cli-usability-patch-plan.md](plans/v0.8.1-cli-usability-patch-plan.md)
|
|
147
|
+
freezes the concrete implementation plan for the v0.8.1 patch.
|
|
148
|
+
|
|
149
|
+
Historical greenfield artifacts and reports are retained as evidence that an
|
|
150
|
+
earlier run overreached into v0.1; they are not current-state authority.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Quickstart
|
|
2
|
+
|
|
3
|
+
The common source workflow is:
|
|
4
|
+
|
|
5
|
+
```powershell
|
|
6
|
+
node dist/cli.js init --url http://127.0.0.1:3000 --target app=#app
|
|
7
|
+
node dist/cli.js capture baseline
|
|
8
|
+
# make a frontend change
|
|
9
|
+
node dist/cli.js check baseline
|
|
10
|
+
node dist/cli.js view
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Use `check baseline --json` for a coding agent: on `FAIL`, use the returned
|
|
14
|
+
bounded runtime evidence, correct source externally, and rerun until `PASS`.
|
|
15
|
+
Observer never edits source. Canonical IDs remain available in details and
|
|
16
|
+
provenance but are not required as ordinary command input.
|
|
17
|
+
|
|
18
|
+
Prerequisites are Node.js 24 or later and npm. For the published package:
|
|
19
|
+
|
|
20
|
+
```powershell
|
|
21
|
+
npm install --save-dev @dailephd/my-frontend-observer
|
|
22
|
+
npx playwright install chromium
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The installed CLI is still named `my-frontend-observer`.
|
|
26
|
+
|
|
27
|
+
```powershell
|
|
28
|
+
npm install
|
|
29
|
+
npx playwright install chromium
|
|
30
|
+
npm run build
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Run a real observation against your own local frontend:
|
|
34
|
+
|
|
35
|
+
```powershell
|
|
36
|
+
node dist/cli.js observe `
|
|
37
|
+
--url http://localhost:3000/ `
|
|
38
|
+
--viewport 1280x720 `
|
|
39
|
+
--target header=header `
|
|
40
|
+
--target main-content=main `
|
|
41
|
+
--output observations
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
This launches Chromium, captures a screenshot plus bounded page/target
|
|
45
|
+
evidence, and writes one portable artifact under `observations/<observation-id>/`.
|
|
46
|
+
See [COMMANDS.md](COMMANDS.md) for the full flag reference, including the
|
|
47
|
+
`--targets-file` structured semantic-target input and the
|
|
48
|
+
`--scroll-scenario-file` bounded runtime scroll scenario input.
|
|
49
|
+
|
|
50
|
+
Once you have two such artifacts, `node dist/cli.js compare --before
|
|
51
|
+
<root> --after <root> --output comparisons` derives before/after evidence
|
|
52
|
+
between them without launching a browser again - see
|
|
53
|
+
[COMMANDS.md](COMMANDS.md#compare) for details.
|
|
54
|
+
|
|
55
|
+
You can then approve a baseline, save a per-change contract, and evaluate a
|
|
56
|
+
candidate change against them plus the observation/comparison evidence
|
|
57
|
+
above - see [COMMANDS.md](COMMANDS.md#approve-baseline) for the exact flags
|
|
58
|
+
and [WORKFLOWS.md](WORKFLOWS.md) for the full flow.
|
|
59
|
+
|
|
60
|
+
If you also have an external design-reference image, `import-reference`/
|
|
61
|
+
`approve-reference`/`evaluate-reference-fidelity` let you compare a
|
|
62
|
+
candidate observation against it (implemented in the current development
|
|
63
|
+
state; see [COMMANDS.md](COMMANDS.md) and [CONTRACTS.md](CONTRACTS.md) for
|
|
64
|
+
the exact flags and contract).
|
|
65
|
+
|
|
66
|
+
To inspect a project visually instead of opening raw artifact files,
|
|
67
|
+
`my-frontend-observer view --no-open` starts a local,
|
|
68
|
+
loopback-only viewer server (usable in a normal browser or as an installed
|
|
69
|
+
PWA) over managed project evidence. For existing standalone evidence roots,
|
|
70
|
+
use `my-frontend-observer view --root observations --no-open`. See
|
|
71
|
+
[COMMANDS.md](COMMANDS.md#view) for the full
|
|
72
|
+
flag reference, including `--bindings-file` and `--context-file`.
|
|
73
|
+
|
|
74
|
+
To validate the repository itself instead:
|
|
75
|
+
|
|
76
|
+
```powershell
|
|
77
|
+
npm run typecheck
|
|
78
|
+
npm run lint
|
|
79
|
+
npm test
|
|
80
|
+
npm run test:browser
|
|
81
|
+
npm run build
|
|
82
|
+
npm run check:docs
|
|
83
|
+
```
|
package/docs/RELEASE.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Release
|
|
2
|
+
|
|
3
|
+
`v0.8.1` (Project Workflow CLI and Human-Readable Evidence Aliases) is
|
|
4
|
+
released and published to npm as `@dailephd/my-frontend-observer`. The
|
|
5
|
+
release includes the managed project workflow, bounded check interface,
|
|
6
|
+
alias-aware viewer, cross-platform validation, and MIT license.
|
|
7
|
+
|
|
8
|
+
The CLI remains `my-frontend-observer`; package identity and product identity
|
|
9
|
+
are intentionally distinct. Canonical artifact schemas remain versioned
|
|
10
|
+
independently from the npm package version.
|
|
11
|
+
|
|
12
|
+
Observation, comparison, frontend contract, evaluation artifact,
|
|
13
|
+
bounded-agent-context, external-reference, and package version all remain
|
|
14
|
+
separate: package version is `0.7.0`; observation schema is `1.2.0`,
|
|
15
|
+
comparison schema is `1.0.0`, frontend contract schema is `1.0.0`,
|
|
16
|
+
evaluation artifact schema is `1.0.0`, bounded-agent-context schema is
|
|
17
|
+
`1.0.0`, and external-reference schema is `1.0.0` - none of which changes
|
|
18
|
+
automatically with the package version, and none of which was bumped by
|
|
19
|
+
the v0.7 work.
|
|
20
|
+
|
|
21
|
+
Prior releases: `v0.6.0` (Bounded Agent Context and Native my-dev-kit
|
|
22
|
+
Ecosystem Integration), `v0.5.0` (Executable Frontend Contracts and
|
|
23
|
+
Explicit Change Scope), `v0.4.0` (Layout Relationships, Dependency
|
|
24
|
+
Evidence, and Before/After Comparison), `v0.3.0` (Runtime Scrolling,
|
|
25
|
+
Overflow, and Visibility Behavior), `v0.2.0` (Stable Semantic Targets and
|
|
26
|
+
Region Identity), `v0.1.0` (Runtime Observation Foundation) - see
|
|
27
|
+
`CHANGELOG.md`.
|