@dailephd/my-dev-kit-lab 0.4.5 → 0.4.7
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 +26 -1
- package/README.md +43 -3
- package/dist/scripts/cli.js +9 -0
- package/dist/src/audits/core/typescriptJavaScriptAnalyzer.js +30 -12
- package/dist/src/browser/index.js +2 -0
- package/dist/src/browser/playwrightRuntime.js +74 -0
- package/dist/src/browser/types.js +10 -0
- package/dist/src/cli/help.js +376 -0
- package/dist/src/cli/index.js +2 -0
- package/dist/src/cli/runLabCli.js +257 -0
- package/dist/src/commands/runAuditCommand.js +132 -0
- package/dist/src/commands/runControlledExperimentCommand.js +7 -3
- package/dist/{scripts/experiments/describeExperiment.js → src/commands/runExperimentDescribeCommand.js} +14 -10
- package/dist/{scripts/experiments/listExperiments.js → src/commands/runExperimentListCommand.js} +3 -6
- package/dist/{scripts/experiments/runExperiment.js → src/commands/runExperimentRunCommand.js} +80 -22
- package/dist/src/commands/runFinalDemoCommand.js +2 -3
- package/dist/src/commands/runSecurityValidationCommand.js +271 -0
- package/dist/src/commands/runTutorialRunCommand.js +170 -0
- package/dist/src/commands/runTutorialValidateCommand.js +138 -0
- package/dist/src/core/processTree.js +52 -0
- package/dist/src/core/resolveCommand.js +34 -0
- package/dist/src/core/runMeasuredCommand.js +39 -31
- package/dist/src/runtime/index.js +4 -0
- package/dist/src/runtime/labExecutionContext.js +22 -0
- package/dist/src/runtime/managedProcess.js +380 -0
- package/dist/src/runtime/packageResource.js +22 -0
- package/dist/src/runtime/packageRoot.js +37 -0
- package/dist/src/screenshot/captureReportScreenshot.js +30 -27
- package/dist/src/securityValidation/packageChecks/requiredPackageContents.js +14 -1
- package/dist/src/tutorial/index.js +16 -0
- package/dist/src/tutorial/loadTutorialContracts.js +60 -0
- package/dist/src/tutorial/markdownTutorialWriter.js +53 -0
- package/dist/src/tutorial/runTutorial.js +465 -0
- package/dist/src/tutorial/scenarioValidation.js +383 -0
- package/dist/src/tutorial/subtitleWriter.js +88 -0
- package/dist/src/tutorial/targetContractValidation.js +212 -0
- package/dist/src/tutorial/tutorialActions.js +110 -0
- package/dist/src/tutorial/tutorialArtifacts.js +176 -0
- package/dist/src/tutorial/tutorialAssertions.js +249 -0
- package/dist/src/tutorial/tutorialCursor.js +149 -0
- package/dist/src/tutorial/tutorialLocators.js +37 -0
- package/dist/src/tutorial/tutorialManifest.js +74 -0
- package/dist/src/tutorial/tutorialOverlay.js +180 -0
- package/dist/src/tutorial/tutorialPaths.js +86 -0
- package/dist/src/tutorial/tutorialSession.js +398 -0
- package/dist/src/tutorial/types.js +48 -0
- package/dist/src/tutorial/validationPrimitives.js +141 -0
- package/examples/tutorial-browser/index.html +47 -0
- package/examples/tutorial-browser/prepare.mjs +14 -0
- package/examples/tutorial-browser/scenario.json +17 -0
- package/examples/tutorial-browser/server.mjs +14 -0
- package/package.json +13 -9
- package/dist/scripts/audits/runAudit.js +0 -135
- package/dist/scripts/build-gallery.js +0 -3
- package/dist/scripts/capture-demo-report.js +0 -3
- package/dist/scripts/evaluate-token-savings.js +0 -2
- package/dist/scripts/generate-experiment-plots.js +0 -3
- package/dist/scripts/generate-prompt-variants.js +0 -2
- package/dist/scripts/render-experiment-report.js +0 -2
- package/dist/scripts/report-context-integrity-smoke.js +0 -70
- package/dist/scripts/run-agent-prompt.js +0 -2
- package/dist/scripts/run-controlled-experiment.js +0 -2
- package/dist/scripts/run-lab-demo.js +0 -5
- package/dist/scripts/run-visualization-demos.js +0 -3
- package/dist/scripts/security/resolveToolRoot.js +0 -16
- package/dist/scripts/security/runCodeql.js +0 -58
- package/dist/scripts/security/runDependencyChecks.js +0 -58
- package/dist/scripts/security/runFuzzSmoke.js +0 -29
- package/dist/scripts/security/runPackageChecks.js +0 -57
- package/dist/scripts/security/runSemgrep.js +0 -64
- package/dist/scripts/security/validate.js +0 -266
- package/dist/scripts/verify-benchmarks.js +0 -202
- package/examples/demo-report-input.json +0 -78
- package/examples/lab-demo-cases.json +0 -35
- package/examples/real-agent-campaign-cases.json +0 -118
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/debug/res/xml/ambiguous_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/ambiguous_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/backup_rules.xml +0 -5
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/broad_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/data_extraction_rules.xml +0 -10
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/unsupported_domain_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-b/src/main/res/xml/malformed_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-b/src/main/res/xml/unsupported_root.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/debug/res/xml/ambiguous_config.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/ambiguous_config.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/base_cleartext_false.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/broad_and_duplicate_domains.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/empty_domain.xml +0 -6
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/malformed_pin.xml +0 -11
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/network_security_config.xml +0 -26
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-b/src/main/res/xml/malformed_network_security_config.xml +0 -6
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-b/src/main/res/xml/unsupported_root.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/groovy-release-debuggable-dynamic.gradle +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/groovy-release-debuggable-false.gradle +0 -9
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/groovy-release-debuggable-true.gradle +0 -13
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/kotlin-release-debuggable-false.gradle.kts +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/kotlin-release-debuggable-true.gradle.kts +0 -10
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/missing-release-build-type.gradle.kts +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-a/src/debug/res/xml/network_security_config.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-a/src/main/res/xml/backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-a/src/main/res/xml/network_security_config.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-b/src/main/res/xml/malformed_network_security_config.xml +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/SampleActivity.java +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/SampleActivity.kt +0 -9
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/build.gradle +0 -11
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/build.gradle.kts +0 -11
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/google-services.json +0 -16
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/local.properties +0 -3
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates-bounds/module/binary.properties +0 -0
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates-bounds/module/oversized.json +0 -1
- package/tests/fixtures/android/advanced-security-fixtures/signing-configuration/app/fake-release-keystore.jks +0 -1
- package/tests/fixtures/android/advanced-security-fixtures/signing-configuration/build/generated-fake.keystore +0 -1
- package/tests/fixtures/android/compose-app/app/build.gradle.kts +0 -21
- package/tests/fixtures/android/compose-app/app/src/main/AndroidManifest.xml +0 -22
- package/tests/fixtures/android/compose-app/app/src/main/java/com/example/composeapp/MainActivity.kt +0 -11
- package/tests/fixtures/android/compose-app/build.gradle.kts +0 -4
- package/tests/fixtures/android/compose-app/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/compose-app/settings.gradle.kts +0 -2
- package/tests/fixtures/android/gradle-metadata-fixtures/catalog-only-plugin/build.gradle.kts +0 -3
- package/tests/fixtures/android/gradle-metadata-fixtures/catalog-only-plugin/gradle/libs.versions.toml +0 -5
- package/tests/fixtures/android/gradle-metadata-fixtures/comment-safety.gradle.kts +0 -21
- package/tests/fixtures/android/gradle-metadata-fixtures/dynamic-values.gradle.kts +0 -17
- package/tests/fixtures/android/gradle-metadata-fixtures/groovy-literal.gradle +0 -23
- package/tests/fixtures/android/gradle-metadata-fixtures/wrapper-malformed.properties +0 -4
- package/tests/fixtures/android/gradle-metadata-fixtures/wrapper-missing-url.properties +0 -3
- package/tests/fixtures/android/gradle-metadata-fixtures/wrapper-with-checksum.properties +0 -5
- package/tests/fixtures/android/java-app/app/build.gradle +0 -16
- package/tests/fixtures/android/java-app/app/src/main/AndroidManifest.xml +0 -19
- package/tests/fixtures/android/java-app/app/src/main/java/com/example/javaapp/MainActivity.java +0 -4
- package/tests/fixtures/android/java-app/build.gradle +0 -3
- package/tests/fixtures/android/java-app/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/java-app/settings.gradle +0 -2
- package/tests/fixtures/android/library/build.gradle.kts +0 -3
- package/tests/fixtures/android/library/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/library/mylibrary/build.gradle.kts +0 -13
- package/tests/fixtures/android/library/mylibrary/src/main/AndroidManifest.xml +0 -2
- package/tests/fixtures/android/library/settings.gradle.kts +0 -2
- package/tests/fixtures/android/manifest-audit-fixtures/incomplete-intent-filter.xml +0 -14
- package/tests/fixtures/android/manifest-audit-fixtures/malformed-exported.xml +0 -10
- package/tests/fixtures/android/manifest-audit-fixtures/malformed.xml +0 -5
- package/tests/fixtures/android/manifest-audit-fixtures/missing-application.xml +0 -7
- package/tests/fixtures/android/manifest-audit-fixtures/missing-component-name.xml +0 -11
- package/tests/fixtures/android/manifest-audit-fixtures/permission-coverage.xml +0 -29
- package/tests/fixtures/android/manifest-audit-fixtures/risky-components.xml +0 -62
- package/tests/fixtures/android/manifest-audit-fixtures/risky-deep-links.xml +0 -45
- package/tests/fixtures/android/manifest-audit-fixtures/unresolved-placeholder.xml +0 -14
- package/tests/fixtures/android/manifest-audit-fixtures/unusual-namespace-prefix.xml +0 -11
- package/tests/fixtures/android/multi-module/app/build.gradle.kts +0 -22
- package/tests/fixtures/android/multi-module/app/src/androidTest/java/com/example/multimodule/app/ExampleInstrumentedTest.kt +0 -3
- package/tests/fixtures/android/multi-module/app/src/main/AndroidManifest.xml +0 -11
- package/tests/fixtures/android/multi-module/app/src/test/java/com/example/multimodule/app/ExampleUnitTest.kt +0 -3
- package/tests/fixtures/android/multi-module/build.gradle.kts +0 -5
- package/tests/fixtures/android/multi-module/core/build.gradle.kts +0 -14
- package/tests/fixtures/android/multi-module/core/src/main/AndroidManifest.xml +0 -2
- package/tests/fixtures/android/multi-module/feature-login/build.gradle.kts +0 -18
- package/tests/fixtures/android/multi-module/feature-login/src/main/AndroidManifest.xml +0 -2
- package/tests/fixtures/android/multi-module/gradle/libs.versions.toml +0 -8
- package/tests/fixtures/android/multi-module/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/multi-module/settings.gradle.kts +0 -4
- package/tests/fixtures/android/non-android-gradle/build.gradle.kts +0 -3
- package/tests/fixtures/android/non-android-gradle/core/build.gradle.kts +0 -3
- package/tests/fixtures/android/non-android-gradle/core/src/main/java/com/example/core/Core.java +0 -4
- package/tests/fixtures/android/non-android-gradle/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/non-android-gradle/settings.gradle.kts +0 -2
- package/tests/fixtures/android/partial/app/build.gradle.kts +0 -7
- package/tests/fixtures/android/partial/settings.gradle.kts +0 -2
- package/tests/fixtures/android/xml-view-app/app/build.gradle.kts +0 -17
- package/tests/fixtures/android/xml-view-app/app/src/main/AndroidManifest.xml +0 -31
- package/tests/fixtures/android/xml-view-app/app/src/main/kotlin/com/example/xmlviewapp/MainActivity.kt +0 -7
- package/tests/fixtures/android/xml-view-app/app/src/main/res/layout/activity_main.xml +0 -4
- package/tests/fixtures/android/xml-view-app/build.gradle.kts +0 -4
- package/tests/fixtures/android/xml-view-app/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/xml-view-app/settings.gradle.kts +0 -2
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/README.md +0 -16
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/build.gradle.kts +0 -4
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/src/main/java/com/example/Widget.java +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/src/main/kotlin/com/example/Gadget.kt +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/README.md +0 -10
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/build/Main.class +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/dist/index.js +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/generated/schema.ts +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/vendor/lib.py +0 -2
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/README.md +0 -10
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/build.gradle.kts +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/settings.gradle.kts +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/main/java/com/example/FooService.java +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/main/kotlin/com/example/BarService.kt +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/test/java/com/example/FooServiceTest.java +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/test/kotlin/com/example/BarServiceTest.kt +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/README.md +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/src/app.py +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/tests/test_app.py +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/README.md +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/src/helper.js +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/tests/index.sample.ts +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/README.md +0 -10
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/build.gradle.kts +0 -4
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/pytests/test_app.py +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/app.py +0 -2
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/helper.js +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/main/java/com/example/Multiplier.java +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/main/kotlin/com/example/Divider.kt +0 -7
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/corrected-replay/derived/run-integrity-evidence.json +0 -99
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/corrected-replay/producer/implementation-audit.json +0 -1585
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/corrected-replay/producer/implementation-capsule.json +0 -11455
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/00-request.txt +0 -1
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/architecture-context-packet.txt +0 -82
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/behavior-model.txt +0 -104
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/final-report.txt +0 -41
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/implementation-context-packet.txt +0 -114
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/implementation-report.txt +0 -92
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/judge-report.txt +0 -34
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/pseudocode-packet.txt +0 -244
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/request-brief.txt +0 -40
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/test-context-packet.txt +0 -93
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/test-implementation-report.txt +0 -69
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/test-strategy-packet.txt +0 -354
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/verification-report.txt +0 -85
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/derived/run-integrity-evidence.json +0 -98
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/architecture-audit.json +0 -1169
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/architecture-request.json +0 -29
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/implementation-audit.json +0 -1494
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/implementation-capsule.json +0 -11364
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/implementation-request.json +0 -33
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/test-request.json +0 -74
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/reports/architecture-context-retrieval-report.txt +0 -58
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/reports/implementation-context-retrieval-report.txt +0 -75
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/reports/test-context-retrieval-report.txt +0 -84
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/run.json +0 -62
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/tool-versions/my-dev-kit-version.txt +0 -1
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/tool-versions/orchestrator-version.txt +0 -1
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/manifests/corrected-replay-manifest.json +0 -19
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/manifests/failed-run-manifest.json +0 -56
- package/tests/fixtures/fake-adversarial-cli.js +0 -152
- package/tests/fixtures/fake-my-dev-kit-cli.js +0 -83
- package/tests/fixtures/full-workflow-library/complete-v1.0.0.json +0 -24
- package/tests/fixtures/full-workflow-library/future-minor-v1.1.0-additive.json +0 -25
- package/tests/fixtures/stage-context-expectations/complete-v1.0.0.json +0 -230
- package/tests/fixtures/stage-context-expectations/future-minor-v1.1.0-additive.json +0 -232
- package/tests/fixtures/stage-context-expectations/invalid/malformed-json.txt +0 -1
- package/tests/fixtures/stage-context-expectations/invalid/non-object-root.json +0 -1
- package/tests/fixtures/stage-context-expectations/minimal-v1.0.0.json +0 -18
- package/tests/fixtures/upstream-artifacts/invalid/malformed-json.txt +0 -1
- package/tests/fixtures/upstream-artifacts/invalid/non-object-root.json +0 -1
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/context-capsule/complete-v1.0.0.json +0 -504
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/context-capsule/future-minor-v1.1.0-additive.json +0 -955
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/retrieval-audit-record/complete-v1.0.0.json +0 -190
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/retrieval-audit-record/future-minor-v1.1.0-additive.json +0 -327
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.4/PROVENANCE.txt +0 -18
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.4/context-capsule/complete-v1.0.0.json +0 -556
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.4/retrieval-audit-record/complete-v1.0.0.json +0 -238
- package/tests/fixtures/upstream-artifacts/my-dev-kit-1.10.2-identity/PROVENANCE.txt +0 -13
- package/tests/fixtures/upstream-artifacts/my-dev-kit-1.10.2-identity/context-capsule.json +0 -7874
- package/tests/fixtures/upstream-artifacts/my-dev-kit-1.10.2-identity/retrieval-audit-record.json +0 -1076
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.1/workflow-instruction-packet/complete-v1.0.0.json +0 -160
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.1/workflow-instruction-packet/future-minor-v1.1.0-additive.json +0 -186
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.3/run-integrity/PROVENANCE.txt +0 -31
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.3/run-integrity/ready-pass-final-pass.json +0 -132
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.3/run-integrity/refresh-required-need-context.json +0 -146
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "1.1.0",
|
|
3
|
-
"caseId": "CASE-STAGE-CONTEXT-002",
|
|
4
|
-
"title": "Complete stage-context expectation",
|
|
5
|
-
"description": "Complete valid expectation fixture covering every expectation category.",
|
|
6
|
-
"futureMinorRootField": "preserved",
|
|
7
|
-
"expectedEvidence": [
|
|
8
|
-
{
|
|
9
|
-
"expectationId": "REQ-FILE-001",
|
|
10
|
-
"inclusion": "required",
|
|
11
|
-
"sourceArtifact": "context-capsule",
|
|
12
|
-
"category": "file",
|
|
13
|
-
"match": { "path": "src/example.ts" },
|
|
14
|
-
"notes": [],
|
|
15
|
-
"futureMinorNestedField": "preserved"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"expectationId": "REQ-SYMBOL-001",
|
|
19
|
-
"inclusion": "required",
|
|
20
|
-
"sourceArtifact": "context-capsule",
|
|
21
|
-
"category": "symbol",
|
|
22
|
-
"match": { "symbolId": "symbol:src/example.ts#Example" },
|
|
23
|
-
"notes": []
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"expectationId": "REQ-SOURCE-RANGE-001",
|
|
27
|
-
"inclusion": "required",
|
|
28
|
-
"sourceArtifact": "context-capsule",
|
|
29
|
-
"category": "source-range",
|
|
30
|
-
"match": { "filePath": "src/example.ts", "startLine": 1, "endLine": 10 },
|
|
31
|
-
"notes": []
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"expectationId": "ALLOW-CONTRACT-001",
|
|
35
|
-
"inclusion": "allowed",
|
|
36
|
-
"sourceArtifact": "context-capsule",
|
|
37
|
-
"category": "contract",
|
|
38
|
-
"match": { "symbolId": "contract:src/example.ts#ExampleContract" },
|
|
39
|
-
"notes": []
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"expectationId": "ALLOW-VALIDATOR-001",
|
|
43
|
-
"inclusion": "allowed",
|
|
44
|
-
"sourceArtifact": "context-capsule",
|
|
45
|
-
"category": "validator",
|
|
46
|
-
"match": { "symbolId": "validator:src/example.ts#validateExample" },
|
|
47
|
-
"notes": []
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"expectationId": "ALLOW-CONSTANT-001",
|
|
51
|
-
"inclusion": "allowed",
|
|
52
|
-
"sourceArtifact": "context-capsule",
|
|
53
|
-
"category": "constant",
|
|
54
|
-
"match": { "symbolId": "constant:src/example.ts#EXAMPLE_CONST" },
|
|
55
|
-
"notes": []
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"expectationId": "FORBID-ERROR-001",
|
|
59
|
-
"inclusion": "forbidden",
|
|
60
|
-
"sourceArtifact": "context-capsule",
|
|
61
|
-
"category": "error",
|
|
62
|
-
"match": { "symbolId": "error:src/example.ts#ExampleError" },
|
|
63
|
-
"notes": []
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"expectationId": "ALLOW-SCHEMA-001",
|
|
67
|
-
"inclusion": "allowed",
|
|
68
|
-
"sourceArtifact": "context-capsule",
|
|
69
|
-
"category": "schema-or-serializer",
|
|
70
|
-
"match": { "symbolId": "schema:src/example.ts#ExampleSchema" },
|
|
71
|
-
"notes": []
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"expectationId": "REQ-RESPONSIBILITY-001",
|
|
75
|
-
"inclusion": "required",
|
|
76
|
-
"sourceArtifact": "context-capsule",
|
|
77
|
-
"category": "production-responsibility",
|
|
78
|
-
"match": { "responsibilityId": "fixture.responsibility.001" },
|
|
79
|
-
"notes": []
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"expectationId": "ALLOW-RESPONSIBILITY-001",
|
|
83
|
-
"inclusion": "allowed",
|
|
84
|
-
"sourceArtifact": "retrieval-audit-record",
|
|
85
|
-
"category": "production-responsibility",
|
|
86
|
-
"match": { "responsibilityId": "fixture.responsibility.002" },
|
|
87
|
-
"notes": []
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"expectationId": "REQ-TEST-FILE-001",
|
|
91
|
-
"inclusion": "required",
|
|
92
|
-
"sourceArtifact": "context-capsule",
|
|
93
|
-
"category": "test-file",
|
|
94
|
-
"match": { "path": "tests/example.spec.ts" },
|
|
95
|
-
"notes": []
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"expectationId": "ALLOW-FIXTURE-001",
|
|
99
|
-
"inclusion": "allowed",
|
|
100
|
-
"sourceArtifact": "context-capsule",
|
|
101
|
-
"category": "fixture",
|
|
102
|
-
"match": { "path": "tests/fixtures/example.json" },
|
|
103
|
-
"notes": []
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"expectationId": "ALLOW-FACTORY-001",
|
|
107
|
-
"inclusion": "allowed",
|
|
108
|
-
"sourceArtifact": "context-capsule",
|
|
109
|
-
"category": "factory",
|
|
110
|
-
"match": { "path": "tests/factories/exampleFactory.ts" },
|
|
111
|
-
"notes": []
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"expectationId": "FORBID-MOCK-001",
|
|
115
|
-
"inclusion": "forbidden",
|
|
116
|
-
"sourceArtifact": "context-capsule",
|
|
117
|
-
"category": "mock",
|
|
118
|
-
"match": { "path": "tests/mocks/exampleMock.ts" },
|
|
119
|
-
"notes": []
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"expectationId": "ALLOW-SETUP-FILE-001",
|
|
123
|
-
"inclusion": "allowed",
|
|
124
|
-
"sourceArtifact": "context-capsule",
|
|
125
|
-
"category": "setup-file",
|
|
126
|
-
"match": { "path": "tests/setup.ts" },
|
|
127
|
-
"notes": []
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"expectationId": "REQ-TEST-CONFIGURATION-001",
|
|
131
|
-
"inclusion": "required",
|
|
132
|
-
"sourceArtifact": "context-capsule",
|
|
133
|
-
"category": "test-configuration",
|
|
134
|
-
"match": { "path": "vitest.config.ts" },
|
|
135
|
-
"notes": []
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"expectationId": "REQ-PACKAGE-SCRIPT-001",
|
|
139
|
-
"inclusion": "required",
|
|
140
|
-
"sourceArtifact": "context-capsule",
|
|
141
|
-
"category": "package-script",
|
|
142
|
-
"match": { "name": "test" },
|
|
143
|
-
"notes": []
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"expectationId": "ALLOW-TEST-COMMAND-001",
|
|
147
|
-
"inclusion": "allowed",
|
|
148
|
-
"sourceArtifact": "context-capsule",
|
|
149
|
-
"category": "test-command",
|
|
150
|
-
"match": { "commandText": "vitest run tests/example.spec.ts" },
|
|
151
|
-
"notes": []
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"expectationId": "REQ-WORKFLOW-001",
|
|
155
|
-
"inclusion": "required",
|
|
156
|
-
"sourceArtifact": "workflow-instruction-packet",
|
|
157
|
-
"category": "workflow",
|
|
158
|
-
"match": { "id": "workflow.feature" },
|
|
159
|
-
"notes": []
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"expectationId": "REQ-STAGE-001",
|
|
163
|
-
"inclusion": "required",
|
|
164
|
-
"sourceArtifact": "workflow-instruction-packet",
|
|
165
|
-
"category": "stage",
|
|
166
|
-
"match": { "id": "stage.feature.implementation" },
|
|
167
|
-
"notes": []
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"expectationId": "ALLOW-COMMAND-001",
|
|
171
|
-
"inclusion": "allowed",
|
|
172
|
-
"sourceArtifact": "workflow-instruction-packet",
|
|
173
|
-
"category": "command",
|
|
174
|
-
"match": { "id": "command.repo.lint" },
|
|
175
|
-
"notes": []
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"expectationId": "ALLOW-RULE-001",
|
|
179
|
-
"inclusion": "allowed",
|
|
180
|
-
"sourceArtifact": "full-workflow-library",
|
|
181
|
-
"category": "rule",
|
|
182
|
-
"match": { "id": "rule.quality.prefer-tests" },
|
|
183
|
-
"notes": []
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"expectationId": "FORBID-REPORT-CONTRACT-001",
|
|
187
|
-
"inclusion": "forbidden",
|
|
188
|
-
"sourceArtifact": "workflow-instruction-packet",
|
|
189
|
-
"category": "report-contract",
|
|
190
|
-
"match": { "id": "report.other-summary" },
|
|
191
|
-
"notes": []
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"expectationId": "REQ-PROVENANCE-001",
|
|
195
|
-
"inclusion": "required",
|
|
196
|
-
"sourceArtifact": "workflow-instruction-packet",
|
|
197
|
-
"category": "provenance",
|
|
198
|
-
"match": { "evidenceId": "symbol:src/example.ts#Example" },
|
|
199
|
-
"notes": []
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
|
-
"expectedStates": {
|
|
203
|
-
"contextCapsule": {
|
|
204
|
-
"contextAdequacyStatus": "context sufficient with listed assumptions",
|
|
205
|
-
"roleAdequacyStatus": "context sufficient with listed assumptions",
|
|
206
|
-
"freshnessState": "fresh",
|
|
207
|
-
"truncated": false,
|
|
208
|
-
"fullFileFallbackUsed": 0,
|
|
209
|
-
"unresolvedItemIds": ["fixture.unresolved.001"],
|
|
210
|
-
"warningCount": 1
|
|
211
|
-
},
|
|
212
|
-
"retrievalAuditRecord": {
|
|
213
|
-
"contextAdequacyStatus": "context sufficient with listed assumptions",
|
|
214
|
-
"roleAdequacyStatus": "context sufficient with listed assumptions",
|
|
215
|
-
"freshnessState": "fresh",
|
|
216
|
-
"truncated": false,
|
|
217
|
-
"fullFileFallbackUsed": 1,
|
|
218
|
-
"unresolvedItemIds": [],
|
|
219
|
-
"warningCount": 1
|
|
220
|
-
},
|
|
221
|
-
"workflowInstructionPacket": {
|
|
222
|
-
"adequacyStatus": "adequate",
|
|
223
|
-
"truncated": false,
|
|
224
|
-
"unresolvedReferences": ["command.repo.unresolved-example"],
|
|
225
|
-
"warningCount": 0
|
|
226
|
-
},
|
|
227
|
-
"targetImmutability": {
|
|
228
|
-
"newMutationCount": 0
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
"warnings": []
|
|
232
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ this is not valid JSON
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "1.0.0",
|
|
3
|
-
"caseId": "CASE-STAGE-CONTEXT-001",
|
|
4
|
-
"title": "Minimal stage-context expectation",
|
|
5
|
-
"description": "Minimal valid expectation fixture for contract validation.",
|
|
6
|
-
"expectedEvidence": [
|
|
7
|
-
{
|
|
8
|
-
"expectationId": "REQ-FILE-001",
|
|
9
|
-
"inclusion": "required",
|
|
10
|
-
"sourceArtifact": "context-capsule",
|
|
11
|
-
"category": "file",
|
|
12
|
-
"match": { "path": "src/example.ts" },
|
|
13
|
-
"notes": []
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"expectedStates": {},
|
|
17
|
-
"warnings": []
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "schemaVersion": "1.0.0", "generatedAt": "2026-07-21T00:00:00.000Z", "tool": { "name": "my-dev-kit", "version": "1.10.2" }
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
["this artifact is an array, not an object"]
|