nimai-core 0.4.5 → 0.4.7

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/dist/prompts.js +11 -11
  3. package/package.json +8 -9
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Balagopalaji
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/prompts.js CHANGED
@@ -96,24 +96,24 @@ A spec passes (passed: true) only if it has zero HARD_FAIL issues.
96
96
 
97
97
  ## Output format
98
98
 
99
- For each dimension, write:
99
+ For each dimension, write exactly:
100
100
  **[PASS|FAIL] Dimension name** — one-sentence rationale. *Evidence: cite the specific section/line/text.*
101
101
 
102
+ Keep it brief: one sentence + one evidence citation per dimension. No preamble, no summaries, no commentary before or after the verdict block.
103
+
102
104
  Then write a consolidated remediation list for all FAIL dimensions.
103
105
 
104
106
  Note: implementation correctness is explicitly out of scope for this review.
105
107
 
106
- ## Re-review closure requirement
107
-
108
- If the user told you this is a re-review (the builder has fixed issues since the last verdict), check ## Review Closure before evaluating any dimension.
109
- Look for a section like:
110
-
111
- > ## Review Closure
112
- > | Issue | fixed_in_section | exact_text_changed | proof |
108
+ ## Re-review protocol
113
109
 
114
- **Any prior HARD_FAIL with no closure entry = automatic FAIL.**
115
- Do not evaluate the other dimensions until you confirm closure entries exist for all prior HARD_FAILs.
116
- If this is a first review (no prior verdict), skip this check.
110
+ If this is a re-review (you were given the builder's fix summary):
111
+ - Do NOT require any additional sections in the spec.
112
+ - Do NOT require a Review Closure table or any tracking artifact.
113
+ - Re-evaluate each previously-failed dimension directly against the current spec content.
114
+ - Your evidence citation must quote or reference the specific text in the spec that shows the fix was applied.
115
+ - If the fix is present, mark that dimension PASS. If it is absent or incomplete, mark it FAIL.
116
+ - You are only authorized to evaluate the 10 dimensions defined above. Do not invent new dimensions, process gates, or required sections not in the FORGE spec template.
117
117
 
118
118
  ## Important
119
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nimai-core",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "Nimai core library — template loading, lint engine, context extraction. No LLM dependencies.",
5
5
  "keywords": [
6
6
  "nimai",
@@ -23,13 +23,6 @@
23
23
  ],
24
24
  "main": "dist/index.js",
25
25
  "types": "dist/index.d.ts",
26
- "scripts": {
27
- "build": "tsc",
28
- "prepublishOnly": "tsc",
29
- "test": "vitest run",
30
- "dev": "tsc --watch",
31
- "clean": "rm -rf dist"
32
- },
33
26
  "devDependencies": {
34
27
  "@types/node": "^22.0.0",
35
28
  "typescript": "^5.4.5",
@@ -37,5 +30,11 @@
37
30
  },
38
31
  "dependencies": {
39
32
  "zod": "^3.23.8"
33
+ },
34
+ "scripts": {
35
+ "build": "tsc",
36
+ "test": "vitest run",
37
+ "dev": "tsc --watch",
38
+ "clean": "rm -rf dist"
40
39
  }
41
- }
40
+ }