{"uid":"cap_Uyp01rUzPiCVHJ8nMk7lS","slug":"package-manifests-scope-boundary-audit-6522bc52","name":"Package Manifests - Scope Boundary Audit","description":"Enforce exact declared owner, subject, revision and allowed scope labels; a matching label grants no permission or access for caller-supplied package release and file-inventory Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/verify/package-manifests/scope-boundary-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","maxItems":32,"minItems":1},"ownerRef":{"type":"string"},"revision":{"type":"string"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"subjectRef":{"type":"string"},"allowedScopes":{"type":"array","maxItems":16,"minItems":1},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.038309","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.038309/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038309","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038309","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IHsg8pA1Z9DiKryZflRAc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.038309","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that a package manifest's declared owner, subject, revision, and scope labels exactly match caller-supplied constraints, enforcing strict scope boundary rules without granting any permission or access.","exampleAgentPrompt":"Check whether this batch of package manifest rows has valid scope boundaries — the owner is 'acme-corp', subject is 'payments-service', revision is 'v2.4.1', and the allowed scopes are ['internal','restricted']; data class is 'public' and all metadata is nonpersonal.","exampleUseCases":[{"title":"CI pipeline scope boundary gate","prompt":"Before I publish this package release, validate that all 12 manifest rows for owner 'fintech-labs', subject 'ledger-api', revision 'v1.0.3' fall within allowed scopes ['read','audit'] and data class 'synthetic' — flag any scope violations."},{"title":"Supply chain manifest audit","prompt":"Audit these 20 file inventory records for our package 'data-pipeline' — owner is 'globalco', subject is 'etl-worker', revision is 'rc-2024-11', allowed scopes are ['internal'], data class 'public', nonpersonal metadata only."},{"title":"Compliance review of scoped package manifests","prompt":"I need to verify that the scope labels in our package manifests are within the declared allowed set for owner 'healthsys', subject 'patient-exporter', revision 'v3.1.0' — scopes allowed are ['anonymized','public'] and data class is 'public'."}],"resultDescription":"Returns a structured audit result indicating whether each supplied manifest row conforms to the exact declared owner, subject, revision, and allowed scope labels. Reports which rows pass or fail scope boundary enforcement, without granting any access or permission based on label matches. Analysis is of caller-supplied records only, not an independent certification.","failureModes":["Missing required fields (ownerRef, subjectRef, revision, allowedScopes) returns a validation error","rows array outside 1–32 item bounds causes rejection","allowedScopes array outside 1–16 item bounds causes rejection","dataClass value not in enum ['public','synthetic'] returns error","nonpersonalMetadata not set to true (const) causes rejection","Malformed or empty rows result in audit failure","Network or payment failure returns 402 or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need strict, deterministic scope boundary enforcement on caller-supplied package manifest rows against declared owner, subject, revision, and allowed scope label constraints — particularly in CI/CD pipelines, compliance workflows, or supply chain audits where exact conformance (not approximate matching) is required. Prefer this over general-purpose validation tools when the specific package manifest scope boundary semantics (owner/subject/revision/scope pinning) are the target of the audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:20.427Z","isFirstParty":false,"canonicalSlug":"package-manifests-scope-boundary-audit-6522bc52"}