akm-cli 0.9.24 → 0.9.25-alpha.2

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 (84) hide show
  1. package/CHANGELOG.md +173 -0
  2. package/dist/cli.js +1 -1
  3. package/dist/commands/health/checks.js +10 -11
  4. package/dist/commands/improve/consolidate/pair-pass.js +4 -2
  5. package/dist/commands/improve/consolidate.js +10 -4
  6. package/dist/commands/improve/execution.js +4 -11
  7. package/dist/commands/improve/extract-prompt.js +4 -4
  8. package/dist/commands/improve/extract.js +11 -13
  9. package/dist/commands/improve/improve-cli.js +65 -34
  10. package/dist/commands/improve/improve-strategies.js +49 -43
  11. package/dist/commands/improve/improve-usage-report.js +8 -17
  12. package/dist/commands/improve/loop-stages.js +3 -0
  13. package/dist/commands/improve/preparation.js +3 -1
  14. package/dist/commands/improve/reflect-noise.js +125 -0
  15. package/dist/commands/improve/reflect.js +105 -172
  16. package/dist/commands/improve/retrieval-gate.js +7 -2
  17. package/dist/commands/improve/stage.js +67 -24
  18. package/dist/commands/proposal/drain.js +11 -2
  19. package/dist/commands/proposal/proposal-cli.js +1 -5
  20. package/dist/commands/proposal/propose-cli.js +2 -2
  21. package/dist/commands/proposal/propose.js +72 -84
  22. package/dist/commands/proposal/validators/proposal-quality-validators.js +4 -2
  23. package/dist/commands/read/search-cli.js +0 -38
  24. package/dist/commands/remember.js +3 -3
  25. package/dist/commands/sources/schema-repair.js +1 -1
  26. package/dist/core/config/config-schema.js +37 -60
  27. package/dist/core/config/engine-semantics.js +15 -11
  28. package/dist/core/config/schema/improve-processes.js +18 -2
  29. package/dist/core/improve-result.js +3 -3
  30. package/dist/core/redaction.js +4 -0
  31. package/dist/core/spawn-env.js +25 -0
  32. package/dist/core/structured.js +11 -1
  33. package/dist/execution/source.js +10 -0
  34. package/dist/indexer/passes/memory-inference.js +2 -1
  35. package/dist/integrations/agent/builder-shared.js +15 -0
  36. package/dist/integrations/agent/config.js +1 -1
  37. package/dist/integrations/agent/engine-resolution.js +13 -31
  38. package/dist/integrations/agent/execution.js +48 -22
  39. package/dist/integrations/agent/index.js +1 -1
  40. package/dist/integrations/agent/profiles.js +2 -2
  41. package/dist/integrations/agent/prompts.js +55 -114
  42. package/dist/integrations/agent/request-lowering.js +21 -8
  43. package/dist/integrations/agent/runner-dispatch.js +96 -3
  44. package/dist/integrations/agent/runner.js +8 -2
  45. package/dist/integrations/harnesses/aider/agent-builder.js +10 -23
  46. package/dist/integrations/harnesses/aider/index.js +0 -5
  47. package/dist/integrations/harnesses/amazonq/agent-builder.js +9 -21
  48. package/dist/integrations/harnesses/amazonq/index.js +0 -5
  49. package/dist/integrations/harnesses/claude/agent-builder.js +47 -36
  50. package/dist/integrations/harnesses/claude/index.js +0 -14
  51. package/dist/integrations/harnesses/codex/agent-builder.js +3 -4
  52. package/dist/integrations/harnesses/codex/index.js +0 -4
  53. package/dist/integrations/harnesses/copilot/agent-builder.js +4 -13
  54. package/dist/integrations/harnesses/copilot/index.js +2 -7
  55. package/dist/integrations/harnesses/gemini/agent-builder.js +4 -13
  56. package/dist/integrations/harnesses/gemini/index.js +0 -5
  57. package/dist/integrations/harnesses/ids.js +12 -10
  58. package/dist/integrations/harnesses/opencode/agent-builder.js +41 -9
  59. package/dist/integrations/harnesses/opencode/index.js +0 -8
  60. package/dist/integrations/harnesses/opencode/model-config.js +33 -0
  61. package/dist/integrations/harnesses/opencode/model-work-agent.js +115 -0
  62. package/dist/integrations/harnesses/opencode-sdk/harness.js +2 -7
  63. package/dist/integrations/harnesses/opencode-sdk/sdk-runner.js +114 -28
  64. package/dist/integrations/harnesses/openhands/agent-builder.js +7 -21
  65. package/dist/integrations/harnesses/openhands/index.js +0 -5
  66. package/dist/integrations/harnesses/pi/agent-builder.js +7 -21
  67. package/dist/integrations/harnesses/pi/index.js +0 -5
  68. package/dist/llm/client.js +5 -0
  69. package/dist/llm/feature-gate.js +12 -9
  70. package/dist/llm/index-passes.js +2 -5
  71. package/dist/llm/memory-infer.js +6 -5
  72. package/dist/llm/structured-call.js +33 -11
  73. package/dist/output/shapes/passthrough.js +1 -0
  74. package/dist/scripts/akm-migrate-node.js +298 -228
  75. package/dist/scripts/akm-migrate.js +298 -228
  76. package/dist/workflows/exec/step-work.js +6 -5
  77. package/dist/workflows/exec/unit-dispatch.js +4 -13
  78. package/dist/workflows/freeze/step-values.js +1 -1
  79. package/docs/reference/cli.md +41 -18
  80. package/docs/reference/configuration.md +165 -12
  81. package/docs/reference/data-and-telemetry.md +2 -3
  82. package/docs/reference/workflow-schema.md +10 -9
  83. package/package.json +1 -1
  84. package/schemas/akm-config.json +108 -0
@@ -819,6 +819,33 @@
819
819
  }
820
820
  },
821
821
  "additionalProperties": true
822
+ },
823
+ "defectFilter": {
824
+ "type": "object",
825
+ "properties": {
826
+ "placeholders": {
827
+ "type": "array",
828
+ "items": {
829
+ "type": "string",
830
+ "minLength": 1
831
+ }
832
+ },
833
+ "metaCommentary": {
834
+ "type": "array",
835
+ "items": {
836
+ "type": "string",
837
+ "minLength": 1
838
+ }
839
+ },
840
+ "frontmatterKeys": {
841
+ "type": "array",
842
+ "items": {
843
+ "type": "string",
844
+ "minLength": 1
845
+ }
846
+ }
847
+ },
848
+ "additionalProperties": true
822
849
  }
823
850
  },
824
851
  "additionalProperties": true
@@ -2471,6 +2498,33 @@
2471
2498
  }
2472
2499
  },
2473
2500
  "additionalProperties": true
2501
+ },
2502
+ "defectFilter": {
2503
+ "type": "object",
2504
+ "properties": {
2505
+ "placeholders": {
2506
+ "type": "array",
2507
+ "items": {
2508
+ "type": "string",
2509
+ "minLength": 1
2510
+ }
2511
+ },
2512
+ "metaCommentary": {
2513
+ "type": "array",
2514
+ "items": {
2515
+ "type": "string",
2516
+ "minLength": 1
2517
+ }
2518
+ },
2519
+ "frontmatterKeys": {
2520
+ "type": "array",
2521
+ "items": {
2522
+ "type": "string",
2523
+ "minLength": 1
2524
+ }
2525
+ }
2526
+ },
2527
+ "additionalProperties": true
2474
2528
  }
2475
2529
  },
2476
2530
  "additionalProperties": true
@@ -3584,6 +3638,33 @@
3584
3638
  },
3585
3639
  "additionalProperties": true
3586
3640
  },
3641
+ "defectFilter": {
3642
+ "type": "object",
3643
+ "properties": {
3644
+ "placeholders": {
3645
+ "type": "array",
3646
+ "items": {
3647
+ "type": "string",
3648
+ "minLength": 1
3649
+ }
3650
+ },
3651
+ "metaCommentary": {
3652
+ "type": "array",
3653
+ "items": {
3654
+ "type": "string",
3655
+ "minLength": 1
3656
+ }
3657
+ },
3658
+ "frontmatterKeys": {
3659
+ "type": "array",
3660
+ "items": {
3661
+ "type": "string",
3662
+ "minLength": 1
3663
+ }
3664
+ }
3665
+ },
3666
+ "additionalProperties": true
3667
+ },
3587
3668
  "requirePlannedRefs": {
3588
3669
  "type": "boolean"
3589
3670
  },
@@ -3973,6 +4054,33 @@
3973
4054
  }
3974
4055
  },
3975
4056
  "additionalProperties": true
4057
+ },
4058
+ "defectFilter": {
4059
+ "type": "object",
4060
+ "properties": {
4061
+ "placeholders": {
4062
+ "type": "array",
4063
+ "items": {
4064
+ "type": "string",
4065
+ "minLength": 1
4066
+ }
4067
+ },
4068
+ "metaCommentary": {
4069
+ "type": "array",
4070
+ "items": {
4071
+ "type": "string",
4072
+ "minLength": 1
4073
+ }
4074
+ },
4075
+ "frontmatterKeys": {
4076
+ "type": "array",
4077
+ "items": {
4078
+ "type": "string",
4079
+ "minLength": 1
4080
+ }
4081
+ }
4082
+ },
4083
+ "additionalProperties": true
3976
4084
  }
3977
4085
  },
3978
4086
  "additionalProperties": true