gcf-aif-ext 0.18.7 → 0.18.8

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/README.md CHANGED
@@ -50,6 +50,10 @@ Updating preserves `gcf/`, `cnlp.config.json` and the pre-commit hook. Run `ai-f
50
50
 
51
51
  On Windows, run `extension add` and `extension update` from PowerShell or cmd, not Git Bash: the installer unpacks with `tar`, and Git Bash's GNU tar reads `C:\…` as a remote host (`Cannot connect to C: resolve failed`). The Windows `tar.exe` handles it.
52
52
 
53
+ ### 0.18.8
54
+
55
+ - `gcf board --json` reports an item that a main-mode harness run works as `running_kind: run`, as for a worktree run. Before, the run's own session mark made it `session`, and gcf-board took the board's own run for your interactive session: no run log, no Stop, Release mark in its place.
56
+
53
57
  ### 0.18.7
54
58
 
55
59
  - `tuning:` and `notes:` hold the operator's own words: the design check no longer applies the CNL-P lexicon to them (the 250-character line limit, `never` and the rest). Before, a tune remark longer than 250 characters made the pre-commit gate refuse the move with `M1: … exceeds the 250 hard limit`. The shape stays checked: every line a `- ` bullet, the blocks in the profile's order. Every other block of a unit keeps the limit.
package/extension.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/lee-to/ai-factory/2.x/schemas/extension.schema.json",
3
3
  "name": "gcf-aif-ext",
4
- "version": "0.18.7",
4
+ "version": "0.18.8",
5
5
  "description": "Game Context Framework for AI Factory",
6
6
  "skills": [
7
7
  "skills/gcf-init",
package/lib/board.js CHANGED
@@ -12,7 +12,7 @@ import { phaseStatus } from './phase.js';
12
12
  import { verifiedBranches, worktreeOf } from './integrate.js';
13
13
  import { resolveInside } from './safe-path.js';
14
14
  import { wipOf } from './audit-core.js';
15
- import { runHolder } from './main-lock.js';
15
+ import { MAIN_RUN, lockedItem, runHolder } from './main-lock.js';
16
16
  import { ITEM_TYPES } from './validate-item.js';
17
17
  import { movesOf } from './transitions.js';
18
18
  import { domainOf, hasHarness, RUNS_FROM } from './domain.js';
@@ -272,6 +272,9 @@ const unitsOf = (units) =>
272
272
  /** `run`, `session` or null. A harness run's lock wins over the mark its run on main holds. */
273
273
  function runningKind(projectDir, id) {
274
274
  if (runHolder(projectDir, id) !== null) return 'run';
275
+ // A main-mode run holds the checkout's lock, naming its item, and a session mark of its own.
276
+ if (runHolder(projectDir, MAIN_RUN) !== null && lockedItem(projectDir, MAIN_RUN) === id)
277
+ return 'run';
275
278
 
276
279
  return sessionActive(projectDir, id) ? 'session' : null;
277
280
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gcf-aif-ext",
3
- "version": "0.18.7",
3
+ "version": "0.18.8",
4
4
  "description": "Game Context Framework for AI Factory",
5
5
  "type": "module",
6
6
  "license": "MIT",