@company-semantics/contracts 18.1.0 → 18.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "18.1.0",
3
+ "version": "18.2.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
2
- export const SPEC_HASH = '0145da47b329' as const;
3
- export const SPEC_HASH_FULL = '0145da47b329d350ecef5661168bcdd0a7399c5aa3cacd2ad53f5d76ef2d5908' as const;
2
+ export const SPEC_HASH = '4944d64336bd' as const;
3
+ export const SPEC_HASH_FULL = '4944d64336bd97c454ceef9917209bd1da7bab66a771e02c91bafec5ab31d47e' as const;
@@ -3952,7 +3952,7 @@ export interface components {
3952
3952
  summary: {
3953
3953
  executionId: string;
3954
3954
  /** @enum {string} */
3955
- kind: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup" | "member.changeManager";
3955
+ kind: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup" | "member.changeManager" | "companyMd.ingest";
3956
3956
  target: {
3957
3957
  /** @constant */
3958
3958
  type: "slack";
@@ -7129,7 +7129,7 @@ export interface operations {
7129
7129
  query?: {
7130
7130
  cursor?: string;
7131
7131
  limit?: number;
7132
- kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup" | "member.changeManager";
7132
+ kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup" | "member.changeManager" | "companyMd.ingest";
7133
7133
  targetType?: string;
7134
7134
  periodStart?: string;
7135
7135
  periodEnd?: string;
@@ -7264,7 +7264,7 @@ export interface operations {
7264
7264
  query?: {
7265
7265
  limit?: number;
7266
7266
  offset?: number;
7267
- kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup" | "member.changeManager";
7267
+ kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup" | "member.changeManager" | "companyMd.ingest";
7268
7268
  kindPrefix?: string;
7269
7269
  };
7270
7270
  header?: never;
@@ -76,6 +76,15 @@ export const FactProvenanceSchema = z.object({
76
76
  * for an original. Enables append+supersede without destructive updates.
77
77
  */
78
78
  supersedesFactId: z.string().uuid().nullable().optional(),
79
+ /**
80
+ * Human-meaningful WHY for a deliberate human edit — a free-text audit
81
+ * record of intent, capped at 2000 chars to mirror the delegation-note /
82
+ * unit-owner reason API cap. `null`/absent for machine-sourced facts (sync,
83
+ * import, inference). It is an audit record of intent, NOT an authorization
84
+ * grant: it explains why a fact was set, never who may act on it
85
+ * (ADR-CTRL-180).
86
+ */
87
+ reason: z.string().max(2000).nullable().optional(),
79
88
  });
80
89
  export type FactProvenance = z.infer<typeof FactProvenanceSchema>;
81
90