@rpamis/comet 0.4.0-beta.1 → 0.4.0-beta.11
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 +21 -21
- package/README.md +279 -113
- package/assets/manifest.json +17 -5
- package/assets/skills/comet/SKILL.md +17 -256
- package/assets/skills/comet/reference/auto-transition.md +1 -1
- package/assets/skills/comet/reference/classic-layout.md +34 -0
- package/assets/skills/comet/reference/comet-yaml-fields.md +14 -8
- package/assets/skills/comet/reference/context-recovery.md +14 -4
- package/assets/skills/comet/reference/decision-point.md +11 -0
- package/assets/skills/comet/reference/file-structure.md +2 -2
- package/assets/skills/comet/reference/intent-frame.md +3 -3
- package/assets/skills/comet/reference/scripts.md +47 -15
- package/assets/skills/comet/reference/subagent-dispatch.md +8 -7
- package/assets/skills/comet/rules/comet-phase-guard.en.md +34 -31
- package/assets/skills/comet/rules/comet-phase-guard.md +34 -32
- package/assets/skills/comet/rules/comet-workflow-guard.en.md +32 -0
- package/assets/skills/comet/rules/comet-workflow-guard.md +32 -0
- package/assets/skills/comet/scripts/comet-entry-runtime.mjs +8074 -0
- package/assets/skills/comet/scripts/comet-hook-router.mjs +12086 -0
- package/assets/skills/comet/scripts/comet-resume-probe.mjs +3 -0
- package/assets/skills/comet/scripts/comet-runtime.mjs +10449 -4105
- package/assets/skills/comet-any/SKILL.md +5 -5
- package/assets/skills/comet-any/reference/authored-zone-example.md +10 -5
- package/assets/skills/comet-any/reference/authoring-subagents.md +1 -1
- package/assets/skills/comet-any/reference/bundle-authoring.md +2 -2
- package/assets/skills/comet-any/reference/subagents/pause-points-author.md +14 -11
- package/assets/skills/comet-any/reference/subagents/reference-author.md +1 -1
- package/assets/skills/comet-any/reference/subagents/script-author.md +1 -1
- package/assets/skills/comet-any/reference/subagents/skill-core-author.md +1 -1
- package/assets/skills/comet-any/reference/subagents/skill-reviewer.md +4 -2
- package/assets/skills/comet-any/reference/subagents/workflow-entry-author.md +8 -7
- package/assets/skills/comet-archive/SKILL.md +69 -26
- package/assets/skills/comet-build/SKILL.md +77 -58
- package/assets/skills/comet-classic/SKILL.md +295 -0
- package/assets/skills/comet-design/SKILL.md +40 -36
- package/assets/skills/comet-hotfix/SKILL.md +57 -35
- package/assets/skills/comet-native/SKILL.md +132 -0
- package/assets/skills/comet-native/reference/artifacts.md +141 -0
- package/assets/skills/comet-native/reference/clarification.md +54 -0
- package/assets/skills/comet-native/reference/commands.md +168 -0
- package/assets/skills/comet-native/reference/recovery.md +96 -0
- package/assets/skills/comet-native/scripts/comet-native-hook-guard.mjs +4 -0
- package/assets/skills/comet-native/scripts/comet-native-runtime.mjs +34165 -0
- package/assets/skills/comet-open/SKILL.md +119 -59
- package/assets/skills/comet-tweak/SKILL.md +52 -27
- package/assets/skills/comet-verify/SKILL.md +65 -73
- package/assets/skills-zh/comet/SKILL.md +17 -244
- package/assets/skills-zh/comet/reference/auto-transition.md +1 -1
- package/assets/skills-zh/comet/reference/classic-layout.md +34 -0
- package/assets/skills-zh/comet/reference/comet-yaml-fields.md +13 -8
- package/assets/skills-zh/comet/reference/context-recovery.md +14 -4
- package/assets/skills-zh/comet/reference/decision-point.md +11 -0
- package/assets/skills-zh/comet/reference/file-structure.md +2 -2
- package/assets/skills-zh/comet/reference/intent-frame.md +3 -3
- package/assets/skills-zh/comet/reference/scripts.md +47 -15
- package/assets/skills-zh/comet/reference/subagent-dispatch.md +8 -7
- package/assets/skills-zh/comet-any/SKILL.md +5 -5
- package/assets/skills-zh/comet-any/reference/authored-zone-example.md +10 -5
- package/assets/skills-zh/comet-any/reference/authoring-subagents.md +1 -1
- package/assets/skills-zh/comet-any/reference/bundle-authoring.md +2 -2
- package/assets/skills-zh/comet-any/reference/subagents/pause-points-author.md +14 -12
- package/assets/skills-zh/comet-any/reference/subagents/reference-author.md +1 -1
- package/assets/skills-zh/comet-any/reference/subagents/script-author.md +1 -1
- package/assets/skills-zh/comet-any/reference/subagents/skill-core-author.md +1 -1
- package/assets/skills-zh/comet-any/reference/subagents/skill-reviewer.md +4 -2
- package/assets/skills-zh/comet-any/reference/subagents/workflow-entry-author.md +8 -7
- package/assets/skills-zh/comet-archive/SKILL.md +69 -26
- package/assets/skills-zh/comet-build/SKILL.md +77 -58
- package/assets/skills-zh/comet-classic/SKILL.md +283 -0
- package/assets/skills-zh/comet-design/SKILL.md +40 -36
- package/assets/skills-zh/comet-hotfix/SKILL.md +56 -34
- package/assets/skills-zh/comet-native/SKILL.md +132 -0
- package/assets/skills-zh/comet-native/reference/artifacts.md +141 -0
- package/assets/skills-zh/comet-native/reference/clarification.md +54 -0
- package/assets/skills-zh/comet-native/reference/commands.md +168 -0
- package/assets/skills-zh/comet-native/reference/recovery.md +96 -0
- package/assets/skills-zh/comet-open/SKILL.md +118 -58
- package/assets/skills-zh/comet-tweak/SKILL.md +51 -26
- package/assets/skills-zh/comet-verify/SKILL.md +65 -73
- package/dist/app/cli/comet-banner.d.ts +25 -0
- package/dist/app/cli/comet-banner.d.ts.map +1 -0
- package/dist/app/cli/comet-banner.js +265 -0
- package/dist/app/cli/comet-banner.js.map +1 -0
- package/dist/app/cli/index.js +113 -16
- package/dist/app/cli/index.js.map +1 -1
- package/dist/app/commands/classic.d.ts +5 -0
- package/dist/app/commands/classic.d.ts.map +1 -0
- package/dist/app/commands/classic.js +32 -0
- package/dist/app/commands/classic.js.map +1 -0
- package/dist/app/commands/command-result.d.ts +6 -0
- package/dist/app/commands/command-result.d.ts.map +1 -0
- package/dist/app/commands/command-result.js +4 -0
- package/dist/app/commands/command-result.js.map +1 -0
- package/dist/app/commands/doctor.d.ts +4 -0
- package/dist/app/commands/doctor.d.ts.map +1 -1
- package/dist/app/commands/doctor.js +926 -95
- package/dist/app/commands/doctor.js.map +1 -1
- package/dist/app/commands/eval.d.ts +3 -1
- package/dist/app/commands/eval.d.ts.map +1 -1
- package/dist/app/commands/eval.js +80 -22
- package/dist/app/commands/eval.js.map +1 -1
- package/dist/app/commands/i18n.d.ts +1 -1
- package/dist/app/commands/i18n.d.ts.map +1 -1
- package/dist/app/commands/i18n.js +18 -6
- package/dist/app/commands/i18n.js.map +1 -1
- package/dist/app/commands/init.d.ts +13 -3
- package/dist/app/commands/init.d.ts.map +1 -1
- package/dist/app/commands/init.js +561 -72
- package/dist/app/commands/init.js.map +1 -1
- package/dist/app/commands/native.d.ts +2 -0
- package/dist/app/commands/native.d.ts.map +1 -0
- package/dist/app/commands/native.js +10 -0
- package/dist/app/commands/native.js.map +1 -0
- package/dist/app/commands/project-scope-selection.d.ts +13 -0
- package/dist/app/commands/project-scope-selection.d.ts.map +1 -0
- package/dist/app/commands/project-scope-selection.js +35 -0
- package/dist/app/commands/project-scope-selection.js.map +1 -0
- package/dist/app/commands/resume-probe.d.ts +12 -0
- package/dist/app/commands/resume-probe.d.ts.map +1 -0
- package/dist/app/commands/resume-probe.js +68 -0
- package/dist/app/commands/resume-probe.js.map +1 -0
- package/dist/app/commands/status.d.ts.map +1 -1
- package/dist/app/commands/status.js +70 -104
- package/dist/app/commands/status.js.map +1 -1
- package/dist/app/commands/uninstall.d.ts +5 -0
- package/dist/app/commands/uninstall.d.ts.map +1 -1
- package/dist/app/commands/uninstall.js +264 -53
- package/dist/app/commands/uninstall.js.map +1 -1
- package/dist/app/commands/update.d.ts +29 -5
- package/dist/app/commands/update.d.ts.map +1 -1
- package/dist/app/commands/update.js +1431 -127
- package/dist/app/commands/update.js.map +1 -1
- package/dist/app/commands/workflow.d.ts +6 -0
- package/dist/app/commands/workflow.d.ts.map +1 -0
- package/dist/app/commands/workflow.js +11 -0
- package/dist/app/commands/workflow.js.map +1 -0
- package/dist/config/repository-layout.json +29 -3
- package/dist/domains/bundle/bundle-platform.d.ts +1 -0
- package/dist/domains/bundle/bundle-platform.d.ts.map +1 -1
- package/dist/domains/bundle/bundle-platform.js +10 -4
- package/dist/domains/bundle/bundle-platform.js.map +1 -1
- package/dist/domains/bundle/eval-manifest-runtime.d.ts +8 -0
- package/dist/domains/bundle/eval-manifest-runtime.d.ts.map +1 -0
- package/dist/domains/bundle/eval-manifest-runtime.js +118 -0
- package/dist/domains/bundle/eval-manifest-runtime.js.map +1 -0
- package/dist/domains/bundle/eval-run-result.d.ts +22 -0
- package/dist/domains/bundle/eval-run-result.d.ts.map +1 -0
- package/dist/domains/bundle/eval-run-result.js +207 -0
- package/dist/domains/bundle/eval-run-result.js.map +1 -0
- package/dist/domains/bundle/eval.d.ts.map +1 -1
- package/dist/domains/bundle/eval.js +21 -24
- package/dist/domains/bundle/eval.js.map +1 -1
- package/dist/domains/bundle/factory.d.ts.map +1 -1
- package/dist/domains/bundle/factory.js +2 -9
- package/dist/domains/bundle/factory.js.map +1 -1
- package/dist/domains/bundle/review-summary.js +1 -1
- package/dist/domains/bundle/review-summary.js.map +1 -1
- package/dist/domains/bundle/state.d.ts.map +1 -1
- package/dist/domains/bundle/state.js +117 -2
- package/dist/domains/bundle/state.js.map +1 -1
- package/dist/domains/bundle/types.d.ts +1 -1
- package/dist/domains/bundle/types.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-archive-pointer.d.ts +8 -0
- package/dist/domains/comet-classic/classic-archive-pointer.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-archive-pointer.js +66 -0
- package/dist/domains/comet-classic/classic-archive-pointer.js.map +1 -0
- package/dist/domains/comet-classic/classic-archive.d.ts +1 -0
- package/dist/domains/comet-classic/classic-archive.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-archive.js +205 -114
- package/dist/domains/comet-classic/classic-archive.js.map +1 -1
- package/dist/domains/comet-classic/classic-branch-binding.d.ts +51 -0
- package/dist/domains/comet-classic/classic-branch-binding.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-branch-binding.js +107 -0
- package/dist/domains/comet-classic/classic-branch-binding.js.map +1 -0
- package/dist/domains/comet-classic/classic-cli.d.ts +3 -1
- package/dist/domains/comet-classic/classic-cli.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-cli.js +12 -3
- package/dist/domains/comet-classic/classic-cli.js.map +1 -1
- package/dist/domains/comet-classic/classic-command-checks.d.ts +20 -0
- package/dist/domains/comet-classic/classic-command-checks.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-command-checks.js +94 -0
- package/dist/domains/comet-classic/classic-command-checks.js.map +1 -0
- package/dist/domains/comet-classic/classic-command-context.d.ts +12 -0
- package/dist/domains/comet-classic/classic-command-context.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-command-context.js +42 -0
- package/dist/domains/comet-classic/classic-command-context.js.map +1 -0
- package/dist/domains/comet-classic/classic-current-change.d.ts +17 -0
- package/dist/domains/comet-classic/classic-current-change.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-current-change.js +112 -0
- package/dist/domains/comet-classic/classic-current-change.js.map +1 -0
- package/dist/domains/comet-classic/classic-diagnostics.d.ts +2 -1
- package/dist/domains/comet-classic/classic-diagnostics.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-diagnostics.js +54 -1
- package/dist/domains/comet-classic/classic-diagnostics.js.map +1 -1
- package/dist/domains/comet-classic/classic-evidence.d.ts +1 -0
- package/dist/domains/comet-classic/classic-evidence.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-evidence.js +101 -37
- package/dist/domains/comet-classic/classic-evidence.js.map +1 -1
- package/dist/domains/comet-classic/classic-guard.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-guard.js +229 -208
- package/dist/domains/comet-classic/classic-guard.js.map +1 -1
- package/dist/domains/comet-classic/classic-handoff.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-handoff.js +155 -107
- package/dist/domains/comet-classic/classic-handoff.js.map +1 -1
- package/dist/domains/comet-classic/classic-hook-guard.d.ts +9 -0
- package/dist/domains/comet-classic/classic-hook-guard.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-hook-guard.js +406 -54
- package/dist/domains/comet-classic/classic-hook-guard.js.map +1 -1
- package/dist/domains/comet-classic/classic-layout-initialization.d.ts +86 -0
- package/dist/domains/comet-classic/classic-layout-initialization.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-layout-initialization.js +813 -0
- package/dist/domains/comet-classic/classic-layout-initialization.js.map +1 -0
- package/dist/domains/comet-classic/classic-layout.d.ts +47 -0
- package/dist/domains/comet-classic/classic-layout.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-layout.js +227 -0
- package/dist/domains/comet-classic/classic-layout.js.map +1 -0
- package/dist/domains/comet-classic/classic-migrate.d.ts +4 -0
- package/dist/domains/comet-classic/classic-migrate.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-migrate.js +8 -12
- package/dist/domains/comet-classic/classic-migrate.js.map +1 -1
- package/dist/domains/comet-classic/classic-openspec-command.d.ts +4 -0
- package/dist/domains/comet-classic/classic-openspec-command.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-openspec-command.js +45 -0
- package/dist/domains/comet-classic/classic-openspec-command.js.map +1 -0
- package/dist/domains/comet-classic/classic-openspec-root.d.ts +13 -0
- package/dist/domains/comet-classic/classic-openspec-root.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-openspec-root.js +47 -0
- package/dist/domains/comet-classic/classic-openspec-root.js.map +1 -0
- package/dist/domains/comet-classic/classic-paths.d.ts +11 -1
- package/dist/domains/comet-classic/classic-paths.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-paths.js +87 -35
- package/dist/domains/comet-classic/classic-paths.js.map +1 -1
- package/dist/domains/comet-classic/classic-project-config.d.ts +16 -0
- package/dist/domains/comet-classic/classic-project-config.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-project-config.js +36 -0
- package/dist/domains/comet-classic/classic-project-config.js.map +1 -0
- package/dist/domains/comet-classic/classic-protected-path.d.ts +39 -0
- package/dist/domains/comet-classic/classic-protected-path.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-protected-path.js +69 -0
- package/dist/domains/comet-classic/classic-protected-path.js.map +1 -0
- package/dist/domains/comet-classic/classic-resolver.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-resolver.js +4 -4
- package/dist/domains/comet-classic/classic-resolver.js.map +1 -1
- package/dist/domains/comet-classic/classic-resume-probe-command.d.ts +3 -0
- package/dist/domains/comet-classic/classic-resume-probe-command.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-resume-probe-command.js +59 -0
- package/dist/domains/comet-classic/classic-resume-probe-command.js.map +1 -0
- package/dist/domains/comet-classic/classic-resume-probe-entry.d.ts +2 -0
- package/dist/domains/comet-classic/classic-resume-probe-entry.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-resume-probe-entry.js +4 -0
- package/dist/domains/comet-classic/classic-resume-probe-entry.js.map +1 -0
- package/dist/domains/comet-classic/classic-resume-probe.d.ts +29 -0
- package/dist/domains/comet-classic/classic-resume-probe.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-resume-probe.js +406 -0
- package/dist/domains/comet-classic/classic-resume-probe.js.map +1 -0
- package/dist/domains/comet-classic/classic-root-command.d.ts +5 -0
- package/dist/domains/comet-classic/classic-root-command.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-root-command.js +84 -0
- package/dist/domains/comet-classic/classic-root-command.js.map +1 -0
- package/dist/domains/comet-classic/classic-root-move.d.ts +119 -0
- package/dist/domains/comet-classic/classic-root-move.d.ts.map +1 -0
- package/dist/domains/comet-classic/classic-root-move.js +1737 -0
- package/dist/domains/comet-classic/classic-root-move.js.map +1 -0
- package/dist/domains/comet-classic/classic-runtime-run.d.ts +2 -1
- package/dist/domains/comet-classic/classic-runtime-run.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-runtime-run.js +278 -5
- package/dist/domains/comet-classic/classic-runtime-run.js.map +1 -1
- package/dist/domains/comet-classic/classic-state-command.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-state-command.js +342 -87
- package/dist/domains/comet-classic/classic-state-command.js.map +1 -1
- package/dist/domains/comet-classic/classic-state-events.d.ts +1 -1
- package/dist/domains/comet-classic/classic-state-events.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-state-events.js +3 -4
- package/dist/domains/comet-classic/classic-state-events.js.map +1 -1
- package/dist/domains/comet-classic/classic-state.d.ts +6 -4
- package/dist/domains/comet-classic/classic-state.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-state.js +20 -7
- package/dist/domains/comet-classic/classic-state.js.map +1 -1
- package/dist/domains/comet-classic/classic-store.d.ts +6 -1
- package/dist/domains/comet-classic/classic-store.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-store.js +36 -23
- package/dist/domains/comet-classic/classic-store.js.map +1 -1
- package/dist/domains/comet-classic/classic-transitions.d.ts +1 -1
- package/dist/domains/comet-classic/classic-transitions.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-transitions.js +37 -3
- package/dist/domains/comet-classic/classic-transitions.js.map +1 -1
- package/dist/domains/comet-classic/classic-validate-command.d.ts.map +1 -1
- package/dist/domains/comet-classic/classic-validate-command.js +40 -20
- package/dist/domains/comet-classic/classic-validate-command.js.map +1 -1
- package/dist/domains/comet-classic/index.d.ts +3 -0
- package/dist/domains/comet-classic/index.d.ts.map +1 -1
- package/dist/domains/comet-classic/index.js +3 -0
- package/dist/domains/comet-classic/index.js.map +1 -1
- package/dist/domains/comet-entry/current-selection-repair.d.ts +17 -0
- package/dist/domains/comet-entry/current-selection-repair.d.ts.map +1 -0
- package/dist/domains/comet-entry/current-selection-repair.js +19 -0
- package/dist/domains/comet-entry/current-selection-repair.js.map +1 -0
- package/dist/domains/comet-entry/current-selection.d.ts +28 -0
- package/dist/domains/comet-entry/current-selection.d.ts.map +1 -0
- package/dist/domains/comet-entry/current-selection.js +114 -0
- package/dist/domains/comet-entry/current-selection.js.map +1 -0
- package/dist/domains/comet-entry/entry-runtime-entry.d.ts +2 -0
- package/dist/domains/comet-entry/entry-runtime-entry.d.ts.map +1 -0
- package/dist/domains/comet-entry/entry-runtime-entry.js +3 -0
- package/dist/domains/comet-entry/entry-runtime-entry.js.map +1 -0
- package/dist/domains/comet-entry/entry-runtime.d.ts +7 -0
- package/dist/domains/comet-entry/entry-runtime.d.ts.map +1 -0
- package/dist/domains/comet-entry/entry-runtime.js +55 -0
- package/dist/domains/comet-entry/entry-runtime.js.map +1 -0
- package/dist/domains/comet-entry/hook-adapter.d.ts +6 -0
- package/dist/domains/comet-entry/hook-adapter.d.ts.map +1 -0
- package/dist/domains/comet-entry/hook-adapter.js +202 -0
- package/dist/domains/comet-entry/hook-adapter.js.map +1 -0
- package/dist/domains/comet-entry/hook-router-entry.d.ts +8 -0
- package/dist/domains/comet-entry/hook-router-entry.d.ts.map +1 -0
- package/dist/domains/comet-entry/hook-router-entry.js +88 -0
- package/dist/domains/comet-entry/hook-router-entry.js.map +1 -0
- package/dist/domains/comet-entry/hook-router.d.ts +32 -0
- package/dist/domains/comet-entry/hook-router.d.ts.map +1 -0
- package/dist/domains/comet-entry/hook-router.js +133 -0
- package/dist/domains/comet-entry/hook-router.js.map +1 -0
- package/dist/domains/comet-entry/hook-types.d.ts +20 -0
- package/dist/domains/comet-entry/hook-types.d.ts.map +1 -0
- package/dist/domains/comet-entry/hook-types.js +2 -0
- package/dist/domains/comet-entry/hook-types.js.map +1 -0
- package/dist/domains/comet-entry/init-workflow.d.ts +19 -0
- package/dist/domains/comet-entry/init-workflow.d.ts.map +1 -0
- package/dist/domains/comet-entry/init-workflow.js +132 -0
- package/dist/domains/comet-entry/init-workflow.js.map +1 -0
- package/dist/domains/comet-entry/project-status.d.ts +3 -0
- package/dist/domains/comet-entry/project-status.d.ts.map +1 -0
- package/dist/domains/comet-entry/project-status.js +291 -0
- package/dist/domains/comet-entry/project-status.js.map +1 -0
- package/dist/domains/comet-entry/resolve-entry.d.ts +3 -0
- package/dist/domains/comet-entry/resolve-entry.d.ts.map +1 -0
- package/dist/domains/comet-entry/resolve-entry.js +18 -0
- package/dist/domains/comet-entry/resolve-entry.js.map +1 -0
- package/dist/domains/comet-entry/resume-probe.d.ts +34 -0
- package/dist/domains/comet-entry/resume-probe.d.ts.map +1 -0
- package/dist/domains/comet-entry/resume-probe.js +462 -0
- package/dist/domains/comet-entry/resume-probe.js.map +1 -0
- package/dist/domains/comet-entry/types.d.ts +60 -0
- package/dist/domains/comet-entry/types.d.ts.map +1 -0
- package/dist/domains/comet-entry/types.js +2 -0
- package/dist/domains/comet-entry/types.js.map +1 -0
- package/dist/domains/comet-entry/workflow-resolution.d.ts +8 -0
- package/dist/domains/comet-entry/workflow-resolution.d.ts.map +1 -0
- package/dist/domains/comet-entry/workflow-resolution.js +16 -0
- package/dist/domains/comet-entry/workflow-resolution.js.map +1 -0
- package/dist/domains/comet-native/index.d.ts +35 -0
- package/dist/domains/comet-native/index.d.ts.map +1 -0
- package/dist/domains/comet-native/index.js +35 -0
- package/dist/domains/comet-native/index.js.map +1 -0
- package/dist/domains/comet-native/native-acceptance.d.ts +53 -0
- package/dist/domains/comet-native/native-acceptance.d.ts.map +1 -0
- package/dist/domains/comet-native/native-acceptance.js +658 -0
- package/dist/domains/comet-native/native-acceptance.js.map +1 -0
- package/dist/domains/comet-native/native-archive-content.d.ts +26 -0
- package/dist/domains/comet-native/native-archive-content.d.ts.map +1 -0
- package/dist/domains/comet-native/native-archive-content.js +159 -0
- package/dist/domains/comet-native/native-archive-content.js.map +1 -0
- package/dist/domains/comet-native/native-archive-inspection.d.ts +9 -0
- package/dist/domains/comet-native/native-archive-inspection.d.ts.map +1 -0
- package/dist/domains/comet-native/native-archive-inspection.js +97 -0
- package/dist/domains/comet-native/native-archive-inspection.js.map +1 -0
- package/dist/domains/comet-native/native-archive-preflight.d.ts +54 -0
- package/dist/domains/comet-native/native-archive-preflight.d.ts.map +1 -0
- package/dist/domains/comet-native/native-archive-preflight.js +222 -0
- package/dist/domains/comet-native/native-archive-preflight.js.map +1 -0
- package/dist/domains/comet-native/native-archive-transaction.d.ts +20 -0
- package/dist/domains/comet-native/native-archive-transaction.d.ts.map +1 -0
- package/dist/domains/comet-native/native-archive-transaction.js +1183 -0
- package/dist/domains/comet-native/native-archive-transaction.js.map +1 -0
- package/dist/domains/comet-native/native-archive.d.ts +36 -0
- package/dist/domains/comet-native/native-archive.d.ts.map +1 -0
- package/dist/domains/comet-native/native-archive.js +422 -0
- package/dist/domains/comet-native/native-archive.js.map +1 -0
- package/dist/domains/comet-native/native-artifacts.d.ts +10 -0
- package/dist/domains/comet-native/native-artifacts.d.ts.map +1 -0
- package/dist/domains/comet-native/native-artifacts.js +204 -0
- package/dist/domains/comet-native/native-artifacts.js.map +1 -0
- package/dist/domains/comet-native/native-atomic-file.d.ts +10 -0
- package/dist/domains/comet-native/native-atomic-file.d.ts.map +1 -0
- package/dist/domains/comet-native/native-atomic-file.js +179 -0
- package/dist/domains/comet-native/native-atomic-file.js.map +1 -0
- package/dist/domains/comet-native/native-bounded-file.d.ts +19 -0
- package/dist/domains/comet-native/native-bounded-file.d.ts.map +1 -0
- package/dist/domains/comet-native/native-bounded-file.js +184 -0
- package/dist/domains/comet-native/native-bounded-file.js.map +1 -0
- package/dist/domains/comet-native/native-build-evidence.d.ts +42 -0
- package/dist/domains/comet-native/native-build-evidence.d.ts.map +1 -0
- package/dist/domains/comet-native/native-build-evidence.js +257 -0
- package/dist/domains/comet-native/native-build-evidence.js.map +1 -0
- package/dist/domains/comet-native/native-canonical-hash.d.ts +10 -0
- package/dist/domains/comet-native/native-canonical-hash.d.ts.map +1 -0
- package/dist/domains/comet-native/native-canonical-hash.js +100 -0
- package/dist/domains/comet-native/native-canonical-hash.js.map +1 -0
- package/dist/domains/comet-native/native-change-recovery.d.ts +11 -0
- package/dist/domains/comet-native/native-change-recovery.d.ts.map +1 -0
- package/dist/domains/comet-native/native-change-recovery.js +15 -0
- package/dist/domains/comet-native/native-change-recovery.js.map +1 -0
- package/dist/domains/comet-native/native-change.d.ts +64 -0
- package/dist/domains/comet-native/native-change.d.ts.map +1 -0
- package/dist/domains/comet-native/native-change.js +738 -0
- package/dist/domains/comet-native/native-change.js.map +1 -0
- package/dist/domains/comet-native/native-check-receipt-model.d.ts +63 -0
- package/dist/domains/comet-native/native-check-receipt-model.d.ts.map +1 -0
- package/dist/domains/comet-native/native-check-receipt-model.js +352 -0
- package/dist/domains/comet-native/native-check-receipt-model.js.map +1 -0
- package/dist/domains/comet-native/native-check-receipt-storage.d.ts +10 -0
- package/dist/domains/comet-native/native-check-receipt-storage.d.ts.map +1 -0
- package/dist/domains/comet-native/native-check-receipt-storage.js +200 -0
- package/dist/domains/comet-native/native-check-receipt-storage.js.map +1 -0
- package/dist/domains/comet-native/native-check-receipt.d.ts +19 -0
- package/dist/domains/comet-native/native-check-receipt.d.ts.map +1 -0
- package/dist/domains/comet-native/native-check-receipt.js +453 -0
- package/dist/domains/comet-native/native-check-receipt.js.map +1 -0
- package/dist/domains/comet-native/native-check.d.ts +24 -0
- package/dist/domains/comet-native/native-check.d.ts.map +1 -0
- package/dist/domains/comet-native/native-check.js +38 -0
- package/dist/domains/comet-native/native-check.js.map +1 -0
- package/dist/domains/comet-native/native-checkpoint-journal.d.ts +13 -0
- package/dist/domains/comet-native/native-checkpoint-journal.d.ts.map +1 -0
- package/dist/domains/comet-native/native-checkpoint-journal.js +53 -0
- package/dist/domains/comet-native/native-checkpoint-journal.js.map +1 -0
- package/dist/domains/comet-native/native-checkpoint-storage.d.ts +43 -0
- package/dist/domains/comet-native/native-checkpoint-storage.d.ts.map +1 -0
- package/dist/domains/comet-native/native-checkpoint-storage.js +487 -0
- package/dist/domains/comet-native/native-checkpoint-storage.js.map +1 -0
- package/dist/domains/comet-native/native-cli-entry.d.ts +2 -0
- package/dist/domains/comet-native/native-cli-entry.d.ts.map +1 -0
- package/dist/domains/comet-native/native-cli-entry.js +18 -0
- package/dist/domains/comet-native/native-cli-entry.js.map +1 -0
- package/dist/domains/comet-native/native-cli.d.ts +7 -0
- package/dist/domains/comet-native/native-cli.d.ts.map +1 -0
- package/dist/domains/comet-native/native-cli.js +1256 -0
- package/dist/domains/comet-native/native-cli.js.map +1 -0
- package/dist/domains/comet-native/native-config.d.ts +23 -0
- package/dist/domains/comet-native/native-config.d.ts.map +1 -0
- package/dist/domains/comet-native/native-config.js +60 -0
- package/dist/domains/comet-native/native-config.js.map +1 -0
- package/dist/domains/comet-native/native-conflict-inspection.d.ts +17 -0
- package/dist/domains/comet-native/native-conflict-inspection.d.ts.map +1 -0
- package/dist/domains/comet-native/native-conflict-inspection.js +90 -0
- package/dist/domains/comet-native/native-conflict-inspection.js.map +1 -0
- package/dist/domains/comet-native/native-conflict-radar.d.ts +75 -0
- package/dist/domains/comet-native/native-conflict-radar.d.ts.map +1 -0
- package/dist/domains/comet-native/native-conflict-radar.js +326 -0
- package/dist/domains/comet-native/native-conflict-radar.js.map +1 -0
- package/dist/domains/comet-native/native-continuation.d.ts +12 -0
- package/dist/domains/comet-native/native-continuation.d.ts.map +1 -0
- package/dist/domains/comet-native/native-continuation.js +201 -0
- package/dist/domains/comet-native/native-continuation.js.map +1 -0
- package/dist/domains/comet-native/native-contract-files.d.ts +24 -0
- package/dist/domains/comet-native/native-contract-files.d.ts.map +1 -0
- package/dist/domains/comet-native/native-contract-files.js +66 -0
- package/dist/domains/comet-native/native-contract-files.js.map +1 -0
- package/dist/domains/comet-native/native-contract.d.ts +41 -0
- package/dist/domains/comet-native/native-contract.d.ts.map +1 -0
- package/dist/domains/comet-native/native-contract.js +142 -0
- package/dist/domains/comet-native/native-contract.js.map +1 -0
- package/dist/domains/comet-native/native-controller-trust.d.ts +21 -0
- package/dist/domains/comet-native/native-controller-trust.d.ts.map +1 -0
- package/dist/domains/comet-native/native-controller-trust.js +140 -0
- package/dist/domains/comet-native/native-controller-trust.js.map +1 -0
- package/dist/domains/comet-native/native-diagnostics.d.ts +25 -0
- package/dist/domains/comet-native/native-diagnostics.d.ts.map +1 -0
- package/dist/domains/comet-native/native-diagnostics.js +551 -0
- package/dist/domains/comet-native/native-diagnostics.js.map +1 -0
- package/dist/domains/comet-native/native-doctor.d.ts +12 -0
- package/dist/domains/comet-native/native-doctor.d.ts.map +1 -0
- package/dist/domains/comet-native/native-doctor.js +771 -0
- package/dist/domains/comet-native/native-doctor.js.map +1 -0
- package/dist/domains/comet-native/native-evidence-retention.d.ts +37 -0
- package/dist/domains/comet-native/native-evidence-retention.d.ts.map +1 -0
- package/dist/domains/comet-native/native-evidence-retention.js +916 -0
- package/dist/domains/comet-native/native-evidence-retention.js.map +1 -0
- package/dist/domains/comet-native/native-evidence-storage.d.ts +54 -0
- package/dist/domains/comet-native/native-evidence-storage.d.ts.map +1 -0
- package/dist/domains/comet-native/native-evidence-storage.js +401 -0
- package/dist/domains/comet-native/native-evidence-storage.js.map +1 -0
- package/dist/domains/comet-native/native-file-identity.d.ts +3 -0
- package/dist/domains/comet-native/native-file-identity.d.ts.map +1 -0
- package/dist/domains/comet-native/native-file-identity.js +2 -0
- package/dist/domains/comet-native/native-file-identity.js.map +1 -0
- package/dist/domains/comet-native/native-findings.d.ts +8 -0
- package/dist/domains/comet-native/native-findings.d.ts.map +1 -0
- package/dist/domains/comet-native/native-findings.js +254 -0
- package/dist/domains/comet-native/native-findings.js.map +1 -0
- package/dist/domains/comet-native/native-guards.d.ts +8 -0
- package/dist/domains/comet-native/native-guards.d.ts.map +1 -0
- package/dist/domains/comet-native/native-guards.js +140 -0
- package/dist/domains/comet-native/native-guards.js.map +1 -0
- package/dist/domains/comet-native/native-hash.d.ts +3 -0
- package/dist/domains/comet-native/native-hash.d.ts.map +1 -0
- package/dist/domains/comet-native/native-hash.js +12 -0
- package/dist/domains/comet-native/native-hash.js.map +1 -0
- package/dist/domains/comet-native/native-hook-guard.d.ts +17 -0
- package/dist/domains/comet-native/native-hook-guard.d.ts.map +1 -0
- package/dist/domains/comet-native/native-hook-guard.js +154 -0
- package/dist/domains/comet-native/native-hook-guard.js.map +1 -0
- package/dist/domains/comet-native/native-independent-review.d.ts +28 -0
- package/dist/domains/comet-native/native-independent-review.d.ts.map +1 -0
- package/dist/domains/comet-native/native-independent-review.js +134 -0
- package/dist/domains/comet-native/native-independent-review.js.map +1 -0
- package/dist/domains/comet-native/native-lock.d.ts +47 -0
- package/dist/domains/comet-native/native-lock.d.ts.map +1 -0
- package/dist/domains/comet-native/native-lock.js +390 -0
- package/dist/domains/comet-native/native-lock.js.map +1 -0
- package/dist/domains/comet-native/native-mutation-lock.d.ts +5 -0
- package/dist/domains/comet-native/native-mutation-lock.d.ts.map +1 -0
- package/dist/domains/comet-native/native-mutation-lock.js +66 -0
- package/dist/domains/comet-native/native-mutation-lock.js.map +1 -0
- package/dist/domains/comet-native/native-paths.d.ts +10 -0
- package/dist/domains/comet-native/native-paths.d.ts.map +1 -0
- package/dist/domains/comet-native/native-paths.js +160 -0
- package/dist/domains/comet-native/native-paths.js.map +1 -0
- package/dist/domains/comet-native/native-progress-checkpoint.d.ts +13 -0
- package/dist/domains/comet-native/native-progress-checkpoint.d.ts.map +1 -0
- package/dist/domains/comet-native/native-progress-checkpoint.js +104 -0
- package/dist/domains/comet-native/native-progress-checkpoint.js.map +1 -0
- package/dist/domains/comet-native/native-protected-file.d.ts +113 -0
- package/dist/domains/comet-native/native-protected-file.d.ts.map +1 -0
- package/dist/domains/comet-native/native-protected-file.js +510 -0
- package/dist/domains/comet-native/native-protected-file.js.map +1 -0
- package/dist/domains/comet-native/native-redaction.d.ts +2 -0
- package/dist/domains/comet-native/native-redaction.d.ts.map +1 -0
- package/dist/domains/comet-native/native-redaction.js +18 -0
- package/dist/domains/comet-native/native-redaction.js.map +1 -0
- package/dist/domains/comet-native/native-repair-integration.d.ts +46 -0
- package/dist/domains/comet-native/native-repair-integration.d.ts.map +1 -0
- package/dist/domains/comet-native/native-repair-integration.js +235 -0
- package/dist/domains/comet-native/native-repair-integration.js.map +1 -0
- package/dist/domains/comet-native/native-repair-runtime.d.ts +78 -0
- package/dist/domains/comet-native/native-repair-runtime.d.ts.map +1 -0
- package/dist/domains/comet-native/native-repair-runtime.js +593 -0
- package/dist/domains/comet-native/native-repair-runtime.js.map +1 -0
- package/dist/domains/comet-native/native-repair-stagnation.d.ts +89 -0
- package/dist/domains/comet-native/native-repair-stagnation.d.ts.map +1 -0
- package/dist/domains/comet-native/native-repair-stagnation.js +308 -0
- package/dist/domains/comet-native/native-repair-stagnation.js.map +1 -0
- package/dist/domains/comet-native/native-resume-view.d.ts +14 -0
- package/dist/domains/comet-native/native-resume-view.d.ts.map +1 -0
- package/dist/domains/comet-native/native-resume-view.js +105 -0
- package/dist/domains/comet-native/native-resume-view.js.map +1 -0
- package/dist/domains/comet-native/native-review-contract.d.ts +6 -0
- package/dist/domains/comet-native/native-review-contract.d.ts.map +1 -0
- package/dist/domains/comet-native/native-review-contract.js +6 -0
- package/dist/domains/comet-native/native-review-contract.js.map +1 -0
- package/dist/domains/comet-native/native-review-identity.d.ts +50 -0
- package/dist/domains/comet-native/native-review-identity.d.ts.map +1 -0
- package/dist/domains/comet-native/native-review-identity.js +209 -0
- package/dist/domains/comet-native/native-review-identity.js.map +1 -0
- package/dist/domains/comet-native/native-review-signer.d.ts +24 -0
- package/dist/domains/comet-native/native-review-signer.d.ts.map +1 -0
- package/dist/domains/comet-native/native-review-signer.js +125 -0
- package/dist/domains/comet-native/native-review-signer.js.map +1 -0
- package/dist/domains/comet-native/native-review-trust.d.ts +35 -0
- package/dist/domains/comet-native/native-review-trust.d.ts.map +1 -0
- package/dist/domains/comet-native/native-review-trust.js +176 -0
- package/dist/domains/comet-native/native-review-trust.js.map +1 -0
- package/dist/domains/comet-native/native-revision.d.ts +20 -0
- package/dist/domains/comet-native/native-revision.d.ts.map +1 -0
- package/dist/domains/comet-native/native-revision.js +32 -0
- package/dist/domains/comet-native/native-revision.js.map +1 -0
- package/dist/domains/comet-native/native-root-move.d.ts +20 -0
- package/dist/domains/comet-native/native-root-move.d.ts.map +1 -0
- package/dist/domains/comet-native/native-root-move.js +818 -0
- package/dist/domains/comet-native/native-root-move.js.map +1 -0
- package/dist/domains/comet-native/native-run-consistency.d.ts +3 -0
- package/dist/domains/comet-native/native-run-consistency.d.ts.map +1 -0
- package/dist/domains/comet-native/native-run-consistency.js +136 -0
- package/dist/domains/comet-native/native-run-consistency.js.map +1 -0
- package/dist/domains/comet-native/native-run-store.d.ts +41 -0
- package/dist/domains/comet-native/native-run-store.d.ts.map +1 -0
- package/dist/domains/comet-native/native-run-store.js +452 -0
- package/dist/domains/comet-native/native-run-store.js.map +1 -0
- package/dist/domains/comet-native/native-runtime-package.d.ts +16 -0
- package/dist/domains/comet-native/native-runtime-package.d.ts.map +1 -0
- package/dist/domains/comet-native/native-runtime-package.js +72 -0
- package/dist/domains/comet-native/native-runtime-package.js.map +1 -0
- package/dist/domains/comet-native/native-schema-migration.d.ts +11 -0
- package/dist/domains/comet-native/native-schema-migration.d.ts.map +1 -0
- package/dist/domains/comet-native/native-schema-migration.js +900 -0
- package/dist/domains/comet-native/native-schema-migration.js.map +1 -0
- package/dist/domains/comet-native/native-selection.d.ts +12 -0
- package/dist/domains/comet-native/native-selection.d.ts.map +1 -0
- package/dist/domains/comet-native/native-selection.js +52 -0
- package/dist/domains/comet-native/native-selection.js.map +1 -0
- package/dist/domains/comet-native/native-sensitive-paths.d.ts +7 -0
- package/dist/domains/comet-native/native-sensitive-paths.d.ts.map +1 -0
- package/dist/domains/comet-native/native-sensitive-paths.js +69 -0
- package/dist/domains/comet-native/native-sensitive-paths.js.map +1 -0
- package/dist/domains/comet-native/native-snapshot.d.ts +78 -0
- package/dist/domains/comet-native/native-snapshot.d.ts.map +1 -0
- package/dist/domains/comet-native/native-snapshot.js +2572 -0
- package/dist/domains/comet-native/native-snapshot.js.map +1 -0
- package/dist/domains/comet-native/native-specs.d.ts +12 -0
- package/dist/domains/comet-native/native-specs.d.ts.map +1 -0
- package/dist/domains/comet-native/native-specs.js +270 -0
- package/dist/domains/comet-native/native-specs.js.map +1 -0
- package/dist/domains/comet-native/native-trajectory-limits.d.ts +7 -0
- package/dist/domains/comet-native/native-trajectory-limits.d.ts.map +1 -0
- package/dist/domains/comet-native/native-trajectory-limits.js +13 -0
- package/dist/domains/comet-native/native-trajectory-limits.js.map +1 -0
- package/dist/domains/comet-native/native-trajectory-recovery.d.ts +37 -0
- package/dist/domains/comet-native/native-trajectory-recovery.d.ts.map +1 -0
- package/dist/domains/comet-native/native-trajectory-recovery.js +133 -0
- package/dist/domains/comet-native/native-trajectory-recovery.js.map +1 -0
- package/dist/domains/comet-native/native-trajectory.d.ts +16 -0
- package/dist/domains/comet-native/native-trajectory.d.ts.map +1 -0
- package/dist/domains/comet-native/native-trajectory.js +27 -0
- package/dist/domains/comet-native/native-trajectory.js.map +1 -0
- package/dist/domains/comet-native/native-transaction.d.ts +45 -0
- package/dist/domains/comet-native/native-transaction.d.ts.map +1 -0
- package/dist/domains/comet-native/native-transaction.js +846 -0
- package/dist/domains/comet-native/native-transaction.js.map +1 -0
- package/dist/domains/comet-native/native-transition-evidence.d.ts +4 -0
- package/dist/domains/comet-native/native-transition-evidence.d.ts.map +1 -0
- package/dist/domains/comet-native/native-transition-evidence.js +27 -0
- package/dist/domains/comet-native/native-transition-evidence.js.map +1 -0
- package/dist/domains/comet-native/native-transition-journal.d.ts +30 -0
- package/dist/domains/comet-native/native-transition-journal.d.ts.map +1 -0
- package/dist/domains/comet-native/native-transition-journal.js +819 -0
- package/dist/domains/comet-native/native-transition-journal.js.map +1 -0
- package/dist/domains/comet-native/native-transitions.d.ts +15 -0
- package/dist/domains/comet-native/native-transitions.d.ts.map +1 -0
- package/dist/domains/comet-native/native-transitions.js +683 -0
- package/dist/domains/comet-native/native-transitions.js.map +1 -0
- package/dist/domains/comet-native/native-types.d.ts +547 -0
- package/dist/domains/comet-native/native-types.d.ts.map +1 -0
- package/dist/domains/comet-native/native-types.js +8 -0
- package/dist/domains/comet-native/native-types.js.map +1 -0
- package/dist/domains/comet-native/native-verification-evidence.d.ts +136 -0
- package/dist/domains/comet-native/native-verification-evidence.d.ts.map +1 -0
- package/dist/domains/comet-native/native-verification-evidence.js +824 -0
- package/dist/domains/comet-native/native-verification-evidence.js.map +1 -0
- package/dist/domains/comet-native/native-verification-receipt-runtime.d.ts +188 -0
- package/dist/domains/comet-native/native-verification-receipt-runtime.d.ts.map +1 -0
- package/dist/domains/comet-native/native-verification-receipt-runtime.js +1129 -0
- package/dist/domains/comet-native/native-verification-receipt-runtime.js.map +1 -0
- package/dist/domains/comet-native/native-verification-receipt.d.ts +165 -0
- package/dist/domains/comet-native/native-verification-receipt.d.ts.map +1 -0
- package/dist/domains/comet-native/native-verification-receipt.js +636 -0
- package/dist/domains/comet-native/native-verification-receipt.js.map +1 -0
- package/dist/domains/comet-native/native-verification-runtime.d.ts +61 -0
- package/dist/domains/comet-native/native-verification-runtime.d.ts.map +1 -0
- package/dist/domains/comet-native/native-verification-runtime.js +609 -0
- package/dist/domains/comet-native/native-verification-runtime.js.map +1 -0
- package/dist/domains/comet-native/native-verification-scope.d.ts +118 -0
- package/dist/domains/comet-native/native-verification-scope.d.ts.map +1 -0
- package/dist/domains/comet-native/native-verification-scope.js +1045 -0
- package/dist/domains/comet-native/native-verification-scope.js.map +1 -0
- package/dist/domains/comet-native/native-workspace.d.ts +46 -0
- package/dist/domains/comet-native/native-workspace.d.ts.map +1 -0
- package/dist/domains/comet-native/native-workspace.js +276 -0
- package/dist/domains/comet-native/native-workspace.js.map +1 -0
- package/dist/domains/dashboard/collector.d.ts.map +1 -1
- package/dist/domains/dashboard/collector.js +182 -75
- package/dist/domains/dashboard/collector.js.map +1 -1
- package/dist/domains/dashboard/native-adapter.d.ts +157 -0
- package/dist/domains/dashboard/native-adapter.d.ts.map +1 -0
- package/dist/domains/dashboard/native-adapter.js +302 -0
- package/dist/domains/dashboard/native-adapter.js.map +1 -0
- package/dist/domains/dashboard/native-collector.d.ts +6 -0
- package/dist/domains/dashboard/native-collector.d.ts.map +1 -0
- package/dist/domains/dashboard/native-collector.js +289 -0
- package/dist/domains/dashboard/native-collector.js.map +1 -0
- package/dist/domains/dashboard/types.d.ts +10 -0
- package/dist/domains/dashboard/types.d.ts.map +1 -1
- package/dist/domains/dashboard/verify-parser.d.ts.map +1 -1
- package/dist/domains/dashboard/verify-parser.js +37 -31
- package/dist/domains/dashboard/verify-parser.js.map +1 -1
- package/dist/domains/dashboard/web/assets/_commonjsHelpers-CqkleIqs.js +1 -0
- package/dist/domains/dashboard/web/assets/arc-BXWNV2Qv.js +1 -0
- package/dist/domains/dashboard/web/assets/architectureDiagram-3BPJPVTR-CjVHPivo.js +36 -0
- package/dist/domains/dashboard/web/assets/blockDiagram-GPEHLZMM-P2PGImSM.js +132 -0
- package/dist/domains/dashboard/web/assets/c4Diagram-AAUBKEIU-fTj6Xhs1.js +10 -0
- package/dist/domains/dashboard/web/assets/channel--JtnhJr8.js +1 -0
- package/dist/domains/dashboard/web/assets/chunk-2J33WTMH-BjFDZ5yo.js +1 -0
- package/dist/domains/dashboard/web/assets/chunk-4BX2VUAB-BAUkbZdT.js +1 -0
- package/dist/domains/dashboard/web/assets/chunk-55IACEB6-DBmuiYme.js +1 -0
- package/dist/domains/dashboard/web/assets/chunk-727SXJPM-Do9ufCgY.js +206 -0
- package/dist/domains/dashboard/web/assets/chunk-AQP2D5EJ-qRQWlB5d.js +231 -0
- package/dist/domains/dashboard/web/assets/chunk-FMBD7UC4-BzDzeJ4_.js +15 -0
- package/dist/domains/dashboard/web/assets/chunk-ND2GUHAM-OQcAmIvL.js +1 -0
- package/dist/domains/dashboard/web/assets/chunk-QZHKN3VN-BiRfH4d2.js +1 -0
- package/dist/domains/dashboard/web/assets/classDiagram-4FO5ZUOK-BRGmx8Iz.js +1 -0
- package/dist/domains/dashboard/web/assets/classDiagram-v2-Q7XG4LA2-BRGmx8Iz.js +1 -0
- package/dist/domains/dashboard/web/assets/cose-bilkent-S5V4N54A-CZk37fGn.js +1 -0
- package/dist/domains/dashboard/web/assets/cynefin-VYW2F7L2-B3F-qRTJ.js +166 -0
- package/dist/domains/dashboard/web/assets/cytoscape.esm-D3_iZ_3b.js +321 -0
- package/dist/domains/dashboard/web/assets/dagre-BM42HDAG-D5BQ0eqN.js +4 -0
- package/dist/domains/dashboard/web/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/domains/dashboard/web/assets/demo-BuVau32v.js +25 -0
- package/dist/domains/dashboard/web/assets/diagram-2AECGRRQ-33mXstha.js +43 -0
- package/dist/domains/dashboard/web/assets/diagram-5GNKFQAL-BWHCMFvD.js +10 -0
- package/dist/domains/dashboard/web/assets/diagram-KO2AKTUF-DrPGimEt.js +3 -0
- package/dist/domains/dashboard/web/assets/diagram-LMA3HP47-BBlsg7jG.js +24 -0
- package/dist/domains/dashboard/web/assets/diagram-OG6HWLK6-CsaFSpHi.js +24 -0
- package/dist/domains/dashboard/web/assets/erDiagram-TEJ5UH35-CoB0mzhk.js +85 -0
- package/dist/domains/dashboard/web/assets/flowDiagram-I6XJVG4X-lT53XfSE.js +162 -0
- package/dist/domains/dashboard/web/assets/ganttDiagram-6RSMTGT7-D1SQ56fl.js +292 -0
- package/dist/domains/dashboard/web/assets/gitGraphDiagram-PVQCEYII-D4oDMS5x.js +106 -0
- package/dist/domains/dashboard/web/assets/graph--OzhPTMs.js +1 -0
- package/dist/domains/dashboard/web/assets/index-D-AGxvI4.css +1 -0
- package/dist/domains/dashboard/web/assets/index-DlSYK56b.js +139 -0
- package/dist/domains/dashboard/web/assets/index-Msce_H_q.js +24 -0
- package/dist/domains/dashboard/web/assets/index-QO0z6F4w.js +10 -0
- package/dist/domains/dashboard/web/assets/infoDiagram-5YYISTIA-BeICn98s.js +2 -0
- package/dist/domains/dashboard/web/assets/init-Gi6I4Gst.js +1 -0
- package/dist/domains/dashboard/web/assets/ishikawaDiagram-YF4QCWOH-Dkspu33d.js +70 -0
- package/dist/domains/dashboard/web/assets/journeyDiagram-JHISSGLW-C-EM1sZl.js +139 -0
- package/dist/domains/dashboard/web/assets/kanban-definition-UN3LZRKU-BTbB0IO2.js +89 -0
- package/dist/domains/dashboard/web/assets/katex-HP8lGamR.js +257 -0
- package/dist/domains/dashboard/web/assets/layout-SsrduOYp.js +1 -0
- package/dist/domains/dashboard/web/assets/linear-Cp0UrqDr.js +1 -0
- package/dist/domains/dashboard/web/assets/marked.esm-DECB3bxB.js +64 -0
- package/dist/domains/dashboard/web/assets/mermaid.core-CucmqsLW.js +301 -0
- package/dist/domains/dashboard/web/assets/mindmap-definition-RKZ34NQL-CjEshF1X.js +96 -0
- package/dist/domains/dashboard/web/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/domains/dashboard/web/assets/pieDiagram-4H26LBE5-DrwFnX1b.js +30 -0
- package/dist/domains/dashboard/web/assets/purify.es-VaSPOPhr.js +3 -0
- package/dist/domains/dashboard/web/assets/quadrantDiagram-W4KKPZXB-CjG6pBR2.js +7 -0
- package/dist/domains/dashboard/web/assets/requirementDiagram-4Y6WPE33-BpUQVqCV.js +84 -0
- package/dist/domains/dashboard/web/assets/sankeyDiagram-5OEKKPKP-BeGkEvzR.js +40 -0
- package/dist/domains/dashboard/web/assets/sequenceDiagram-3UESZ5HK-sSTU3MCO.js +162 -0
- package/dist/domains/dashboard/web/assets/stateDiagram-AJRCARHV-CcFBc6qh.js +1 -0
- package/dist/domains/dashboard/web/assets/stateDiagram-v2-BHNVJYJU-D5zZYi4x.js +1 -0
- package/dist/domains/dashboard/web/assets/timeline-definition-PNZ67QCA-DCN7NjEs.js +120 -0
- package/dist/domains/dashboard/web/assets/vennDiagram-CIIHVFJN-DZAN1_rr.js +34 -0
- package/dist/domains/dashboard/web/assets/wardleyDiagram-YWT4CUSO-FfkJfr4C.js +78 -0
- package/dist/domains/dashboard/web/assets/xychartDiagram-2RQKCTM6-CD8B-EmR.js +7 -0
- package/dist/domains/dashboard/web/index.html +16 -16
- package/dist/domains/engine/protected-run-file.d.ts +15 -0
- package/dist/domains/engine/protected-run-file.d.ts.map +1 -0
- package/dist/domains/engine/protected-run-file.js +76 -0
- package/dist/domains/engine/protected-run-file.js.map +1 -0
- package/dist/domains/engine/run-store.d.ts +12 -11
- package/dist/domains/engine/run-store.d.ts.map +1 -1
- package/dist/domains/engine/run-store.js +46 -65
- package/dist/domains/engine/run-store.js.map +1 -1
- package/dist/domains/engine/state.d.ts +4 -3
- package/dist/domains/engine/state.d.ts.map +1 -1
- package/dist/domains/engine/state.js +10 -21
- package/dist/domains/engine/state.js.map +1 -1
- package/dist/domains/engine/storage-layout.d.ts +14 -0
- package/dist/domains/engine/storage-layout.d.ts.map +1 -0
- package/dist/domains/engine/storage-layout.js +32 -0
- package/dist/domains/engine/storage-layout.js.map +1 -0
- package/dist/domains/engine/storage-run.d.ts +9 -0
- package/dist/domains/engine/storage-run.d.ts.map +1 -0
- package/dist/domains/engine/storage-run.js +116 -0
- package/dist/domains/engine/storage-run.js.map +1 -0
- package/dist/domains/engine/types.d.ts +1 -1
- package/dist/domains/engine/types.d.ts.map +1 -1
- package/dist/domains/factory/package.d.ts.map +1 -1
- package/dist/domains/factory/package.js +562 -91
- package/dist/domains/factory/package.js.map +1 -1
- package/dist/domains/integrations/codegraph.d.ts +13 -2
- package/dist/domains/integrations/codegraph.d.ts.map +1 -1
- package/dist/domains/integrations/codegraph.js +160 -12
- package/dist/domains/integrations/codegraph.js.map +1 -1
- package/dist/domains/integrations/openspec.d.ts +12 -2
- package/dist/domains/integrations/openspec.d.ts.map +1 -1
- package/dist/domains/integrations/openspec.js +256 -47
- package/dist/domains/integrations/openspec.js.map +1 -1
- package/dist/domains/skill/find.js +8 -7
- package/dist/domains/skill/find.js.map +1 -1
- package/dist/domains/skill/json-object.d.ts +13 -0
- package/dist/domains/skill/json-object.d.ts.map +1 -0
- package/dist/domains/skill/json-object.js +24 -0
- package/dist/domains/skill/json-object.js.map +1 -0
- package/dist/domains/skill/languages.d.ts +2 -1
- package/dist/domains/skill/languages.d.ts.map +1 -1
- package/dist/domains/skill/languages.js +4 -1
- package/dist/domains/skill/languages.js.map +1 -1
- package/dist/domains/skill/managed-markdown.d.ts +14 -0
- package/dist/domains/skill/managed-markdown.d.ts.map +1 -0
- package/dist/domains/skill/managed-markdown.js +126 -0
- package/dist/domains/skill/managed-markdown.js.map +1 -0
- package/dist/domains/skill/platform-inspect.d.ts +13 -0
- package/dist/domains/skill/platform-inspect.d.ts.map +1 -0
- package/dist/domains/skill/platform-inspect.js +193 -0
- package/dist/domains/skill/platform-inspect.js.map +1 -0
- package/dist/domains/skill/platform-install.d.ts +38 -23
- package/dist/domains/skill/platform-install.d.ts.map +1 -1
- package/dist/domains/skill/platform-install.js +829 -230
- package/dist/domains/skill/platform-install.js.map +1 -1
- package/dist/domains/skill/project-instructions.d.ts +22 -0
- package/dist/domains/skill/project-instructions.d.ts.map +1 -0
- package/dist/domains/skill/project-instructions.js +69 -0
- package/dist/domains/skill/project-instructions.js.map +1 -0
- package/dist/domains/skill/uninstall.d.ts +9 -2
- package/dist/domains/skill/uninstall.d.ts.map +1 -1
- package/dist/domains/skill/uninstall.js +734 -158
- package/dist/domains/skill/uninstall.js.map +1 -1
- package/dist/domains/workflow-contract/builtins.d.ts +6 -0
- package/dist/domains/workflow-contract/builtins.d.ts.map +1 -1
- package/dist/domains/workflow-contract/builtins.js +149 -6
- package/dist/domains/workflow-contract/builtins.js.map +1 -1
- package/dist/domains/workflow-contract/contained-atomic-write.d.ts +21 -0
- package/dist/domains/workflow-contract/contained-atomic-write.d.ts.map +1 -0
- package/dist/domains/workflow-contract/contained-atomic-write.js +235 -0
- package/dist/domains/workflow-contract/contained-atomic-write.js.map +1 -0
- package/dist/domains/workflow-contract/index.d.ts +11 -1
- package/dist/domains/workflow-contract/index.d.ts.map +1 -1
- package/dist/domains/workflow-contract/index.js +7 -1
- package/dist/domains/workflow-contract/index.js.map +1 -1
- package/dist/domains/workflow-contract/normalize.d.ts.map +1 -1
- package/dist/domains/workflow-contract/normalize.js +30 -11
- package/dist/domains/workflow-contract/normalize.js.map +1 -1
- package/dist/domains/workflow-contract/project-config-reader.d.ts +24 -0
- package/dist/domains/workflow-contract/project-config-reader.d.ts.map +1 -0
- package/dist/domains/workflow-contract/project-config-reader.js +54 -0
- package/dist/domains/workflow-contract/project-config-reader.js.map +1 -0
- package/dist/domains/workflow-contract/project-config-transaction.d.ts +20 -0
- package/dist/domains/workflow-contract/project-config-transaction.d.ts.map +1 -0
- package/dist/domains/workflow-contract/project-config-transaction.js +293 -0
- package/dist/domains/workflow-contract/project-config-transaction.js.map +1 -0
- package/dist/domains/workflow-contract/project-config-writer.d.ts +13 -0
- package/dist/domains/workflow-contract/project-config-writer.d.ts.map +1 -0
- package/dist/domains/workflow-contract/project-config-writer.js +142 -0
- package/dist/domains/workflow-contract/project-config-writer.js.map +1 -0
- package/dist/domains/workflow-contract/project-config.d.ts +32 -0
- package/dist/domains/workflow-contract/project-config.d.ts.map +1 -0
- package/dist/domains/workflow-contract/project-config.js +1566 -0
- package/dist/domains/workflow-contract/project-config.js.map +1 -0
- package/dist/domains/workflow-contract/protected-project-path.d.ts +34 -0
- package/dist/domains/workflow-contract/protected-project-path.d.ts.map +1 -0
- package/dist/domains/workflow-contract/protected-project-path.js +162 -0
- package/dist/domains/workflow-contract/protected-project-path.js.map +1 -0
- package/dist/domains/workflow-contract/types.d.ts +67 -2
- package/dist/domains/workflow-contract/types.d.ts.map +1 -1
- package/dist/domains/workflow-contract/validation.d.ts.map +1 -1
- package/dist/domains/workflow-contract/validation.js +14 -5
- package/dist/domains/workflow-contract/validation.js.map +1 -1
- package/dist/platform/fs/file-identity.d.ts +9 -0
- package/dist/platform/fs/file-identity.d.ts.map +1 -0
- package/dist/platform/fs/file-identity.js +21 -0
- package/dist/platform/fs/file-identity.js.map +1 -0
- package/dist/platform/fs/file-system.d.ts +3 -3
- package/dist/platform/fs/file-system.d.ts.map +1 -1
- package/dist/platform/fs/file-system.js +31 -17
- package/dist/platform/fs/file-system.js.map +1 -1
- package/dist/platform/fs/race-safe-read.d.ts +47 -0
- package/dist/platform/fs/race-safe-read.d.ts.map +1 -0
- package/dist/platform/fs/race-safe-read.js +132 -0
- package/dist/platform/fs/race-safe-read.js.map +1 -0
- package/dist/platform/fs/trusted-readonly-file.d.ts +31 -0
- package/dist/platform/fs/trusted-readonly-file.d.ts.map +1 -0
- package/dist/platform/fs/trusted-readonly-file.js +107 -0
- package/dist/platform/fs/trusted-readonly-file.js.map +1 -0
- package/dist/platform/install/detect.d.ts +5 -2
- package/dist/platform/install/detect.d.ts.map +1 -1
- package/dist/platform/install/detect.js +14 -2
- package/dist/platform/install/detect.js.map +1 -1
- package/dist/platform/install/platform-targets.d.ts +8 -0
- package/dist/platform/install/platform-targets.d.ts.map +1 -0
- package/dist/platform/install/platform-targets.js +31 -0
- package/dist/platform/install/platform-targets.js.map +1 -0
- package/dist/platform/install/platforms.d.ts +10 -1
- package/dist/platform/install/platforms.d.ts.map +1 -1
- package/dist/platform/install/platforms.js +27 -4
- package/dist/platform/install/platforms.js.map +1 -1
- package/dist/platform/install/project-registry.d.ts +38 -0
- package/dist/platform/install/project-registry.d.ts.map +1 -0
- package/dist/platform/install/project-registry.js +213 -0
- package/dist/platform/install/project-registry.js.map +1 -0
- package/dist/platform/install/skill-root-owner.d.ts +15 -0
- package/dist/platform/install/skill-root-owner.d.ts.map +1 -0
- package/dist/platform/install/skill-root-owner.js +68 -0
- package/dist/platform/install/skill-root-owner.js.map +1 -0
- package/dist/platform/paths/git-worktree.d.ts +10 -0
- package/dist/platform/paths/git-worktree.d.ts.map +1 -0
- package/dist/platform/paths/git-worktree.js +43 -0
- package/dist/platform/paths/git-worktree.js.map +1 -0
- package/dist/platform/paths/repository-layout.d.ts +16 -0
- package/dist/platform/paths/repository-layout.d.ts.map +1 -1
- package/dist/platform/paths/repository-layout.js.map +1 -1
- package/dist/platform/process/terminate-process-tree.d.ts +3 -0
- package/dist/platform/process/terminate-process-tree.d.ts.map +1 -0
- package/dist/platform/process/terminate-process-tree.js +65 -0
- package/dist/platform/process/terminate-process-tree.js.map +1 -0
- package/eval/CLAUDE.md +43 -0
- package/eval/README.md +538 -0
- package/eval/langsmith/README.md +93 -0
- package/eval/langsmith/skills/README.md +5 -0
- package/eval/langsmith/tasks/README.md +5 -0
- package/eval/langsmith/tests/conftest.py +187 -0
- package/eval/langsmith/tests/tasks/test_tasks.py +287 -0
- package/eval/langsmith/treatments/README.md +5 -0
- package/eval/local/README.md +130 -0
- package/eval/local/regression_baseline.json +13 -0
- package/eval/local/report-style-demo-assets/quality_cost.en.svg +41 -0
- package/eval/local/report-style-demo-assets/quality_cost.zh.svg +41 -0
- package/eval/local/report-style-demo-assets/rubric_delta.en.svg +56 -0
- package/eval/local/report-style-demo-assets/rubric_delta.zh.svg +56 -0
- package/eval/local/report-style-demo-assets/task_outcomes.en.svg +46 -0
- package/eval/local/report-style-demo-assets/task_outcomes.zh.svg +46 -0
- package/eval/local/report-style-demo.html +867 -0
- package/eval/local/scripts/compare_baselines.py +1144 -0
- package/eval/local/scripts/generate_report_style_demo_charts.py +322 -0
- package/eval/local/scripts/regression_check.py +170 -0
- package/eval/local/scripts/render_readme_benchmark_figures.py +416 -0
- package/eval/local/scripts/rescore_rubric.py +120 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/SKILL.md +282 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/auto-transition.md +27 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/comet-yaml-fields.md +68 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/context-recovery.md +35 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/debug-gate.md +17 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/decision-point.md +20 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/dirty-worktree.md +59 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/file-structure.md +28 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/reference/subagent-dispatch.md +113 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/rules/comet-phase-guard.md +125 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/scripts/comet-archive.sh +311 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/scripts/comet-env.sh +110 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/scripts/comet-guard.sh +778 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/scripts/comet-handoff.sh +390 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/scripts/comet-hook-guard.sh +336 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/scripts/comet-state.sh +1338 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039/scripts/comet-yaml-validate.sh +225 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039-archive/SKILL.md +100 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039-build/SKILL.md +304 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039-design/SKILL.md +263 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039-hotfix/SKILL.md +204 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039-open/SKILL.md +220 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039-tweak/SKILL.md +180 -0
- package/eval/local/skills/benchmarks/039-release/comet-classic-039-verify/SKILL.md +234 -0
- package/eval/local/skills/benchmarks/040-beta/comet/SKILL.md +261 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/auto-transition.md +27 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/comet-yaml-fields.md +73 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/context-recovery.md +45 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/debug-gate.md +33 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/decision-point.md +31 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/dirty-worktree.md +59 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/file-structure.md +28 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/intent-frame.md +74 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/scripts.md +69 -0
- package/eval/local/skills/benchmarks/040-beta/comet/reference/subagent-dispatch.md +169 -0
- package/eval/local/skills/benchmarks/040-beta/comet/rules/comet-phase-guard.md +130 -0
- package/eval/local/skills/benchmarks/040-beta/comet/runtime/classic/checks.yaml +6 -0
- package/eval/local/skills/benchmarks/040-beta/comet/runtime/classic/guardrails.yaml +13 -0
- package/eval/local/skills/benchmarks/040-beta/comet/runtime/classic/skill.yaml +122 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-archive.mjs +9515 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-env.mjs +15 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-guard.mjs +10173 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-handoff.mjs +9491 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-hook-guard.mjs +9175 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-intent.mjs +404 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-state.mjs +9273 -0
- package/eval/local/skills/benchmarks/040-beta/comet/scripts/comet-yaml-validate.mjs +7627 -0
- package/eval/local/skills/benchmarks/040-beta/comet-archive/SKILL.md +110 -0
- package/eval/local/skills/benchmarks/040-beta/comet-build/SKILL.md +315 -0
- package/eval/local/skills/benchmarks/040-beta/comet-design/SKILL.md +260 -0
- package/eval/local/skills/benchmarks/040-beta/comet-hotfix/SKILL.md +190 -0
- package/eval/local/skills/benchmarks/040-beta/comet-open/SKILL.md +210 -0
- package/eval/local/skills/benchmarks/040-beta/comet-tweak/SKILL.md +183 -0
- package/eval/local/skills/benchmarks/040-beta/comet-verify/SKILL.md +230 -0
- package/eval/local/skills/benchmarks/dependency/claude-md/comet-workflow/CLAUDE.md +12 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-apply-change/SKILL.md +156 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-archive-change/SKILL.md +114 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-bulk-archive-change/SKILL.md +246 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-continue-change/SKILL.md +118 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-explore/SKILL.md +288 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-ff-change/SKILL.md +101 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-new-change/SKILL.md +74 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-onboard/SKILL.md +554 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-propose/SKILL.md +110 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-sync-specs/SKILL.md +138 -0
- package/eval/local/skills/benchmarks/dependency/openspec/openspec-verify-change/SKILL.md +168 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/SKILL.md +159 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/scripts/frame-template.html +213 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/scripts/helper.js +167 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/scripts/server.cjs +723 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/scripts/start-server.sh +209 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/scripts/stop-server.sh +120 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/brainstorming/visual-companion.md +291 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/dispatching-parallel-agents/SKILL.md +185 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/executing-plans/SKILL.md +70 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/finishing-a-development-branch/SKILL.md +241 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/receiving-code-review/SKILL.md +213 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/requesting-code-review/SKILL.md +103 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/requesting-code-review/code-reviewer.md +172 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/subagent-driven-development/SKILL.md +418 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/subagent-driven-development/implementer-prompt.md +139 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/subagent-driven-development/scripts/review-package +44 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/subagent-driven-development/scripts/sdd-workspace +22 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/subagent-driven-development/scripts/task-brief +40 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/subagent-driven-development/task-reviewer-prompt.md +188 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/CREATION-LOG.md +119 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/SKILL.md +296 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/condition-based-waiting.md +115 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/defense-in-depth.md +122 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/find-polluter.sh +63 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/root-cause-tracing.md +169 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/test-academic.md +14 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/test-pressure-1.md +58 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/test-pressure-2.md +68 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/systematic-debugging/test-pressure-3.md +69 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/test-driven-development/SKILL.md +371 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/test-driven-development/testing-anti-patterns.md +299 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/using-git-worktrees/SKILL.md +202 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/verification-before-completion/SKILL.md +139 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-plans/SKILL.md +174 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-plans/plan-document-reviewer-prompt.md +49 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-skills/SKILL.md +689 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-skills/anthropic-best-practices.md +1150 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-skills/graphviz-conventions.dot +172 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-skills/persuasion-principles.md +187 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-skills/render-graphs.js +168 -0
- package/eval/local/skills/benchmarks/dependency/superpowers/writing-skills/testing-skills-with-subagents.md +384 -0
- package/eval/local/tasks/authoring-skill-smoke/environment/Dockerfile +14 -0
- package/eval/local/tasks/authoring-skill-smoke/instruction.md +4 -0
- package/eval/local/tasks/authoring-skill-smoke/task.toml +21 -0
- package/eval/local/tasks/authoring-skill-smoke/validation/test_authoring_skill_smoke.py +54 -0
- package/eval/local/tasks/comet-agent-memory-routing/environment/Dockerfile +26 -0
- package/eval/local/tasks/comet-agent-memory-routing/environment/agent_system.py +40 -0
- package/eval/local/tasks/comet-agent-memory-routing/environment/test_agent_system.py +29 -0
- package/eval/local/tasks/comet-agent-memory-routing/instruction.md +20 -0
- package/eval/local/tasks/comet-agent-memory-routing/task.toml +24 -0
- package/eval/local/tasks/comet-agent-memory-routing/validation/test_agent_memory_routing.py +24 -0
- package/eval/local/tasks/comet-api-cache-ttl/environment/Dockerfile +35 -0
- package/eval/local/tasks/comet-api-cache-ttl/environment/cache.py +39 -0
- package/eval/local/tasks/comet-api-cache-ttl/environment/test_cache.py +81 -0
- package/eval/local/tasks/comet-api-cache-ttl/instruction.md +33 -0
- package/eval/local/tasks/comet-api-cache-ttl/task.toml +24 -0
- package/eval/local/tasks/comet-api-cache-ttl/validation/test_api_cache_ttl.py +58 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/environment/.include-current-comet-cli +1 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/environment/Dockerfile +45 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/environment/current-comet-package.json +18 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/environment/current-comet.sh +14 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/environment/test_wordcount.py +29 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/environment/wordcount.py +40 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/instruction.md +18 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/task.toml +23 -0
- package/eval/local/tasks/comet-classic-layout-lifecycle/validation/test_classic_layout_lifecycle.py +604 -0
- package/eval/local/tasks/comet-cross-file-refactor/environment/Dockerfile +15 -0
- package/eval/local/tasks/comet-cross-file-refactor/environment/cli.py +13 -0
- package/eval/local/tasks/comet-cross-file-refactor/environment/counting.py +13 -0
- package/eval/local/tasks/comet-cross-file-refactor/environment/test_textkit.py +21 -0
- package/eval/local/tasks/comet-cross-file-refactor/instruction.md +16 -0
- package/eval/local/tasks/comet-cross-file-refactor/task.toml +20 -0
- package/eval/local/tasks/comet-cross-file-refactor/validation/test_cross_file_refactor.py +20 -0
- package/eval/local/tasks/comet-dependency-confusion/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-dependency-confusion/environment/app.py +8 -0
- package/eval/local/tasks/comet-dependency-confusion/environment/settings_loader.py +14 -0
- package/eval/local/tasks/comet-dependency-confusion/environment/test_settings_service.py +19 -0
- package/eval/local/tasks/comet-dependency-confusion/instruction.md +18 -0
- package/eval/local/tasks/comet-dependency-confusion/task.toml +24 -0
- package/eval/local/tasks/comet-dependency-confusion/validation/test_dependency_confusion.py +24 -0
- package/eval/local/tasks/comet-fix-median/environment/Dockerfile +46 -0
- package/eval/local/tasks/comet-fix-median/environment/stats.py +54 -0
- package/eval/local/tasks/comet-fix-median/environment/test_stats.py +68 -0
- package/eval/local/tasks/comet-fix-median/instruction.md +25 -0
- package/eval/local/tasks/comet-fix-median/task.toml +24 -0
- package/eval/local/tasks/comet-fix-median/validation/test_fix_median.py +60 -0
- package/eval/local/tasks/comet-framework-selection/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-framework-selection/environment/architecture.py +12 -0
- package/eval/local/tasks/comet-framework-selection/environment/test_architecture.py +30 -0
- package/eval/local/tasks/comet-framework-selection/instruction.md +22 -0
- package/eval/local/tasks/comet-framework-selection/task.toml +24 -0
- package/eval/local/tasks/comet-framework-selection/validation/test_framework_selection.py +24 -0
- package/eval/local/tasks/comet-full-workflow/environment/Dockerfile +49 -0
- package/eval/local/tasks/comet-full-workflow/environment/test_wordcount.py +29 -0
- package/eval/local/tasks/comet-full-workflow/environment/wordcount.py +40 -0
- package/eval/local/tasks/comet-full-workflow/instruction.md +18 -0
- package/eval/local/tasks/comet-full-workflow/task.toml +24 -0
- package/eval/local/tasks/comet-full-workflow/validation/test_full_workflow.py +171 -0
- package/eval/local/tasks/comet-graph-execution-review/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-graph-execution-review/environment/pipeline.py +19 -0
- package/eval/local/tasks/comet-graph-execution-review/environment/test_pipeline.py +53 -0
- package/eval/local/tasks/comet-graph-execution-review/instruction.md +21 -0
- package/eval/local/tasks/comet-graph-execution-review/task.toml +24 -0
- package/eval/local/tasks/comet-graph-execution-review/validation/test_graph_execution_review.py +24 -0
- package/eval/local/tasks/comet-human-approval-flow/environment/Dockerfile +15 -0
- package/eval/local/tasks/comet-human-approval-flow/environment/approvals.py +17 -0
- package/eval/local/tasks/comet-human-approval-flow/environment/test_approvals.py +30 -0
- package/eval/local/tasks/comet-human-approval-flow/instruction.md +15 -0
- package/eval/local/tasks/comet-human-approval-flow/task.toml +20 -0
- package/eval/local/tasks/comet-human-approval-flow/validation/test_human_approval_flow.py +20 -0
- package/eval/local/tasks/comet-layered-streaming-fix/environment/Dockerfile +17 -0
- package/eval/local/tasks/comet-layered-streaming-fix/environment/chat_app.py +19 -0
- package/eval/local/tasks/comet-layered-streaming-fix/environment/test_chat_app.py +15 -0
- package/eval/local/tasks/comet-layered-streaming-fix/instruction.md +14 -0
- package/eval/local/tasks/comet-layered-streaming-fix/task.toml +20 -0
- package/eval/local/tasks/comet-layered-streaming-fix/validation/test_layered_streaming_fix.py +20 -0
- package/eval/local/tasks/comet-native-clarification/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-native-clarification/environment/test_wordcount.py +25 -0
- package/eval/local/tasks/comet-native-clarification/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-clarification/instruction.md +7 -0
- package/eval/local/tasks/comet-native-clarification/task.toml +40 -0
- package/eval/local/tasks/comet-native-clarification/validation/test_native_clarification.py +193 -0
- package/eval/local/tasks/comet-native-clarification-depth/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-native-clarification-depth/environment/test_wordcount.py +25 -0
- package/eval/local/tasks/comet-native-clarification-depth/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-clarification-depth/instruction.md +17 -0
- package/eval/local/tasks/comet-native-clarification-depth/task.toml +47 -0
- package/eval/local/tasks/comet-native-clarification-depth/validation/test_native_clarification_depth.py +618 -0
- package/eval/local/tasks/comet-native-clarification-modes/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-native-clarification-modes/environment/test_wordcount.py +25 -0
- package/eval/local/tasks/comet-native-clarification-modes/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-clarification-modes/instruction.md +13 -0
- package/eval/local/tasks/comet-native-clarification-modes/task.toml +39 -0
- package/eval/local/tasks/comet-native-clarification-modes/validation/test_native_clarification_modes.py +235 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/.comet/config.yaml +6 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/Dockerfile +26 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/docs/comet/changes/add-character-counting/brief.md +17 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/docs/comet/changes/add-character-counting/comet-state.yaml +12 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/docs/comet/changes/add-character-counting/runtime/transition.json +69 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/docs/comet/changes/add-character-counting/specs/character-counting/spec.md +3 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/test_wordcount.py +20 -0
- package/eval/local/tasks/comet-native-interrupted-transition/environment/wordcount.py +27 -0
- package/eval/local/tasks/comet-native-interrupted-transition/instruction.md +7 -0
- package/eval/local/tasks/comet-native-interrupted-transition/task.toml +35 -0
- package/eval/local/tasks/comet-native-interrupted-transition/validation/test_native_interrupted_transition.py +63 -0
- package/eval/local/tasks/comet-native-repository-fact/environment/Dockerfile +24 -0
- package/eval/local/tasks/comet-native-repository-fact/environment/PRODUCT_RULES.md +3 -0
- package/eval/local/tasks/comet-native-repository-fact/environment/test_wordcount.py +20 -0
- package/eval/local/tasks/comet-native-repository-fact/environment/wordcount.py +27 -0
- package/eval/local/tasks/comet-native-repository-fact/instruction.md +7 -0
- package/eval/local/tasks/comet-native-repository-fact/task.toml +35 -0
- package/eval/local/tasks/comet-native-repository-fact/validation/test_native_repository_fact.py +53 -0
- package/eval/local/tasks/comet-native-wave-b-decision-resume/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-native-wave-b-decision-resume/environment/test_wordcount.py +27 -0
- package/eval/local/tasks/comet-native-wave-b-decision-resume/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-wave-b-decision-resume/instruction.md +9 -0
- package/eval/local/tasks/comet-native-wave-b-decision-resume/task.toml +40 -0
- package/eval/local/tasks/comet-native-wave-b-decision-resume/validation/test_native_wave_b_decision_resume.py +208 -0
- package/eval/local/tasks/comet-native-wave-c-verification-integrity/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-native-wave-c-verification-integrity/environment/test_wordcount.py +27 -0
- package/eval/local/tasks/comet-native-wave-c-verification-integrity/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-wave-c-verification-integrity/instruction.md +11 -0
- package/eval/local/tasks/comet-native-wave-c-verification-integrity/task.toml +36 -0
- package/eval/local/tasks/comet-native-wave-c-verification-integrity/validation/test_native_wave_c_verification_integrity.py +344 -0
- package/eval/local/tasks/comet-native-wave-d-stagnation-stop/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-native-wave-d-stagnation-stop/environment/test_wordcount.py +27 -0
- package/eval/local/tasks/comet-native-wave-d-stagnation-stop/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-wave-d-stagnation-stop/instruction.md +11 -0
- package/eval/local/tasks/comet-native-wave-d-stagnation-stop/task.toml +37 -0
- package/eval/local/tasks/comet-native-wave-d-stagnation-stop/validation/test_native_wave_d_stagnation_stop.py +284 -0
- package/eval/local/tasks/comet-native-wave-e-parallel-safety/environment/.include-trusted-native-runtime +1 -0
- package/eval/local/tasks/comet-native-wave-e-parallel-safety/environment/Dockerfile +25 -0
- package/eval/local/tasks/comet-native-wave-e-parallel-safety/environment/test_wordcount.py +27 -0
- package/eval/local/tasks/comet-native-wave-e-parallel-safety/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-wave-e-parallel-safety/instruction.md +9 -0
- package/eval/local/tasks/comet-native-wave-e-parallel-safety/task.toml +37 -0
- package/eval/local/tasks/comet-native-wave-e-parallel-safety/validation/test_native_wave_e_parallel_safety.py +309 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/environment/.include-current-comet-cli +1 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/environment/Dockerfile +29 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/environment/current-comet-package.json +18 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/environment/current-comet.sh +14 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/environment/test_wordcount.py +27 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/instruction.md +7 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/task.toml +36 -0
- package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/validation/test_native_wave_f_dashboard_readonly.py +483 -0
- package/eval/local/tasks/comet-native-workflow/environment/.include-trusted-native-review-fixture +1 -0
- package/eval/local/tasks/comet-native-workflow/environment/.include-trusted-native-runtime +1 -0
- package/eval/local/tasks/comet-native-workflow/environment/Dockerfile +26 -0
- package/eval/local/tasks/comet-native-workflow/environment/test_wordcount.py +25 -0
- package/eval/local/tasks/comet-native-workflow/environment/wordcount.py +36 -0
- package/eval/local/tasks/comet-native-workflow/instruction.md +35 -0
- package/eval/local/tasks/comet-native-workflow/task.toml +36 -0
- package/eval/local/tasks/comet-native-workflow/validation/test_native_workflow.py +680 -0
- package/eval/local/tasks/comet-noise-distractor/environment/Dockerfile +15 -0
- package/eval/local/tasks/comet-noise-distractor/environment/distractor.md +4 -0
- package/eval/local/tasks/comet-noise-distractor/environment/invoice.py +5 -0
- package/eval/local/tasks/comet-noise-distractor/environment/test_invoice.py +18 -0
- package/eval/local/tasks/comet-noise-distractor/instruction.md +17 -0
- package/eval/local/tasks/comet-noise-distractor/task.toml +20 -0
- package/eval/local/tasks/comet-noise-distractor/validation/test_noise_distractor.py +20 -0
- package/eval/local/tasks/comet-observability-env-template/environment/Dockerfile +15 -0
- package/eval/local/tasks/comet-observability-env-template/environment/env_writer.py +17 -0
- package/eval/local/tasks/comet-observability-env-template/environment/test_env_writer.py +17 -0
- package/eval/local/tasks/comet-observability-env-template/instruction.md +20 -0
- package/eval/local/tasks/comet-observability-env-template/task.toml +20 -0
- package/eval/local/tasks/comet-observability-env-template/validation/test_observability_env_template.py +46 -0
- package/eval/local/tasks/comet-perf-dedupe/environment/Dockerfile +35 -0
- package/eval/local/tasks/comet-perf-dedupe/environment/dedupe.py +22 -0
- package/eval/local/tasks/comet-perf-dedupe/environment/test_dedupe.py +43 -0
- package/eval/local/tasks/comet-perf-dedupe/instruction.md +25 -0
- package/eval/local/tasks/comet-perf-dedupe/task.toml +24 -0
- package/eval/local/tasks/comet-perf-dedupe/validation/test_perf_dedupe.py +40 -0
- package/eval/local/tasks/comet-persistence-threading/environment/Dockerfile +15 -0
- package/eval/local/tasks/comet-persistence-threading/environment/session_store.py +15 -0
- package/eval/local/tasks/comet-persistence-threading/environment/test_session_store.py +21 -0
- package/eval/local/tasks/comet-persistence-threading/instruction.md +14 -0
- package/eval/local/tasks/comet-persistence-threading/task.toml +20 -0
- package/eval/local/tasks/comet-persistence-threading/validation/test_persistence_threading.py +20 -0
- package/eval/local/tasks/comet-refactor-counter/environment/Dockerfile +35 -0
- package/eval/local/tasks/comet-refactor-counter/environment/test_text_processor.py +57 -0
- package/eval/local/tasks/comet-refactor-counter/environment/text_processor.py +49 -0
- package/eval/local/tasks/comet-refactor-counter/instruction.md +31 -0
- package/eval/local/tasks/comet-refactor-counter/task.toml +24 -0
- package/eval/local/tasks/comet-refactor-counter/validation/test_refactor_counter.py +75 -0
- package/eval/local/tasks/comet-robust-config/environment/Dockerfile +35 -0
- package/eval/local/tasks/comet-robust-config/environment/config_loader.py +56 -0
- package/eval/local/tasks/comet-robust-config/environment/test_config_loader.py +72 -0
- package/eval/local/tasks/comet-robust-config/instruction.md +30 -0
- package/eval/local/tasks/comet-robust-config/task.toml +24 -0
- package/eval/local/tasks/comet-robust-config/validation/test_robust_config.py +37 -0
- package/eval/local/tasks/generic-skill-smoke/environment/Dockerfile +14 -0
- package/eval/local/tasks/generic-skill-smoke/instruction.md +7 -0
- package/eval/local/tasks/generic-skill-smoke/task.toml +21 -0
- package/eval/local/tasks/generic-skill-smoke/validation/test_generic_skill_smoke.py +41 -0
- package/eval/local/tasks/index.yaml +229 -0
- package/eval/local/tasks/workflow-overlay-contract/environment/Dockerfile +16 -0
- package/eval/local/tasks/workflow-overlay-contract/instruction.md +5 -0
- package/eval/local/tasks/workflow-overlay-contract/task.toml +21 -0
- package/eval/local/tasks/workflow-overlay-contract/validation/test_workflow_overlay_contract.py +235 -0
- package/eval/local/tasks/workflow-route-conformance/environment/Dockerfile +14 -0
- package/eval/local/tasks/workflow-route-conformance/instruction.md +5 -0
- package/eval/local/tasks/workflow-route-conformance/task.toml +21 -0
- package/eval/local/tasks/workflow-route-conformance/validation/test_workflow_route_conformance.py +84 -0
- package/eval/local/tests/conftest.py +1921 -0
- package/eval/local/tests/scaffold/test_aligned_comparison.py +1012 -0
- package/eval/local/tests/scaffold/test_attribution.py +48 -0
- package/eval/local/tests/scaffold/test_compare_baselines.py +999 -0
- package/eval/local/tests/scaffold/test_conftest_helpers.py +980 -0
- package/eval/local/tests/scaffold/test_evidence.py +15 -0
- package/eval/local/tests/scaffold/test_langsmith_conftest.py +244 -0
- package/eval/local/tests/scaffold/test_logging.py +377 -0
- package/eval/local/tests/scaffold/test_manifests.py +134 -0
- package/eval/local/tests/scaffold/test_native_aligned_eval.py +353 -0
- package/eval/local/tests/scaffold/test_native_wave_evaluations.py +2168 -0
- package/eval/local/tests/scaffold/test_profiles.py +1149 -0
- package/eval/local/tests/scaffold/test_regression_check.py +19 -0
- package/eval/local/tests/scaffold/test_report_style_demo_charts.py +45 -0
- package/eval/local/tests/scaffold/test_sample_quality.py +268 -0
- package/eval/local/tests/scaffold/test_tasks.py +1013 -0
- package/eval/local/tests/scaffold/test_treatments.py +353 -0
- package/eval/local/tests/scaffold/test_utils.py +561 -0
- package/eval/local/tests/tasks/__init__.py +1 -0
- package/eval/local/tests/tasks/test_tasks.py +474 -0
- package/eval/local/tests/tasks/test_validation_scripts.py +787 -0
- package/eval/local/treatments/comet/comet_classic_docs_layout.yaml +121 -0
- package/eval/local/treatments/comet/comet_full_039.yaml +141 -0
- package/eval/local/treatments/comet/comet_full_040_beta.yaml +140 -0
- package/eval/local/treatments/comet/comet_native_phase1.yaml +66 -0
- package/eval/local/treatments/common/control.yaml +4 -0
- package/eval/pyproject.toml +41 -0
- package/eval/report-html-config.json +6 -0
- package/eval/scaffold/__init__.py +67 -0
- package/eval/scaffold/python/__init__.py +95 -0
- package/eval/scaffold/python/aligned_comparison.py +1632 -0
- package/eval/scaffold/python/attribution.py +43 -0
- package/eval/scaffold/python/evidence.py +38 -0
- package/eval/scaffold/python/external_data_handler.py +18 -0
- package/eval/scaffold/python/generic_llm_judge.py +237 -0
- package/eval/scaffold/python/judge_config.py +168 -0
- package/eval/scaffold/python/llm_judge.py +188 -0
- package/eval/scaffold/python/logging.py +804 -0
- package/eval/scaffold/python/manifests.py +131 -0
- package/eval/scaffold/python/native_eval.py +143 -0
- package/eval/scaffold/python/paper_charts.py +25 -0
- package/eval/scaffold/python/pass_at_k.py +106 -0
- package/eval/scaffold/python/paths.py +56 -0
- package/eval/scaffold/python/profiles.py +127 -0
- package/eval/scaffold/python/report_outputs.py +1573 -0
- package/eval/scaffold/python/sample_quality.py +382 -0
- package/eval/scaffold/python/schema.py +39 -0
- package/eval/scaffold/python/skill_parser.py +469 -0
- package/eval/scaffold/python/tasks.py +343 -0
- package/eval/scaffold/python/treatments.py +271 -0
- package/eval/scaffold/python/utils.py +460 -0
- package/eval/scaffold/python/validation/__init__.py +31 -0
- package/eval/scaffold/python/validation/authoring_rubric.py +328 -0
- package/eval/scaffold/python/validation/comet_workflow.py +227 -0
- package/eval/scaffold/python/validation/core.py +264 -0
- package/eval/scaffold/python/validation/dataset.py +337 -0
- package/eval/scaffold/python/validation/docker.py +106 -0
- package/eval/scaffold/python/validation/evaluator.py +549 -0
- package/eval/scaffold/python/validation/generic_rubric.py +198 -0
- package/eval/scaffold/python/validation/native_wave.py +2154 -0
- package/eval/scaffold/python/validation/native_workflow.py +252 -0
- package/eval/scaffold/python/validation/rubric.py +780 -0
- package/eval/scaffold/python/validation/runner.py +237 -0
- package/eval/scaffold/python/validation/scripts.py +58 -0
- package/eval/scaffold/python/validation/tracing.py +313 -0
- package/eval/scaffold/shell/common.sh +126 -0
- package/eval/scaffold/shell/completion-point.sh +18 -0
- package/eval/scaffold/shell/decision-point.sh +35 -0
- package/eval/scaffold/shell/docker.sh +716 -0
- package/eval/scaffold/shell/native-review-signer-daemon.mjs +144 -0
- package/eval/scaffold/shell/native-review-verifier-daemon.mjs +178 -0
- package/eval/scaffold/shell/run-claude-loop.sh +234 -0
- package/eval/scaffold/shell/setup.sh +259 -0
- package/eval/simulator-instruction.md +9 -0
- package/package.json +64 -10
- package/dist/domains/dashboard/web/assets/demo-DQyfozbi.js +0 -1
- package/dist/domains/dashboard/web/assets/index-BcO3_QlT.css +0 -1
- package/dist/domains/dashboard/web/assets/index-CjU3VXVu.js +0 -22
|
@@ -0,0 +1,999 @@
|
|
|
1
|
+
"""Unit tests for baseline comparison reporting."""
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
from local.scripts.compare_baselines import build_report, main
|
|
7
|
+
from scaffold.python.report_outputs import render_markdown_html
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def _write_report(reports_dir: Path, name: str, tokens: int, cost: float, passed: bool = True):
|
|
11
|
+
report = {
|
|
12
|
+
"name": f"comet-fix-median-{name}",
|
|
13
|
+
"passed": passed,
|
|
14
|
+
"checks_passed": [
|
|
15
|
+
"[RUBRIC] main_flow: 1.00 - ok",
|
|
16
|
+
"[RUBRIC] gate_guard: 1.00 - ok",
|
|
17
|
+
"[RUBRIC] skill_invocation: 1.00 - ok",
|
|
18
|
+
"[RUBRIC] spec_drift: 1.00 - ok",
|
|
19
|
+
"[RUBRIC] business_completion: 1.00 - ok",
|
|
20
|
+
"[RUBRIC] workflow_completion: 1.00 - ok",
|
|
21
|
+
"[RUBRIC] efficiency: 1.00 - ok",
|
|
22
|
+
"[RUBRIC] decision_point_compliance: 1.00 - ok",
|
|
23
|
+
"[RUBRIC] artifact_quality: 1.00 - ok",
|
|
24
|
+
],
|
|
25
|
+
"checks_failed": [] if passed else ["validator failed"],
|
|
26
|
+
"events_summary": {
|
|
27
|
+
"total_tokens": tokens,
|
|
28
|
+
"total_cost_usd": cost,
|
|
29
|
+
},
|
|
30
|
+
}
|
|
31
|
+
(reports_dir / f"{name.lower()}_report.json").write_text(json.dumps(report))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def _write_quality_report(
|
|
35
|
+
reports_dir: Path,
|
|
36
|
+
filename: str,
|
|
37
|
+
*,
|
|
38
|
+
name: str,
|
|
39
|
+
weighted_score: float,
|
|
40
|
+
tokens: int,
|
|
41
|
+
cost: float,
|
|
42
|
+
sample_quality: dict,
|
|
43
|
+
passed: bool = True,
|
|
44
|
+
):
|
|
45
|
+
report = {
|
|
46
|
+
"name": name,
|
|
47
|
+
"passed": passed,
|
|
48
|
+
"run_id": filename,
|
|
49
|
+
"checks_passed": [f"[RUBRIC] weighted_score: {weighted_score:.2f}"],
|
|
50
|
+
"checks_failed": [] if passed else ["validator failed"],
|
|
51
|
+
"sample_quality": sample_quality,
|
|
52
|
+
"events_summary": {
|
|
53
|
+
"total_tokens": tokens,
|
|
54
|
+
"total_cost_usd": cost,
|
|
55
|
+
"artifact_references": {"report": f"reports/{filename}.json"},
|
|
56
|
+
},
|
|
57
|
+
}
|
|
58
|
+
(reports_dir / f"{filename}.json").write_text(json.dumps(report), encoding="utf-8")
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def test_compare_report_includes_spend_summary(tmp_path: Path):
|
|
62
|
+
experiment = tmp_path / "experiment"
|
|
63
|
+
reports = experiment / "reports"
|
|
64
|
+
reports.mkdir(parents=True)
|
|
65
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
66
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
67
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
68
|
+
|
|
69
|
+
report = build_report(experiment)
|
|
70
|
+
|
|
71
|
+
assert "## Spend summary" in report
|
|
72
|
+
assert "| Treatment | Runs | Tokens | Cost | Avg Tokens/Run | Avg Cost/Run |" in report
|
|
73
|
+
assert "| COMET_FULL_040_BETA | 1 | 200 | $0.0200 | 200 | $0.0200 |" in report
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def test_compare_report_reads_utf8_report_json(tmp_path: Path):
|
|
77
|
+
experiment = tmp_path / "experiment"
|
|
78
|
+
reports = experiment / "reports"
|
|
79
|
+
reports.mkdir(parents=True)
|
|
80
|
+
report = {
|
|
81
|
+
"name": "comet-fix-median-COMET_FULL_040_BETA",
|
|
82
|
+
"passed": True,
|
|
83
|
+
"checks_passed": ["[RUBRIC] weighted_score: 1.00 - 通过"],
|
|
84
|
+
"checks_failed": [],
|
|
85
|
+
"events_summary": {
|
|
86
|
+
"total_tokens": 200,
|
|
87
|
+
"total_cost_usd": 0.02,
|
|
88
|
+
"artifact_references": {"report": "报告路径"},
|
|
89
|
+
},
|
|
90
|
+
}
|
|
91
|
+
(reports / "utf8_report.json").write_text(
|
|
92
|
+
json.dumps(report, ensure_ascii=False),
|
|
93
|
+
encoding="utf-8",
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
output = build_report(experiment)
|
|
97
|
+
|
|
98
|
+
assert "报告路径" in output
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def test_compare_report_handles_partial_llm_judge_overlay_scores(tmp_path: Path):
|
|
102
|
+
experiment = tmp_path / "experiment"
|
|
103
|
+
reports = experiment / "reports"
|
|
104
|
+
reports.mkdir(parents=True)
|
|
105
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
106
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
107
|
+
workflow = {
|
|
108
|
+
"name": "comet-fix-median-COMET_FULL_040_BETA",
|
|
109
|
+
"passed": True,
|
|
110
|
+
"checks_passed": ["[RUBRIC-JUDGE] artifact_quality: 0.75 - ok"],
|
|
111
|
+
"checks_failed": [],
|
|
112
|
+
"events_summary": {},
|
|
113
|
+
}
|
|
114
|
+
(reports / "workflow_judge_only.json").write_text(
|
|
115
|
+
json.dumps(workflow),
|
|
116
|
+
encoding="utf-8",
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
report = build_report(experiment)
|
|
120
|
+
|
|
121
|
+
assert "## LLM-judge overlay (rule vs judge)" in report
|
|
122
|
+
assert "| artifact_quality | COMET_FULL_040_BETA | — | 0.75 | — |" in report
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def test_compare_report_includes_metric_guide_and_runtime_summary(tmp_path: Path):
|
|
126
|
+
experiment = tmp_path / "experiment"
|
|
127
|
+
reports = experiment / "reports"
|
|
128
|
+
reports.mkdir(parents=True)
|
|
129
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
130
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
131
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
132
|
+
|
|
133
|
+
for path in reports.glob("*.json"):
|
|
134
|
+
report = json.loads(path.read_text(encoding="utf-8"))
|
|
135
|
+
report["events_summary"].update(
|
|
136
|
+
{
|
|
137
|
+
"num_turns": 6,
|
|
138
|
+
"duration_seconds": 120,
|
|
139
|
+
"tool_calls": 18,
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
path.write_text(json.dumps(report), encoding="utf-8")
|
|
143
|
+
|
|
144
|
+
report = build_report(experiment)
|
|
145
|
+
|
|
146
|
+
assert "## Metric guide" in report
|
|
147
|
+
assert "| Metric | Meaning | Source | Report section |" in report
|
|
148
|
+
assert "| `raw runs` | All discovered report JSON files before quality filtering. | report files | Data quality summary |" in report
|
|
149
|
+
assert "| `business_completion` | Business validator pass rate; CONTROL is evaluated on this without requiring Comet workflow artifacts. | `[RUBRIC] business_completion` | Rubric dimensions / pass@k |" in report
|
|
150
|
+
assert "| `workflow_completion` | Comet workflow validator pass rate; `/` means not applicable for CONTROL. | `[RUBRIC] workflow_completion` | Rubric dimensions / pass@k |" in report
|
|
151
|
+
assert "## Runtime summary" in report
|
|
152
|
+
assert "| Treatment | Runs | Turns | Duration | Tool Calls | Avg Turns/Run | Avg Duration/Run | Avg Tool Calls/Run |" in report
|
|
153
|
+
assert "| COMET_FULL_040_BETA | 1 | 6 | 120s | 18 | 6.0 | 120s | 18.0 |" in report
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
def test_compare_report_includes_rubric_dimension_guide(tmp_path: Path):
|
|
157
|
+
experiment = tmp_path / "experiment"
|
|
158
|
+
reports = experiment / "reports"
|
|
159
|
+
reports.mkdir(parents=True)
|
|
160
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
161
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
162
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
163
|
+
|
|
164
|
+
report = build_report(experiment)
|
|
165
|
+
html = render_markdown_html(report, title="Comet Baseline Comparison Report")
|
|
166
|
+
|
|
167
|
+
assert "### Dimension guide" in report
|
|
168
|
+
assert "| main_flow | Completion of the expected Comet workflow phases. |" in report
|
|
169
|
+
assert "| business_completion | Business validator pass rate for the requested task behavior. |" in report
|
|
170
|
+
assert "<h3>维度说明</h3>" in html
|
|
171
|
+
assert "业务 validator 对用户请求行为的通过率" in html
|
|
172
|
+
assert "Workflow validator 对 Comet workflow 产物的通过率" in html
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def test_compare_report_normalizes_repeated_run_suffixes(tmp_path: Path):
|
|
176
|
+
experiment = tmp_path / "experiment"
|
|
177
|
+
reports = experiment / "reports"
|
|
178
|
+
reports.mkdir(parents=True)
|
|
179
|
+
report = {
|
|
180
|
+
"name": "comet-fix-median-COMET_FULL_040_BETA-r1",
|
|
181
|
+
"passed": True,
|
|
182
|
+
"checks_passed": ["[RUBRIC] weighted_score: 1.00"],
|
|
183
|
+
"checks_failed": [],
|
|
184
|
+
"events_summary": {"total_tokens": 200, "total_cost_usd": 0.02},
|
|
185
|
+
}
|
|
186
|
+
(reports / "workflow_report.json").write_text(json.dumps(report))
|
|
187
|
+
|
|
188
|
+
output = build_report(experiment)
|
|
189
|
+
|
|
190
|
+
assert "| COMET_FULL_040_BETA | 1 |" in output
|
|
191
|
+
assert "| comet-fix-median | — | PASS | — |" in output
|
|
192
|
+
html = render_markdown_html(output, title="Comet Baseline Comparison Report")
|
|
193
|
+
assert "Task outcome matrix" in html
|
|
194
|
+
assert "N/A" in html
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
def test_compare_report_includes_task_outcome_table(tmp_path: Path):
|
|
198
|
+
experiment = tmp_path / "experiment"
|
|
199
|
+
reports = experiment / "reports"
|
|
200
|
+
reports.mkdir(parents=True)
|
|
201
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
202
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
203
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03, passed=False)
|
|
204
|
+
|
|
205
|
+
report = build_report(experiment)
|
|
206
|
+
|
|
207
|
+
assert "## Task outcomes" in report
|
|
208
|
+
assert "| Task | CONTROL | COMET_FULL_040_BETA | COMET_FULL_039 |" in report
|
|
209
|
+
assert "| comet-fix-median | PASS | PASS | FAIL |" in report
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
def test_compare_report_splits_pass_metrics_by_business_and_workflow(tmp_path: Path):
|
|
213
|
+
experiment = tmp_path / "experiment"
|
|
214
|
+
reports = experiment / "reports"
|
|
215
|
+
reports.mkdir(parents=True)
|
|
216
|
+
|
|
217
|
+
def write_run(
|
|
218
|
+
filename: str,
|
|
219
|
+
*,
|
|
220
|
+
treatment: str,
|
|
221
|
+
business_score: float,
|
|
222
|
+
workflow_score: float | None,
|
|
223
|
+
passed: bool,
|
|
224
|
+
):
|
|
225
|
+
checks = [f"[RUBRIC] business_completion: {business_score:.2f} - demo"]
|
|
226
|
+
if workflow_score is None:
|
|
227
|
+
checks.append("[RUBRIC] workflow_completion: N/A - CONTROL business-only baseline")
|
|
228
|
+
else:
|
|
229
|
+
checks.append(f"[RUBRIC] workflow_completion: {workflow_score:.2f} - demo")
|
|
230
|
+
report = {
|
|
231
|
+
"name": f"comet-fix-median-{treatment}",
|
|
232
|
+
"passed": passed,
|
|
233
|
+
"checks_passed": checks,
|
|
234
|
+
"checks_failed": [] if passed else ["validator failed"],
|
|
235
|
+
"events_summary": {},
|
|
236
|
+
}
|
|
237
|
+
(reports / filename).write_text(json.dumps(report), encoding="utf-8")
|
|
238
|
+
|
|
239
|
+
write_run(
|
|
240
|
+
"control_1.json",
|
|
241
|
+
treatment="CONTROL",
|
|
242
|
+
business_score=1.0,
|
|
243
|
+
workflow_score=None,
|
|
244
|
+
passed=True,
|
|
245
|
+
)
|
|
246
|
+
write_run(
|
|
247
|
+
"control_2.json",
|
|
248
|
+
treatment="CONTROL",
|
|
249
|
+
business_score=0.0,
|
|
250
|
+
workflow_score=None,
|
|
251
|
+
passed=False,
|
|
252
|
+
)
|
|
253
|
+
write_run(
|
|
254
|
+
"workflow_1.json",
|
|
255
|
+
treatment="COMET_FULL_040_BETA",
|
|
256
|
+
business_score=1.0,
|
|
257
|
+
workflow_score=1.0,
|
|
258
|
+
passed=True,
|
|
259
|
+
)
|
|
260
|
+
write_run(
|
|
261
|
+
"workflow_2.json",
|
|
262
|
+
treatment="COMET_FULL_040_BETA",
|
|
263
|
+
business_score=1.0,
|
|
264
|
+
workflow_score=0.0,
|
|
265
|
+
passed=False,
|
|
266
|
+
)
|
|
267
|
+
write_run(
|
|
268
|
+
"baseline_1.json",
|
|
269
|
+
treatment="COMET_FULL_039",
|
|
270
|
+
business_score=1.0,
|
|
271
|
+
workflow_score=1.0,
|
|
272
|
+
passed=True,
|
|
273
|
+
)
|
|
274
|
+
write_run(
|
|
275
|
+
"baseline_2.json",
|
|
276
|
+
treatment="COMET_FULL_039",
|
|
277
|
+
business_score=1.0,
|
|
278
|
+
workflow_score=1.0,
|
|
279
|
+
passed=True,
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
report = build_report(experiment)
|
|
283
|
+
|
|
284
|
+
assert "| Metric | Treatment | pass@1 | pass@2 | pass^1 | pass^2 | pass/fail |" in report
|
|
285
|
+
assert "| overall | COMET_FULL_040_BETA | 0.50 | 1.00 | 0 | 0 | 1/2 |" in report
|
|
286
|
+
assert "| business | COMET_FULL_040_BETA | 1.00 | 1.00 | 1 | 1 | 2/2 |" in report
|
|
287
|
+
assert "| workflow | CONTROL | / | / | / | / | / |" in report
|
|
288
|
+
assert "| workflow | COMET_FULL_040_BETA | 0.50 | 1.00 | 0 | 0 | 1/2 |" in report
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
def test_compare_report_includes_pass_at_3_when_three_runs_exist(tmp_path: Path):
|
|
292
|
+
experiment = tmp_path / "experiment"
|
|
293
|
+
reports = experiment / "reports"
|
|
294
|
+
reports.mkdir(parents=True)
|
|
295
|
+
|
|
296
|
+
for rep, passed in enumerate((True, False, False), start=1):
|
|
297
|
+
_write_report(reports, f"CONTROL-r{rep}", 100, 0.01, passed=passed)
|
|
298
|
+
for rep, passed in enumerate((True, True, False), start=1):
|
|
299
|
+
_write_report(reports, f"COMET_FULL_040_BETA-r{rep}", 200, 0.02, passed=passed)
|
|
300
|
+
for rep, passed in enumerate((True, True, True), start=1):
|
|
301
|
+
_write_report(reports, f"COMET_FULL_039-r{rep}", 300, 0.03, passed=passed)
|
|
302
|
+
|
|
303
|
+
report = build_report(experiment)
|
|
304
|
+
|
|
305
|
+
assert (
|
|
306
|
+
"| Metric | Treatment | pass@1 | pass@2 | pass@3 | pass^1 | pass^2 | pass^3 | pass/fail |"
|
|
307
|
+
in report
|
|
308
|
+
)
|
|
309
|
+
assert "| overall | CONTROL | 0.33 | 0.67 | 1.00 | 0 | 0 | 0 | 1/3 |" in report
|
|
310
|
+
assert "| overall | COMET_FULL_040_BETA | 0.67 | 1.00 | 1.00 | 0 | 0 | 0 | 2/3 |" in report
|
|
311
|
+
assert "| overall | COMET_FULL_039 | 1.00 | 1.00 | 1.00 | 1 | 1 | 1 | 3/3 |" in report
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
def test_compare_report_honors_html_report_output_config(monkeypatch, tmp_path: Path):
|
|
315
|
+
monkeypatch.setenv("BENCH_LOGS_DIR", str(tmp_path))
|
|
316
|
+
experiment = tmp_path / "experiments" / "exp1"
|
|
317
|
+
reports = experiment / "reports"
|
|
318
|
+
reports.mkdir(parents=True)
|
|
319
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
320
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
321
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
322
|
+
config = tmp_path / "report-config.json"
|
|
323
|
+
config.write_text(json.dumps({"report_outputs": {"markdown": False, "html": True}}))
|
|
324
|
+
|
|
325
|
+
result = main(["--experiment", "exp1", "--report-config", str(config)])
|
|
326
|
+
|
|
327
|
+
assert result == 0
|
|
328
|
+
assert not (experiment / "comparison_report.md").exists()
|
|
329
|
+
html_report = experiment / "comparison_report.html"
|
|
330
|
+
assert html_report.exists()
|
|
331
|
+
html = html_report.read_text(encoding="utf-8")
|
|
332
|
+
assert "Comet Baseline Comparison Report" in html
|
|
333
|
+
assert "paper-figure" in html
|
|
334
|
+
assert 'data-chart-backend="python"' in html
|
|
335
|
+
assert "Rubric dimension deltas" in html
|
|
336
|
+
assert "Task outcome matrix" in html
|
|
337
|
+
assert "<svg" in html
|
|
338
|
+
assert "matplotlib" not in html.lower()
|
|
339
|
+
assert "chart.js" not in html.lower()
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
def test_html_report_falls_back_when_python_chart_backend_disabled(monkeypatch, tmp_path: Path):
|
|
343
|
+
monkeypatch.setenv("COMET_EVAL_REPORT_CHART_BACKEND", "inline")
|
|
344
|
+
experiment = tmp_path / "experiment"
|
|
345
|
+
reports = experiment / "reports"
|
|
346
|
+
reports.mkdir(parents=True)
|
|
347
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
348
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
349
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
350
|
+
|
|
351
|
+
markdown = build_report(experiment)
|
|
352
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
353
|
+
|
|
354
|
+
assert 'data-chart-backend="inline-svg"' in html
|
|
355
|
+
assert "Task outcome matrix" in html
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
def test_compare_report_uses_structured_failure_attribution(tmp_path: Path):
|
|
359
|
+
experiment = tmp_path / "experiment"
|
|
360
|
+
reports = experiment / "reports"
|
|
361
|
+
reports.mkdir(parents=True)
|
|
362
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
363
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
364
|
+
workflow = {
|
|
365
|
+
"name": "comet-full-workflow-COMET_FULL_040_BETA",
|
|
366
|
+
"passed": False,
|
|
367
|
+
"checks_passed": [],
|
|
368
|
+
"checks_failed": ["Required skill not invoked: comet"],
|
|
369
|
+
"events_summary": {
|
|
370
|
+
"total_tokens": 200,
|
|
371
|
+
"total_cost_usd": 0.02,
|
|
372
|
+
"failure_attribution": [
|
|
373
|
+
{
|
|
374
|
+
"bucket": "harness",
|
|
375
|
+
"check": "Required skill not invoked: comet",
|
|
376
|
+
"reason": "target Skill was never invoked",
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
},
|
|
380
|
+
}
|
|
381
|
+
(reports / "COMET_FULL_040_BETA_report.json").write_text(json.dumps(workflow))
|
|
382
|
+
|
|
383
|
+
report = build_report(experiment)
|
|
384
|
+
|
|
385
|
+
assert "**harness**" in report
|
|
386
|
+
assert "[harness] target Skill was never invoked" in report
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
def test_compare_report_groups_repeated_failure_attribution(tmp_path: Path):
|
|
390
|
+
experiment = tmp_path / "experiment"
|
|
391
|
+
reports = experiment / "reports"
|
|
392
|
+
reports.mkdir(parents=True)
|
|
393
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
394
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
395
|
+
for index in range(2):
|
|
396
|
+
workflow = {
|
|
397
|
+
"name": f"comet-full-workflow-COMET_FULL_040_BETA-r{index}",
|
|
398
|
+
"passed": False,
|
|
399
|
+
"checks_passed": [],
|
|
400
|
+
"checks_failed": ["Required Superpowers dependency skill not invoked"],
|
|
401
|
+
"events_summary": {
|
|
402
|
+
"total_tokens": 200,
|
|
403
|
+
"total_cost_usd": 0.02,
|
|
404
|
+
"failure_attribution": [
|
|
405
|
+
{
|
|
406
|
+
"bucket": "workflow",
|
|
407
|
+
"check": "Required Superpowers dependency skill not invoked",
|
|
408
|
+
"reason": "Skill invocation contract failed",
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
},
|
|
412
|
+
}
|
|
413
|
+
(reports / f"COMET_FULL_040_BETA_{index}_report.json").write_text(
|
|
414
|
+
json.dumps(workflow)
|
|
415
|
+
)
|
|
416
|
+
|
|
417
|
+
report = build_report(experiment)
|
|
418
|
+
|
|
419
|
+
assert "- **workflow** (2):" in report
|
|
420
|
+
assert (
|
|
421
|
+
"x2 Required Superpowers dependency skill not invoked -> "
|
|
422
|
+
"[workflow] Skill invocation contract failed"
|
|
423
|
+
) in report
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
def test_compare_report_labels_failure_attribution_as_run_level_checks(tmp_path: Path):
|
|
427
|
+
experiment = tmp_path / "experiment"
|
|
428
|
+
reports = experiment / "reports"
|
|
429
|
+
reports.mkdir(parents=True)
|
|
430
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
431
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
432
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02, passed=False)
|
|
433
|
+
|
|
434
|
+
report = build_report(experiment)
|
|
435
|
+
html = render_markdown_html(report, title="Comet Baseline Comparison Report")
|
|
436
|
+
|
|
437
|
+
assert "## Run-level failed checks" in report
|
|
438
|
+
assert (
|
|
439
|
+
"These are sample-level `checks_failed` entries. They can coexist with "
|
|
440
|
+
"`workflow_completion == 1.00`, `pass@k == 1.00`, or a passing task outcome"
|
|
441
|
+
in report
|
|
442
|
+
)
|
|
443
|
+
assert "<h2>样本级失败检查</h2>" in html
|
|
444
|
+
assert "它们可以与 <code>workflow_completion == 1.00</code>、<code>pass@k == 1.00</code>" in html
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
def test_compare_report_lists_source_evidence(tmp_path: Path):
|
|
448
|
+
experiment = tmp_path / "experiment"
|
|
449
|
+
reports = experiment / "reports"
|
|
450
|
+
reports.mkdir(parents=True)
|
|
451
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
452
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
453
|
+
workflow = {
|
|
454
|
+
"name": "comet-full-workflow-COMET_FULL_040_BETA",
|
|
455
|
+
"passed": True,
|
|
456
|
+
"run_id": "run-123",
|
|
457
|
+
"checks_passed": ["[RUBRIC] weighted_score: 1.00 - ok"],
|
|
458
|
+
"checks_failed": [],
|
|
459
|
+
"events_summary": {
|
|
460
|
+
"profile": "comet-workflow",
|
|
461
|
+
"skill_sources": [{"name": "comet", "hash": "sha256:abc"}],
|
|
462
|
+
"eval_manifest": "demo/comet/eval.yaml",
|
|
463
|
+
"artifact_references": {"report": "reports/COMET_FULL_040_BETA_report.json"},
|
|
464
|
+
"total_tokens": 200,
|
|
465
|
+
"total_cost_usd": 0.02,
|
|
466
|
+
},
|
|
467
|
+
}
|
|
468
|
+
(reports / "COMET_FULL_040_BETA_report.json").write_text(json.dumps(workflow))
|
|
469
|
+
|
|
470
|
+
report = build_report(experiment)
|
|
471
|
+
|
|
472
|
+
assert "## Source evidence" in report
|
|
473
|
+
assert "Use this section to trace each aggregate metric back to the raw run artifacts." in report
|
|
474
|
+
assert "`Quality` is the sample-quality status used by the analysis-set filter." in report
|
|
475
|
+
assert "`Skill sources` records installed Skill identity or hash evidence when the run provides it." in report
|
|
476
|
+
assert "`run-123`" in report
|
|
477
|
+
assert "comet-workflow" in report
|
|
478
|
+
assert "sha256:abc" in report
|
|
479
|
+
assert "reports/COMET_FULL_040_BETA_report.json" in report
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
def test_compare_report_overall_uses_weighted_score(tmp_path: Path):
|
|
483
|
+
experiment = tmp_path / "experiment"
|
|
484
|
+
reports = experiment / "reports"
|
|
485
|
+
reports.mkdir(parents=True)
|
|
486
|
+
|
|
487
|
+
workflow = {
|
|
488
|
+
"name": "comet-full-workflow-COMET_FULL_040_BETA",
|
|
489
|
+
"passed": True,
|
|
490
|
+
"checks_passed": [
|
|
491
|
+
"[RUBRIC] main_flow: 1.00 - ok",
|
|
492
|
+
"[RUBRIC] gate_guard: 1.00 - ok",
|
|
493
|
+
"[RUBRIC] skill_invocation: 1.00 - ok",
|
|
494
|
+
"[RUBRIC] spec_drift: 1.00 - ok",
|
|
495
|
+
"[RUBRIC] business_completion: 1.00 - ok",
|
|
496
|
+
"[RUBRIC] workflow_completion: 1.00 - ok",
|
|
497
|
+
"[RUBRIC] efficiency: 1.00 - ok",
|
|
498
|
+
"[RUBRIC] decision_point_compliance: 1.00 - ok",
|
|
499
|
+
"[RUBRIC] artifact_quality: 1.00 - ok",
|
|
500
|
+
"[RUBRIC] recovery_resilience: 1.00 - ok",
|
|
501
|
+
"[RUBRIC] weighted_score: 0.25",
|
|
502
|
+
],
|
|
503
|
+
"checks_failed": [],
|
|
504
|
+
"events_summary": {},
|
|
505
|
+
}
|
|
506
|
+
baseline = {
|
|
507
|
+
"name": "comet-full-workflow-COMET_FULL_039",
|
|
508
|
+
"passed": True,
|
|
509
|
+
"checks_passed": [
|
|
510
|
+
"[RUBRIC] main_flow: 0.00 - missing",
|
|
511
|
+
"[RUBRIC] gate_guard: 0.00 - missing",
|
|
512
|
+
"[RUBRIC] skill_invocation: 0.00 - missing",
|
|
513
|
+
"[RUBRIC] spec_drift: 0.00 - missing",
|
|
514
|
+
"[RUBRIC] business_completion: 0.00 - missing",
|
|
515
|
+
"[RUBRIC] workflow_completion: 0.00 - missing",
|
|
516
|
+
"[RUBRIC] efficiency: 0.00 - missing",
|
|
517
|
+
"[RUBRIC] decision_point_compliance: 0.00 - missing",
|
|
518
|
+
"[RUBRIC] artifact_quality: 0.00 - missing",
|
|
519
|
+
"[RUBRIC] recovery_resilience: 0.00 - missing",
|
|
520
|
+
"[RUBRIC] weighted_score: 0.75",
|
|
521
|
+
],
|
|
522
|
+
"checks_failed": [],
|
|
523
|
+
"events_summary": {},
|
|
524
|
+
}
|
|
525
|
+
(reports / "workflow_report.json").write_text(json.dumps(workflow))
|
|
526
|
+
(reports / "baseline_report.json").write_text(json.dumps(baseline))
|
|
527
|
+
|
|
528
|
+
report = build_report(experiment)
|
|
529
|
+
|
|
530
|
+
assert "| **Overall** | — | 0.25 | 0.75 | -0.50 |" in report
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
def test_compare_report_marks_control_workflow_dimensions_with_slash(tmp_path: Path):
|
|
534
|
+
experiment = tmp_path / "experiment"
|
|
535
|
+
reports = experiment / "reports"
|
|
536
|
+
reports.mkdir(parents=True)
|
|
537
|
+
|
|
538
|
+
control = {
|
|
539
|
+
"name": "comet-full-workflow-CONTROL",
|
|
540
|
+
"passed": True,
|
|
541
|
+
"checks_passed": [
|
|
542
|
+
"[RUBRIC] main_flow: N/A - CONTROL business-only baseline",
|
|
543
|
+
"[RUBRIC] gate_guard: N/A - CONTROL business-only baseline",
|
|
544
|
+
"[RUBRIC] skill_invocation: N/A - CONTROL business-only baseline",
|
|
545
|
+
"[RUBRIC] spec_drift: N/A - CONTROL business-only baseline",
|
|
546
|
+
"[RUBRIC] business_completion: 1.00 - ok",
|
|
547
|
+
"[RUBRIC] workflow_completion: N/A - CONTROL business-only baseline",
|
|
548
|
+
"[RUBRIC] efficiency: 1.00 - ok",
|
|
549
|
+
"[RUBRIC] weighted_score: 1.00",
|
|
550
|
+
],
|
|
551
|
+
"checks_failed": [],
|
|
552
|
+
"events_summary": {},
|
|
553
|
+
}
|
|
554
|
+
workflow = {
|
|
555
|
+
"name": "comet-full-workflow-COMET_FULL_040_BETA",
|
|
556
|
+
"passed": True,
|
|
557
|
+
"checks_passed": [
|
|
558
|
+
"[RUBRIC] main_flow: 1.00 - ok",
|
|
559
|
+
"[RUBRIC] gate_guard: 1.00 - ok",
|
|
560
|
+
"[RUBRIC] skill_invocation: 1.00 - ok",
|
|
561
|
+
"[RUBRIC] spec_drift: 1.00 - ok",
|
|
562
|
+
"[RUBRIC] business_completion: 1.00 - ok",
|
|
563
|
+
"[RUBRIC] workflow_completion: 1.00 - ok",
|
|
564
|
+
"[RUBRIC] efficiency: 1.00 - ok",
|
|
565
|
+
"[RUBRIC] weighted_score: 1.00",
|
|
566
|
+
],
|
|
567
|
+
"checks_failed": [],
|
|
568
|
+
"events_summary": {},
|
|
569
|
+
}
|
|
570
|
+
baseline = dict(workflow, name="comet-full-workflow-COMET_FULL_039")
|
|
571
|
+
(reports / "control_report.json").write_text(json.dumps(control))
|
|
572
|
+
(reports / "workflow_report.json").write_text(json.dumps(workflow))
|
|
573
|
+
(reports / "baseline_report.json").write_text(json.dumps(baseline))
|
|
574
|
+
|
|
575
|
+
report = build_report(experiment)
|
|
576
|
+
|
|
577
|
+
assert "| main_flow | / | 1.00 | 1.00 | +0.00 |" in report
|
|
578
|
+
assert "| skill_invocation | / | 1.00 | 1.00 | +0.00 |" in report
|
|
579
|
+
assert "| business_completion | 1.00 | 1.00 | 1.00 | +0.00 |" in report
|
|
580
|
+
assert "| workflow_completion | / | 1.00 | 1.00 | +0.00 |" in report
|
|
581
|
+
assert "| completion |" not in report
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
def test_compare_report_excludes_hard_noise_from_analysis_metrics(tmp_path: Path):
|
|
585
|
+
experiment = tmp_path / "experiment"
|
|
586
|
+
reports = experiment / "reports"
|
|
587
|
+
reports.mkdir(parents=True)
|
|
588
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
589
|
+
_write_quality_report(
|
|
590
|
+
reports,
|
|
591
|
+
"workflow_clean",
|
|
592
|
+
name="comet-fix-median-COMET_FULL_040_BETA",
|
|
593
|
+
weighted_score=1.0,
|
|
594
|
+
tokens=200,
|
|
595
|
+
cost=0.02,
|
|
596
|
+
sample_quality={
|
|
597
|
+
"status": "included",
|
|
598
|
+
"reason_code": "valid_signal",
|
|
599
|
+
"reason": "clean",
|
|
600
|
+
"include_in_analysis": True,
|
|
601
|
+
"confidence": "high",
|
|
602
|
+
"evidence": ["result event present"],
|
|
603
|
+
},
|
|
604
|
+
)
|
|
605
|
+
_write_quality_report(
|
|
606
|
+
reports,
|
|
607
|
+
"workflow_timeout",
|
|
608
|
+
name="comet-fix-median-COMET_FULL_040_BETA-r1",
|
|
609
|
+
weighted_score=0.0,
|
|
610
|
+
tokens=999,
|
|
611
|
+
cost=9.99,
|
|
612
|
+
sample_quality={
|
|
613
|
+
"status": "excluded",
|
|
614
|
+
"reason_code": "api_timeout",
|
|
615
|
+
"reason": "timeout",
|
|
616
|
+
"include_in_analysis": False,
|
|
617
|
+
"confidence": "high",
|
|
618
|
+
"evidence": ["stderr timeout"],
|
|
619
|
+
},
|
|
620
|
+
passed=False,
|
|
621
|
+
)
|
|
622
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
623
|
+
|
|
624
|
+
report = build_report(experiment)
|
|
625
|
+
|
|
626
|
+
assert "## Data quality summary" in report
|
|
627
|
+
assert "| COMET_FULL_040_BETA | 2 | 1 | 0 | 1 |" in report
|
|
628
|
+
assert "| COMET_FULL_040_BETA | 1 |" in report
|
|
629
|
+
assert "| COMET_FULL_040_BETA | 1 | 200 | $0.0200 | 200 | $0.0200 |" in report
|
|
630
|
+
assert "workflow_timeout" in report
|
|
631
|
+
assert "api_timeout" in report
|
|
632
|
+
assert "999" not in report.split("## Spend summary", 1)[1].split("## Source evidence", 1)[0]
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
def test_compare_report_lists_flagged_runs_without_excluding_them(tmp_path: Path):
|
|
636
|
+
experiment = tmp_path / "experiment"
|
|
637
|
+
reports = experiment / "reports"
|
|
638
|
+
reports.mkdir(parents=True)
|
|
639
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
640
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
641
|
+
_write_quality_report(
|
|
642
|
+
reports,
|
|
643
|
+
"workflow_flagged",
|
|
644
|
+
name="comet-full-workflow-COMET_FULL_040_BETA",
|
|
645
|
+
weighted_score=0.5,
|
|
646
|
+
tokens=200,
|
|
647
|
+
cost=0.02,
|
|
648
|
+
sample_quality={
|
|
649
|
+
"status": "flagged",
|
|
650
|
+
"reason_code": "harness_trigger_suspect",
|
|
651
|
+
"reason": "target Skill may not have been triggered",
|
|
652
|
+
"include_in_analysis": True,
|
|
653
|
+
"confidence": "medium",
|
|
654
|
+
"evidence": ["target Skill was never invoked"],
|
|
655
|
+
},
|
|
656
|
+
)
|
|
657
|
+
|
|
658
|
+
report = build_report(experiment)
|
|
659
|
+
|
|
660
|
+
assert "## Flagged runs" in report
|
|
661
|
+
assert "harness_trigger_suspect" in report
|
|
662
|
+
assert "| Treatment | Raw runs | Analysis set | Flagged | Excluded |" in report
|
|
663
|
+
assert "| COMET_FULL_040_BETA | 1 | 1 | 1 | 0 |" in report
|
|
664
|
+
assert "| COMET_FULL_040_BETA | 1 | 200 | $0.0200 | 200 | $0.0200 |" in report
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
def test_compare_report_summarizes_multiline_loop_evidence(tmp_path: Path):
|
|
668
|
+
experiment = tmp_path / "experiment"
|
|
669
|
+
reports = experiment / "reports"
|
|
670
|
+
reports.mkdir(parents=True)
|
|
671
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
672
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
673
|
+
_write_quality_report(
|
|
674
|
+
reports,
|
|
675
|
+
"workflow_flagged",
|
|
676
|
+
name="comet-full-workflow-COMET_FULL_040_BETA",
|
|
677
|
+
weighted_score=0.5,
|
|
678
|
+
tokens=200,
|
|
679
|
+
cost=0.02,
|
|
680
|
+
sample_quality={
|
|
681
|
+
"status": "flagged",
|
|
682
|
+
"reason_code": "completed_run_mentions_outer_failure",
|
|
683
|
+
"reason": "completed with suspicious runner output",
|
|
684
|
+
"include_in_analysis": True,
|
|
685
|
+
"confidence": "medium",
|
|
686
|
+
"evidence": [
|
|
687
|
+
"[loop] turn 1/12\n"
|
|
688
|
+
"[loop] decision point detected; simulating user reply\n"
|
|
689
|
+
"[loop] simulated reply (42 chars)\n"
|
|
690
|
+
"[loop] turn 2/12\n"
|
|
691
|
+
"[loop] workflow appears complete; ending\n"
|
|
692
|
+
"[loop] finished after 2 turns"
|
|
693
|
+
],
|
|
694
|
+
},
|
|
695
|
+
)
|
|
696
|
+
|
|
697
|
+
report = build_report(experiment)
|
|
698
|
+
|
|
699
|
+
assert "loop trace: 2 turns; 1 simulated decision reply; see report JSON for full evidence" in report
|
|
700
|
+
flagged_section = report.split("## Flagged runs", 1)[1].split("## Raw vs analysis", 1)[0]
|
|
701
|
+
assert "[loop] decision point detected" not in flagged_section
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
def test_compare_report_reports_insufficient_clean_data(tmp_path: Path):
|
|
705
|
+
experiment = tmp_path / "experiment"
|
|
706
|
+
reports = experiment / "reports"
|
|
707
|
+
reports.mkdir(parents=True)
|
|
708
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
709
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
710
|
+
_write_quality_report(
|
|
711
|
+
reports,
|
|
712
|
+
"workflow_timeout",
|
|
713
|
+
name="comet-full-workflow-COMET_FULL_040_BETA",
|
|
714
|
+
weighted_score=0.0,
|
|
715
|
+
tokens=999,
|
|
716
|
+
cost=9.99,
|
|
717
|
+
sample_quality={
|
|
718
|
+
"status": "excluded",
|
|
719
|
+
"reason_code": "runner_timeout",
|
|
720
|
+
"reason": "timeout",
|
|
721
|
+
"include_in_analysis": False,
|
|
722
|
+
"confidence": "high",
|
|
723
|
+
"evidence": ["Timeout after 600s"],
|
|
724
|
+
},
|
|
725
|
+
passed=False,
|
|
726
|
+
)
|
|
727
|
+
|
|
728
|
+
report = build_report(experiment)
|
|
729
|
+
|
|
730
|
+
assert "Insufficient clean data" in report
|
|
731
|
+
assert "COMET_FULL_040_BETA" in report
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
def test_compare_report_keeps_data_quality_sections_when_all_key_runs_are_excluded(tmp_path: Path):
|
|
735
|
+
experiment = tmp_path / "experiment"
|
|
736
|
+
reports = experiment / "reports"
|
|
737
|
+
reports.mkdir(parents=True)
|
|
738
|
+
_write_quality_report(
|
|
739
|
+
reports,
|
|
740
|
+
"workflow_timeout",
|
|
741
|
+
name="comet-full-workflow-COMET_FULL_040_BETA",
|
|
742
|
+
weighted_score=0.0,
|
|
743
|
+
tokens=999,
|
|
744
|
+
cost=9.99,
|
|
745
|
+
sample_quality={
|
|
746
|
+
"status": "excluded",
|
|
747
|
+
"reason_code": "runner_timeout",
|
|
748
|
+
"reason": "timeout",
|
|
749
|
+
"include_in_analysis": False,
|
|
750
|
+
"confidence": "high",
|
|
751
|
+
"evidence": ["Timeout after 600s"],
|
|
752
|
+
},
|
|
753
|
+
passed=False,
|
|
754
|
+
)
|
|
755
|
+
_write_quality_report(
|
|
756
|
+
reports,
|
|
757
|
+
"baseline_timeout",
|
|
758
|
+
name="comet-full-workflow-COMET_FULL_039",
|
|
759
|
+
weighted_score=0.0,
|
|
760
|
+
tokens=888,
|
|
761
|
+
cost=8.88,
|
|
762
|
+
sample_quality={
|
|
763
|
+
"status": "excluded",
|
|
764
|
+
"reason_code": "api_timeout",
|
|
765
|
+
"reason": "timeout",
|
|
766
|
+
"include_in_analysis": False,
|
|
767
|
+
"confidence": "high",
|
|
768
|
+
"evidence": ["stderr timeout"],
|
|
769
|
+
},
|
|
770
|
+
passed=False,
|
|
771
|
+
)
|
|
772
|
+
|
|
773
|
+
report = build_report(experiment)
|
|
774
|
+
|
|
775
|
+
assert "## Data quality summary" in report
|
|
776
|
+
assert "## Excluded runs" in report
|
|
777
|
+
assert "## Source evidence" in report
|
|
778
|
+
assert "Insufficient clean data" in report
|
|
779
|
+
assert "No report data found" not in report
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
def test_html_report_includes_data_quality_summary(tmp_path: Path):
|
|
783
|
+
experiment = tmp_path / "experiment"
|
|
784
|
+
reports = experiment / "reports"
|
|
785
|
+
reports.mkdir(parents=True)
|
|
786
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
787
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
788
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
789
|
+
|
|
790
|
+
markdown = build_report(experiment)
|
|
791
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
792
|
+
|
|
793
|
+
assert "Data quality summary" in html
|
|
794
|
+
assert "paper-figure" in html
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
def test_html_report_wraps_wide_evidence_tables(tmp_path: Path):
|
|
798
|
+
experiment = tmp_path / "experiment"
|
|
799
|
+
reports = experiment / "reports"
|
|
800
|
+
reports.mkdir(parents=True)
|
|
801
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
802
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
803
|
+
_write_quality_report(
|
|
804
|
+
reports,
|
|
805
|
+
"workflow_flagged",
|
|
806
|
+
name="comet-full-workflow-COMET_FULL_040_BETA",
|
|
807
|
+
weighted_score=0.5,
|
|
808
|
+
tokens=200,
|
|
809
|
+
cost=0.02,
|
|
810
|
+
sample_quality={
|
|
811
|
+
"status": "flagged",
|
|
812
|
+
"reason_code": "completed_run_mentions_outer_failure",
|
|
813
|
+
"reason": "completed with suspicious runner output",
|
|
814
|
+
"include_in_analysis": True,
|
|
815
|
+
"confidence": "medium",
|
|
816
|
+
"evidence": ["a-very-long-evidence-token-without-natural-breaks-" * 8],
|
|
817
|
+
},
|
|
818
|
+
)
|
|
819
|
+
|
|
820
|
+
markdown = build_report(experiment)
|
|
821
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
822
|
+
|
|
823
|
+
assert 'class="table-scroll"' in html
|
|
824
|
+
assert 'class="col-evidence"' in html
|
|
825
|
+
assert 'class="col-report"' in html
|
|
826
|
+
assert "overflow-wrap: anywhere" in html
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
def test_html_report_includes_bilingual_language_toggle(tmp_path: Path):
|
|
830
|
+
experiment = tmp_path / "experiment"
|
|
831
|
+
reports = experiment / "reports"
|
|
832
|
+
reports.mkdir(parents=True)
|
|
833
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
834
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
835
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
836
|
+
|
|
837
|
+
markdown = build_report(experiment)
|
|
838
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
839
|
+
|
|
840
|
+
assert '<html lang="zh-CN" data-lang="zh">' in html
|
|
841
|
+
assert 'class="language-toggle"' in html
|
|
842
|
+
assert 'data-set-lang="zh"' in html
|
|
843
|
+
assert 'data-set-lang="en"' in html
|
|
844
|
+
assert 'data-locale="zh"' in html
|
|
845
|
+
assert 'data-locale="en"' in html
|
|
846
|
+
assert "Comet 基线对比报告" in html
|
|
847
|
+
assert "Comet Baseline Comparison Report" in html
|
|
848
|
+
assert "pass@k / pass^k — 能力上限 vs 可靠性下限" in html
|
|
849
|
+
assert "指标说明" in html
|
|
850
|
+
assert "运行摘要" in html
|
|
851
|
+
assert "业务 validator 通过率" in html
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
def test_html_report_uses_conference_paper_layout(tmp_path: Path):
|
|
855
|
+
experiment = tmp_path / "experiment"
|
|
856
|
+
reports = experiment / "reports"
|
|
857
|
+
reports.mkdir(parents=True)
|
|
858
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
859
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
860
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
861
|
+
|
|
862
|
+
markdown = build_report(experiment)
|
|
863
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
864
|
+
|
|
865
|
+
assert "--page-width: 980px;" in html
|
|
866
|
+
assert "linear-gradient(90deg" not in html
|
|
867
|
+
assert "box-shadow: none;" in html
|
|
868
|
+
assert "border-top: 2px solid var(--ink);" in html
|
|
869
|
+
assert html.index("<h1>Comet 基线对比报告</h1>") < html.index('class="paper-figures"')
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
def test_html_report_includes_paper_abstract_and_centers_figures(tmp_path: Path):
|
|
873
|
+
experiment = tmp_path / "experiment"
|
|
874
|
+
reports = experiment / "reports"
|
|
875
|
+
reports.mkdir(parents=True)
|
|
876
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
877
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
878
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
879
|
+
|
|
880
|
+
markdown = build_report(experiment)
|
|
881
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
882
|
+
|
|
883
|
+
assert '<section class="paper-abstract">' in html
|
|
884
|
+
assert "<strong>Abstract.</strong>" in html
|
|
885
|
+
assert "<strong>摘要。</strong>" in html
|
|
886
|
+
assert "justify-items: center;" in html
|
|
887
|
+
assert "margin-left: auto;" in html
|
|
888
|
+
assert "margin-right: auto;" in html
|
|
889
|
+
assert html.index("<h1>Comet 基线对比报告</h1>") < html.index('<section class="paper-abstract">')
|
|
890
|
+
assert html.index('<section class="paper-abstract">') < html.index('class="paper-figures"')
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
def test_html_report_centers_markdown_tables(tmp_path: Path):
|
|
894
|
+
experiment = tmp_path / "experiment"
|
|
895
|
+
reports = experiment / "reports"
|
|
896
|
+
reports.mkdir(parents=True)
|
|
897
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
898
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
899
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
900
|
+
|
|
901
|
+
markdown = build_report(experiment)
|
|
902
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
903
|
+
|
|
904
|
+
assert "width: max-content;" in html
|
|
905
|
+
assert "max-width: 100%;" in html
|
|
906
|
+
assert "margin: 0 auto 1rem;" in html
|
|
907
|
+
assert "margin: 0 auto;" in html
|
|
908
|
+
assert "text-align: center;" in html
|
|
909
|
+
assert ".col-task," in html
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
def test_html_report_renders_localized_emphasis_without_literal_underscore_markers(tmp_path: Path):
|
|
913
|
+
experiment = tmp_path / "experiment"
|
|
914
|
+
reports = experiment / "reports"
|
|
915
|
+
reports.mkdir(parents=True)
|
|
916
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
917
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
918
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
919
|
+
|
|
920
|
+
markdown = build_report(experiment)
|
|
921
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
922
|
+
|
|
923
|
+
assert "<p>_分数是二值通过率" not in html
|
|
924
|
+
assert "权重见下方)。_</p>" not in html
|
|
925
|
+
assert "<p><em>分数是二值通过率" in html
|
|
926
|
+
assert "weighted_score" in html
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
def test_html_report_keeps_chinese_chart_text_utf8(tmp_path: Path):
|
|
930
|
+
experiment = tmp_path / "experiment"
|
|
931
|
+
reports = experiment / "reports"
|
|
932
|
+
reports.mkdir(parents=True)
|
|
933
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
934
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
935
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
936
|
+
|
|
937
|
+
markdown = build_report(experiment)
|
|
938
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
939
|
+
|
|
940
|
+
assert "图 1. Rubric 维度差异" in html
|
|
941
|
+
assert "图 3. 任务结果矩阵" in html
|
|
942
|
+
assert "ͼ 1." not in html
|
|
943
|
+
assert "����" not in html
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
def test_html_report_localizes_failure_attribution_in_chinese_layer(tmp_path: Path):
|
|
947
|
+
experiment = tmp_path / "experiment"
|
|
948
|
+
reports = experiment / "reports"
|
|
949
|
+
reports.mkdir(parents=True)
|
|
950
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
951
|
+
control = {
|
|
952
|
+
"name": "comet-fix-median-CONTROL",
|
|
953
|
+
"passed": False,
|
|
954
|
+
"checks_passed": [],
|
|
955
|
+
"checks_failed": ["business validator failed"],
|
|
956
|
+
"events_summary": {},
|
|
957
|
+
}
|
|
958
|
+
workflow = {
|
|
959
|
+
"name": "comet-fix-median-COMET_FULL_040_BETA",
|
|
960
|
+
"passed": False,
|
|
961
|
+
"checks_passed": [],
|
|
962
|
+
"checks_failed": ["workflow validator failed"],
|
|
963
|
+
"events_summary": {},
|
|
964
|
+
}
|
|
965
|
+
(reports / "control_report.json").write_text(json.dumps(control), encoding="utf-8")
|
|
966
|
+
(reports / "workflow_report.json").write_text(json.dumps(workflow), encoding="utf-8")
|
|
967
|
+
|
|
968
|
+
markdown = build_report(experiment)
|
|
969
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
970
|
+
zh = html.split('<section class="localized" data-locale="zh"', 1)[1].split(
|
|
971
|
+
'<section class="localized" data-locale="en"',
|
|
972
|
+
1,
|
|
973
|
+
)[0]
|
|
974
|
+
|
|
975
|
+
assert "CONTROL(1 个失败)" in zh
|
|
976
|
+
assert "business/业务" in zh
|
|
977
|
+
assert "业务实现未通过" in zh
|
|
978
|
+
assert "workflow/流程" in zh
|
|
979
|
+
assert "Workflow 验证未通过" in zh
|
|
980
|
+
assert "model/模型" not in zh
|
|
981
|
+
assert "unclassified failure" not in zh
|
|
982
|
+
assert "failure(s)" not in zh
|
|
983
|
+
|
|
984
|
+
|
|
985
|
+
def test_html_report_renders_markdown_emphasis_without_literal_underscores(tmp_path: Path):
|
|
986
|
+
experiment = tmp_path / "experiment"
|
|
987
|
+
reports = experiment / "reports"
|
|
988
|
+
reports.mkdir(parents=True)
|
|
989
|
+
_write_report(reports, "CONTROL", 100, 0.01)
|
|
990
|
+
_write_report(reports, "COMET_FULL_040_BETA", 200, 0.02)
|
|
991
|
+
_write_report(reports, "COMET_FULL_039", 300, 0.03)
|
|
992
|
+
|
|
993
|
+
markdown = build_report(experiment)
|
|
994
|
+
html = render_markdown_html(markdown, title="Comet Baseline Comparison Report")
|
|
995
|
+
|
|
996
|
+
assert "<em>仅统计分析集;已排除的硬噪声运行不会进入统计。</em>" in html
|
|
997
|
+
assert "<em>Analysis set only; excluded hard-noise runs are omitted.</em>" in html
|
|
998
|
+
assert "<p>_仅统计分析集" not in html
|
|
999
|
+
assert "<p>_Analysis set only" not in html
|