@on-par/factory-config 0.9.2 → 0.9.3

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.
@@ -0,0 +1,45 @@
1
+ ---
2
+ product: default-code
3
+ version: 1
4
+ checkers:
5
+ - worker_output
6
+ - compile
7
+ - tests
8
+ - lint
9
+ - design_smells
10
+ enforced_on: [plan, build, check]
11
+ ---
12
+
13
+ # Default Code Constitution
14
+
15
+ ## Purpose
16
+
17
+ The default standard for a code repository that has no product-specific constitution.
18
+ `factory init` scaffolds it into `.factory/constitution.md`; edit that file to tighten
19
+ or extend the standards for this repository.
20
+
21
+ ## Standards
22
+
23
+ - The change builds and type-checks with the repository's own scripts.
24
+ - Existing tests pass, and new behavior comes with tests.
25
+ - Lint is clean under the repository's own configuration.
26
+ - The diff does what the issue says, and nothing unrelated.
27
+ - There are no committed secrets, debug leftovers or disabled tests.
28
+
29
+ ## Quality Gates
30
+
31
+ 1. `worker_output` — the worker produced a real diff against the base.
32
+ 2. `compile` — the repository's build or type-check script passes.
33
+ 3. `tests` — the repository's verify or test command passes.
34
+ 4. `lint` — the repository's lint script passes.
35
+ 5. `design_smells` — the diff is free of design smells a reviewer would flag.
36
+
37
+ ## Dispute Rules
38
+
39
+ When a checker flags a finding the worker disagrees with, the boss compares the finding
40
+ against the issue's acceptance criteria and the repository's own conventions. A finding
41
+ that contradicts either is dismissed; otherwise the worker fixes it.
42
+
43
+ ## Non-Goals
44
+
45
+ - Product-specific checks. Add `custom_*` checkers by editing this file's `checkers` list.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@on-par/factory-config",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Shared configuration defaults and product constitutions for the Software Factory.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",