@unrulysystems/native-motion-conformance 0.1.0-alpha.0

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 (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +66 -0
  4. package/package.json +33 -0
  5. package/src/adapter.ts +42 -0
  6. package/src/adapters/motion-dom.ts +96 -0
  7. package/src/adapters/native.ts +95 -0
  8. package/src/authoring.ts +78 -0
  9. package/src/comparator.ts +129 -0
  10. package/src/config.ts +22 -0
  11. package/src/declarations.ts +21 -0
  12. package/src/index.ts +144 -0
  13. package/src/oracle/attestation.ts +100 -0
  14. package/src/oracle/constants.ts +24 -0
  15. package/src/oracle/controls.ts +202 -0
  16. package/src/oracle/errors.ts +12 -0
  17. package/src/oracle/exportTrace.ts +134 -0
  18. package/src/oracle/index.ts +133 -0
  19. package/src/oracle/judge.ts +1374 -0
  20. package/src/oracle/presenter.ts +372 -0
  21. package/src/oracle/runRecord.ts +307 -0
  22. package/src/oracle/scenarios.ts +115 -0
  23. package/src/oracle/scripts/gesture.ts +218 -0
  24. package/src/oracle/serialize.ts +91 -0
  25. package/src/oracle/sweep.ts +155 -0
  26. package/src/oracle/types.ts +76 -0
  27. package/src/oracle/velocity.ts +44 -0
  28. package/src/parity.ts +136 -0
  29. package/src/runner.ts +168 -0
  30. package/src/scenario.ts +179 -0
  31. package/src/scenarios/appstore-choreography.ts +105 -0
  32. package/src/scenarios/component.ts +516 -0
  33. package/src/scenarios/driver.ts +322 -0
  34. package/src/scenarios/gesture.ts +363 -0
  35. package/src/scenarios/layout-identity.ts +264 -0
  36. package/src/scenarios/layout.ts +258 -0
  37. package/src/scenarios/presence.ts +302 -0
  38. package/src/scenarios/spring.ts +180 -0
  39. package/src/scenarios/value-types.ts +107 -0
  40. package/src/suite.ts +44 -0
@@ -0,0 +1,133 @@
1
+ // Oracle M1 trajectory exporter surface (REQ-ORACLE-004). Minimal exports for phases 2–4 + tests.
2
+
3
+ export type {
4
+ OracleEngine,
5
+ OracleRealTrace,
6
+ OracleTrace,
7
+ SubjectiveSliceId,
8
+ TraceEvent,
9
+ TraceEventKind,
10
+ TraceRow,
11
+ VelocityProvenance,
12
+ } from './types'
13
+ export {
14
+ SUBJECTIVE_SLICE_IDS,
15
+ ORACLE_ENGINES,
16
+ ORACLE_FRAME_MS,
17
+ gridTime,
18
+ isOracleEngine,
19
+ isSubjectiveSliceId,
20
+ } from './types'
21
+
22
+ export { OracleTraceError } from './errors'
23
+ export { serializeTrace } from './serialize'
24
+ export { exportTrace, exportTraceRun } from './exportTrace'
25
+ export type { OracleTraceRun } from './exportTrace'
26
+ export {
27
+ assertAttestedRealTrace,
28
+ createOracleTraceAttestationRegistry,
29
+ oracleContentHash,
30
+ } from './attestation'
31
+ export type { OracleTraceAttestationRegistry } from './attestation'
32
+ export { deriveVelocitySeries, finiteDiffVelocity } from './velocity'
33
+ export type {
34
+ BlindedOracleTrace,
35
+ OracleControlKind,
36
+ OracleControlMetadata,
37
+ OracleControlTrace,
38
+ } from './controls'
39
+ export {
40
+ eligibleOracleControlKinds,
41
+ injectDiscontinuityControl,
42
+ injectLinearControl,
43
+ isOracleControlKind,
44
+ ORACLE_CONTROL_KINDS,
45
+ } from './controls'
46
+ export type {
47
+ OracleJudgeBundle,
48
+ OraclePresentation,
49
+ OracleUnblindingEntry,
50
+ OracleUnblindingRecord,
51
+ OracleUnblindingSource,
52
+ } from './presenter'
53
+ export {
54
+ assertPresenterBuiltPresentation,
55
+ createJudgeBundle,
56
+ M1_TRAJECTORY_JUDGE_PROMPT_TEMPLATE,
57
+ OraclePresenterError,
58
+ serializeJudgeBundle,
59
+ } from './presenter'
60
+ export {
61
+ assertOracleScenarioTableText,
62
+ deriveOracleTraceSpan,
63
+ ORACLE_NON_SETTLE_CLAIM_WORDS,
64
+ ORACLE_SCENARIOS,
65
+ ORACLE_TRACE_SPANS,
66
+ scenarioForSlice,
67
+ } from './scenarios'
68
+ export type { OracleScenarioConstant, OracleTraceSpan } from './scenarios'
69
+ export {
70
+ ORACLE_CONTROL_DISC_SETTLE_FRACTION,
71
+ ORACLE_CONTROL_DISCONTINUITY_PX,
72
+ ORACLE_CONTROL_LINEAR_RAMP_POLICY,
73
+ ORACLE_CONTROL_MILLISECONDS_PER_SECOND,
74
+ ORACLE_CONTROL_POSITION_EPSILON_PX,
75
+ ORACLE_CONTROL_VELOCITY_RESET,
76
+ } from './constants'
77
+ export type {
78
+ JudgeDispatchOutcome,
79
+ JudgeVerdictOutcome,
80
+ JudgeProvider,
81
+ JudgeProviderConfig,
82
+ OracleAdvisoryOrdering,
83
+ OracleGuardInput,
84
+ OracleGuardOutcome,
85
+ OracleJudgeCleanupError,
86
+ OracleJudgeDimension,
87
+ OracleJudgeDimensionVerdict,
88
+ OracleJudgeIssue,
89
+ OracleBlindnessAudit,
90
+ OracleJudgeProviderResult,
91
+ OracleJudgeValue,
92
+ OracleJudgeVerdict,
93
+ OracleUnclassifiedFinding,
94
+ } from './judge'
95
+ export {
96
+ assertJudgeCwdOutsideRepository,
97
+ assertJudgeVerdictOutcome,
98
+ createCliJudgeProvider,
99
+ createIsolatedJudgeSpawnOptions,
100
+ DEFAULT_JUDGE_PROVIDER_CONFIG,
101
+ decideOracleGuard,
102
+ dispatchJudge,
103
+ judgeBundle,
104
+ OracleJudgeError,
105
+ ORACLE_JUDGE_DIMENSIONS,
106
+ ORACLE_JUDGE_VALUES,
107
+ parseJudgeEventStream,
108
+ parseJudgeVerdict,
109
+ resolveJudgeBinary,
110
+ resolveJudgeRepositoryBoundary,
111
+ SYSTEM_JUDGE_PATH,
112
+ verdictSchemaFor,
113
+ withJudgeCleanupEvidence,
114
+ } from './judge'
115
+ export type {
116
+ JudgeBinaryResolvers,
117
+ JudgeExecutionProvenance,
118
+ JudgeExecutionSeam,
119
+ JudgeSpawn,
120
+ } from './judge'
121
+ export type {
122
+ OracleRunBundleInput,
123
+ OracleRunBundleRecord,
124
+ OracleRunInputs,
125
+ OracleRunRecord,
126
+ OracleRunRecordFile,
127
+ } from './runRecord'
128
+ export {
129
+ ORACLE_RUNS_DIRECTORY,
130
+ OracleRunRecordError,
131
+ buildOracleRunRecord,
132
+ serializeOracleRunRecord,
133
+ } from './runRecord'