gcf-aif-ext 0.12.3 → 0.12.4

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/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.12.3",
4
+ "version": "0.12.4",
5
5
  "description": "Game Context Framework for AI Factory",
6
6
  "skills": [
7
7
  "skills/gcf-init",
package/lib/domain.js CHANGED
@@ -47,11 +47,12 @@ const UNVERIFIED = {
47
47
  label: 'No green gcf verify? Why it goes anyway',
48
48
  kind: 'text',
49
49
  };
50
- // And a plan with tasks left unticked (AD-50).
50
+ // And a plan with tasks left unticked (AD-50): the board says how many (`excuses: plan`).
51
51
  const UNTICKED = {
52
52
  key: 'unticked',
53
53
  label: 'Plan tasks unticked? Why it goes anyway',
54
54
  kind: 'text',
55
+ excuses: 'plan',
55
56
  };
56
57
 
57
58
  const verdict = (v, help, fields, danger) => ({
@@ -261,7 +262,13 @@ const BLOCK_SPECS = {
261
262
  help: 'On to the next phase; against an unmet criterion only with a reason',
262
263
  args: ['gcf', 'phase', 'next'],
263
264
  fields: [
264
- { key: 'reason', label: 'Reason (needed when a criterion is not met)', kind: 'longtext' },
265
+ // Needed only against an unmet criterion: the board knows from the phase (`excuses`).
266
+ {
267
+ key: 'reason',
268
+ label: 'Reason (needed when a criterion is not met)',
269
+ kind: 'longtext',
270
+ excuses: 'phase',
271
+ },
265
272
  ],
266
273
  },
267
274
  'inbox-add': {
@@ -375,6 +382,8 @@ const SECTIONS = {
375
382
  questions: { answer: 'question-answer' },
376
383
  lessons: {},
377
384
  playtest: {
385
+ // The inbox source a note from the playtest screen goes with.
386
+ source: 'playtest',
378
387
  waits: ['awaiting-verdict', 'unplayed'],
379
388
  verdicts: ['verdict:keep', 'verdict:tune', 'verdict:kill'],
380
389
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gcf-aif-ext",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "Game Context Framework for AI Factory",
5
5
  "type": "module",
6
6
  "license": "MIT",