standards: add AIPS-1 P3 lab and harden evidence checks - #710
Closed
FutureEnterprises wants to merge 7 commits into
Closed
standards: add AIPS-1 P3 lab and harden evidence checks#710FutureEnterprises wants to merge 7 commits into
FutureEnterprises wants to merge 7 commits into
Conversation
Signed-off-by: FutureEnterprises <team@emiliaprotocol.ai>
Signed-off-by: FutureEnterprises <team@emiliaprotocol.ai>
Signed-off-by: FutureEnterprises <team@emiliaprotocol.ai>
Signed-off-by: FutureEnterprises <team@emiliaprotocol.ai>
Signed-off-by: FutureEnterprises <team@emiliaprotocol.ai>
|
Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here. So far, Strix has reviewed 68 pull requests, surfaced 13 security issues (8 critical/high) and blocked 8 risky merges across this workspace. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
FutureEnterprises
enabled auto-merge (squash)
September 2, 2026 00:32
Signed-off-by: FutureEnterprises <team@emiliaprotocol.ai>
Signed-off-by: FutureEnterprises <team@emiliaprotocol.ai>
FutureEnterprises
disabled auto-merge
September 2, 2026 07:36
Member
Author
|
Superseded by #723. The generic proof-serialization and AIUC schema-validation hardening landed in that reviewed release train. The AIPS-1 P3 and insurer-specific experimental composition remains intentionally private and unmerged pending the IP/FTO and product-boundary gates. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a bounded public-comment lab for AIPS-1 v0.1 Principle 3. The package turns declared Evidence Source predicates into a small offline evaluation contract with three local outcomes:
SATISFIED,NOT_SATISFIED, orINDETERMINATE.The package includes pinned primary sources, closed JSON Schemas, a zero-dependency evaluator, 10 paired control/hostile vector groups, deterministic input and implementation bindings, a generated aggregate report, and staged public-comment text. It also adds the focused package checks to the existing test job.
The governed proof run also exposed a repository-wide race: simultaneous worktrees could start competing clean dependency installs, leak failed verifier scratch space, and suppress the useful child-process diagnostics. This PR serializes proof-stat generation at the shared Git repository, cleans every verifier scratch path, and bounds and redacts failure output.
It also repairs the existing AIUC incident-field schema identifier and adds an AJV 2020 regression, so the validation command published in that package's README now works as written.
Scope
Affected components:
.github/workflows/ci.yml,standards/aips-1/p3-evidence-source-evaluation-v0, the existing AIUC incident-field schema and its focused regression, the proof-stat generator, the reproducible-package verifier, and their focused regressions.This is an EMILIA-authored interoperability proposal for public comment. It is not a native AIPS verifier, an AIPS conformance result, a Policy Certificate evaluator, an AEB or CAID adapter, a coverage or liability decision, an adoption claim, or an endorsement claim. It does not retrieve or authenticate external sources.
Risk and security impact
INDETERMINATE. File, strict-JSON, duplicate-member, resource-limit, and internal failures exit nonzero. A validINDETERMINATEreport exits zero, so callers must inspect the verdict and reason codes.Verification
node --test standards/aips-1/p3-evidence-source-evaluation-v0/evaluate.selftest.mjsnpx --yes node@24 --test standards/aips-1/p3-evidence-source-evaluation-v0/evaluate.selftest.mjsnode standards/aips-1/p3-evidence-source-evaluation-v0/generate-report.mjs --check; repeated on Node 24ebdbf5167443a47f6df8226418271f7c2343030395536a633ab023ebc5a6f9c8npx vitest run tests/aiuc-incident-fields-schema.test.ts;node --test standards/aiuc/incident-fields-v0/validate.selftest.mjsTLA2TOOLS_JAR=/tmp/tla2tools.jar npm run check:proof-statson commitf7adf6262a747ae4a26acc965c47e38e116fcdd0npm run build;npm run typecheck;npm run lintcheck:artifact-lifecycle;check:standards-staged;check:public-conformance-claims;check:llm-context;check:authority-claims;check:repository-boundary;check:packed-package-exports;check:protocolnpm audit --audit-level=high; separate locked secure-app install audit66c3b1d0a7bcde8d1aa627c75c0e1b735480973758f9ee196ece8f1de63bb58eNot run / limitations: The lab has same-team executable evidence and two separate adversarial code-review passes. It does not yet have AIPS author validation, a clean-room implementation, or live Evidence Source integration. Those gaps remain explicit in
CLAIM-EVIDENCE.md.Database and migrations
Migration files: None.
Applied environments and current status: Not applicable.
Deployment/rollback notes: Additive repository content only. Revert this PR to remove the lab, CI step, and proof-run hardening.
Claims and evidence
Claim-bearing files and supporting evidence:
SOURCES.mdandsource-lock.jsonpin the AIPS-1 repository commit, tree, public PDF variants, and SHA-256 receipts.CLAIM-EVIDENCE.mdmaps each local result to executable evidence and preserves the external-validation gaps.report.jsonis generated and binds the source lock, report schema, evaluator, and generator bytes.Secrets and sensitive data
Contribution checklist
Signed-off-byline (git commit -s); I understand CI checks every commit.