tracegrove 0.0.0-stage → 0.3.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/LICENSE +202 -0
- package/README.md +61 -2
- package/dist/adapters/browser/capabilities.d.ts +45 -0
- package/dist/adapters/browser/capabilities.js +14 -0
- package/dist/adapters/browser/capabilities.js.map +1 -0
- package/dist/adapters/browser/driver.d.ts +45 -0
- package/dist/adapters/browser/driver.js +295 -0
- package/dist/adapters/browser/driver.js.map +1 -0
- package/dist/adapters/browser/session.d.ts +21 -0
- package/dist/adapters/browser/session.js +87 -0
- package/dist/adapters/browser/session.js.map +1 -0
- package/dist/adapters/http/capabilities.d.ts +2 -0
- package/dist/adapters/http/capabilities.js +21 -0
- package/dist/adapters/http/capabilities.js.map +1 -0
- package/dist/adapters/http/driver.d.ts +55 -0
- package/dist/adapters/http/driver.js +125 -0
- package/dist/adapters/http/driver.js.map +1 -0
- package/dist/adapters/job/capabilities.d.ts +45 -0
- package/dist/adapters/job/capabilities.js +8 -0
- package/dist/adapters/job/capabilities.js.map +1 -0
- package/dist/adapters/job/driver.d.ts +26 -0
- package/dist/adapters/job/driver.js +110 -0
- package/dist/adapters/job/driver.js.map +1 -0
- package/dist/adapters/job/types.d.ts +9 -0
- package/dist/adapters/job/types.js +2 -0
- package/dist/adapters/job/types.js.map +1 -0
- package/dist/adapters/mcp/capabilities.d.ts +46 -0
- package/dist/adapters/mcp/capabilities.js +17 -0
- package/dist/adapters/mcp/capabilities.js.map +1 -0
- package/dist/adapters/mcp/driver.d.ts +10 -0
- package/dist/adapters/mcp/driver.js +83 -0
- package/dist/adapters/mcp/driver.js.map +1 -0
- package/dist/adapters/poll.d.ts +12 -0
- package/dist/adapters/poll.js +31 -0
- package/dist/adapters/poll.js.map +1 -0
- package/dist/authoring/activity.d.ts +17 -0
- package/dist/authoring/activity.js +18 -0
- package/dist/authoring/activity.js.map +1 -0
- package/dist/authoring/agent.d.ts +70 -0
- package/dist/authoring/agent.js +268 -0
- package/dist/authoring/agent.js.map +1 -0
- package/dist/authoring/appLaunch.d.ts +7 -0
- package/dist/authoring/appLaunch.js +32 -0
- package/dist/authoring/appLaunch.js.map +1 -0
- package/dist/authoring/appLocation.d.ts +2 -0
- package/dist/authoring/appLocation.js +5 -0
- package/dist/authoring/appLocation.js.map +1 -0
- package/dist/authoring/browser.d.ts +15 -0
- package/dist/authoring/browser.js +20 -0
- package/dist/authoring/browser.js.map +1 -0
- package/dist/authoring/compile.d.ts +47 -0
- package/dist/authoring/compile.js +508 -0
- package/dist/authoring/compile.js.map +1 -0
- package/dist/authoring/discover.d.ts +43 -0
- package/dist/authoring/discover.js +149 -0
- package/dist/authoring/discover.js.map +1 -0
- package/dist/authoring/environmentTemplates.d.ts +3 -0
- package/dist/authoring/environmentTemplates.js +24 -0
- package/dist/authoring/environmentTemplates.js.map +1 -0
- package/dist/authoring/heal.d.ts +108 -0
- package/dist/authoring/heal.js +723 -0
- package/dist/authoring/heal.js.map +1 -0
- package/dist/authoring/index.d.ts +14 -0
- package/dist/authoring/index.js +15 -0
- package/dist/authoring/index.js.map +1 -0
- package/dist/authoring/init.d.ts +21 -0
- package/dist/authoring/init.js +141 -0
- package/dist/authoring/init.js.map +1 -0
- package/dist/authoring/localSettings.d.ts +33 -0
- package/dist/authoring/localSettings.js +31 -0
- package/dist/authoring/localSettings.js.map +1 -0
- package/dist/authoring/media.d.ts +10 -0
- package/dist/authoring/media.js +37 -0
- package/dist/authoring/media.js.map +1 -0
- package/dist/authoring/module.d.ts +2 -0
- package/dist/authoring/module.js +38 -0
- package/dist/authoring/module.js.map +1 -0
- package/dist/authoring/run.d.ts +74 -0
- package/dist/authoring/run.js +242 -0
- package/dist/authoring/run.js.map +1 -0
- package/dist/authoring/runSource.d.ts +6 -0
- package/dist/authoring/runSource.js +24 -0
- package/dist/authoring/runSource.js.map +1 -0
- package/dist/authoring/savedRun.d.ts +13 -0
- package/dist/authoring/savedRun.js +94 -0
- package/dist/authoring/savedRun.js.map +1 -0
- package/dist/authoring/schema.d.ts +574 -0
- package/dist/authoring/schema.js +147 -0
- package/dist/authoring/schema.js.map +1 -0
- package/dist/authoring/snapshotSource.d.ts +13 -0
- package/dist/authoring/snapshotSource.js +41 -0
- package/dist/authoring/snapshotSource.js.map +1 -0
- package/dist/authoring/sourceSelection.d.ts +34 -0
- package/dist/authoring/sourceSelection.js +13 -0
- package/dist/authoring/sourceSelection.js.map +1 -0
- package/dist/authoring/sources.d.ts +5 -0
- package/dist/authoring/sources.js +65 -0
- package/dist/authoring/sources.js.map +1 -0
- package/dist/authoring/status.d.ts +48 -0
- package/dist/authoring/status.js +100 -0
- package/dist/authoring/status.js.map +1 -0
- package/dist/authoring/typed.d.ts +6 -0
- package/dist/authoring/typed.js +5 -0
- package/dist/authoring/typed.js.map +1 -0
- package/dist/authoring/ui.d.ts +10 -0
- package/dist/authoring/ui.js +486 -0
- package/dist/authoring/ui.js.map +1 -0
- package/dist/authoring/uiPage.d.ts +1 -0
- package/dist/authoring/uiPage.js +358 -0
- package/dist/authoring/uiPage.js.map +1 -0
- package/dist/authoring/uiSourceControls.d.ts +2 -0
- package/dist/authoring/uiSourceControls.js +41 -0
- package/dist/authoring/uiSourceControls.js.map +1 -0
- package/dist/authoring/verificationSource.d.ts +41 -0
- package/dist/authoring/verificationSource.js +46 -0
- package/dist/authoring/verificationSource.js.map +1 -0
- package/dist/authoring/workspace.d.ts +33 -0
- package/dist/authoring/workspace.js +58 -0
- package/dist/authoring/workspace.js.map +1 -0
- package/dist/cli/arguments.d.ts +288 -0
- package/dist/cli/arguments.js +121 -0
- package/dist/cli/arguments.js.map +1 -0
- package/dist/cli/cleanup.d.ts +18 -0
- package/dist/cli/cleanup.js +40 -0
- package/dist/cli/cleanup.js.map +1 -0
- package/dist/cli/doctor.d.ts +51 -0
- package/dist/cli/doctor.js +118 -0
- package/dist/cli/doctor.js.map +1 -0
- package/dist/cli/errors.d.ts +2 -0
- package/dist/cli/errors.js +84 -0
- package/dist/cli/errors.js.map +1 -0
- package/dist/cli/jsonFile.d.ts +2 -0
- package/dist/cli/jsonFile.js +15 -0
- package/dist/cli/jsonFile.js.map +1 -0
- package/dist/cli/main.d.ts +2 -0
- package/dist/cli/main.js +603 -0
- package/dist/cli/main.js.map +1 -0
- package/dist/cli/render.d.ts +22 -0
- package/dist/cli/render.js +150 -0
- package/dist/cli/render.js.map +1 -0
- package/dist/cli/samples/catalog.d.ts +10 -0
- package/dist/cli/samples/catalog.js +3 -0
- package/dist/cli/samples/catalog.js.map +1 -0
- package/dist/cli/samples/write.d.ts +5 -0
- package/dist/cli/samples/write.js +64 -0
- package/dist/cli/samples/write.js.map +1 -0
- package/dist/cli/source.d.ts +41 -0
- package/dist/cli/source.js +59 -0
- package/dist/cli/source.js.map +1 -0
- package/dist/core/activationDecision.d.ts +153 -0
- package/dist/core/activationDecision.js +34 -0
- package/dist/core/activationDecision.js.map +1 -0
- package/dist/core/artifacts.d.ts +18 -0
- package/dist/core/artifacts.js +79 -0
- package/dist/core/artifacts.js.map +1 -0
- package/dist/core/atomicFiles.d.ts +9 -0
- package/dist/core/atomicFiles.js +76 -0
- package/dist/core/atomicFiles.js.map +1 -0
- package/dist/core/boundedFile.d.ts +2 -0
- package/dist/core/boundedFile.js +28 -0
- package/dist/core/boundedFile.js.map +1 -0
- package/dist/core/bundle.d.ts +77 -0
- package/dist/core/bundle.js +375 -0
- package/dist/core/bundle.js.map +1 -0
- package/dist/core/bundleArchive.d.ts +10 -0
- package/dist/core/bundleArchive.js +47 -0
- package/dist/core/bundleArchive.js.map +1 -0
- package/dist/core/bundleEvidence.d.ts +12 -0
- package/dist/core/bundleEvidence.js +169 -0
- package/dist/core/bundleEvidence.js.map +1 -0
- package/dist/core/bundleExport.d.ts +12 -0
- package/dist/core/bundleExport.js +36 -0
- package/dist/core/bundleExport.js.map +1 -0
- package/dist/core/bundleFiles.d.ts +5 -0
- package/dist/core/bundleFiles.js +47 -0
- package/dist/core/bundleFiles.js.map +1 -0
- package/dist/core/bundlePaths.d.ts +2 -0
- package/dist/core/bundlePaths.js +7 -0
- package/dist/core/bundlePaths.js.map +1 -0
- package/dist/core/bundleSnapshot.d.ts +26 -0
- package/dist/core/bundleSnapshot.js +71 -0
- package/dist/core/bundleSnapshot.js.map +1 -0
- package/dist/core/capabilityBoundary.d.ts +1452 -0
- package/dist/core/capabilityBoundary.js +361 -0
- package/dist/core/capabilityBoundary.js.map +1 -0
- package/dist/core/capabilityLifecycle.d.ts +366 -0
- package/dist/core/capabilityLifecycle.js +79 -0
- package/dist/core/capabilityLifecycle.js.map +1 -0
- package/dist/core/cleanup.d.ts +35 -0
- package/dist/core/cleanup.js +71 -0
- package/dist/core/cleanup.js.map +1 -0
- package/dist/core/cleanupActions.d.ts +5 -0
- package/dist/core/cleanupActions.js +15 -0
- package/dist/core/cleanupActions.js.map +1 -0
- package/dist/core/cleanupAttestation.d.ts +23 -0
- package/dist/core/cleanupAttestation.js +57 -0
- package/dist/core/cleanupAttestation.js.map +1 -0
- package/dist/core/clock.d.ts +4 -0
- package/dist/core/clock.js +14 -0
- package/dist/core/clock.js.map +1 -0
- package/dist/core/compiler.d.ts +19 -0
- package/dist/core/compiler.js +200 -0
- package/dist/core/compiler.js.map +1 -0
- package/dist/core/controller.d.ts +7 -0
- package/dist/core/controller.js +132 -0
- package/dist/core/controller.js.map +1 -0
- package/dist/core/coordination.d.ts +72 -0
- package/dist/core/coordination.js +118 -0
- package/dist/core/coordination.js.map +1 -0
- package/dist/core/corpus.d.ts +60 -0
- package/dist/core/corpus.js +216 -0
- package/dist/core/corpus.js.map +1 -0
- package/dist/core/deadline.d.ts +12 -0
- package/dist/core/deadline.js +38 -0
- package/dist/core/deadline.js.map +1 -0
- package/dist/core/deliveryJournal.d.ts +37 -0
- package/dist/core/deliveryJournal.js +85 -0
- package/dist/core/deliveryJournal.js.map +1 -0
- package/dist/core/environmentPreflight.d.ts +14 -0
- package/dist/core/environmentPreflight.js +179 -0
- package/dist/core/environmentPreflight.js.map +1 -0
- package/dist/core/errors.d.ts +22 -0
- package/dist/core/errors.js +29 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/events.d.ts +14 -0
- package/dist/core/events.js +37 -0
- package/dist/core/events.js.map +1 -0
- package/dist/core/executionInspection.d.ts +90 -0
- package/dist/core/executionInspection.js +31 -0
- package/dist/core/executionInspection.js.map +1 -0
- package/dist/core/executionOwnership.d.ts +72 -0
- package/dist/core/executionOwnership.js +82 -0
- package/dist/core/executionOwnership.js.map +1 -0
- package/dist/core/executionPreparation.d.ts +362 -0
- package/dist/core/executionPreparation.js +93 -0
- package/dist/core/executionPreparation.js.map +1 -0
- package/dist/core/executionReadback.d.ts +15 -0
- package/dist/core/executionReadback.js +21 -0
- package/dist/core/executionReadback.js.map +1 -0
- package/dist/core/executor.d.ts +46 -0
- package/dist/core/executor.js +616 -0
- package/dist/core/executor.js.map +1 -0
- package/dist/core/frozenBundle.d.ts +314 -0
- package/dist/core/frozenBundle.js +24 -0
- package/dist/core/frozenBundle.js.map +1 -0
- package/dist/core/fsDurability.d.ts +2 -0
- package/dist/core/fsDurability.js +12 -0
- package/dist/core/fsDurability.js.map +1 -0
- package/dist/core/generators.d.ts +4 -0
- package/dist/core/generators.js +71 -0
- package/dist/core/generators.js.map +1 -0
- package/dist/core/gitSnapshot.d.ts +63 -0
- package/dist/core/gitSnapshot.js +55 -0
- package/dist/core/gitSnapshot.js.map +1 -0
- package/dist/core/gitSources.d.ts +29 -0
- package/dist/core/gitSources.js +97 -0
- package/dist/core/gitSources.js.map +1 -0
- package/dist/core/ledger.d.ts +38 -0
- package/dist/core/ledger.js +169 -0
- package/dist/core/ledger.js.map +1 -0
- package/dist/core/ledgerInspection.d.ts +18 -0
- package/dist/core/ledgerInspection.js +66 -0
- package/dist/core/ledgerInspection.js.map +1 -0
- package/dist/core/ledgerRecords.d.ts +23 -0
- package/dist/core/ledgerRecords.js +29 -0
- package/dist/core/ledgerRecords.js.map +1 -0
- package/dist/core/localActivationState.d.ts +260 -0
- package/dist/core/localActivationState.js +49 -0
- package/dist/core/localActivationState.js.map +1 -0
- package/dist/core/localPromotionState.d.ts +387 -0
- package/dist/core/localPromotionState.js +22 -0
- package/dist/core/localPromotionState.js.map +1 -0
- package/dist/core/localQualificationResults.d.ts +39 -0
- package/dist/core/localQualificationResults.js +160 -0
- package/dist/core/localQualificationResults.js.map +1 -0
- package/dist/core/localReviewStore.d.ts +28 -0
- package/dist/core/localReviewStore.js +167 -0
- package/dist/core/localReviewStore.js.map +1 -0
- package/dist/core/localScenarioActivation.d.ts +6 -0
- package/dist/core/localScenarioActivation.js +70 -0
- package/dist/core/localScenarioActivation.js.map +1 -0
- package/dist/core/localScenarioOwner.d.ts +20 -0
- package/dist/core/localScenarioOwner.js +2 -0
- package/dist/core/localScenarioOwner.js.map +1 -0
- package/dist/core/localScenarioPromotion.d.ts +9 -0
- package/dist/core/localScenarioPromotion.js +49 -0
- package/dist/core/localScenarioPromotion.js.map +1 -0
- package/dist/core/localScenarioState.d.ts +2297 -0
- package/dist/core/localScenarioState.js +117 -0
- package/dist/core/localScenarioState.js.map +1 -0
- package/dist/core/localScenarioStore.d.ts +838 -0
- package/dist/core/localScenarioStore.js +218 -0
- package/dist/core/localScenarioStore.js.map +1 -0
- package/dist/core/localScenarioStructure.d.ts +4 -0
- package/dist/core/localScenarioStructure.js +52 -0
- package/dist/core/localScenarioStructure.js.map +1 -0
- package/dist/core/localStructureState.d.ts +2 -0
- package/dist/core/localStructureState.js +22 -0
- package/dist/core/localStructureState.js.map +1 -0
- package/dist/core/lookup.d.ts +662 -0
- package/dist/core/lookup.js +55 -0
- package/dist/core/lookup.js.map +1 -0
- package/dist/core/ownership.d.ts +3 -0
- package/dist/core/ownership.js +24 -0
- package/dist/core/ownership.js.map +1 -0
- package/dist/core/planInspection.d.ts +108 -0
- package/dist/core/planInspection.js +44 -0
- package/dist/core/planInspection.js.map +1 -0
- package/dist/core/planner.d.ts +14 -0
- package/dist/core/planner.js +261 -0
- package/dist/core/planner.js.map +1 -0
- package/dist/core/qualification.d.ts +26 -0
- package/dist/core/qualification.js +58 -0
- package/dist/core/qualification.js.map +1 -0
- package/dist/core/qualificationBundle.d.ts +6 -0
- package/dist/core/qualificationBundle.js +51 -0
- package/dist/core/qualificationBundle.js.map +1 -0
- package/dist/core/qualificationExecution.d.ts +879 -0
- package/dist/core/qualificationExecution.js +54 -0
- package/dist/core/qualificationExecution.js.map +1 -0
- package/dist/core/recoveryStatus.d.ts +6 -0
- package/dist/core/recoveryStatus.js +123 -0
- package/dist/core/recoveryStatus.js.map +1 -0
- package/dist/core/reducer.d.ts +56 -0
- package/dist/core/reducer.js +355 -0
- package/dist/core/reducer.js.map +1 -0
- package/dist/core/replayAssessment.d.ts +15 -0
- package/dist/core/replayAssessment.js +78 -0
- package/dist/core/replayAssessment.js.map +1 -0
- package/dist/core/replayEvidence.d.ts +7 -0
- package/dist/core/replayEvidence.js +58 -0
- package/dist/core/replayEvidence.js.map +1 -0
- package/dist/core/repositorySelectionEvidence.d.ts +3 -0
- package/dist/core/repositorySelectionEvidence.js +58 -0
- package/dist/core/repositorySelectionEvidence.js.map +1 -0
- package/dist/core/rerun.d.ts +3 -0
- package/dist/core/rerun.js +24 -0
- package/dist/core/rerun.js.map +1 -0
- package/dist/core/resultSink.d.ts +52 -0
- package/dist/core/resultSink.js +120 -0
- package/dist/core/resultSink.js.map +1 -0
- package/dist/core/review.d.ts +22 -0
- package/dist/core/review.js +65 -0
- package/dist/core/review.js.map +1 -0
- package/dist/core/runnerCapabilities.d.ts +22 -0
- package/dist/core/runnerCapabilities.js +44 -0
- package/dist/core/runnerCapabilities.js.map +1 -0
- package/dist/core/scenario.d.ts +32 -0
- package/dist/core/scenario.js +119 -0
- package/dist/core/scenario.js.map +1 -0
- package/dist/core/scenarioActivation.d.ts +16 -0
- package/dist/core/scenarioActivation.js +47 -0
- package/dist/core/scenarioActivation.js.map +1 -0
- package/dist/core/scenarioStructure.d.ts +400 -0
- package/dist/core/scenarioStructure.js +72 -0
- package/dist/core/scenarioStructure.js.map +1 -0
- package/dist/core/snapshotEvidence.d.ts +3 -0
- package/dist/core/snapshotEvidence.js +37 -0
- package/dist/core/snapshotEvidence.js.map +1 -0
- package/dist/core/snapshotRepository.d.ts +48 -0
- package/dist/core/snapshotRepository.js +47 -0
- package/dist/core/snapshotRepository.js.map +1 -0
- package/dist/core/source-analysis.d.ts +18 -0
- package/dist/core/source-analysis.js +99 -0
- package/dist/core/source-analysis.js.map +1 -0
- package/dist/core/source-citation.d.ts +53 -0
- package/dist/core/source-citation.js +59 -0
- package/dist/core/source-citation.js.map +1 -0
- package/dist/core/sourcePromotion.d.ts +929 -0
- package/dist/core/sourcePromotion.js +92 -0
- package/dist/core/sourcePromotion.js.map +1 -0
- package/dist/core/sourceReviewEvidence.d.ts +271 -0
- package/dist/core/sourceReviewEvidence.js +24 -0
- package/dist/core/sourceReviewEvidence.js.map +1 -0
- package/dist/core/targetObservation.d.ts +3 -0
- package/dist/core/targetObservation.js +26 -0
- package/dist/core/targetObservation.js.map +1 -0
- package/dist/hosts/launchTemplates.d.ts +2 -0
- package/dist/hosts/launchTemplates.js +5 -0
- package/dist/hosts/launchTemplates.js.map +1 -0
- package/dist/hosts/local.d.ts +17 -0
- package/dist/hosts/local.js +311 -0
- package/dist/hosts/local.js.map +1 -0
- package/dist/hosts/localSupervisor.d.ts +1 -0
- package/dist/hosts/localSupervisor.js +115 -0
- package/dist/hosts/localSupervisor.js.map +1 -0
- package/dist/hosts/mock.d.ts +4 -0
- package/dist/hosts/mock.js +82 -0
- package/dist/hosts/mock.js.map +1 -0
- package/dist/hosts/pinnedArguments.d.ts +3 -0
- package/dist/hosts/pinnedArguments.js +39 -0
- package/dist/hosts/pinnedArguments.js.map +1 -0
- package/dist/hosts/runtime.d.ts +5 -0
- package/dist/hosts/runtime.js +60 -0
- package/dist/hosts/runtime.js.map +1 -0
- package/dist/hosts/sourceIdentity.d.ts +54 -0
- package/dist/hosts/sourceIdentity.js +27 -0
- package/dist/hosts/sourceIdentity.js.map +1 -0
- package/dist/hosts/types.d.ts +39 -0
- package/dist/hosts/types.js +2 -0
- package/dist/hosts/types.js.map +1 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -0
- package/dist/integrations/awr/attachment.d.ts +34 -0
- package/dist/integrations/awr/attachment.js +120 -0
- package/dist/integrations/awr/attachment.js.map +1 -0
- package/dist/integrations/awr/attachmentContracts.d.ts +273 -0
- package/dist/integrations/awr/attachmentContracts.js +39 -0
- package/dist/integrations/awr/attachmentContracts.js.map +1 -0
- package/dist/integrations/awr/attachmentHttp.d.ts +9 -0
- package/dist/integrations/awr/attachmentHttp.js +19 -0
- package/dist/integrations/awr/attachmentHttp.js.map +1 -0
- package/dist/integrations/awr/cli.d.ts +7 -0
- package/dist/integrations/awr/cli.js +43 -0
- package/dist/integrations/awr/cli.js.map +1 -0
- package/dist/integrations/awr/contracts.d.ts +54 -0
- package/dist/integrations/awr/contracts.js +33 -0
- package/dist/integrations/awr/contracts.js.map +1 -0
- package/dist/integrations/awr/http.d.ts +8 -0
- package/dist/integrations/awr/http.js +23 -0
- package/dist/integrations/awr/http.js.map +1 -0
- package/dist/integrations/awr/index.d.ts +7 -0
- package/dist/integrations/awr/index.js +8 -0
- package/dist/integrations/awr/index.js.map +1 -0
- package/dist/integrations/awr/jsonHttp.d.ts +15 -0
- package/dist/integrations/awr/jsonHttp.js +69 -0
- package/dist/integrations/awr/jsonHttp.js.map +1 -0
- package/dist/integrations/awr/outbox.d.ts +28 -0
- package/dist/integrations/awr/outbox.js +88 -0
- package/dist/integrations/awr/outbox.js.map +1 -0
- package/dist/integrations/awr/projection.d.ts +4 -0
- package/dist/integrations/awr/projection.js +54 -0
- package/dist/integrations/awr/projection.js.map +1 -0
- package/dist/protocol/canonical.d.ts +41 -0
- package/dist/protocol/canonical.js +114 -0
- package/dist/protocol/canonical.js.map +1 -0
- package/dist/protocol/index.d.ts +9620 -0
- package/dist/protocol/index.js +185 -0
- package/dist/protocol/index.js.map +1 -0
- package/dist/protocol/primitives.d.ts +63 -0
- package/dist/protocol/primitives.js +46 -0
- package/dist/protocol/primitives.js.map +1 -0
- package/dist/protocol/schemas/browser.d.ts +153 -0
- package/dist/protocol/schemas/browser.js +29 -0
- package/dist/protocol/schemas/browser.js.map +1 -0
- package/dist/protocol/schemas/capability.d.ts +2126 -0
- package/dist/protocol/schemas/capability.js +165 -0
- package/dist/protocol/schemas/capability.js.map +1 -0
- package/dist/protocol/schemas/capabilityLifecycle.d.ts +509 -0
- package/dist/protocol/schemas/capabilityLifecycle.js +47 -0
- package/dist/protocol/schemas/capabilityLifecycle.js.map +1 -0
- package/dist/protocol/schemas/cleanup.d.ts +109 -0
- package/dist/protocol/schemas/cleanup.js +59 -0
- package/dist/protocol/schemas/cleanup.js.map +1 -0
- package/dist/protocol/schemas/cli.d.ts +121 -0
- package/dist/protocol/schemas/cli.js +24 -0
- package/dist/protocol/schemas/cli.js.map +1 -0
- package/dist/protocol/schemas/config.d.ts +59 -0
- package/dist/protocol/schemas/config.js +32 -0
- package/dist/protocol/schemas/config.js.map +1 -0
- package/dist/protocol/schemas/corpus.d.ts +36 -0
- package/dist/protocol/schemas/corpus.js +10 -0
- package/dist/protocol/schemas/corpus.js.map +1 -0
- package/dist/protocol/schemas/definitions.d.ts +3409 -0
- package/dist/protocol/schemas/definitions.js +431 -0
- package/dist/protocol/schemas/definitions.js.map +1 -0
- package/dist/protocol/schemas/evidenceProjection.d.ts +146 -0
- package/dist/protocol/schemas/evidenceProjection.js +18 -0
- package/dist/protocol/schemas/evidenceProjection.js.map +1 -0
- package/dist/protocol/schemas/execution.d.ts +3179 -0
- package/dist/protocol/schemas/execution.js +500 -0
- package/dist/protocol/schemas/execution.js.map +1 -0
- package/dist/protocol/schemas/gitSources.d.ts +330 -0
- package/dist/protocol/schemas/gitSources.js +32 -0
- package/dist/protocol/schemas/gitSources.js.map +1 -0
- package/dist/protocol/schemas/mcp.d.ts +24 -0
- package/dist/protocol/schemas/mcp.js +16 -0
- package/dist/protocol/schemas/mcp.js.map +1 -0
- package/dist/protocol/schemas/nativeJob.d.ts +106 -0
- package/dist/protocol/schemas/nativeJob.js +16 -0
- package/dist/protocol/schemas/nativeJob.js.map +1 -0
- package/dist/protocol/schemas/portableEnvironment.d.ts +1256 -0
- package/dist/protocol/schemas/portableEnvironment.js +108 -0
- package/dist/protocol/schemas/portableEnvironment.js.map +1 -0
- package/dist/protocol/schemas/promotion.d.ts +132 -0
- package/dist/protocol/schemas/promotion.js +9 -0
- package/dist/protocol/schemas/promotion.js.map +1 -0
- package/dist/protocol/schemas/protocol.d.ts +146 -0
- package/dist/protocol/schemas/protocol.js +25 -0
- package/dist/protocol/schemas/protocol.js.map +1 -0
- package/dist/protocol/schemas/recoveryStatus.d.ts +88 -0
- package/dist/protocol/schemas/recoveryStatus.js +20 -0
- package/dist/protocol/schemas/recoveryStatus.js.map +1 -0
- package/dist/protocol/schemas/resultSink.d.ts +80 -0
- package/dist/protocol/schemas/resultSink.js +14 -0
- package/dist/protocol/schemas/resultSink.js.map +1 -0
- package/dist/protocol/schemas/review.d.ts +248 -0
- package/dist/protocol/schemas/review.js +45 -0
- package/dist/protocol/schemas/review.js.map +1 -0
- package/dist/protocol/schemas/scenario.d.ts +810 -0
- package/dist/protocol/schemas/scenario.js +53 -0
- package/dist/protocol/schemas/scenario.js.map +1 -0
- package/dist/protocol/schemas/source.d.ts +300 -0
- package/dist/protocol/schemas/source.js +25 -0
- package/dist/protocol/schemas/source.js.map +1 -0
- package/dist/source/git.d.ts +36 -0
- package/dist/source/git.js +159 -0
- package/dist/source/git.js.map +1 -0
- package/dist/source/gitObjectProof.d.ts +12 -0
- package/dist/source/gitObjectProof.js +115 -0
- package/dist/source/gitObjectProof.js.map +1 -0
- package/dist/source/snapshotPaths.d.ts +2 -0
- package/dist/source/snapshotPaths.js +24 -0
- package/dist/source/snapshotPaths.js.map +1 -0
- package/dist/source/snapshotTree.d.ts +15 -0
- package/dist/source/snapshotTree.js +79 -0
- package/dist/source/snapshotTree.js.map +1 -0
- package/docs/agent-guide.md +21 -0
- package/docs/browser-driver.md +146 -0
- package/docs/getting-started.md +13 -0
- package/docs/git-object-proof.md +100 -0
- package/docs/local-execution-recovery.md +55 -0
- package/docs/mcp-driver.md +87 -0
- package/docs/native-jobs.md +96 -0
- package/docs/result-sink.md +87 -0
- package/docs/verified-bundles.md +175 -0
- package/package.json +98 -4
- package/samples/django-notes/manage.py +8 -0
- package/samples/django-notes/notes/__init__.py +0 -0
- package/samples/django-notes/notes/auth.py +14 -0
- package/samples/django-notes/notes/migrations/0001_initial.py +19 -0
- package/samples/django-notes/notes/migrations/__init__.py +0 -0
- package/samples/django-notes/notes/models.py +13 -0
- package/samples/django-notes/notes/views.py +33 -0
- package/samples/django-notes/notesite/__init__.py +0 -0
- package/samples/django-notes/notesite/settings.py +17 -0
- package/samples/django-notes/notesite/urls.py +9 -0
- package/samples/django-notes/requirements.txt +1 -0
- package/samples/django-notes/tracegrove/notes/crud.flow.yaml +27 -0
- package/samples/django-notes/tracegrove.config.yaml +7 -0
- package/samples/fastapi-notes/app/__init__.py +0 -0
- package/samples/fastapi-notes/app/main.py +69 -0
- package/samples/fastapi-notes/requirements.txt +2 -0
- package/samples/fastapi-notes/tracegrove/notes/crud.flow.yaml +27 -0
- package/samples/fastapi-notes/tracegrove.config.yaml +8 -0
- package/samples/notes-api/app/app.mjs +67 -0
- package/samples/notes-api/app/http.mjs +16 -0
- package/samples/notes-api/tracegrove/fixtures/existing-note.fixture.yaml +12 -0
- package/samples/notes-api/tracegrove/notes/create-read-delete.flow.yaml +35 -0
- package/samples/notes-api/tracegrove/notes/list.flow.yaml +25 -0
- package/samples/notes-api/tracegrove.config.yaml +15 -0
- package/samples/notes-api/verification/actions/notes.registry.yaml +6 -0
- package/samples/notes-api/verification/auth/host-issued-owner.yaml +6 -0
- package/samples/notes-api/verification/cases/notes.contract.yaml +51 -0
- package/samples/notes-api/verification/cases/notes.create.yaml +123 -0
- package/samples/notes-api/verification/cases/notes.suite.yaml +5 -0
- package/samples/notes-api/verification/components/notes-api-stub.profile.yaml +8 -0
- package/samples/notes-api/verification/components/notes-api.profile.yaml +15 -0
- package/samples/notes-api/verification/environments/local-notes.yaml +11 -0
- package/samples/notes-api/verification/environments/mock-notes.yaml +11 -0
- package/samples/notes-api/verification/fidelity/full-live-sandbox.yaml +7 -0
- package/samples/notes-api/verification/fidelity/mock-contract.yaml +6 -0
- package/samples/notes-api/verification/fixtures/existing-note.payload.yaml +15 -0
- package/samples/notes-api/verification/fixtures/existing-note.plan.yaml +9 -0
- package/samples/notes-api/verification/fixtures/existing-note.recipe.yaml +29 -0
- package/samples/notes-api/verification/hosts/local-process.yaml +27 -0
- package/samples/notes-api/verification/hosts/mock-loopback.yaml +14 -0
- package/samples/notes-api/verification/mocks/notes.responses.yaml +5 -0
- package/samples/notes-api/verification/personas/owner.yaml +16 -0
- package/samples/notes-api/verification/policies/no-authoring-inference.yaml +10 -0
- package/samples/notes-api/verification/runners/http.yaml +5 -0
- package/samples/notes-api/verification/surfaces/http-api.binding.yaml +11 -0
- package/samples/notes-api/verification/surfaces/http-api.pack.yaml +7 -0
- package/samples/notes-api/verification/workflow.yaml +27 -0
- package/samples/notes-browser/tracegrove/notes/browser.flow.yaml +19 -0
- package/samples/notes-browser/verification/cases/notes.browser.yaml +63 -0
- package/samples/notes-browser/verification/cases/notes.suite.yaml +4 -0
- package/samples/notes-browser/verification/runners/http.yaml +5 -0
- package/samples/notes-browser/verification/surfaces/http-api.binding.yaml +11 -0
- package/samples/notes-browser/verification/surfaces/http-api.pack.yaml +7 -0
- package/samples/notes-django/README.md +21 -0
- package/samples/notes-django/app/django_app.py +119 -0
- package/samples/notes-django/app/requirements.lock +4 -0
- package/samples/notes-mcp/app/mcp.mjs +47 -0
- package/samples/notes-mcp/tracegrove/notes.flow.yaml +20 -0
- package/samples/notes-mcp/tracegrove.config.yaml +13 -0
- package/samples/report-jobs/README.md +30 -0
- package/samples/report-jobs/app/jobs-api.mjs +65 -0
- package/samples/report-jobs/app/native-bridge.mjs +30 -0
- package/samples/report-jobs/app/store.mjs +74 -0
- package/samples/report-jobs/app/worker.mjs +22 -0
- package/samples/report-jobs/tracegrove/fixtures/failed-job.fixture.yaml +12 -0
- package/samples/report-jobs/tracegrove/fixtures/held-job.fixture.yaml +12 -0
- package/samples/report-jobs/tracegrove/fixtures/success-job.fixture.yaml +12 -0
- package/samples/report-jobs/tracegrove/reports/cancellation.flow.yaml +15 -0
- package/samples/report-jobs/tracegrove/reports/completion.flow.yaml +31 -0
- package/samples/report-jobs/tracegrove/reports/failure.flow.yaml +12 -0
- package/samples/report-jobs/tracegrove.config.yaml +10 -0
- package/samples/report-native/README.md +11 -0
- package/samples/report-native/tracegrove/cancellation.flow.yaml +11 -0
- package/samples/report-native/tracegrove/completion.flow.yaml +22 -0
- package/samples/report-native/tracegrove/failure.flow.yaml +7 -0
- package/samples/report-native/tracegrove.config.yaml +11 -0
- package/schema/tracegrove_cli-error_v1.json +156 -0
- package/schema/tracegrove_config_v1.json +233 -0
- package/schema/tracegrove_fixture_v1.json +297 -0
- package/schema/tracegrove_flow_v1.json +960 -0
- package/schema/tracegrove_recovery-status_v1.json +234 -0
- package/schema/tracegrove_run-video_v1.json +25 -0
- package/schema/workflow_action-registry_v1.json +303 -0
- package/schema/workflow_auth-recipe_v1.json +146 -0
- package/schema/workflow_boundary-observation_v1.json +515 -0
- package/schema/workflow_browser-command_v1.json +292 -0
- package/schema/workflow_browser-locator_v1.json +74 -0
- package/schema/workflow_browser-network-observation_v1.json +48 -0
- package/schema/workflow_browser-observation_v1.json +53 -0
- package/schema/workflow_budget-reservation_v1.json +150 -0
- package/schema/workflow_campaign-result_v1.json +382 -0
- package/schema/workflow_capability-artifact-manifest_v1.json +529 -0
- package/schema/workflow_capability-descriptor_v1.json +351 -0
- package/schema/workflow_capability-lifecycle-checkpoint_v1.json +510 -0
- package/schema/workflow_capability-observation_v1.json +1707 -0
- package/schema/workflow_capability-operation_v1.json +3212 -0
- package/schema/workflow_capability-replay-plan_v1.json +1247 -0
- package/schema/workflow_capability-retry-policy_v1.json +39 -0
- package/schema/workflow_capability-retry-state_v1.json +242 -0
- package/schema/workflow_case_v1.json +4222 -0
- package/schema/workflow_change-model_v1.json +614 -0
- package/schema/workflow_cleanup-expectation_v1.json +108 -0
- package/schema/workflow_cleanup-followup_v1.json +145 -0
- package/schema/workflow_component-profile_v1.json +219 -0
- package/schema/workflow_config_v1.json +180 -0
- package/schema/workflow_corpus_v1.json +172 -0
- package/schema/workflow_cost-observation_v1.json +366 -0
- package/schema/workflow_credential-lease_v1.json +222 -0
- package/schema/workflow_effective-config_v1.json +214 -0
- package/schema/workflow_environment-plan_v1.json +445 -0
- package/schema/workflow_environment_v1.json +1827 -0
- package/schema/workflow_evidence-projection_v1.json +636 -0
- package/schema/workflow_execution_v1.json +4086 -0
- package/schema/workflow_fidelity-plan_v1.json +512 -0
- package/schema/workflow_fidelity-profile_v1.json +396 -0
- package/schema/workflow_fixture-manifest_v1.json +918 -0
- package/schema/workflow_fixture-plan_v1.json +594 -0
- package/schema/workflow_git-source-request_v1.json +124 -0
- package/schema/workflow_git-source-resolution_v1.json +660 -0
- package/schema/workflow_git-source-snapshot_v1.json +287 -0
- package/schema/workflow_host-lease_v1.json +321 -0
- package/schema/workflow_host-observation_v1.json +282 -0
- package/schema/workflow_host-plan_v1.json +719 -0
- package/schema/workflow_identity-attestation_v1.json +412 -0
- package/schema/workflow_intelligence-policy_v1.json +153 -0
- package/schema/workflow_logical-payload_v1.json +206 -0
- package/schema/workflow_mcp-tool-call_v1.json +70 -0
- package/schema/workflow_mcp-tool-observation_v1.json +125 -0
- package/schema/workflow_mock-responses_v1.json +185 -0
- package/schema/workflow_native-job-action_v1.json +123 -0
- package/schema/workflow_native-job-observation_v1.json +138 -0
- package/schema/workflow_native-job-ready_v1.json +31 -0
- package/schema/workflow_native-job-request_v1.json +155 -0
- package/schema/workflow_native-job-response_v1.json +125 -0
- package/schema/workflow_ownership_v1.json +116 -0
- package/schema/workflow_persona_v1.json +499 -0
- package/schema/workflow_plan-edit-projection_v1.json +152 -0
- package/schema/workflow_plan-review_v1.json +246 -0
- package/schema/workflow_portable-environment-intent_v1.json +499 -0
- package/schema/workflow_portable-environment-profile_v1.json +1429 -0
- package/schema/workflow_portable-preflight_v1.json +2281 -0
- package/schema/workflow_qualification-admission_v1.json +467 -0
- package/schema/workflow_qualification-intent_v1.json +98 -0
- package/schema/workflow_qualification-policy_v1.json +109 -0
- package/schema/workflow_qualification-round_v1.json +226 -0
- package/schema/workflow_replay-assessment_v1.json +197 -0
- package/schema/workflow_replay-finding_v1.json +147 -0
- package/schema/workflow_request_v1.json +1567 -0
- package/schema/workflow_result-ingest_v1.json +343 -0
- package/schema/workflow_revisions_v1.json +334 -0
- package/schema/workflow_routing-decision_v1.json +482 -0
- package/schema/workflow_runner-capabilities_v1.json +316 -0
- package/schema/workflow_runner-profile_v1.json +119 -0
- package/schema/workflow_runner-protocol_v1_host.json +382 -0
- package/schema/workflow_runner-protocol_v1_plugin.json +491 -0
- package/schema/workflow_scenario-activation-intent_v1.json +346 -0
- package/schema/workflow_scenario-activation_v1.json +562 -0
- package/schema/workflow_scenario-projection_v1.json +221 -0
- package/schema/workflow_scenario-promotion_v1.json +455 -0
- package/schema/workflow_scenario-replay-assessment_v1.json +696 -0
- package/schema/workflow_scenario-revision-token_v1.json +115 -0
- package/schema/workflow_scenario-structure_v1.json +368 -0
- package/schema/workflow_scenario_v1.json +401 -0
- package/schema/workflow_scoped-resource_v1.json +550 -0
- package/schema/workflow_seed-recipe_v1.json +724 -0
- package/schema/workflow_selection_v1.json +1108 -0
- package/schema/workflow_signed-cleanup-followup_v1.json +175 -0
- package/schema/workflow_source-plan_v1.json +756 -0
- package/schema/workflow_source-selection_v1.json +456 -0
- package/schema/workflow_source-validation_v1.json +366 -0
- package/schema/workflow_step-event_v1.json +228 -0
- package/schema/workflow_stream-transcript_v1.json +1030 -0
- package/schema/workflow_suite_v1.json +64 -0
- package/schema/workflow_surface-binding_v1.json +411 -0
- package/schema/workflow_surface-pack_v1.json +159 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { DatabaseSync } from 'node:sqlite';
|
|
2
|
+
import { randomUUID } from 'node:crypto';
|
|
3
|
+
|
|
4
|
+
export function validJobInput(input) {
|
|
5
|
+
return typeof input.requestKey === 'string' && !!input.requestKey && input.requestKey.length <= 100 &&
|
|
6
|
+
typeof input.title === 'string' && !!input.title && input.title.length <= 200 && ['succeed', 'fail', 'hold'].includes(input.mode);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** Example application storage, separate from Tracegrove's authority and ledger. */
|
|
10
|
+
export class JobStore {
|
|
11
|
+
constructor(path) {
|
|
12
|
+
this.db = new DatabaseSync(path);
|
|
13
|
+
this.db.exec(`PRAGMA busy_timeout=5000; PRAGMA journal_mode=WAL;
|
|
14
|
+
CREATE TABLE IF NOT EXISTS jobs (
|
|
15
|
+
id TEXT PRIMARY KEY, owner_id TEXT NOT NULL, request_key TEXT NOT NULL,
|
|
16
|
+
title TEXT NOT NULL, mode TEXT NOT NULL, status TEXT NOT NULL,
|
|
17
|
+
worker_pid INTEGER, UNIQUE(owner_id,request_key)
|
|
18
|
+
) STRICT;
|
|
19
|
+
CREATE TABLE IF NOT EXISTS reports (
|
|
20
|
+
job_id TEXT PRIMARY KEY, content TEXT NOT NULL, worker_pid INTEGER NOT NULL
|
|
21
|
+
) STRICT;`);
|
|
22
|
+
}
|
|
23
|
+
transaction(action) {
|
|
24
|
+
this.db.exec('BEGIN IMMEDIATE');
|
|
25
|
+
try { const value = action(); this.db.exec('COMMIT'); return value; }
|
|
26
|
+
catch (error) { this.db.exec('ROLLBACK'); throw error; }
|
|
27
|
+
}
|
|
28
|
+
get(id) { return this.db.prepare('SELECT * FROM jobs WHERE id=?').get(id) ?? null; }
|
|
29
|
+
list(owner) { return this.db.prepare('SELECT * FROM jobs WHERE owner_id=? ORDER BY id').all(owner); }
|
|
30
|
+
submit(owner, input) {
|
|
31
|
+
return this.transaction(() => {
|
|
32
|
+
const existing = this.db.prepare('SELECT * FROM jobs WHERE owner_id=? AND request_key=?').get(owner, input.requestKey);
|
|
33
|
+
if (existing) return existing.title === input.title && existing.mode === input.mode
|
|
34
|
+
? { job: existing, duplicate: true } : { conflict: true };
|
|
35
|
+
const id = randomUUID();
|
|
36
|
+
this.db.prepare('INSERT INTO jobs(id,owner_id,request_key,title,mode,status) VALUES(?,?,?,?,?,?)')
|
|
37
|
+
.run(id, owner, input.requestKey, input.title, input.mode, 'queued');
|
|
38
|
+
return { job: this.get(id), duplicate: false };
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
claim() {
|
|
42
|
+
return this.transaction(() => {
|
|
43
|
+
const row = this.db.prepare("SELECT * FROM jobs WHERE status IN ('queued','cancel_requested') ORDER BY rowid LIMIT 1").get();
|
|
44
|
+
if (!row) return null;
|
|
45
|
+
if (row.status === 'cancel_requested') {
|
|
46
|
+
this.db.prepare("UPDATE jobs SET status='cancelled', worker_pid=? WHERE id=?").run(process.pid, row.id);
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
this.db.prepare("UPDATE jobs SET status='running', worker_pid=? WHERE id=?").run(process.pid, row.id);
|
|
50
|
+
return this.get(row.id);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
requestCancel(id) {
|
|
54
|
+
return this.db.prepare("UPDATE jobs SET status='cancel_requested' WHERE id=? AND status IN ('queued','running','cancel_requested')").run(id).changes > 0;
|
|
55
|
+
}
|
|
56
|
+
finish(id, dropReport = false) {
|
|
57
|
+
return this.transaction(() => {
|
|
58
|
+
const job = this.get(id);
|
|
59
|
+
if (!job || !['running', 'cancel_requested'].includes(job.status)) return;
|
|
60
|
+
const status = job.status === 'cancel_requested' ? 'cancelled' : job.mode === 'fail' ? 'failed' : 'succeeded';
|
|
61
|
+
if (status === 'succeeded' && !dropReport) this.db.prepare('INSERT INTO reports(job_id,content,worker_pid) VALUES(?,?,?)')
|
|
62
|
+
.run(id, `Report: ${job.title}`, process.pid);
|
|
63
|
+
this.db.prepare('UPDATE jobs SET status=?, worker_pid=? WHERE id=?').run(status, process.pid, id);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
report(id) { return this.db.prepare('SELECT * FROM reports WHERE job_id=?').get(id) ?? null; }
|
|
67
|
+
remove(id) {
|
|
68
|
+
this.transaction(() => {
|
|
69
|
+
this.db.prepare('DELETE FROM reports WHERE job_id=?').run(id);
|
|
70
|
+
this.db.prepare('DELETE FROM jobs WHERE id=?').run(id);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
close() { this.db.close(); }
|
|
74
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { setTimeout as pause } from 'node:timers/promises';
|
|
2
|
+
import { JobStore } from './store.mjs';
|
|
3
|
+
|
|
4
|
+
const store = new JobStore(process.argv[2]);
|
|
5
|
+
let busy = false;
|
|
6
|
+
const tick = async () => {
|
|
7
|
+
if (busy) return;
|
|
8
|
+
busy = true;
|
|
9
|
+
try {
|
|
10
|
+
const job = store.claim();
|
|
11
|
+
if (!job) return;
|
|
12
|
+
// Hold mode exercises a genuine worker acknowledgement of cancellation.
|
|
13
|
+
while (job.mode === 'hold' && store.get(job.id)?.status === 'running') await pause(25);
|
|
14
|
+
store.finish(job.id, process.env.REPORTS_TEST_DROP_REPORT === '1');
|
|
15
|
+
} catch { process.exitCode = 1; shutdown(); }
|
|
16
|
+
finally { busy = false; }
|
|
17
|
+
};
|
|
18
|
+
const timer = setInterval(() => { void tick(); }, 25);
|
|
19
|
+
function shutdown() { clearInterval(timer); store.close(); process.exit(process.exitCode ?? 0); }
|
|
20
|
+
process.on('SIGTERM', shutdown);
|
|
21
|
+
process.on('disconnect', shutdown);
|
|
22
|
+
process.send?.({ type: 'ready' });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
create:
|
|
2
|
+
POST: /jobs
|
|
3
|
+
json: { requestKey: { uuid: true }, title: Failed report, mode: fail }
|
|
4
|
+
expect: 202
|
|
5
|
+
save: { jobId: job.id }
|
|
6
|
+
readback:
|
|
7
|
+
GET: /jobs/{jobId}
|
|
8
|
+
expect: { status: 200, json: { job.title: Failed report } }
|
|
9
|
+
cleanup:
|
|
10
|
+
DELETE: /jobs/{jobId}
|
|
11
|
+
expect: 204
|
|
12
|
+
gone: { GET: "/jobs/{jobId}", status: 404 }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
create:
|
|
2
|
+
POST: /jobs
|
|
3
|
+
json: { requestKey: { uuid: true }, title: Held report, mode: hold }
|
|
4
|
+
expect: 202
|
|
5
|
+
save: { jobId: job.id }
|
|
6
|
+
readback:
|
|
7
|
+
GET: /jobs/{jobId}
|
|
8
|
+
expect: { status: 200, json: { job.title: Held report } }
|
|
9
|
+
cleanup:
|
|
10
|
+
DELETE: /jobs/{jobId}
|
|
11
|
+
expect: 204
|
|
12
|
+
gone: { GET: "/jobs/{jobId}", status: 404 }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
create:
|
|
2
|
+
POST: /jobs
|
|
3
|
+
json: { requestKey: { uuid: true }, title: Weekly review, mode: succeed }
|
|
4
|
+
expect: 202
|
|
5
|
+
save: { jobId: job.id, requestKey: job.requestKey }
|
|
6
|
+
readback:
|
|
7
|
+
GET: /jobs/{jobId}
|
|
8
|
+
expect: { status: 200, json: { job.title: Weekly review } }
|
|
9
|
+
cleanup:
|
|
10
|
+
DELETE: /jobs/{jobId}
|
|
11
|
+
expect: 204
|
|
12
|
+
gone: { GET: "/jobs/{jobId}", status: 404 }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
title: Cancellation is acknowledged by the worker and leaves no report
|
|
2
|
+
tags: [jobs, cancellation]
|
|
3
|
+
effects: { maxJobs: 1 }
|
|
4
|
+
given: { report: held-job }
|
|
5
|
+
steps:
|
|
6
|
+
- name: request cancellation
|
|
7
|
+
POST: /jobs/{report.jobId}/cancel
|
|
8
|
+
expect: 202
|
|
9
|
+
- name: worker acknowledges cancellation
|
|
10
|
+
GET: /jobs/{report.jobId}
|
|
11
|
+
observe: true
|
|
12
|
+
expect: { status: 200, json: { job.status: cancelled }, present: [job.workerPid] }
|
|
13
|
+
- name: no report was published
|
|
14
|
+
GET: /reports/{report.jobId}
|
|
15
|
+
expect: 404
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
title: One queued report produces one persisted output for its owner
|
|
2
|
+
tags: [jobs, smoke]
|
|
3
|
+
effects: { maxJobs: 1 }
|
|
4
|
+
given: { report: success-job }
|
|
5
|
+
steps:
|
|
6
|
+
- name: redeliver the same request
|
|
7
|
+
POST: /jobs
|
|
8
|
+
json: { requestKey: "{report.requestKey}", title: Weekly review, mode: succeed }
|
|
9
|
+
expect: { status: 200, json: { deduplicated: true } }
|
|
10
|
+
- name: only one job exists
|
|
11
|
+
GET: /jobs
|
|
12
|
+
expect: { status: 200, count: { jobs: 1 } }
|
|
13
|
+
- name: worker completes the job
|
|
14
|
+
GET: /jobs/{report.jobId}
|
|
15
|
+
observe: true
|
|
16
|
+
expect: { status: 200, json: { job.status: succeeded }, present: [job.workerPid] }
|
|
17
|
+
- name: read persisted output independently
|
|
18
|
+
GET: /reports/{report.jobId}
|
|
19
|
+
expect: { status: 200, json: { report.content: "Report: Weekly review" } }
|
|
20
|
+
- name: another owner cannot read the job
|
|
21
|
+
GET: /jobs/{report.jobId}
|
|
22
|
+
as: intruder
|
|
23
|
+
expect: 403
|
|
24
|
+
- name: another owner cannot read the report
|
|
25
|
+
GET: /reports/{report.jobId}
|
|
26
|
+
as: intruder
|
|
27
|
+
expect: 403
|
|
28
|
+
- name: an anonymous caller is rejected
|
|
29
|
+
GET: /reports/{report.jobId}
|
|
30
|
+
as: none
|
|
31
|
+
expect: 401
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
title: A failed worker job exposes failure and leaves no report
|
|
2
|
+
tags: [jobs, failure]
|
|
3
|
+
effects: { maxJobs: 1 }
|
|
4
|
+
given: { report: failed-job }
|
|
5
|
+
steps:
|
|
6
|
+
- name: worker records its failure
|
|
7
|
+
GET: /jobs/{report.jobId}
|
|
8
|
+
observe: true
|
|
9
|
+
expect: { status: 200, json: { job.status: failed }, present: [job.workerPid] }
|
|
10
|
+
- name: failure did not publish a report
|
|
11
|
+
GET: /reports/{report.jobId}
|
|
12
|
+
expect: 404
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
project: reports
|
|
2
|
+
app:
|
|
3
|
+
adapter: node
|
|
4
|
+
entry: app/jobs-api.mjs
|
|
5
|
+
sources: [app/**]
|
|
6
|
+
inject: { port: PORT, dataDir: REPORTS_DIR, tokens: REPORTS_TOKENS }
|
|
7
|
+
personas:
|
|
8
|
+
owner: { subject: alice }
|
|
9
|
+
intruder: { subject: bob }
|
|
10
|
+
defaults: { stepTimeoutMs: 3000, caseTimeoutMs: 20000 }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Native report jobs
|
|
2
|
+
|
|
3
|
+
Generate with `tracegrove sample-config --sample report-native --output <folder>`.
|
|
4
|
+
The generator composes this config and these flows with the shared report-jobs
|
|
5
|
+
application, SQLite store, and independent worker. No application code is copied
|
|
6
|
+
into a second source of truth in this sample directory.
|
|
7
|
+
|
|
8
|
+
Run `tracegrove test --config <folder>/tracegrove.config.yaml`. Submission,
|
|
9
|
+
readback, and cancellation use the native Node IPC bridge. HTTP serves only
|
|
10
|
+
application readiness. See `docs/native-jobs.md` for the typed bridge contract,
|
|
11
|
+
effect limits, scope, and qualification boundaries.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
title: Native cancellation waits for a real worker acknowledgement
|
|
2
|
+
effects: { maxJobs: 1 }
|
|
3
|
+
steps:
|
|
4
|
+
- job: { action: submit, queue: reports, requestKey: cancellation, payload: { title: Held report, mode: hold } }
|
|
5
|
+
save: { jobId: jobId }
|
|
6
|
+
- job: { action: read, queue: reports, jobId: '{jobId}' }
|
|
7
|
+
expect: { json: { status: running } }
|
|
8
|
+
- job: { action: cancel, queue: reports, jobId: '{jobId}' }
|
|
9
|
+
expect: { present: [jobId] }
|
|
10
|
+
- job: { action: read, queue: reports, jobId: '{jobId}' }
|
|
11
|
+
expect: { json: { status: cancelled, output.report: null }, present: [workerId] }
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
title: Native submission deduplicates and an independent native read observes persisted worker output
|
|
2
|
+
effects: { maxJobs: 3 }
|
|
3
|
+
steps:
|
|
4
|
+
- name: submit report
|
|
5
|
+
job: { action: submit, queue: reports, requestKey: completion, payload: { title: Native report, mode: succeed } }
|
|
6
|
+
save: { jobId: jobId }
|
|
7
|
+
expect: { present: [jobId] }
|
|
8
|
+
- name: duplicate delivery
|
|
9
|
+
job: { action: submit, queue: reports, requestKey: completion, payload: { title: Native report, mode: succeed } }
|
|
10
|
+
expect: { json: { output.totalJobs: 1 } }
|
|
11
|
+
- name: conflicting delivery
|
|
12
|
+
job: { action: submit, queue: reports, requestKey: completion, payload: { title: Changed report, mode: succeed } }
|
|
13
|
+
expect: { json: { status: conflict } }
|
|
14
|
+
- name: another persona cannot read the job
|
|
15
|
+
as: intruder
|
|
16
|
+
job: { action: read, queue: reports, jobId: '{jobId}' }
|
|
17
|
+
expect: { json: { status: forbidden } }
|
|
18
|
+
- name: independent persisted output
|
|
19
|
+
job: { action: read, queue: reports, jobId: '{jobId}' }
|
|
20
|
+
expect:
|
|
21
|
+
json: { status: succeeded, output.report.content: 'Report: Native report', output.totalJobs: 1 }
|
|
22
|
+
present: [workerId]
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
title: A native provider failure remains a failed job with no persisted report
|
|
2
|
+
effects: { maxJobs: 1 }
|
|
3
|
+
steps:
|
|
4
|
+
- job: { action: submit, queue: reports, requestKey: failure, payload: { title: Failed report, mode: fail } }
|
|
5
|
+
save: { jobId: jobId }
|
|
6
|
+
- job: { action: read, queue: reports, jobId: '{jobId}' }
|
|
7
|
+
expect: { json: { status: failed, output.report: null }, present: [workerId] }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
project: native_reports
|
|
2
|
+
app:
|
|
3
|
+
adapter: node
|
|
4
|
+
nativeJobs: node_ipc/v1
|
|
5
|
+
entry: app/jobs-api.mjs
|
|
6
|
+
sources: [app/**]
|
|
7
|
+
inject: { port: PORT, dataDir: REPORTS_DIR, tokens: REPORTS_TOKENS }
|
|
8
|
+
personas:
|
|
9
|
+
owner: { subject: alice }
|
|
10
|
+
intruder: { subject: bob }
|
|
11
|
+
defaults: { stepTimeoutMs: 3000, caseTimeoutMs: 20000 }
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"properties": {
|
|
5
|
+
"command": {
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"enum": [
|
|
9
|
+
"help",
|
|
10
|
+
"init",
|
|
11
|
+
"test",
|
|
12
|
+
"status",
|
|
13
|
+
"heal",
|
|
14
|
+
"list",
|
|
15
|
+
"compile",
|
|
16
|
+
"show",
|
|
17
|
+
"ui",
|
|
18
|
+
"discover",
|
|
19
|
+
"check",
|
|
20
|
+
"draft",
|
|
21
|
+
"settings",
|
|
22
|
+
"sample-config",
|
|
23
|
+
"validate",
|
|
24
|
+
"doctor",
|
|
25
|
+
"plan",
|
|
26
|
+
"seed",
|
|
27
|
+
"run",
|
|
28
|
+
"controller",
|
|
29
|
+
"cases",
|
|
30
|
+
"rerun",
|
|
31
|
+
"inspect",
|
|
32
|
+
"export",
|
|
33
|
+
"verify-bundle",
|
|
34
|
+
"result-ingest",
|
|
35
|
+
"results",
|
|
36
|
+
"awr-prepare",
|
|
37
|
+
"awr-inspect",
|
|
38
|
+
"awr-deliver",
|
|
39
|
+
"report-prepare",
|
|
40
|
+
"report-inspect",
|
|
41
|
+
"report-attach",
|
|
42
|
+
"verify-cleanup",
|
|
43
|
+
"source-resolve",
|
|
44
|
+
"recovery-status",
|
|
45
|
+
"source-materialize",
|
|
46
|
+
"schema"
|
|
47
|
+
],
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "null"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"errorClass": {
|
|
56
|
+
"enum": [
|
|
57
|
+
"blocked",
|
|
58
|
+
"conflict",
|
|
59
|
+
"invalid_input",
|
|
60
|
+
"infrastructure_failure",
|
|
61
|
+
"unexpected_failure"
|
|
62
|
+
],
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"exitCode": {
|
|
66
|
+
"anyOf": [
|
|
67
|
+
{
|
|
68
|
+
"const": 2,
|
|
69
|
+
"type": "number"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"const": 3,
|
|
73
|
+
"type": "number"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"omittedReasonCount": {
|
|
78
|
+
"maximum": 9007199254740991,
|
|
79
|
+
"minimum": 0,
|
|
80
|
+
"type": "integer"
|
|
81
|
+
},
|
|
82
|
+
"reasons": {
|
|
83
|
+
"items": {
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"properties": {
|
|
86
|
+
"code": {
|
|
87
|
+
"enum": [
|
|
88
|
+
"unknown_command",
|
|
89
|
+
"unknown_flag",
|
|
90
|
+
"duplicate_flag",
|
|
91
|
+
"unexpected_argument",
|
|
92
|
+
"invalid_boolean",
|
|
93
|
+
"missing_argument",
|
|
94
|
+
"conflicting_flags",
|
|
95
|
+
"invalid_argument",
|
|
96
|
+
"config_not_found",
|
|
97
|
+
"invalid_authoring_file",
|
|
98
|
+
"invalid_yaml",
|
|
99
|
+
"no_flows",
|
|
100
|
+
"no_flows_selected",
|
|
101
|
+
"unknown_profile",
|
|
102
|
+
"launch_executable_missing",
|
|
103
|
+
"application_runtime_unrecognized",
|
|
104
|
+
"command_adapter_unqualified",
|
|
105
|
+
"run_not_found",
|
|
106
|
+
"execution_not_found",
|
|
107
|
+
"invalid_request_file",
|
|
108
|
+
"invalid_port",
|
|
109
|
+
"prerequisite_unavailable",
|
|
110
|
+
"state_conflict",
|
|
111
|
+
"invalid_document",
|
|
112
|
+
"invalid_json",
|
|
113
|
+
"input_unavailable",
|
|
114
|
+
"access_denied",
|
|
115
|
+
"infrastructure_failure",
|
|
116
|
+
"unexpected_failure"
|
|
117
|
+
],
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
"message": {
|
|
121
|
+
"maxLength": 512,
|
|
122
|
+
"minLength": 1,
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"recovery": {
|
|
126
|
+
"maxLength": 512,
|
|
127
|
+
"minLength": 1,
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"code",
|
|
133
|
+
"message",
|
|
134
|
+
"recovery"
|
|
135
|
+
],
|
|
136
|
+
"type": "object"
|
|
137
|
+
},
|
|
138
|
+
"maxItems": 32,
|
|
139
|
+
"minItems": 1,
|
|
140
|
+
"type": "array"
|
|
141
|
+
},
|
|
142
|
+
"schemaVersion": {
|
|
143
|
+
"const": "tracegrove.cli-error/v1",
|
|
144
|
+
"type": "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": [
|
|
148
|
+
"schemaVersion",
|
|
149
|
+
"command",
|
|
150
|
+
"errorClass",
|
|
151
|
+
"exitCode",
|
|
152
|
+
"reasons",
|
|
153
|
+
"omittedReasonCount"
|
|
154
|
+
],
|
|
155
|
+
"type": "object"
|
|
156
|
+
}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"properties": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"agent": {
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"description": "Agent settings. .tracegrove/settings.json (written by tracegrove ui) and CLI flags override these per developer.",
|
|
11
|
+
"properties": {
|
|
12
|
+
"maxBudgetUsd": {
|
|
13
|
+
"description": "Spend cap per draft run, passed to Claude Code as --max-budget-usd.",
|
|
14
|
+
"exclusiveMinimum": 0,
|
|
15
|
+
"maximum": 100,
|
|
16
|
+
"type": "number"
|
|
17
|
+
},
|
|
18
|
+
"model": {
|
|
19
|
+
"description": "Explicit model passed to the agent CLI. Defaults: claude-haiku-5-5 for claude; gpt-6-luna for codex.",
|
|
20
|
+
"maxLength": 120,
|
|
21
|
+
"minLength": 1,
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"provider": {
|
|
25
|
+
"default": "claude",
|
|
26
|
+
"description": "Coding agent that drafts and repairs flows: claude (Claude Code CLI), codex (Codex CLI) or none.",
|
|
27
|
+
"enum": [
|
|
28
|
+
"claude",
|
|
29
|
+
"codex",
|
|
30
|
+
"none"
|
|
31
|
+
],
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"type": "object"
|
|
36
|
+
},
|
|
37
|
+
"app": {
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"properties": {
|
|
40
|
+
"adapter": {
|
|
41
|
+
"description": "Launch preset: node, fastapi, django or command.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"node",
|
|
44
|
+
"fastapi",
|
|
45
|
+
"django",
|
|
46
|
+
"command"
|
|
47
|
+
],
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"entry": {
|
|
51
|
+
"description": "node: script path; fastapi: module:app; django: folder containing manage.py.",
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"env": {
|
|
55
|
+
"additionalProperties": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"default": {},
|
|
59
|
+
"description": "Extra env; {port} and {dataDir} are substituted.",
|
|
60
|
+
"propertyNames": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"type": "object"
|
|
64
|
+
},
|
|
65
|
+
"health": {
|
|
66
|
+
"default": "/health",
|
|
67
|
+
"description": "GET path that returns 2xx once the app is ready.",
|
|
68
|
+
"pattern": "^\\/",
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"inject": {
|
|
72
|
+
"additionalProperties": false,
|
|
73
|
+
"default": {
|
|
74
|
+
"dataDir": "TRACEGROVE_DATA_DIR",
|
|
75
|
+
"port": "PORT",
|
|
76
|
+
"tokens": "TRACEGROVE_TOKENS"
|
|
77
|
+
},
|
|
78
|
+
"properties": {
|
|
79
|
+
"dataDir": {
|
|
80
|
+
"default": "TRACEGROVE_DATA_DIR",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"port": {
|
|
84
|
+
"default": "PORT",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"tokens": {
|
|
88
|
+
"default": "TRACEGROVE_TOKENS",
|
|
89
|
+
"type": "string"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"type": "object"
|
|
93
|
+
},
|
|
94
|
+
"nativeJobs": {
|
|
95
|
+
"const": "node_ipc/v1",
|
|
96
|
+
"description": "Opt in to the application-owned native Node job bridge.",
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"python": {
|
|
100
|
+
"description": "fastapi/django: interpreter (default .venv/bin/python when present, else python3).",
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"readyTimeoutMs": {
|
|
104
|
+
"default": 20000,
|
|
105
|
+
"exclusiveMinimum": 0,
|
|
106
|
+
"maximum": 300000,
|
|
107
|
+
"type": "integer"
|
|
108
|
+
},
|
|
109
|
+
"root": {
|
|
110
|
+
"default": ".",
|
|
111
|
+
"description": "App directory relative to this file; the launch cwd.",
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"run": {
|
|
115
|
+
"description": "command adapter: shell command that starts the app on $PORT.",
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"sources": {
|
|
119
|
+
"description": "Globs (relative to root) whose bytes are attested as the tested source.",
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"minItems": 1,
|
|
124
|
+
"type": "array"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": [
|
|
128
|
+
"adapter"
|
|
129
|
+
],
|
|
130
|
+
"type": "object"
|
|
131
|
+
},
|
|
132
|
+
"defaults": {
|
|
133
|
+
"additionalProperties": false,
|
|
134
|
+
"default": {
|
|
135
|
+
"caseTimeoutMs": 30000,
|
|
136
|
+
"stepTimeoutMs": 5000
|
|
137
|
+
},
|
|
138
|
+
"properties": {
|
|
139
|
+
"caseTimeoutMs": {
|
|
140
|
+
"default": 30000,
|
|
141
|
+
"exclusiveMinimum": 0,
|
|
142
|
+
"maximum": 600000,
|
|
143
|
+
"type": "integer"
|
|
144
|
+
},
|
|
145
|
+
"stepTimeoutMs": {
|
|
146
|
+
"default": 5000,
|
|
147
|
+
"exclusiveMinimum": 0,
|
|
148
|
+
"maximum": 120000,
|
|
149
|
+
"type": "integer"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"type": "object"
|
|
153
|
+
},
|
|
154
|
+
"personas": {
|
|
155
|
+
"additionalProperties": {
|
|
156
|
+
"additionalProperties": false,
|
|
157
|
+
"properties": {
|
|
158
|
+
"inputMode": {
|
|
159
|
+
"enum": [
|
|
160
|
+
"pointer",
|
|
161
|
+
"touch",
|
|
162
|
+
"keyboard"
|
|
163
|
+
],
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"locale": {
|
|
167
|
+
"maxLength": 16,
|
|
168
|
+
"minLength": 2,
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
171
|
+
"reducedMotion": {
|
|
172
|
+
"type": "boolean"
|
|
173
|
+
},
|
|
174
|
+
"subject": {
|
|
175
|
+
"minLength": 1,
|
|
176
|
+
"type": "string"
|
|
177
|
+
},
|
|
178
|
+
"timezone": {
|
|
179
|
+
"maxLength": 64,
|
|
180
|
+
"minLength": 1,
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"viewport": {
|
|
184
|
+
"additionalProperties": false,
|
|
185
|
+
"properties": {
|
|
186
|
+
"height": {
|
|
187
|
+
"maximum": 2147483647,
|
|
188
|
+
"minimum": 1,
|
|
189
|
+
"type": "integer"
|
|
190
|
+
},
|
|
191
|
+
"width": {
|
|
192
|
+
"maximum": 2147483647,
|
|
193
|
+
"minimum": 1,
|
|
194
|
+
"type": "integer"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": [
|
|
198
|
+
"width",
|
|
199
|
+
"height"
|
|
200
|
+
],
|
|
201
|
+
"type": "object"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"required": [
|
|
205
|
+
"subject"
|
|
206
|
+
],
|
|
207
|
+
"type": "object"
|
|
208
|
+
},
|
|
209
|
+
"description": "Callers. The first one is the default `as:` for every step.",
|
|
210
|
+
"propertyNames": {
|
|
211
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$",
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"type": "object"
|
|
215
|
+
},
|
|
216
|
+
"project": {
|
|
217
|
+
"description": "Short project name, shown in reports and run summaries.",
|
|
218
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$",
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"testDir": {
|
|
222
|
+
"default": "tracegrove",
|
|
223
|
+
"description": "Folder holding *.flow.yaml and fixtures/, relative to this file.",
|
|
224
|
+
"type": "string"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"required": [
|
|
228
|
+
"project",
|
|
229
|
+
"app",
|
|
230
|
+
"personas"
|
|
231
|
+
],
|
|
232
|
+
"type": "object"
|
|
233
|
+
}
|