@vaubaan/harness 2.4.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +207 -83
  2. package/dist/cli/index.js +4165 -843
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/commands/harn-canvas.cmd.md +23 -0
  5. package/dist/commands/{decision.cmd.md → harn-decision.cmd.md} +6 -6
  6. package/dist/commands/{doc-audit.cmd.md → harn-doc-audit.cmd.md} +7 -7
  7. package/dist/commands/{drift.cmd.md → harn-drift.cmd.md} +6 -6
  8. package/dist/commands/{handbook.cmd.md → harn-handbook.cmd.md} +6 -6
  9. package/dist/commands/harn-improve.cmd.md +20 -0
  10. package/dist/commands/{intent.cmd.md → harn-intent.cmd.md} +9 -9
  11. package/dist/commands/{readme.cmd.md → harn-readme.cmd.md} +6 -6
  12. package/dist/commands/{spec.cmd.md → harn-spec.cmd.md} +6 -6
  13. package/dist/commands/{test-plan.cmd.md → harn-test-plan.cmd.md} +6 -6
  14. package/dist/commands/harn-upgrade.cmd.md +22 -0
  15. package/dist/commands/{workflow.cmd.md → harn-workflow.cmd.md} +6 -6
  16. package/dist/index.d.ts +32 -3
  17. package/dist/index.js +533 -96
  18. package/dist/index.js.map +1 -1
  19. package/dist/init.d.ts +1 -1
  20. package/dist/init.js +468 -93
  21. package/dist/init.js.map +1 -1
  22. package/dist/linters/index.d.ts +3 -34
  23. package/dist/linters/index.js +996 -554
  24. package/dist/linters/index.js.map +1 -1
  25. package/dist/parser/index.d.ts +96 -6
  26. package/dist/parser/index.js +220 -10
  27. package/dist/parser/index.js.map +1 -1
  28. package/dist/render-BhUar2gf.d.ts +81 -0
  29. package/dist/render.d.ts +1 -1
  30. package/dist/render.js +233 -22
  31. package/dist/render.js.map +1 -1
  32. package/dist/skills/harn-canvas-review.skill.md +87 -0
  33. package/dist/skills/{decision-record-writer.skill.md → harn-decision-record-writer.skill.md} +2 -1
  34. package/dist/skills/{doc-audit.skill.md → harn-doc-audit.skill.md} +75 -26
  35. package/dist/skills/{drift-detector.skill.md → harn-drift-detector.skill.md} +15 -14
  36. package/dist/skills/harn-guide.skill.md +137 -0
  37. package/dist/skills/{handbook-writer.skill.md → harn-handbook-writer.skill.md} +2 -1
  38. package/dist/skills/{intent-writer.skill.md → harn-intent-writer.skill.md} +83 -16
  39. package/dist/skills/{readme-writer.skill.md → harn-readme-writer.skill.md} +4 -4
  40. package/dist/skills/harn-self-improve.skill.md +84 -0
  41. package/dist/skills/{spec-writer.skill.md → harn-spec-writer.skill.md} +8 -8
  42. package/dist/skills/{test-plan-writer.skill.md → harn-test-plan-writer.skill.md} +6 -5
  43. package/dist/skills/harn-upgrade.skill.md +171 -0
  44. package/dist/skills/{workflow-writer.skill.md → harn-workflow-writer.skill.md} +6 -5
  45. package/dist/templates/decisions-index.md.tmpl +11 -0
  46. package/dist/templates/handbook-index.md.tmpl +8 -0
  47. package/dist/templates/profile.md.tmpl +30 -0
  48. package/dist/types-CfUByAIr.d.ts +35 -0
  49. package/dist/view/index.d.ts +117 -0
  50. package/dist/view/index.js +3987 -0
  51. package/dist/view/index.js.map +1 -0
  52. package/package.json +5 -1
  53. package/dist/render-CTx7VNOK.d.ts +0 -45
@@ -1,36 +1,5 @@
1
- interface HarnessLintConfig {
2
- ignore: ReadonlyArray<string>;
3
- }
4
- declare function loadLintConfig(repoRoot: string): HarnessLintConfig;
5
-
6
- type Severity = "error" | "warning";
7
- interface LintIssue {
8
- linter: string;
9
- severity: Severity;
10
- file: string;
11
- line?: number;
12
- message: string;
13
- }
14
- interface LintContext {
15
- repoRoot: string;
16
- config: HarnessLintConfig;
17
- }
18
- interface Linter {
19
- id: string;
20
- pillars: ReadonlyArray<string>;
21
- defaultSeverity: Severity;
22
- suggestedSkills?: ReadonlyArray<string>;
23
- run(repoRoot: string, ctx?: LintContext): LintIssue[];
24
- }
25
- interface LintReport {
26
- version: 1;
27
- summary: {
28
- errors: number;
29
- warnings: number;
30
- pass: boolean;
31
- };
32
- issues: LintIssue[];
33
- }
1
+ import { c as Linter, b as LintReport } from '../types-CfUByAIr.js';
2
+ export { H as HarnessLintConfig, L as LintContext, a as LintIssue, S as Severity, l as loadLintConfig } from '../types-CfUByAIr.js';
34
3
 
35
4
  declare const ALL_LINTERS: ReadonlyArray<Linter>;
36
5
  interface RunOptions {
@@ -40,4 +9,4 @@ interface RunOptions {
40
9
  declare function runLinters(repoRoot: string, opts?: RunOptions): LintReport;
41
10
  declare function formatReportText(report: LintReport): string;
42
11
 
43
- export { ALL_LINTERS, type HarnessLintConfig, type LintContext, type LintIssue, type LintReport, type Linter, type RunOptions, type Severity, formatReportText, loadLintConfig, runLinters };
12
+ export { ALL_LINTERS, LintReport, Linter, type RunOptions, formatReportText, runLinters };