akm-cli 0.9.25-alpha.2 → 0.9.25-alpha.3

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.
@@ -2600,16 +2600,16 @@ default probe-on behavior) to check whether a named engine actually answers.
2600
2600
 
2601
2601
  `--show-prompt` (#952) is the cheapest way to exercise reflect alone: it
2602
2602
  builds the exact prompt reflect would send for one asset — the same source
2603
- resolution, runner selection, feedback/schema-hint/related-lesson/rejected-
2604
- proposal gathering `akm improve`'s live reflect step uses — and prints it
2603
+ resolution, runner selection, feedback/schema-hint/rejected-proposal
2604
+ gathering `akm improve`'s live reflect step uses — and prints it
2605
2605
  without reading a credential, so it never calls an engine. An LLM engine
2606
2606
  receives the reply's JSON Schema as `response_format`, and an agent engine as
2607
2607
  an instruction that dispatch appends to this prompt. Add
2608
2608
  `--format text` (the default JSON/yaml envelope escapes the prompt into one
2609
2609
  line, which defeats a by-eye read) to confirm by eye that recent feedback is
2610
- framed as an unverified report to investigate (never a fact to insert
2611
- verbatim) and that the response contract tells the model never to emit the
2612
- truncation marker or any content from outside the shown asset.
2610
+ framed as a signal (never a fact to insert) and that the response contract asks
2611
+ only for `confidence` and a `frontmatterPatch` of `description`,
2612
+ `when_to_use` and `title`: akm keeps the body.
2613
2613
 
2614
2614
  When reinforced facts need promotion, `knowledge` is the higher-authority
2615
2615
  destination than `memory`.
@@ -2692,21 +2692,23 @@ authenticates its root; it never falls back to an ambient write target.
2692
2692
  #### proposal extract
2693
2693
 
2694
2694
  Extract durable insights from native coding-agent session files (claude-code,
2695
- opencode) and queue them as proposals. This is the standalone entrypoint for
2696
- session extraction — it replaces the legacy session-checkpoint hook and runs
2697
- independently of the improve-stage extract toggle (see `improve` above).
2695
+ codex, opencode) and queue them as proposals. This is the standalone
2696
+ entrypoint for session extraction — it replaces the legacy session-checkpoint
2697
+ hook and runs independently of the improve-stage extract toggle (see `improve`
2698
+ above).
2698
2699
 
2699
2700
  ```sh
2700
2701
  akm proposal extract --type claude --session-id <id>
2701
2702
  akm proposal extract --type claude --since 24h
2702
2703
  akm proposal extract --type opencode --since 7d --dry-run
2704
+ akm proposal extract --type codex --since 24h
2703
2705
  akm proposal extract --auto # iterate every available harness
2704
2706
  akm proposal extract --type claude --location /custom/path --session-id <id>
2705
2707
  ```
2706
2708
 
2707
2709
  | Flag | Description |
2708
2710
  | --- | --- |
2709
- | `--type <harness>` | Harness name (`claude`, `opencode`). Required unless `--auto`. |
2711
+ | `--type <harness>` | Harness name (`claude`, `codex`, `opencode`). Required unless `--auto`. |
2710
2712
  | `--session-id <id>` | Process only this session ID. When absent, discover sessions via `--since`. |
2711
2713
  | `--location <path>` | Override the harness's default session-discovery location. |
2712
2714
  | `--since <cutoff>` | Discovery cutoff. ISO timestamp or duration (`24h`, `7d`, `30m`). Default `24h`. |
@@ -2724,6 +2726,12 @@ session-log location on the current machine — and returns an aggregated
2724
2726
  per-harness `results`); the run exits non-zero only when every harness
2725
2727
  failed.
2726
2728
 
2729
+ The `codex` harness reads Codex's rollout files under `$CODEX_HOME/sessions`
2730
+ (`~/.codex/sessions` by default; `--location` points at another rollout
2731
+ directory). It lists a person's sessions, `codex exec` runs included, and
2732
+ leaves out the rollouts Codex writes for subagents and its other internal agents:
2733
+ those are not sessions of their own.
2734
+
2727
2735
  There is no `akm proposal extract --watch`/`--debounce-ms` either (0.9.0:
2728
2736
  dropped — a foreground polling daemon in a one-shot CLI); the shipped
2729
2737
  `core/extract.yml` cron template (`akm proposal extract --auto` on a
@@ -467,9 +467,7 @@ guidance. When enabled, engine selection is judgment → triage → strategy →
467
467
 
468
468
  `processes.reflect.qualityGate` and `processes.distill.qualityGate` control
469
469
  each process's LLM-as-judge quality gate. Each is on unless it sets
470
- `enabled: false`, and each follows only its own switch. A reflect revision
471
- that changes the body is never auto-accepted; when the judge passes it, it
472
- waits for review. With the gate off, it waits for review too. The judge is the
470
+ `enabled: false`, and each follows only its own switch. The judge is the
473
471
  process's own engine when that is an LLM engine, or the `defaults.llmEngine`
474
472
  engine when an agent generates. `engine`, `model`, `timeoutMs` and `llm` give the gate a judge of its own,
475
473
  resolved over the process's settings the way `triage.judgment` resolves over
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akm-cli",
3
- "version": "0.9.25-alpha.2",
3
+ "version": "0.9.25-alpha.3",
4
4
  "type": "module",
5
5
  "description": "akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cursor.",
6
6
  "keywords": [