gcf-aif-ext 0.3.0 → 0.4.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 (48) hide show
  1. package/README.md +53 -11
  2. package/commands/gcf.js +287 -42
  3. package/extension.json +22 -5
  4. package/hooks/pre-commit.js +55 -31
  5. package/injections/commit-status.md +7 -5
  6. package/injections/plan-context.md +8 -5
  7. package/injections/review-pillars.md +4 -3
  8. package/lib/anchors.js +27 -4
  9. package/lib/audit-core.js +135 -48
  10. package/lib/bundle.js +7 -4
  11. package/lib/context.js +24 -23
  12. package/lib/design-check.js +78 -27
  13. package/lib/design.js +2 -2
  14. package/lib/gcf-paths.js +13 -2
  15. package/lib/id.js +2 -2
  16. package/lib/inbox.js +54 -0
  17. package/lib/index-gen.js +23 -8
  18. package/lib/ledger.js +19 -17
  19. package/lib/linter.js +2 -1
  20. package/lib/live.js +179 -0
  21. package/lib/plan-check.js +31 -0
  22. package/lib/playtest-list.js +8 -4
  23. package/lib/systems-doc.js +16 -1
  24. package/lib/transitions.js +36 -21
  25. package/lib/unit-ops.js +124 -97
  26. package/lib/validate-item.js +244 -0
  27. package/lib/verdict-fs.js +61 -128
  28. package/lib/work-ops.js +727 -0
  29. package/package.json +1 -1
  30. package/profiles/pillars.md +1 -1
  31. package/profiles/system.md +1 -1
  32. package/profiles/unit-constraint.md +10 -0
  33. package/profiles/unit-entity.md +10 -0
  34. package/profiles/unit-mechanic.md +6 -1
  35. package/profiles/unit-resource.md +6 -1
  36. package/profiles/unit-rule.md +10 -0
  37. package/schemas/item.schema.json +105 -0
  38. package/skills/gcf-adopt/SKILL.md +2 -2
  39. package/skills/gcf-audit/SKILL.md +3 -3
  40. package/skills/gcf-card/SKILL.md +25 -20
  41. package/skills/gcf-ingest/SKILL.md +3 -3
  42. package/skills/gcf-init/SKILL.md +2 -2
  43. package/skills/gcf-triage/SKILL.md +35 -0
  44. package/skills/gcf-verdict/SKILL.md +19 -16
  45. package/templates/config.yml +7 -0
  46. package/templates/{card.md → item.md} +10 -3
  47. package/lib/validate-card.js +0 -93
  48. package/schemas/card.schema.json +0 -46
@@ -1,46 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://github.com/VirtualMaestro/GCF/schemas/card.schema.json",
4
- "title": "GCF card frontmatter",
5
- "type": "object",
6
- "additionalProperties": false,
7
- "required": [
8
- "schema",
9
- "id",
10
- "type",
11
- "status",
12
- "system",
13
- "depends",
14
- "pillars",
15
- "source",
16
- "tune_count",
17
- "created"
18
- ],
19
- "properties": {
20
- "schema": { "const": 2 },
21
- "id": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" },
22
- "type": { "enum": ["mechanic", "resource"] },
23
- "title": { "type": "string", "minLength": 1 },
24
- "status": { "enum": ["proposed", "built", "tuning"] },
25
- "system": {
26
- "type": "array",
27
- "minItems": 1,
28
- "items": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" }
29
- },
30
- "depends": {
31
- "type": "array",
32
- "items": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" }
33
- },
34
- "pillars": {
35
- "type": "array",
36
- "items": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" }
37
- },
38
- "source": { "type": "string", "pattern": "^(GDD#[A-Za-z0-9_-]+|manual)$" },
39
- "reopens": { "type": "string", "minLength": 1 },
40
- "tune_count": { "type": "integer", "minimum": 0 },
41
- "built_at": {
42
- "anyOf": [{ "type": "null" }, { "type": "string", "pattern": "^[0-9a-f]{7,40}$" }]
43
- },
44
- "created": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }
45
- }
46
- }