@mutagent/helix 0.1.0-alpha.14
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/.claude/skills/mutagent-helix/SKILL.md +113 -0
- package/.claude/skills/mutagent-helix/scripts/cli/codex-transcode.ts +143 -0
- package/.claude/skills/mutagent-helix/scripts/cli/doctor.ts +111 -0
- package/.claude/skills/mutagent-helix/scripts/cli/init.ts +382 -0
- package/.claude/skills/mutagent-helix/scripts/cli/run.sh +61 -0
- package/CLAUDE.md +193 -0
- package/LICENSE +201 -0
- package/NOTICE +22 -0
- package/README.md +209 -0
- package/assets/adl-loop.svg +162 -0
- package/assets/system-status.svg +422 -0
- package/bin/mutagent-cli.mjs +9950 -0
- package/bin/mutagent-helix.mjs +78 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/CLAUDE.md +28 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/SKILL.md +138 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/assets/templates/agentspec.yaml.tpl +247 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/references/frameworks/doc-pins.md +53 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/references/principles.md +91 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/references/requirements.yaml +295 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/references/workflows/orchestrator-protocol.md +302 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/scripts/cli/doctor.ts +116 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/scripts/cli/init.ts +230 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/scripts/cli/run.sh +60 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/scripts/config/resolve-spec-dir.ts +199 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/scripts/contract/agentspec.schema.ts +455 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/scripts/setup/detect.ts +67 -0
- package/mutagent-agentspec/.claude/skills/mutagent-agentspec/scripts/validate/validate-spec.ts +93 -0
- package/mutagent-agentspec/LICENSE +201 -0
- package/mutagent-agentspec/NOTICE +19 -0
- package/mutagent-agentspec/README.md +44 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/SKILL.md +100 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/assets/agents/ai-architect.md +312 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/assets/agents/ai-engineer.md +357 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/assets/templates/build-report.md.tpl +39 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/references/principles.md +31 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/references/workflows/build-protocol.md +61 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/references/workflows/improve-handoff.md +23 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/scripts/cli/run.sh +60 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/scripts/handoff/validate-build-input.ts +72 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/scripts/sync-spec/check-sync-spec.ts +499 -0
- package/mutagent-builder/.claude/skills/mutagent-builder/scripts/verify/spec-impl-coverage.ts +182 -0
- package/mutagent-builder/CLAUDE.md +25 -0
- package/mutagent-builder/README.md +26 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/README.md +192 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/SKILL.md +352 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/agents/ai-architect.md +256 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/agents/ai-engineer.md +344 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/agents/diagnostics-analyzer.md +576 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/agents/discovery.md +425 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/audit.json.tpl +24 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/audit.md.tpl +49 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/config.yaml.tpl +100 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/pr-body.md.tpl +56 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/report.html.tpl +327 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/shared/README.md +27 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/shared/iter-N-handover.md.tpl +125 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/shared/self-diagnosis-contract.v0.1.0.yaml.tpl +234 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/shared/spec.yaml.tpl +152 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/shared/team.yaml.tpl +127 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/templates/shared/wave-N-dashboard.html.tpl +1712 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/diagnostics/WF-2.1-nl-query.md +59 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/diagnostics/WF-2.2-tier0-progress.md +58 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/diagnostics/WF-2.3-analysis-progress.md +44 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/diagnostics/WF-2.4-html-report.md +61 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/diagnostics/WF-2.5-rca-detail.md +69 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/diagnostics/WF-2.6-stale-warning.md +53 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.1-welcome.md +60 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.2-source-platform-picker.md +41 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.3-source-auth.md +75 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.4-target-picker.md +48 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.5-ask-tool.md +43 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.6-config-review.md +57 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.7-filter-defaults.md +52 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/assets/wireframes/onboarding/WF-1.8-first-run.md +59 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/examples/sample-findings.json +92 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/examples/sample-meta.json +47 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/adapter-strategy.md +75 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/config-migration.md +84 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/config.md +159 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/filter-search-matrix.md +66 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/harness-knowledge.md +22 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/memory-format.md +78 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/onboarding-decisions.yaml +187 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/operation-inventory.md +59 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/overview.md +167 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/reference.md +119 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/script-index.md +101 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-adapter-contract.md +93 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/claude-code-transcripts.md +66 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/codex-transcripts.md +78 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/codex.md +145 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/install-paths.md +57 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/langfuse.md +178 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/local-jsonl.md +55 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/openobserve.md +102 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/source-platforms/otel.md +63 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/target-platforms/cloud-rest.md +84 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/target-platforms/local-claude.md +65 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/target-platforms/local-cloud-agent-sdk.md +92 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/target-platforms/local-codex.md +72 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/target-platforms/local-cursor.md +108 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/target-platforms/local-mastra.md +77 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/target-platforms/local-opencode.md +70 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/apply-pr-comment-format.md +82 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/diagnostics.md +35 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/handover-contract.md +247 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/onboarding.md +300 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/orchestrator-protocol.md +1861 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/rca.md +331 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/rendering-anatomy.md +314 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/schedule-prep.md +100 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/scope-model.md +128 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/references/workflows/verification-methodology.md +174 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/aggregate/sort-findings.ts +0 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/awareness/blind-spots.ts +167 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/awareness/llm-sample.ts +681 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/cli/doctor.ts +215 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/cli/init.ts +1013 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/cli/install-agents.ts +350 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/cli/run.sh +61 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/cli/shared-templates.ts +79 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/config/load.ts +392 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/config/resolve-credential.ts +120 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/config/schema.ts +641 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/config/validate.ts +134 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/context/build-diagnosis-context.ts +417 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/context/load-context.ts +105 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/contract/types.ts +166 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/enrich/build-render-input.ts +1964 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/enrich/corpus-severity.ts +172 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/enrich/dismissal-match.ts +270 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/enrich/rank-remedies.ts +75 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/hooks/install-hooks.sh +46 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/hooks/pre-push.sh +78 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/invocation/parse-brief.ts +188 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/library/match.ts +114 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/library/paths.ts +95 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/library/store.ts +535 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/library/types.ts +181 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/lint/template-inline-js.ts +267 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/memory/append.ts +188 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/memory/read.ts +218 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/normalize/platforms/entity-context.ts +686 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/normalize/read-unitf.ts +267 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/normalize/trace.ts +1078 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/normalize/unitf-adapter.ts +0 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/normalize/unitf-types.ts +213 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/report/persist-selections.ts +174 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/report/render.ts +3254 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/run/diagnose.ts +64 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/run/session.ts +167 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/sample/caps.ts +345 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/sample/deep-read-gate.ts +424 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/sample/representative.ts +584 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/scan/objection.ts +224 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/scan/trajectory.ts +489 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/self-diagnostics/dispatch.ts +135 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/self-diagnostics/probe.ts +170 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/setup/detect.ts +307 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/setup/ensure-cli.ts +315 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/setup/reconfigure.ts +77 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/setup/verify-agents.ts +207 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/slicer.ts +166 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/adapters/claude-code.ts +17 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/adapters/codex.ts +11 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/adapters/langfuse.ts +17 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/adapters/local-jsonl.ts +12 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/adapters/otel.ts +12 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/index.ts +54 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/registry.ts +45 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/source/types.ts +86 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/stale-detector.ts +74 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/test/render-playwright.cli.ts +477 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/tier0/claude-code.ts +133 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/tier0/langfuse.ts +143 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/tier0-scan.ts +423 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/completeness-check.ts +436 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/doc-refs.ts +190 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/finalize-gate.ts +417 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/findings-contract.ts +628 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/render-js-syntax.ts +188 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/report-checklist.yaml +217 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/trace-shape.ts +262 -0
- package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/wave6-checklist.ts +326 -0
- package/mutagent-diagnostics/CLAUDE.md +41 -0
- package/mutagent-diagnostics/LICENSE +201 -0
- package/mutagent-diagnostics/NOTICE +18 -0
- package/mutagent-diagnostics/README.md +343 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/SKILL.md +548 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/assets/agents/audit-executor.md +169 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/assets/agents/dataset-builder.md +160 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/assets/agents/discovery.md +425 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/assets/agents/evaluator.md +1108 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/assets/brand/theme.css +213 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/assets/brand/wordmark.html +9 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/lenses/context-flow-lens.md +85 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/lenses/data-lens.md +47 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/lenses/decision-lens.md +48 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/lenses/methodology-critic-lens.md +53 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/lenses/trajectory-lens.md +44 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/build-review-interface.md +83 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/edd-loop.md +134 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/error-analysis.md +113 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/eval-audit.md +154 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/eval-stage.md +168 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/generate-synthetic-data.md +81 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/grounded-adjudication.md +221 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/memory-format.md +65 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/methodology.md +201 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/operation-inventory.md +197 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/validate-evaluator.md +125 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/workflows/orchestrator-protocol.md +300 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/references/write-judge-prompt.md +123 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/behavior-tree.schema.yaml +73 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/dataset.schema.yaml +66 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/edd-change-request.schema.yaml +114 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/eval-matrix.schema.yaml +74 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/flow-graph.schema.yaml +69 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/flow-profile.schema.yaml +49 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/methodology-review.schema.yaml +40 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/schemas/scorecard.schema.yaml +85 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/agent-dispatch.ts +0 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/aggregate-discover.ts +543 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/artifact-paths.ts +115 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/assemble-scorecard.ts +172 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/build-dataset.ts +186 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/build-evals.ts +93 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/build-review-ui.ts +393 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/check-method-router.ts +170 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/aggregate.ts +112 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/audit-run.ts +182 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/doctor.ts +211 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/dogfood.ts +133 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/init.ts +601 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/methodology-review.ts +122 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/prep.ts +295 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/profile-subject.ts +165 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/run.sh +56 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cli/variance-check.ts +105 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/code-eval.ts +248 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/code-quality-verdict.ts +285 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/codegen-evals.ts +173 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cold-start-project.ts +151 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/cold-start-sampler.ts +267 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/config/load.ts +343 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/config/schema.ts +380 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/agentspec-evals.ts +85 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/dataset.ts +149 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/eval-engine.ts +118 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/eval-matrix.ts +577 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/eval-types.ts +1074 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/flow-graph.ts +194 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/types.ts +303 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/contracts/validation.ts +193 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/derive-dataset.ts +152 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/determine-outcome.ts +219 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/diff-discriminate.ts +160 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/discover-criteria.ts +348 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/edd/change-request.ts +232 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/edd/edd-types.ts +210 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/edd/variance-gate.ts +186 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/emit-completeness.ts +111 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/eval-engine.ts +160 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/evaluate.ts +333 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/flow-graph.ts +230 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/judge-prompt-template.ts +253 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/judge-provider.ts +135 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/lint-grounding.ts +229 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/lint-uniformity.ts +168 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/living-suite.ts +109 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/load-bundle.ts +203 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/load-profile-vocab.ts +64 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/load-profile.ts +106 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/mask.ts +138 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/materialize-dataset.ts +113 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/matrix-judge.ts +750 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/memory/append.ts +215 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/memory/read.ts +168 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/persist-eval-criteria.ts +232 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/prep-tasks.ts +125 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/profile-subject.ts +310 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/publish-report.ts +131 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/read-unitf-traces.ts +81 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/render-build-cards.ts +195 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/render-discover-report.ts +1640 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/render-eval-report.ts +3838 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/render-report.ts +212 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/resolve-credential.ts +110 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/resolve-ref.ts +98 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/result-verify.ts +129 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/route-failures.ts +330 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/run-deterministic.ts +367 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/run-evaluate.ts +719 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/run-judge.ts +155 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/run-pipeline.ts +175 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/sample-traces.ts +210 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/self-audit.ts +387 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/source-map.ts +106 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/subject-profile.ts +134 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/substrate.ts +162 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/sync-eval-criteria.ts +244 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/ui-slots.ts +119 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/unitf-to-evaltrace.ts +284 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/validate-judge.ts +358 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/scripts/variance-compare.ts +177 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/subjects/mutagent-diagnostics/behavior-tree.yaml +140 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/subjects/mutagent-diagnostics/eval-matrix.yaml +1270 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/subjects/mutagent-diagnostics/methodology-review.yaml +105 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/workflows/audit.workflow.js +82 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/workflows/data-leak.workflow.js +236 -0
- package/mutagent-evaluator/.claude/skills/mutagent-evaluator/workflows/variance.workflow.js +163 -0
- package/mutagent-evaluator/CLAUDE.md +45 -0
- package/mutagent-evaluator/LICENSE +201 -0
- package/mutagent-evaluator/NOTICE +23 -0
- package/mutagent-evaluator/README.md +88 -0
- package/mutagent-optimize/.claude/skills/mutagent-optimize/SKILL.md +287 -0
- package/mutagent-optimize/.claude/skills/mutagent-optimize/scripts/contracts/amend-request.ts +503 -0
- package/mutagent-optimize/.claude/skills/mutagent-optimize/scripts/improve-loop-run.ts +304 -0
- package/mutagent-optimize/.claude/skills/mutagent-optimize/scripts/loop-state-cli.ts +300 -0
- package/mutagent-optimize/.claude/skills/mutagent-optimize/scripts/loop-state.ts +440 -0
- package/mutagent-optimize/CLAUDE.md +49 -0
- package/mutagent-optimize/README.md +26 -0
- package/mutagent-orchestrator/CLAUDE.md +102 -0
- package/mutagent-orchestrator/README.md +20 -0
- package/mutagent-orchestrator/assets/agents/discovery.md +425 -0
- package/mutagent-orchestrator/assets/agents/dogfood-monitor.md +266 -0
- package/mutagent-orchestrator/assets/agents/monitor.md +258 -0
- package/mutagent-orchestrator/orchestrator.md +782 -0
- package/mutagent-orchestrator/references/MONITORING.md +209 -0
- package/mutagent-orchestrator/references/config-fields.md +132 -0
- package/mutagent-orchestrator/references/config-migration.md +132 -0
- package/mutagent-orchestrator/references/index-registry.md +92 -0
- package/mutagent-orchestrator/routing.yaml +391 -0
- package/mutagent-orchestrator/scripts/config-schema.ts +1010 -0
- package/mutagent-orchestrator/scripts/dispatch.ts +439 -0
- package/mutagent-orchestrator/scripts/dogfood/extract-feedback.ts +203 -0
- package/mutagent-orchestrator/scripts/dogfood/reconstruct-trajectory.ts +327 -0
- package/mutagent-orchestrator/scripts/dogfood/render-dogfood-report.ts +347 -0
- package/mutagent-orchestrator/scripts/dogfood/resolve-subagents.ts +160 -0
- package/mutagent-orchestrator/scripts/dogfood/run-report.ts +264 -0
- package/mutagent-orchestrator/scripts/dogfood/slack-thread.ts +106 -0
- package/mutagent-orchestrator/scripts/dogfood/types.ts +257 -0
- package/mutagent-orchestrator/scripts/eval-routing.ts +753 -0
- package/mutagent-orchestrator/scripts/gate.ts +219 -0
- package/mutagent-orchestrator/scripts/handover-contract.ts +362 -0
- package/mutagent-orchestrator/scripts/index/build-index.ts +351 -0
- package/mutagent-orchestrator/scripts/index/render-index.ts +110 -0
- package/mutagent-orchestrator/scripts/monitor/slack-notify.ts +111 -0
- package/mutagent-orchestrator/scripts/monitor/triggers.ts +162 -0
- package/mutagent-orchestrator/scripts/onboarding-check.ts +369 -0
- package/mutagent-orchestrator/scripts/render-roster.ts +308 -0
- package/mutagent-orchestrator/scripts/resolve-credential.ts +185 -0
- package/mutagent-orchestrator/scripts/resolve-paths.ts +114 -0
- package/mutagent-orchestrator/scripts/slack/format.ts +63 -0
- package/mutagent-orchestrator/scripts/slack/post.ts +115 -0
- package/mutagent-orchestrator/scripts/sync-index.ts +311 -0
- package/package.json +64 -0
package/mutagent-diagnostics/.claude/skills/mutagent-diagnostics/scripts/validate/wave6-checklist.ts
ADDED
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* scripts/validate/wave6-checklist.ts
|
|
3
|
+
* PRD-SO-06 — Wave-6 methodology checklist validator + stamp emitter.
|
|
4
|
+
* Type A — Pure Script (file-system reads; no LLM; deterministic).
|
|
5
|
+
*
|
|
6
|
+
* The Wave-6 methodology (R2.1–R2.6 + D1/D2) requires each diagnostic run to emit
|
|
7
|
+
* six stamp files under `<report-dir>/wave6/<step>.json` before the render gate
|
|
8
|
+
* (orchestrator-protocol.md Step 8.9). This validator checks those stamps exist and
|
|
9
|
+
* are well-formed, then emits a gate result.
|
|
10
|
+
*
|
|
11
|
+
* Steps validated:
|
|
12
|
+
* parse-brief parse-brief.ts produced a ParsedInvocation
|
|
13
|
+
* awareness-sample llm-sample.ts produced a 5-trace awareness sample
|
|
14
|
+
* blind-spots blind-spots.ts produced the blind-spots taxonomy
|
|
15
|
+
* library-match library/match.ts ran the entity library check
|
|
16
|
+
* caps-result caps.ts produced a CapsResult
|
|
17
|
+
* deep-read-gate deep-read-gate.ts produced a DeepReadGateResult
|
|
18
|
+
* awareness-witness W11-05: stamped by the orchestrator at Step 3.5 to record
|
|
19
|
+
* whether this was a fresh run AND whether awareness ran.
|
|
20
|
+
* HARD-FAIL (regardless of isClientReport) when isFreshRun=true
|
|
21
|
+
* AND awarenessRan=false AND no explicit exemption declared.
|
|
22
|
+
*
|
|
23
|
+
* Gate severity (PRD §6 Q7):
|
|
24
|
+
* Internal reports (isClientReport = false): WARN-only on most missing stamps.
|
|
25
|
+
* Client reports (isClientReport = true): HARD-FAIL (non-zero exit).
|
|
26
|
+
*
|
|
27
|
+
* W11-05 ADDITIONAL RULE (awareness-witness):
|
|
28
|
+
* If awareness-witness stamp declares isFreshRun=true AND awarenessRan=false
|
|
29
|
+
* with no exemption → ALWAYS HARD-FAIL (overrides isClientReport=false leniency).
|
|
30
|
+
* The operator must never silently skip awareness on a fresh run.
|
|
31
|
+
*
|
|
32
|
+
* Usage (CLI):
|
|
33
|
+
* bun scripts/cli/run.sh scripts/validate/wave6-checklist.ts \
|
|
34
|
+
* --report-dir <dir> [--accept-exemptions <id>...] [--client]
|
|
35
|
+
*
|
|
36
|
+
* Exported function:
|
|
37
|
+
* runWave6Checklist(opts: Wave6ChecklistOpts): Wave6ChecklistResult
|
|
38
|
+
*
|
|
39
|
+
* Step 8.9 integration (orchestrator-protocol.md):
|
|
40
|
+
* The orchestrator calls this validator after all Wave-6 scripts have run (Step 8.9).
|
|
41
|
+
* On WARN: log to runMeta.exemptions[]; continue rendering.
|
|
42
|
+
* On FAIL: halt; do not render; report the missing stamps to the operator.
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
import { existsSync, readFileSync, mkdirSync, writeFileSync } from "node:fs";
|
|
46
|
+
import { join, resolve } from "node:path";
|
|
47
|
+
|
|
48
|
+
// ── Types ────────────────────────────────────────────────────────────────────
|
|
49
|
+
|
|
50
|
+
export type Wave6StepId =
|
|
51
|
+
| "parse-brief"
|
|
52
|
+
| "awareness-sample"
|
|
53
|
+
| "blind-spots"
|
|
54
|
+
| "library-match"
|
|
55
|
+
| "caps-result"
|
|
56
|
+
| "deep-read-gate"
|
|
57
|
+
| "awareness-witness";
|
|
58
|
+
|
|
59
|
+
export const WAVE6_STEPS: readonly Wave6StepId[] = [
|
|
60
|
+
"parse-brief",
|
|
61
|
+
"awareness-sample",
|
|
62
|
+
"blind-spots",
|
|
63
|
+
"library-match",
|
|
64
|
+
"caps-result",
|
|
65
|
+
"deep-read-gate",
|
|
66
|
+
"awareness-witness",
|
|
67
|
+
] as const;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* W11-05: Payload written to `wave6/awareness-witness.json` by the orchestrator
|
|
71
|
+
* at Step 3.5. Records whether this was a fresh run (no confirmed priors) and
|
|
72
|
+
* whether awareness actually ran.
|
|
73
|
+
*
|
|
74
|
+
* Rules enforced by the checklist:
|
|
75
|
+
* - isFreshRun=true + awarenessRan=true → pass
|
|
76
|
+
* - isFreshRun=true + awarenessRan=false → HARD-FAIL (no leniency)
|
|
77
|
+
* - isFreshRun=false + awarenessRan=false → pass (priors authorized the skip)
|
|
78
|
+
* - isFreshRun=false + awarenessRan=true → pass
|
|
79
|
+
*/
|
|
80
|
+
export interface AwarenessWitnessPayload {
|
|
81
|
+
/**
|
|
82
|
+
* True when no confirmed library prior existed for this entity before the run
|
|
83
|
+
* (i.e. library-match returned no matches). A fresh run MUST run awareness.
|
|
84
|
+
*/
|
|
85
|
+
isFreshRun: boolean;
|
|
86
|
+
/** True when llm-sample.ts + blind-spots.ts both ran for this run. */
|
|
87
|
+
awarenessRan: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* When awarenessRan=false on a fresh run, this field MUST be set to a valid
|
|
90
|
+
* exemption reason from the Gate Exemption Taxonomy (references/workflows/rca.md).
|
|
91
|
+
* Absent when awarenessRan=true.
|
|
92
|
+
*/
|
|
93
|
+
exemptionReason?: string;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface Wave6StepResult {
|
|
97
|
+
stepId: Wave6StepId;
|
|
98
|
+
present: boolean;
|
|
99
|
+
/** True when the stamp file was present but could not be parsed as JSON. */
|
|
100
|
+
malformed: boolean;
|
|
101
|
+
/** Path that was checked. */
|
|
102
|
+
stampPath: string;
|
|
103
|
+
/** Parsed content when present and well-formed. */
|
|
104
|
+
content?: unknown;
|
|
105
|
+
/** Exemption reason when this step was accepted despite being missing. */
|
|
106
|
+
exemptionReason?: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface Wave6ChecklistResult {
|
|
110
|
+
ok: boolean;
|
|
111
|
+
/** True when any missing stamps were accepted via exemptions (result is ok despite gaps). */
|
|
112
|
+
exempted: boolean;
|
|
113
|
+
/** Steps with missing or malformed stamps (after exemptions applied). */
|
|
114
|
+
missing: Wave6StepResult[];
|
|
115
|
+
/** All step results (present + absent). */
|
|
116
|
+
steps: Wave6StepResult[];
|
|
117
|
+
/** Formatted banner string for display in reports or logs. */
|
|
118
|
+
banner: string;
|
|
119
|
+
/**
|
|
120
|
+
* W11-05: Set when the awareness-witness gate detected a fresh-run violation.
|
|
121
|
+
* A fresh-run violation is when isFreshRun=true + awarenessRan=false + no exemption.
|
|
122
|
+
* This ALWAYS causes ok=false regardless of isClientReport.
|
|
123
|
+
*/
|
|
124
|
+
awarenessViolation?: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface Wave6ChecklistOpts {
|
|
128
|
+
/** Absolute or relative path to the report directory. */
|
|
129
|
+
reportDir: string;
|
|
130
|
+
/** Step IDs that are accepted despite being missing (e.g. library-match when no library priors exist). */
|
|
131
|
+
acceptExemptions?: Wave6StepId[];
|
|
132
|
+
/** When true, missing non-exempted steps cause hard failure. When false, WARN-only. */
|
|
133
|
+
isClientReport?: boolean;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// ── Stamp helpers ─────────────────────────────────────────────────────────────
|
|
137
|
+
|
|
138
|
+
function stampPath(reportDir: string, stepId: Wave6StepId): string {
|
|
139
|
+
return join(reportDir, "wave6", `${stepId}.json`);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function readStamp(path: string): { present: boolean; malformed: boolean; content?: unknown } {
|
|
143
|
+
if (!existsSync(path)) return { present: false, malformed: false };
|
|
144
|
+
try {
|
|
145
|
+
const content = JSON.parse(readFileSync(path, "utf-8")) as unknown;
|
|
146
|
+
return { present: true, malformed: false, content };
|
|
147
|
+
} catch {
|
|
148
|
+
return { present: true, malformed: true };
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// ── Core validator ────────────────────────────────────────────────────────────
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* PRD-SO-06 — Run the Wave-6 methodology checklist.
|
|
156
|
+
* Returns a structured result; the CLI entrypoint handles exit codes.
|
|
157
|
+
*
|
|
158
|
+
* W11-05: Also enforces the awareness-witness gate — hard-fails if the
|
|
159
|
+
* awareness-witness stamp declares isFreshRun=true + awarenessRan=false
|
|
160
|
+
* with no exemption, regardless of isClientReport setting.
|
|
161
|
+
*/
|
|
162
|
+
export function runWave6Checklist(opts: Wave6ChecklistOpts): Wave6ChecklistResult {
|
|
163
|
+
const { reportDir, acceptExemptions = [], isClientReport = false } = opts;
|
|
164
|
+
const abs = resolve(reportDir);
|
|
165
|
+
const exemptSet = new Set<string>(acceptExemptions);
|
|
166
|
+
|
|
167
|
+
const steps: Wave6StepResult[] = WAVE6_STEPS.map((stepId) => {
|
|
168
|
+
const path = stampPath(abs, stepId);
|
|
169
|
+
const { present, malformed, content } = readStamp(path);
|
|
170
|
+
const result: Wave6StepResult = {
|
|
171
|
+
stepId,
|
|
172
|
+
present,
|
|
173
|
+
malformed,
|
|
174
|
+
stampPath: path,
|
|
175
|
+
content,
|
|
176
|
+
};
|
|
177
|
+
if (!present && exemptSet.has(stepId)) {
|
|
178
|
+
result.exemptionReason = `accepted via --accept-exemptions`;
|
|
179
|
+
}
|
|
180
|
+
return result;
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
const missing = steps.filter((s) => {
|
|
184
|
+
if (s.present && !s.malformed) return false; // stamp present + valid
|
|
185
|
+
if (s.exemptionReason) return false; // accepted exemption
|
|
186
|
+
return true;
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
const exempted = steps.some((s) => !s.present && !!s.exemptionReason);
|
|
190
|
+
|
|
191
|
+
// ── W11-05: Awareness witness gate ──────────────────────────────────────────
|
|
192
|
+
// Check the awareness-witness stamp for fresh-run violations.
|
|
193
|
+
// A fresh-run violation (isFreshRun=true + awarenessRan=false + no exemptionReason)
|
|
194
|
+
// is ALWAYS a hard-fail, overriding the isClientReport=false leniency.
|
|
195
|
+
let awarenessViolation: string | undefined;
|
|
196
|
+
const witnessStep = steps.find((s) => s.stepId === "awareness-witness");
|
|
197
|
+
if (witnessStep?.present && !witnessStep.malformed && witnessStep.content) {
|
|
198
|
+
// Stamp files are written as { stepId, timestamp, result: <payload> }
|
|
199
|
+
const stamped = witnessStep.content as { result?: Partial<AwarenessWitnessPayload> };
|
|
200
|
+
const payload = stamped.result ?? (witnessStep.content as Partial<AwarenessWitnessPayload>);
|
|
201
|
+
if (
|
|
202
|
+
payload.isFreshRun === true &&
|
|
203
|
+
payload.awarenessRan === false &&
|
|
204
|
+
!payload.exemptionReason
|
|
205
|
+
) {
|
|
206
|
+
awarenessViolation =
|
|
207
|
+
"awareness-witness: isFreshRun=true + awarenessRan=false with no exemptionReason. " +
|
|
208
|
+
"Fresh runs MUST run the awareness layer (W11-05). " +
|
|
209
|
+
"Pass an exemptionReason in the witness stamp if skipping is authorized.";
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const ok = missing.length === 0 && !awarenessViolation;
|
|
214
|
+
|
|
215
|
+
const lines: string[] = [];
|
|
216
|
+
if (awarenessViolation) {
|
|
217
|
+
lines.push(`Wave-6 checklist HARD-FAIL (W11-05 awareness-witness gate):`);
|
|
218
|
+
lines.push(` ${awarenessViolation}`);
|
|
219
|
+
lines.push(`\nFix: re-run the awareness layer (scripts/awareness/llm-sample.ts + blind-spots.ts)`);
|
|
220
|
+
lines.push(` OR write the awareness-witness stamp with a valid exemptionReason.`);
|
|
221
|
+
} else if (ok && !exempted) {
|
|
222
|
+
lines.push(`Wave-6 checklist PASSED — all ${WAVE6_STEPS.length} stamps present.`);
|
|
223
|
+
} else if (ok && exempted) {
|
|
224
|
+
const exemptedIds = steps
|
|
225
|
+
.filter((s) => s.exemptionReason)
|
|
226
|
+
.map((s) => s.stepId)
|
|
227
|
+
.join(", ");
|
|
228
|
+
lines.push(`Wave-6 checklist PASSED (with exemptions: ${exemptedIds}).`);
|
|
229
|
+
} else {
|
|
230
|
+
const severity = isClientReport ? "FAIL" : "WARN";
|
|
231
|
+
lines.push(`Wave-6 checklist ${severity} — ${missing.length} missing stamp(s):`);
|
|
232
|
+
for (const s of missing) {
|
|
233
|
+
const label = s.malformed ? "(malformed JSON)" : "(not found)";
|
|
234
|
+
lines.push(` - ${s.stepId} ${label}: ${s.stampPath}`);
|
|
235
|
+
}
|
|
236
|
+
if (isClientReport) {
|
|
237
|
+
lines.push(`\nHard-fail: client report requires all Wave-6 stamps (PRD-SO-06 / Q7).`);
|
|
238
|
+
lines.push(`Run the missing Wave-6 scripts and re-invoke the render gate.`);
|
|
239
|
+
} else {
|
|
240
|
+
lines.push(`\nWarn-only: record missing stamps in runMeta.exemptions[] and continue.`);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
return { ok, exempted, missing, steps, banner: lines.join("\n"), awarenessViolation };
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// ── Stamp writer helpers (for Wave-6 scripts to call) ─────────────────────────
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Write a Wave-6 stamp file. Called by each Wave-6 script to signal completion.
|
|
251
|
+
* Creates the `wave6/` subdirectory if it does not exist.
|
|
252
|
+
*
|
|
253
|
+
* @param reportDir Report directory path.
|
|
254
|
+
* @param stepId The Wave-6 step being stamped.
|
|
255
|
+
* @param payload Any JSON-serializable result from the step.
|
|
256
|
+
*/
|
|
257
|
+
export function writeWave6Stamp(reportDir: string, stepId: Wave6StepId, payload: unknown): void {
|
|
258
|
+
const dir = join(resolve(reportDir), "wave6");
|
|
259
|
+
mkdirSync(dir, { recursive: true });
|
|
260
|
+
const path = join(dir, `${stepId}.json`);
|
|
261
|
+
writeFileSync(path, JSON.stringify({ stepId, timestamp: new Date().toISOString(), result: payload }, null, 2), "utf-8");
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* W11-05: Write the awareness-witness stamp at Step 3.5.
|
|
266
|
+
* Called by the orchestrator after resolving whether priors exist for the entity:
|
|
267
|
+
*
|
|
268
|
+
* - isFreshRun: true when no confirmed library prior exists (no skip authorized)
|
|
269
|
+
* - isFreshRun: false when a confirmed library prior exists (skip authorized)
|
|
270
|
+
* - awarenessRan: true when llm-sample.ts + blind-spots.ts both ran
|
|
271
|
+
* - awarenessRan: false when the awareness layer was intentionally skipped
|
|
272
|
+
* - exemptionReason: required when awarenessRan=false on a fresh run
|
|
273
|
+
*
|
|
274
|
+
* Example (fresh run, awareness ran):
|
|
275
|
+
* writeAwarenessWitnessStamp("/tmp/report", { isFreshRun: true, awarenessRan: true })
|
|
276
|
+
*
|
|
277
|
+
* Example (prior-based skip):
|
|
278
|
+
* writeAwarenessWitnessStamp("/tmp/report", {
|
|
279
|
+
* isFreshRun: false, awarenessRan: false,
|
|
280
|
+
* exemptionReason: "library prior exists for this entity (Step 4.5 match)"
|
|
281
|
+
* })
|
|
282
|
+
*/
|
|
283
|
+
export function writeAwarenessWitnessStamp(
|
|
284
|
+
reportDir: string,
|
|
285
|
+
payload: AwarenessWitnessPayload
|
|
286
|
+
): void {
|
|
287
|
+
writeWave6Stamp(reportDir, "awareness-witness", payload);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// ── CLI entrypoint ────────────────────────────────────────────────────────────
|
|
291
|
+
|
|
292
|
+
if (import.meta.main) {
|
|
293
|
+
const args = process.argv.slice(2);
|
|
294
|
+
|
|
295
|
+
const reportDirIdx = args.indexOf("--report-dir");
|
|
296
|
+
if (reportDirIdx < 0 || !args[reportDirIdx + 1]) {
|
|
297
|
+
console.error("Usage: wave6-checklist.ts --report-dir <dir> [--accept-exemptions <id>...] [--client]");
|
|
298
|
+
process.exit(2);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
const reportDir = args[reportDirIdx + 1];
|
|
302
|
+
const isClientReport = args.includes("--client");
|
|
303
|
+
|
|
304
|
+
// Collect exemption IDs: all args after --accept-exemptions until the next flag.
|
|
305
|
+
const exemptions: Wave6StepId[] = [];
|
|
306
|
+
const exemptIdx = args.indexOf("--accept-exemptions");
|
|
307
|
+
if (exemptIdx >= 0) {
|
|
308
|
+
for (let i = exemptIdx + 1; i < args.length; i++) {
|
|
309
|
+
if (args[i].startsWith("--")) break;
|
|
310
|
+
if (WAVE6_STEPS.includes(args[i] as Wave6StepId)) {
|
|
311
|
+
exemptions.push(args[i] as Wave6StepId);
|
|
312
|
+
} else {
|
|
313
|
+
console.warn(`Unknown step ID in --accept-exemptions: ${args[i]}`);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
const result = runWave6Checklist({ reportDir, acceptExemptions: exemptions, isClientReport });
|
|
319
|
+
|
|
320
|
+
console.info(`\n${result.banner}\n`);
|
|
321
|
+
|
|
322
|
+
if (!result.ok && isClientReport) {
|
|
323
|
+
process.exit(1);
|
|
324
|
+
}
|
|
325
|
+
process.exit(0);
|
|
326
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# mutagent-diagnostics/ — skill navigation map
|
|
2
|
+
|
|
3
|
+
> Lean map of THIS skill's internals. Repo-wide conventions (wave model, dispatch
|
|
4
|
+
> discipline, cross-skill rules) live in `../CLAUDE.md`; don't repeat them here.
|
|
5
|
+
|
|
6
|
+
**What it is:** RCA + remedy + apply workflow for AI agents — pulls evidence from traces,
|
|
7
|
+
surfaces ranked remedies, applies via PR/REST. Published: `pnpx @mutagent/diagnostics init`.
|
|
8
|
+
|
|
9
|
+
## Where things live (`.claude/skills/mutagent-diagnostics/`)
|
|
10
|
+
|
|
11
|
+
| Path | What |
|
|
12
|
+
|---|---|
|
|
13
|
+
| `SKILL.md` | Canonical contract — frontmatter + §0 setup + §1 triggers + §N sections. **Read first.** |
|
|
14
|
+
| `references/workflows/orchestrator-protocol.md` | The run FSM (Step 3a → 9.9). The orchestrator's script. |
|
|
15
|
+
| `references/script-index.md` | **Data-flow map** — every script's consumes/produces/runMeta-field/gate. Read before adding a step. |
|
|
16
|
+
| `.meta/design-principles.md` | PR-001..PR-055 design principles — the Constitution (block-organized audit surface). **Operator-LOCKED** — propose, don't self-edit. `references/principles.md` is a thin redirect to it. |
|
|
17
|
+
| `.meta/{requirements.yaml,design-rationale.md,open-questions.md,oq-answers.md,operator-feedback-log.md}` | The Design/Build log — intent registry + rationale + open-questions/answers + operator feedback. **INTERNAL** — moved here from `references/`; stripped on publish. |
|
|
18
|
+
| `references/workflows/rca.md` · `handover-contract.md` | RCA pattern library · analyzer↔orchestrator schema. |
|
|
19
|
+
| `references/source-platforms/*` · `target-platforms/*` | Trace sources (Langfuse/OTel/JSONL/Claude/Codex) · write targets. |
|
|
20
|
+
| `assets/agents/diagnostics-analyzer.md` | Sub-agent contract (tiered RCA executor). |
|
|
21
|
+
| `assets/templates/report.html.tpl` | Runtime report template (Tier-2). |
|
|
22
|
+
| `scripts/normalize/` | UniTF intake: `read-unitf.ts` (reads the handed-over UniTF JSONL+manifest) → `unitf-adapter.ts` → `trace.ts` (canonical types); `platforms/entity-context.ts` kept. Per-platform fetch/normalize moved to `@mutagent/tools` (`mutagent-cli trace fetch`). |
|
|
23
|
+
| `scripts/enrich/build-render-input.ts` | Findings → RenderInput (the render contract). |
|
|
24
|
+
| `scripts/report/render.ts` | RenderInput → `report.html`. |
|
|
25
|
+
| `scripts/validate/` | The gates (below). |
|
|
26
|
+
| `scripts/cli/{init,doctor,run}.ts` | Onboarding · runtime probe · dispatch wrapper. |
|
|
27
|
+
|
|
28
|
+
## The run sequence (one line)
|
|
29
|
+
`parse-brief → awareness-sample → read-unitf(metadata+entity) → tier0 → library-match → slice/sample → analyzer dispatch → aggregate/sort → enrich(build-render-input) → gates → render`. Full table: `references/script-index.md`.
|
|
30
|
+
|
|
31
|
+
## The gates (fail-loud enforcement — never bypass)
|
|
32
|
+
1. `validate/findings-contract.ts` (Step 7.1) — required Finding/Remedy fields or RESEND.
|
|
33
|
+
2. `validate/completeness-check.ts` (Step 8.9, D-6) — exact render-contract derefs present.
|
|
34
|
+
3. `validate/render-js-syntax.ts` (PR-050) — every emitted `<script>` parses.
|
|
35
|
+
4. `validate/wave6-checklist.ts` — methodology widgets threaded.
|
|
36
|
+
5. `validate/finalize-gate.ts` (Step 9.9, W14) — OUTPUT-side per-section completeness + bounded self-heal.
|
|
37
|
+
|
|
38
|
+
## Invariants
|
|
39
|
+
- NDA: synthetic data only in source/tests/fixtures. · Audience: default **client** (leak-safe); `--audience internal` opt-in.
|
|
40
|
+
- Three sources of truth in agreement: `trace.ts` ↔ producer contract ↔ gate. A field in only 2 of 3 is the bug class the gates kill.
|
|
41
|
+
- Authored Design/Build artifacts live in the internal `.meta/` log (stripped on publish): `eval-suite-design.{html,gen.mjs,data.json}` · `wave-dashboard.gen.mjs` · `PROPOSED/**` (alongside `design-principles.md` + the moved requirements/design refs). Generated dashboards (skill-map / skill-overview / wave-dashboard / requirements / unmet HTML) are EPHEMERAL renders → gitignored under `../.memory/features/mutagent-diagnostics/` (+ `.gen-scratch/`); regenerate, never commit.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. Please also get an in-depth
|
|
186
|
+
understanding of how to apply the Apache License by reading
|
|
187
|
+
the FAQ at http://www.apache.org/foundation/license-faq.html
|
|
188
|
+
|
|
189
|
+
Copyright 2025-2026 MutagenT
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@mutagent/diagnostics
|
|
2
|
+
Copyright 2026 MutagenT
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this product except in compliance with the License. You may
|
|
6
|
+
obtain a copy of the License in the accompanying LICENSE file or at:
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
11
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
12
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
13
|
+
specific language governing permissions and limitations under the License.
|
|
14
|
+
|
|
15
|
+
----------------------------------------------------------------------------
|
|
16
|
+
|
|
17
|
+
This package bundles install-time templates (assets/templates/shared/) that are
|
|
18
|
+
authored by MutagenT and distributed under the same Apache-2.0 License.
|