@consiliency/contract 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 The Consiliency
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/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @consiliency/contract
2
+
3
+ The Consiliency cross-repo **contract package** — the single, neutral rulebook that
4
+ `agent-harness` and `governed-pipeline` vendor (owned by neither). It defines:
5
+
6
+ - the `.consiliency/` layout + manifest schema
7
+ - the **archetype registry** — `product` / `service` / `library` / `infra` / `tooling-meta` / `experiment` / `document`, plus modifiers (`data-bearing` / `public` / `regulated` / `user-facing`), with `baseline-only` as a legal declaration
8
+ - the required-document sets per archetype (the 7 document classes)
9
+ - the interface-declaration schema (realized + promised cross-repo edges)
10
+ - the loop-gate protocol (presence / freshness / integrity)
11
+ - the `canonical_html.v1` display schema
12
+ - the version-skew protocol
13
+
14
+ Dual-published: **npm** [`@consiliency/contract`](https://www.npmjs.com/package/@consiliency/contract) + **PyPI** [`consiliency-contract`](https://pypi.org/project/consiliency-contract/), from shared JSON data + conformance vectors so the two language readers stay byte-identical.
15
+
16
+ > **Status — `v0.0.x` is a provisioning placeholder.** It establishes the publishing
17
+ > homes (npm + PyPI OIDC trusted publishing) so CI can publish tokenlessly. The
18
+ > normative contract content lands in **`0.1.0`**.
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@consiliency/contract",
3
+ "version": "0.0.1",
4
+ "description": "Consiliency cross-repo contract package: the .consiliency layout, archetype registry, required-doc sets, interface-declaration schema, loop-gate protocol, canonical_html.v1, and the version-skew protocol. Vendored by agent-harness and governed-pipeline; owned by neither. v0.0.x is a provisioning placeholder — contract content lands in 0.1.0.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "src/index.js",
8
+ "types": "src/index.d.ts",
9
+ "files": [
10
+ "src",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/Consiliency/consiliency-contract.git"
20
+ },
21
+ "homepage": "https://github.com/Consiliency/consiliency-contract#readme",
22
+ "bugs": {
23
+ "url": "https://github.com/Consiliency/consiliency-contract/issues"
24
+ },
25
+ "keywords": [
26
+ "consiliency",
27
+ "contract",
28
+ "standardization",
29
+ "canonical-html"
30
+ ],
31
+ "engines": {
32
+ "node": ">=18"
33
+ }
34
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export declare const CONTRACT_PACKAGE: "@consiliency/contract";
2
+ export declare const STATUS: "placeholder";
package/src/index.js ADDED
@@ -0,0 +1,8 @@
1
+ // @consiliency/contract — provisioning placeholder (v0.0.x).
2
+ //
3
+ // The normative contract (the `.consiliency/` layout + manifest schema, the archetype
4
+ // registry, required-doc sets, the interface-declaration schema, the loop-gate
5
+ // protocol, `canonical_html.v1`, and the version-skew protocol) lands in 0.1.0 as
6
+ // shared JSON data + conformance vectors, in byte-parity with the PyPI reader.
7
+ export const CONTRACT_PACKAGE = "@consiliency/contract";
8
+ export const STATUS = "placeholder";