@lerianstudio/matcher-mcp 5.0.0-beta.19 → 5.0.0-beta.20

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.
@@ -638,6 +638,12 @@ components:
638
638
  - 0
639
639
  format: int64
640
640
  type: integer
641
+ fromSeq:
642
+ description: "Effective verification floor: the first tenant_seq eligible for inspection (1 when fromSeq was omitted). Resume a truncated run at fromSeq + verifiedCount"
643
+ examples:
644
+ - 1
645
+ format: int64
646
+ type: integer
641
647
  intact:
642
648
  description: True when every inspected record links to the previous one and matches its stored hash
643
649
  examples:
@@ -656,6 +662,7 @@ components:
656
662
  type: integer
657
663
  required:
658
664
  - intact
665
+ - fromSeq
659
666
  - verifiedCount
660
667
  - truncated
661
668
  type: object
@@ -13048,7 +13055,10 @@ paths:
13048
13055
  - Governance
13049
13056
  /v1/governance/audit-logs/verify:
13050
13057
  get:
13051
- description: "Re-verifies the calling tenant's tamper-evident audit hash chain and returns a structured verdict (intact, verified count, and the first broken tenant_seq when a break is found). The check is strictly read-only: it recomputes nothing into storage and never mutates an audit record. Use the optional maxRecords query parameter to bound how many records are inspected."
13058
+ description: |-
13059
+ Re-verifies the calling tenant's tamper-evident audit hash chain and returns a structured verdict (intact, verified count, and the first broken tenant_seq when a break is found). The check is strictly read-only: it recomputes nothing into storage and never mutates an audit record. Use the optional maxRecords query parameter to bound how many records are inspected.
13060
+
13061
+ Use the optional fromSeq query parameter to bind the verification floor: the first record inspected is the one with tenant_seq == fromSeq. A floor above 1 TRUSTS that record's stored prev_hash instead of validating it against the genesis hash, so tampering BELOW the floor is out of scope for that run and is not reported. Two uses follow from that: (1) resuming — when a verdict comes back truncated, re-run with fromSeq = fromSeq + verifiedCount to verify the remainder; (2) archived-partition tenants — once the archival worker has dropped the bottom partitions, verify from the current floor, because a run from seq 1 no longer has the records it would need. The verdict always echoes the effective fromSeq, so an empty range (verifiedCount 0 with a high fromSeq) is never mistaken for an intact chain verified from genesis.
13052
13062
  operationId: verifyAuditLogChain
13053
13063
  parameters:
13054
13064
  - description: Maximum number of records to inspect; clamped to the server bound. Omit to use the default bound.
@@ -13061,6 +13071,15 @@ paths:
13061
13071
  maximum: 10000
13062
13072
  minimum: 1
13063
13073
  type: integer
13074
+ - description: "Verification floor: the first record inspected is the one with this tenant_seq. Omit to start at the chain start (seq 1)."
13075
+ explode: false
13076
+ in: query
13077
+ name: fromSeq
13078
+ schema:
13079
+ description: "Verification floor: the first record inspected is the one with this tenant_seq. Omit to start at the chain start (seq 1)."
13080
+ format: int64
13081
+ minimum: 1
13082
+ type: integer
13064
13083
  responses:
13065
13084
  "200":
13066
13085
  content:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lerianstudio/matcher-mcp",
3
- "version": "5.0.0-beta.19",
3
+ "version": "5.0.0-beta.20",
4
4
  "type": "module",
5
5
  "description": "Model Context Protocol server for the Matcher reconciliation engine",
6
6
  "license": "Apache-2.0",