@nimiplatform/nimi-coding 0.2.3 → 0.2.5

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/CHANGELOG.md CHANGED
@@ -4,6 +4,24 @@ All notable changes to `@nimiplatform/nimi-coding` are tracked here.
4
4
 
5
5
  This project follows semantic versioning for published npm releases.
6
6
 
7
+ ## 0.2.5
8
+
9
+ - Fixed the `cli_version` field in `config/bootstrap.yaml` drifting away from
10
+ the package version; it had been stale since the 0.2.3 release missed the
11
+ bump and 0.2.4 inherited the miss.
12
+ - Added a release guard test asserting that `cli_version`, the `package.json`
13
+ version, and the `VERSION` constant stay in lockstep, so future releases
14
+ cannot silently miss the bump.
15
+
16
+ ## 0.2.4
17
+
18
+ - Added the `product_state_machine` and `product_record_schema` table families
19
+ for product-owned kernel tables, covering state machines and record-schema
20
+ tables that are neither closed enums, generic product catalogs, nor release
21
+ gate registries.
22
+ - Kept table-family admission fail-closed: any table family outside the
23
+ admitted set is still rejected with `unknown_table_family`.
24
+
7
25
  ## 0.2.3
8
26
 
9
27
  - Added `nimicoding sweep audit chunk audit-claude` for Claude-backed sweep
package/README.md CHANGED
@@ -314,7 +314,7 @@ repository itself keeps the package-owned source directly under
314
314
 
315
315
  ```bash
316
316
  pnpm install
317
- pnpm test # runs the node:test suite (337 tests at 0.2.3)
317
+ pnpm test # runs the node:test suite (341 tests at 0.2.5)
318
318
  pnpm check:pack # npm pack --dry-run
319
319
  pnpm check:ci # test + pack + CLI help/version smoke
320
320
  ```
package/README.zh-CN.md CHANGED
@@ -256,7 +256,7 @@ Nimi Coding 坐在你已经用的 AI host *底下*。它是让 AI 做完的工
256
256
 
257
257
  ```bash
258
258
  pnpm install
259
- pnpm test # 跑 node:test 套件(0.2.3 共 337 用例)
259
+ pnpm test # 跑 node:test 套件(0.2.5 共 341 用例)
260
260
  pnpm check:pack # npm pack --dry-run
261
261
  pnpm check:ci # test + pack + CLI help/version smoke
262
262
  ```
package/cli/constants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export const VERSION = "0.2.3";
1
+ export const VERSION = "0.2.5";
2
2
  export const PACKAGE_NAME = "@nimiplatform/nimi-coding";
3
3
  export const BOOTSTRAP_CONTRACT_ID = "nimicoding.bootstrap";
4
4
  export const BOOTSTRAP_CONTRACT_VERSION = 1;
@@ -1,6 +1,6 @@
1
1
  version: 1
2
2
  initialized_by: "@nimiplatform/nimi-coding"
3
- cli_version: "0.2.2"
3
+ cli_version: "0.2.5"
4
4
  bootstrap_contract: "nimicoding.bootstrap"
5
5
  bootstrap_contract_version: 1
6
6
  profile: default
@@ -74,6 +74,11 @@ fixtures:
74
74
  setup: .nimi/spec/runtime/kernel/tables/example.yaml without table_family
75
75
  expected_failure: missing_table_family
76
76
  validator_scope: table_family
77
+ - fixture_id: kernel_table_with_unknown_family
78
+ contract_ref: table-family.schema.yaml
79
+ setup: .nimi/spec/platform/kernel/tables/unknown-family.yaml with unadmitted table_family
80
+ expected_failure: unknown_table_family
81
+ validator_scope: table_family
77
82
  - fixture_id: tracked_non_product_without_admission
78
83
  contract_ref: tracked-output-admission.schema.yaml
79
84
  setup: .nimi/audit/example.yaml
@@ -84,6 +89,16 @@ fixtures:
84
89
  setup: .nimi/spec/runtime/kernel/tables/job-states.yaml with table_family state_machine
85
90
  expected_failure: none
86
91
  validator_scope: table_family
92
+ - fixture_id: valid_product_state_machine_table_passes
93
+ contract_ref: table-family.schema.yaml
94
+ setup: .nimi/spec/platform/kernel/tables/first-run-state-machine.yaml with table_family product_state_machine and state entry/exit conditions
95
+ expected_failure: none
96
+ validator_scope: table_family
97
+ - fixture_id: valid_product_record_schema_table_passes
98
+ contract_ref: table-family.schema.yaml
99
+ setup: .nimi/spec/platform/kernel/tables/product-control-record-schema.yaml with table_family product_record_schema
100
+ expected_failure: none
101
+ validator_scope: table_family
87
102
  - fixture_id: valid_minimal_package_anchor_passes
88
103
  contract_ref: projection-edge.schema.yaml
89
104
  setup: .nimi/spec/_meta/nimi-coding-admission-anchor.yaml with package id/version/root/edge refs only
@@ -23,6 +23,8 @@ table_family_enum:
23
23
  - protocol_surface
24
24
  - owner_matrix
25
25
  - product_catalog
26
+ - product_state_machine
27
+ - product_record_schema
26
28
  - gate_registry
27
29
  - support_registry
28
30
  authority_class_enum:
@@ -54,6 +56,16 @@ table_families:
54
56
  required_fields: [table_family, owner, catalog_id, entries]
55
57
  allowed_fields: [description, authority_refs, id, name, semantics, owner]
56
58
  forbidden_fields: [done, covered, coverage_status, audit_date, evidence_report, current, proposed, backlog_status, migration_status, mapping_status, run_id, ledger_ref]
59
+ - table_family: product_state_machine
60
+ authority_class: product_authority_table
61
+ required_fields: [table_family, owner, state_machine_id, states]
62
+ allowed_fields: [description, authority_refs, state, entry_conditions, exit_conditions, invariant, reason_code]
63
+ forbidden_fields: [done, covered, coverage_status, audit_date, evidence_report, current, proposed, backlog_status, migration_status, mapping_status, run_id, ledger_ref]
64
+ - table_family: product_record_schema
65
+ authority_class: product_authority_table
66
+ required_fields: [table_family, owner, record_id, path, schema_version, required_top_level_fields, invariants]
67
+ allowed_fields: [description, authority_refs, field, schema_ref, invariant, path, owner]
68
+ forbidden_fields: [done, covered, coverage_status, audit_date, evidence_report, current, proposed, backlog_status, migration_status, mapping_status, run_id, ledger_ref]
57
69
  - table_family: gate_registry
58
70
  authority_class: product_authority_table
59
71
  required_fields: [table_family, owner, registry_id, schema_version, registry_version, profile_id, tiers, targets, reason_codes, gates]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimiplatform/nimi-coding",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "private": false,
5
5
  "description": "AI-native coding governance toolkit for bootstrapping .nimi/** into arbitrary projects.",
6
6
  "license": "MIT",