@warpgogol/forge 0.28.0 → 1.0.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 (64) hide show
  1. package/AGENTS.md +16 -0
  2. package/README.md +4 -4
  3. package/README.uk.md +4 -4
  4. package/dist/os/core/core.module.d.ts.map +1 -1
  5. package/dist/os/core/core.module.js +34 -0
  6. package/dist/os/core/core.module.js.map +1 -1
  7. package/dist/os/program/discovery.d.ts +61 -0
  8. package/dist/os/program/discovery.d.ts.map +1 -0
  9. package/dist/os/program/discovery.js +236 -0
  10. package/dist/os/program/discovery.js.map +1 -0
  11. package/dist/os/program/handlers/complete.d.ts +12 -0
  12. package/dist/os/program/handlers/complete.d.ts.map +1 -0
  13. package/dist/os/program/handlers/complete.js +344 -0
  14. package/dist/os/program/handlers/complete.js.map +1 -0
  15. package/dist/os/program/handlers/lease.d.ts +13 -0
  16. package/dist/os/program/handlers/lease.d.ts.map +1 -0
  17. package/dist/os/program/handlers/lease.js +322 -0
  18. package/dist/os/program/handlers/lease.js.map +1 -0
  19. package/dist/os/program/handlers/seal.d.ts +12 -0
  20. package/dist/os/program/handlers/seal.d.ts.map +1 -0
  21. package/dist/os/program/handlers/seal.js +265 -0
  22. package/dist/os/program/handlers/seal.js.map +1 -0
  23. package/dist/os/program/handlers/validate.d.ts +14 -0
  24. package/dist/os/program/handlers/validate.d.ts.map +1 -0
  25. package/dist/os/program/handlers/validate.js +164 -0
  26. package/dist/os/program/handlers/validate.js.map +1 -0
  27. package/dist/os/program/lease.d.ts +39 -0
  28. package/dist/os/program/lease.d.ts.map +1 -0
  29. package/dist/os/program/lease.js +129 -0
  30. package/dist/os/program/lease.js.map +1 -0
  31. package/dist/os/program/program.module.d.ts +3 -0
  32. package/dist/os/program/program.module.d.ts.map +1 -0
  33. package/dist/os/program/program.module.js +201 -0
  34. package/dist/os/program/program.module.js.map +1 -0
  35. package/dist/os/program/schemas.d.ts +225 -0
  36. package/dist/os/program/schemas.d.ts.map +1 -0
  37. package/dist/os/program/schemas.js +174 -0
  38. package/dist/os/program/schemas.js.map +1 -0
  39. package/dist/os/program/state.d.ts +38 -0
  40. package/dist/os/program/state.d.ts.map +1 -0
  41. package/dist/os/program/state.js +189 -0
  42. package/dist/os/program/state.js.map +1 -0
  43. package/dist/os/rfc/handlers/archive.d.ts +1 -0
  44. package/dist/os/rfc/handlers/archive.d.ts.map +1 -1
  45. package/dist/os/rfc/handlers/archive.js +54 -0
  46. package/dist/os/rfc/handlers/archive.js.map +1 -1
  47. package/dist/src/index.d.ts +1 -0
  48. package/dist/src/index.d.ts.map +1 -1
  49. package/dist/src/index.js +1 -0
  50. package/dist/src/index.js.map +1 -1
  51. package/package.json +15 -15
  52. package/profiles/astro-typescript-turborepo.yaml +1 -1
  53. package/profiles/editframe.yaml +2 -2
  54. package/profiles/forge-shell.yaml +1 -1
  55. package/profiles/godot-csharp.yaml +388 -0
  56. package/profiles/phaser-turborepo.yaml +1 -1
  57. package/skills/fo/ef-onboard/SKILL.md +1 -1
  58. package/skills/fo/fo-idea/SKILL.md +2 -2
  59. package/skills/fo/fo-idea-implement/SKILL.md +1 -1
  60. package/skills/fo/fo-step-commit/SKILL.md +7 -5
  61. package/skills/shared/grilling/learned-principles.archive.md +212 -0
  62. package/skills/shared/grilling/learned-principles.md +0 -13
  63. package/skills/shared/grilling/qa-log.md +624 -0
  64. package/skills/shared/knowledge/learned-principles.md +99 -0
@@ -3,3 +3,102 @@
3
3
  # learned-principles.md (shared)
4
4
 
5
5
  Promoted cross-skill principles. Entries are added by `fo-knowledge-distill` under operator grilling — never edited directly. Each entry uses `shared/K-NNNN` as its citation id.
6
+
7
+ ### K-0001: Durable decisions are fail-closed and identity-bound
8
+
9
+ ```knowledge-entry
10
+ id: K-0001
11
+ layer: L2
12
+ created: 2026-08-15
13
+ lastConfirmedAt: 2026-08-15
14
+ confirmations: 4
15
+ promotedFrom: [grilling/K-0002, grilling/K-0003, grilling/K-0005, grilling/K-0008]
16
+ status: active
17
+ ```
18
+
19
+ - **Condition:** A consequential durable decision depends on evidence, policy, or artifact state that may later change or become unavailable.
20
+ - **Recommended answer:** Represent missing, stale, malformed, or unavailable evidence explicitly and fail closed. Bind the decision to immutable subject and policy bytes, preserve its evidence as append-only history, and calculate current health separately rather than rewriting the historical result.
21
+ ### K-0002: Integrity requires authority ordering
22
+
23
+ ```knowledge-entry
24
+ id: K-0002
25
+ layer: L2
26
+ created: 2026-08-15
27
+ lastConfirmedAt: 2026-08-15
28
+ confirmations: 2
29
+ promotedFrom: [grilling/K-0007, grilling/K-0009]
30
+ status: active
31
+ ```
32
+
33
+ - **Condition:** Evidence or events may be produced concurrently, retried, submitted by the artifact author, delivered out of order, or received after a decision closes.
34
+ - **Recommended answer:** Admit evidence through a separate least-privilege authority that assigns a monotonic sequence and freezes every decision at an explicit evaluation cut. Producer timestamps never determine precedence, self-authored consistency is not authority, and late results create a new decision or incident instead of rewriting history.
35
+ ### K-0003: Forward-only cutovers preserve recovery, not legacy authority
36
+
37
+ ```knowledge-entry
38
+ id: K-0003
39
+ layer: L2
40
+ created: 2026-08-15
41
+ lastConfirmedAt: 2026-08-15
42
+ confirmations: 5
43
+ promotedFrom: [grilling/K-0001, grilling/K-0006, grilling/K-0010, grilling/K-0012, grilling/K-0016]
44
+ status: active
45
+ ```
46
+
47
+ - **Condition:** A forward-only transition replaces an authority model, runtime, toolchain, or deployment contract while still requiring prerequisites and a recoverable first cutover.
48
+ - **Recommended answer:** Provision and verify the required executor and infrastructure before activating enforcement. Then supersede the old authority through the smallest complete cutover that fits the real estate. Preserve useful old mechanisms only as explicitly non-authorizing infrastructure; permit a narrow, one-time rollback target with explicit closure conditions, never an indefinite compatibility path.
49
+ ### K-0004: Evaluation must not mutate its subject
50
+
51
+ ```knowledge-entry
52
+ id: K-0004
53
+ layer: L2
54
+ created: 2026-08-15
55
+ lastConfirmedAt: 2026-08-15
56
+ confirmations: 1
57
+ promotedFrom: [grilling/K-0004]
58
+ status: active
59
+ ```
60
+
61
+ - **Condition:** A gate, evaluator, audit, review, or certification process discovers a defect in the artifact it judges.
62
+ - **Recommended answer:** Keep evaluation read-only with respect to the judged artifact. Emit precise, anchored remediation tasks; apply fixes in a separate authoring flow that produces a new artifact identity and a new evidence chain.
63
+ ### K-0005: Documents are executable boundaries
64
+
65
+ ```knowledge-entry
66
+ id: K-0005
67
+ layer: L2
68
+ created: 2026-08-15
69
+ lastConfirmedAt: 2026-08-15
70
+ confirmations: 1
71
+ promotedFrom: [grilling/K-0011]
72
+ status: active
73
+ ```
74
+
75
+ - **Condition:** A specification or implementation document will be executed by another agent—possibly less capable—in an isolated session.
76
+ - **Recommended answer:** Decompose work into dependency-ordered documents that each define their inputs, outputs, forbidden shortcuts, acceptance evidence, and bounded validation. Every document must leave its affected scope internally consistent; use a final integration document for cross-module laws instead of relying on unstated context.
77
+ ### K-0006: Deterministic mechanisms require scale contracts
78
+
79
+ ```knowledge-entry
80
+ id: K-0006
81
+ layer: L2
82
+ created: 2026-08-15
83
+ lastConfirmedAt: 2026-08-15
84
+ confirmations: 1
85
+ promotedFrom: [grilling/K-0013]
86
+ status: active
87
+ ```
88
+
89
+ - **Condition:** A deterministic evaluator, selector, validator, or aggregator processes potentially growing collections and may gate a consequential transition.
90
+ - **Recommended answer:** Specify hard input limits, time and memory complexity, overflow behavior, and a deterministic stress fixture. Reject overflow explicitly without truncation or synthesized success, and forbid repeated full scans when an indexed or single-pass design is available.
91
+ ### K-0007: Canonical identities use closed snapshots and named standards
92
+
93
+ ```knowledge-entry
94
+ id: K-0007
95
+ layer: L2
96
+ created: 2026-08-15
97
+ lastConfirmedAt: 2026-08-15
98
+ confirmations: 2
99
+ promotedFrom: [grilling/K-0014, grilling/K-0015]
100
+ status: active
101
+ ```
102
+
103
+ - **Condition:** A value contributes to a durable hash, signature, authority decision, permanent byte format, or interchange identity.
104
+ - **Recommended answer:** Convert untrusted input into a bounded, detached, immutable canonical snapshot before hashing. Reject ambiguous values, Unicode hazards, unstable traversal, and limit overflow. Base permanent bytes on an exact named standard with independent conformance vectors, expressing project rules as an explicit narrower profile rather than an almost-equivalent private algorithm.