@noir-ai/create 1.15.0 → 1.16.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.
- package/dist/index.d.ts +72 -20
- package/dist/index.js +238 -76
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/templates/rules-seed.md.tmpl +15 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noir-ai/create",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "Noir scaffold engine — the idempotent declarative writer, manifest, templates, stack-detect, and migrations that power `noir init`/`create`/`sync`.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "agaaaptr",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"templates"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@noir-ai/
|
|
50
|
-
"@noir-ai/
|
|
49
|
+
"@noir-ai/adapters": "1.16.0",
|
|
50
|
+
"@noir-ai/core": "1.16.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "^22.17.0"
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
# Noir working rules
|
|
2
2
|
|
|
3
|
-
> Canonical AI working-contract for this project.
|
|
3
|
+
> Canonical AI working-contract for this project. Your host's context file imports this body;
|
|
4
|
+
> edit it freely — Noir re-emits only the import pointer, never this text.
|
|
4
5
|
> Keep LEAN: every line must be failure-backed, tool-enforceable, decision-encoding, or triggerable — else delete it.
|
|
5
|
-
> Edit freely — Noir re-emits only the @import pointer, never this body.
|
|
6
6
|
|
|
7
7
|
## Identity & scope
|
|
8
|
-
- This project uses **Noir** (discipline
|
|
9
|
-
- Noir is an orchestration layer — the host CLI is the execution engine; Noir is the spec/context/memory brain.
|
|
8
|
+
- This project uses **Noir** (discipline, context, and memory layer). The host CLI is the execution engine; Noir is the spec/context/memory brain.
|
|
10
9
|
- Stay in scope: do only what the current Noir task (`.noir/tasks/`) requires. Surface scope creep BEFORE acting.
|
|
11
10
|
|
|
12
11
|
## Anti-assumption contract
|
|
@@ -21,14 +20,23 @@
|
|
|
21
20
|
- Do not edit/run/execute before facts are gathered AND the human confirms understanding.
|
|
22
21
|
|
|
23
22
|
## Verification (run before claiming done)
|
|
24
|
-
-
|
|
23
|
+
- Run the project's own build, lint, typecheck, and test — all green, with real output. No hedging.
|
|
25
24
|
- Report failures truthfully with the actual output; never claim green without evidence.
|
|
26
25
|
|
|
26
|
+
## Output hygiene (run before claiming done)
|
|
27
|
+
- Keep every comment, summary, and document to what a reader can act on: no decorative banners
|
|
28
|
+
or dividers, no step-by-step narration of the code, no decorative emoji or icons. The
|
|
29
|
+
`noir-code-hygiene` skill carries the full set of defects and their fixes.
|
|
30
|
+
- Write in the project's own language: a character from another script, or an invisible one
|
|
31
|
+
(a zero-width space, a byte-order mark, a bidirectional override, the replacement character
|
|
32
|
+
a bad decode leaves), means the text was not written for this codebase.
|
|
33
|
+
- `noir doctor` enforces the same rules over this repository: fix every fail-tier finding, and
|
|
34
|
+
read a warn-tier finding as a question about the line rather than a rule to satisfy.
|
|
35
|
+
|
|
27
36
|
## Coding standards & architecture
|
|
28
37
|
- Follow existing patterns; match surrounding code's style, naming, comment density.
|
|
29
38
|
- Architecture decisions live in `.noir/decisions/` (ADR-style) — read them before cross-cutting changes.
|
|
30
|
-
- See `docs/roadmap.md` for direction and `docs/specs/` for design.
|
|
31
39
|
|
|
32
40
|
## Conventions gotchas (project-specific — fill in)
|
|
33
41
|
- Commits stay local until explicitly pushed.
|
|
34
|
-
- The full test suite runs offline
|
|
42
|
+
- The full test suite runs offline, with no network access and no paid API key.
|