@nimiplatform/nimi-coding 0.2.3 → 0.2.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/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/cli/constants.mjs +1 -1
- package/contracts/negative-fixtures.yaml +15 -0
- package/contracts/table-family.schema.yaml +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ 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.4
|
|
8
|
+
|
|
9
|
+
- Added the `product_state_machine` and `product_record_schema` table families
|
|
10
|
+
for product-owned kernel tables, covering state machines and record-schema
|
|
11
|
+
tables that are neither closed enums, generic product catalogs, nor release
|
|
12
|
+
gate registries.
|
|
13
|
+
- Kept table-family admission fail-closed: any table family outside the
|
|
14
|
+
admitted set is still rejected with `unknown_table_family`.
|
|
15
|
+
|
|
7
16
|
## 0.2.3
|
|
8
17
|
|
|
9
18
|
- 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 (
|
|
317
|
+
pnpm test # runs the node:test suite (340 tests at 0.2.4)
|
|
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.
|
|
259
|
+
pnpm test # 跑 node:test 套件(0.2.4 共 340 用例)
|
|
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
|
@@ -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]
|