Skip to content

Jordanwei1/jiaojie-skill

jiaojie

Flagged

Create or receive human-first AI task handoffs across chats, models, devices, and languages. Use when the user asks to hand off, export context, resume from a handoff, switch sessions while preserving work, says "交接一下", "接收交接", or supplies handoff.md, handoff.zip, handoff-audit.zip, an LCH Bundle/T0 package, OCH Snapshot, or LTM Packet. Default to one readable handoff.md; upgrade to handoff.zip only when required files must travel, and to handoff-audit.zip only for formal audit, cross-organization delivery, or proof. Preserve current intent, stop point, next action, decisions, constraints, rejected and failed paths, answered questions, materials, omissions, and revalidation needs. Do not use for generic summaries, memory lookup, hidden reasoning, completed trivial chats, or after the user declines.

FileKindSize
SKILL.mdskill md8.1 KB
agents/openai.yamlconfig223 B
assets/hero-source.pngbinary1.3 MB
assets/hero.gifbinary1.2 MB
assets/profiles/materiality-v1.jsonconfig853 B
assets/protocol-version.jsonconfig2.6 KB
assets/registry/iana-language-subtag-registry-2026-08-08.txtmarkdown714.6 KB
assets/registry/iana-language-tag-extensions-registry-2014-04-02.txtmarkdown1.0 KB
assets/registry/profile-feature-registry-v0.1.jsonconfig3.3 KB
assets/registry/registry-lock.jsonconfig1.2 KB
assets/registry/schema-catalog-v0.1.jsonconfig4.1 KB
assets/schemas/action-graph.schema.jsonconfig5.6 KB
assets/schemas/common.schema.jsonconfig25.7 KB
assets/schemas/derived-digest-vector.schema.jsonconfig1.5 KB
assets/schemas/detached-envelope.schema.jsonconfig799 B
assets/schemas/event.schema.jsonconfig4.5 KB
assets/schemas/language-unicode-vector.schema.jsonconfig8.6 KB
assets/schemas/legacy-conversion-report.schema.jsonconfig4.4 KB
assets/schemas/manifest.schema.jsonconfig6.6 KB
assets/schemas/materiality-profile.schema.jsonconfig1.6 KB
assets/schemas/profile-feature-registry.schema.jsonconfig7.3 KB
assets/schemas/receipt.schema.jsonconfig15.6 KB
assets/schemas/registry-lock.schema.jsonconfig1.9 KB
assets/schemas/schema-catalog.schema.jsonconfig1.7 KB
assets/schemas/state.schema.jsonconfig11.9 KB
assets/schemas/t0-control.schema.jsonconfig2.7 KB
assets/schemas/vector-catalog.schema.jsonconfig5.3 KB
assets/schemas/verification-result.schema.jsonconfig24.2 KB
assets/templates/approval-statement.template.jsonconfig1.3 KB
assets/templates/approval-verification.template.jsonconfig1.6 KB
assets/templates/bundle-HANDOFF.template.mdmarkdown57 B
assets/templates/conversion-report.template.jsonconfig1.2 KB
assets/templates/handoff.template.mdmarkdown1.7 KB
assets/templates/manifest.template.jsonconfig8.6 KB
assets/templates/receipt.template.jsonconfig3.2 KB
assets/templates/t0-control.template.jsonconfig6.4 KB
assets/templates/t0-package.template.mdmarkdown337 B
assets/templates/warm-state.template.jsonconfig10.2 KB
assets/vectors/derived-digests-v1-001.jsonconfig10.8 KB
assets/vectors/index.jsonconfig2.1 KB
assets/vectors/jcs-sha256-basic-001.jsonconfig495 B
assets/vectors/language-unicode-v1-001.jsonconfig9.9 KB
assets/vectors/review-projection-v1-minimal-001.jsonconfig19.0 KB
examples/README.mdmarkdown1.4 KB
examples/business/business-external-state/case.jsonconfig559 B
examples/business/business-external-state/expected-next-action.mdmarkdown111 B
examples/business/business-external-state/expected-receipt.mdmarkdown342 B
examples/business/business-external-state/gold.jsonconfig498 B
examples/business/business-external-state/handoff.mdmarkdown1.8 KB
examples/business/business-external-state/source.mdmarkdown730 B
examples/coding/coding-cross-language/case.jsonconfig603 B
examples/coding/coding-cross-language/expected-next-action.mdmarkdown108 B
examples/coding/coding-cross-language/expected-receipt.mdmarkdown342 B
examples/coding/coding-cross-language/gold.jsonconfig495 B
examples/coding/coding-cross-language/handoff.mdmarkdown2.0 KB
examples/coding/coding-cross-language/source.mdmarkdown864 B
examples/general-chat/general-chat-mixed-constraints/case.jsonconfig577 B
examples/general-chat/general-chat-mixed-constraints/expected-next-action.mdmarkdown116 B
examples/general-chat/general-chat-mixed-constraints/expected-receipt.mdmarkdown347 B
examples/general-chat/general-chat-mixed-constraints/gold.jsonconfig508 B
examples/general-chat/general-chat-mixed-constraints/handoff.mdmarkdown1.8 KB
examples/general-chat/general-chat-mixed-constraints/source.mdmarkdown745 B
examples/index.jsonconfig4.9 KB
examples/learning/learning-intent-change/case.jsonconfig568 B
examples/learning/learning-intent-change/expected-next-action.mdmarkdown109 B
examples/learning/learning-intent-change/expected-receipt.mdmarkdown342 B
examples/learning/learning-intent-change/gold.jsonconfig496 B
examples/learning/learning-intent-change/handoff.mdmarkdown1.8 KB
examples/learning/learning-intent-change/source.mdmarkdown714 B
examples/product-design/product-design-parallel/case.jsonconfig572 B
examples/product-design/product-design-parallel/expected-next-action.mdmarkdown121 B
examples/product-design/product-design-parallel/expected-receipt.mdmarkdown342 B
examples/product-design/product-design-parallel/gold.jsonconfig508 B
examples/product-design/product-design-parallel/handoff.mdmarkdown1.8 KB
examples/product-design/product-design-parallel/source.mdmarkdown732 B
examples/research/research-partial/case.jsonconfig553 B
examples/research/research-partial/expected-next-action.mdmarkdown114 B
examples/research/research-partial/expected-receipt.mdmarkdown347 B
examples/research/research-partial/gold.jsonconfig506 B
examples/research/research-partial/handoff.mdmarkdown1.8 KB
examples/research/research-partial/source.mdmarkdown718 B
examples/writing/writing-authority/case.jsonconfig578 B
examples/writing/writing-authority/expected-next-action.mdmarkdown94 B
examples/writing/writing-authority/expected-receipt.mdmarkdown342 B
examples/writing/writing-authority/gold.jsonconfig481 B
examples/writing/writing-authority/handoff.mdmarkdown1.8 KB
examples/writing/writing-authority/source.mdmarkdown703 B
references/conformance.mdmarkdown42.5 KB
references/convert-legacy.mdmarkdown14.0 KB
references/domain-business.mdmarkdown3.3 KB
references/domain-coding.mdmarkdown3.4 KB
references/domain-general-chat.mdmarkdown3.2 KB
references/domain-learning.mdmarkdown3.2 KB
references/domain-product-design.mdmarkdown3.3 KB
references/domain-research.mdmarkdown3.3 KB
references/domain-writing.mdmarkdown3.2 KB
references/export-workflow.mdmarkdown14.9 KB
references/multilingual-workflow.mdmarkdown9.6 KB
references/profiles.mdmarkdown21.1 KB
references/protocol-core.mdmarkdown28.7 KB
references/receive-workflow.mdmarkdown23.2 KB
references/result-model.mdmarkdown22.3 KB
references/runtime-capabilities.mdmarkdown6.8 KB
references/security-boundary.mdmarkdown8.8 KB
references/simple-workflow.mdmarkdown7.0 KB
references/terminology.mdmarkdown13.3 KB
references/threat-model.mdmarkdown20.1 KB
references/verify-structure-workflow.mdmarkdown21.9 KB
references/wire-format.mdmarkdown44.0 KB
scripts/_vendor/lch/__init__.pyscript1.4 KB
scripts/_vendor/lch/canonicalize.pyscript7.6 KB
scripts/_vendor/lch/cli.pyscript10.2 KB
scripts/_vendor/lch/converters.pyscript46.0 KB
scripts/_vendor/lch/language.pyscript27.7 KB
scripts/_vendor/lch/package.pyscript56.8 KB
scripts/_vendor/lch/projection.pyscript22.7 KB
scripts/_vendor/lch/registry.pyscript7.9 KB
scripts/_vendor/lch/schema.pyscript19.5 KB
scripts/_vendor/lch/security.pyscript7.2 KB
scripts/_vendor/lch/simple.pyscript36.6 KB
scripts/_vendor/lch/util.pyscript14.7 KB
scripts/_vendor/lch/validate.pyscript128.4 KB
scripts/convert_handoff_md.pyscript207 B
scripts/convert_ltm.pyscript201 B
scripts/convert_och.pyscript205 B
scripts/handoff.pyscript190 B
scripts/pack_handoff.pyscript175 B
scripts/project_check.pyscript3.2 KB
scripts/scan_sensitive.pyscript183 B
scripts/validate_handoff.pyscript180 B
scripts/verify_handoff.pyscript188 B

assets/schemas/verification-result.schema.json

View on GitHub
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:lch:schema:0.1:verification-result",
  "title": "Lossless Context Handoff detached statements and results v0.1",
  "description": "Role-specific post-seal objects. Each object binds the exact package integrity reference and relevant subject digests. NOT_RUN is a Receipt summary state and is not minted as a result object.",
  "x-lch-schema-version": "0.1.0",
  "oneOf": [
    {
      "$ref": "#/$defs/deterministicResult"
    },
    {
      "$ref": "#/$defs/attestation"
    },
    {
      "$ref": "#/$defs/approvalStatement"
    },
    {
      "$ref": "#/$defs/approvalVerification"
    },
    {
      "$ref": "#/$defs/receiptAttestation"
    },
    {
      "$ref": "#/$defs/authorizationResult"
    },
    {
      "$ref": "#/$defs/securityRunResult"
    }
  ],
  "$defs": {
    "issuer": {
      "type": "object",
      "required": [
        "principal_id",
        "authority"
      ],
      "properties": {
        "principal_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "tenant_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "runtime": {
          "type": "string",
          "minLength": 1
        },
        "authority": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        }
      },
      "additionalProperties": false
    },
    "boundSubject": {
      "type": "object",
      "required": [
        "package_id",
        "package_integrity_ref",
        "canonical_state_digest"
      ],
      "properties": {
        "package_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "package_integrity_ref": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/packageIntegrityRef"
        },
        "canonical_state_digest": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
        },
        "profiles": {
          "type": "array",
          "items": {
            "$ref": "urn:lch:schema:0.1:common#/$defs/profileRef"
          }
        }
      },
      "additionalProperties": false
    },
    "deterministicResult": {
      "type": "object",
      "required": [
        "result_id",
        "type",
        "issuer",
        "subject",
        "result",
        "issues",
        "implementation_version",
        "issued_at"
      ],
      "properties": {
        "result_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "type": {
          "enum": [
            "structure_conformance",
            "byte_consistency",
            "review_projection_conformance"
          ]
        },
        "issuer": {
          "$ref": "#/$defs/issuer"
        },
        "subject": {
          "$ref": "#/$defs/boundSubject"
        },
        "result": {
          "enum": [
            "PASS",
            "WARN",
            "FAIL",
            "VERIFIED",
            "UNVERIFIED"
          ]
        },
        "issues": {
          "type": "array",
          "items": {
            "$ref": "urn:lch:schema:0.1:common#/$defs/issue"
          }
        },
        "implementation_version": {
          "type": "string",
          "minLength": 1
        },
        "issued_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "structure_conformance"
              }
            },
            "required": [
              "type"
            ]
          },
          "then": {
            "properties": {
              "result": {
                "enum": [
                  "PASS",
                  "WARN",
                  "FAIL"
                ]
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "byte_consistency"
              }
            },
            "required": [
              "type"
            ]
          },
          "then": {
            "properties": {
              "result": {
                "enum": [
                  "VERIFIED",
                  "UNVERIFIED",
                  "FAIL"
                ]
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "review_projection_conformance"
              }
            },
            "required": [
              "type"
            ]
          },
          "then": {
            "properties": {
              "result": {
                "enum": [
                  "PASS",
                  "FAIL"
                ]
              }
            }
          }
        }
      ],
      "additionalProperties": false
    },
    "attestation": {
      "type": "object",
      "required": [
        "attestation_id",
        "type",
        "issuer",
        "subject",
        "result",
        "method",
        "issued_at",
        "expires_at",
        "trust_anchor_ref"
      ],
      "properties": {
        "attestation_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "type": {
          "enum": [
            "inventory_authenticity",
            "inventory_scope_coverage",
            "package_vs_inventory_coverage",
            "origin"
          ]
        },
        "issuer": {
          "$ref": "#/$defs/issuer"
        },
        "subject": {
          "type": "object",
          "required": [
            "package_id",
            "package_integrity_ref",
            "canonical_state_digest",
            "scope_digest",
            "inventory_digest",
            "materiality_profile_digest",
            "package_profile_digest"
          ],
          "properties": {
            "package_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "package_integrity_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/packageIntegrityRef"
            },
            "canonical_state_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "scope_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "inventory_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "materiality_profile_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "package_profile_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            }
          },
          "additionalProperties": false
        },
        "result": {
          "enum": [
            "VERIFIED",
            "PARTIAL",
            "UNKNOWN",
            "UNAUTHENTICATED",
            "TRANSPORT_AUTHENTICATED",
            "SIGNATURE_VERIFIED",
            "FAIL"
          ]
        },
        "method": {
          "enum": [
            "platform_attestation",
            "trusted_export_compare",
            "fixture_compare",
            "signature_verify"
          ]
        },
        "issued_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "expires_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "trust_anchor_ref": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "inventory_authenticity"
              }
            },
            "required": [
              "type"
            ]
          },
          "then": {
            "properties": {
              "result": {
                "enum": [
                  "VERIFIED",
                  "FAIL"
                ]
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "enum": [
                  "inventory_scope_coverage",
                  "package_vs_inventory_coverage"
                ]
              }
            },
            "required": [
              "type"
            ]
          },
          "then": {
            "properties": {
              "result": {
                "enum": [
                  "VERIFIED",
                  "PARTIAL",
                  "UNKNOWN",
                  "FAIL"
                ]
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "origin"
              }
            },
            "required": [
              "type"
            ]
          },
          "then": {
            "properties": {
              "result": {
                "enum": [
                  "UNAUTHENTICATED",
                  "TRANSPORT_AUTHENTICATED",
                  "SIGNATURE_VERIFIED",
                  "FAIL"
                ]
              }
            }
          }
        }
      ],
      "additionalProperties": false
    },
    "approvalStatement": {
      "type": "object",
      "required": [
        "statement_id",
        "issuer",
        "subject",
        "decision",
        "issued_at",
        "expires_at",
        "issuer_evidence_ref"
      ],
      "properties": {
        "statement_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "issuer": {
          "type": "object",
          "required": [
            "principal_id",
            "authority_at_issue"
          ],
          "properties": {
            "principal_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "authority_at_issue": {
              "const": "approve_export_scope"
            }
          },
          "additionalProperties": false
        },
        "subject": {
          "type": "object",
          "required": [
            "package_id",
            "package_integrity_ref",
            "review_projection_ref",
            "canonical_state_digest",
            "scope_digest",
            "material_exclusions_digest",
            "recipient_binding_digest",
            "approval_challenge_nonce"
          ],
          "properties": {
            "package_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "package_integrity_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/packageIntegrityRef"
            },
            "review_projection_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/reviewProjectionRef"
            },
            "canonical_state_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "scope_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "material_exclusions_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "recipient_binding_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "approval_challenge_nonce": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "additionalProperties": false
        },
        "decision": {
          "enum": [
            "APPROVED",
            "REVIEWED",
            "DENIED"
          ]
        },
        "issued_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "expires_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "issuer_evidence_ref": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        }
      },
      "additionalProperties": false
    },
    "approvalVerification": {
      "type": "object",
      "required": [
        "verification_id",
        "issuer",
        "subject",
        "statement_authenticity",
        "verified_decision",
        "subject_match",
        "recipient_match",
        "time_validity",
        "review_projection_conformance",
        "approval_gate",
        "method",
        "issued_at",
        "expires_at",
        "trust_anchor_ref"
      ],
      "properties": {
        "verification_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "issuer": {
          "$ref": "#/$defs/issuer"
        },
        "subject": {
          "type": "object",
          "required": [
            "approval_statement_digest",
            "package_id",
            "package_integrity_ref",
            "review_projection_ref",
            "canonical_state_digest",
            "scope_digest",
            "recipient_binding_digest",
            "approval_challenge_nonce",
            "display_evidence_digest",
            "review_projection_result_ref"
          ],
          "properties": {
            "approval_statement_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "package_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "package_integrity_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/packageIntegrityRef"
            },
            "review_projection_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/reviewProjectionRef"
            },
            "canonical_state_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "scope_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "recipient_binding_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "approval_challenge_nonce": {
              "type": [
                "string",
                "null"
              ]
            },
            "display_evidence_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "review_projection_result_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/nullableDetachedObjectRef"
            }
          },
          "additionalProperties": false
        },
        "statement_authenticity": {
          "enum": [
            "VERIFIED",
            "UNVERIFIED",
            "FAIL"
          ]
        },
        "verified_decision": {
          "enum": [
            "APPROVED",
            "REVIEWED",
            "DENIED",
            "UNKNOWN"
          ]
        },
        "subject_match": {
          "enum": [
            "PASS",
            "FAIL"
          ]
        },
        "recipient_match": {
          "enum": [
            "PASS",
            "FAIL",
            "UNKNOWN"
          ]
        },
        "time_validity": {
          "enum": [
            "CURRENT",
            "EXPIRED",
            "UNKNOWN"
          ]
        },
        "review_projection_conformance": {
          "enum": [
            "PASS",
            "FAIL",
            "NOT_RUN"
          ]
        },
        "approval_gate": {
          "enum": [
            "PASS",
            "FAIL"
          ]
        },
        "method": {
          "enum": [
            "signature_verify",
            "platform_session_challenge",
            "current_user_challenge"
          ]
        },
        "issued_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "expires_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "trust_anchor_ref": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "approval_gate": {
                "const": "PASS"
              }
            },
            "required": [
              "approval_gate"
            ]
          },
          "then": {
            "properties": {
              "statement_authenticity": {
                "const": "VERIFIED"
              },
              "verified_decision": {
                "const": "APPROVED"
              },
              "subject_match": {
                "const": "PASS"
              },
              "recipient_match": {
                "const": "PASS"
              },
              "time_validity": {
                "const": "CURRENT"
              },
              "review_projection_conformance": {
                "const": "PASS"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "method": {
                "enum": [
                  "platform_session_challenge",
                  "current_user_challenge"
                ]
              }
            },
            "required": [
              "method"
            ]
          },
          "then": {
            "properties": {
              "subject": {
                "properties": {
                  "approval_challenge_nonce": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "review_projection_conformance": {
                "const": "NOT_RUN"
              }
            },
            "required": [
              "review_projection_conformance"
            ]
          },
          "then": {
            "properties": {
              "subject": {
                "properties": {
                  "review_projection_result_ref": {
                    "type": "null"
                  }
                }
              }
            }
          },
          "else": {
            "properties": {
              "subject": {
                "properties": {
                  "review_projection_result_ref": {
                    "$ref": "urn:lch:schema:0.1:common#/$defs/detachedObjectRef"
                  }
                }
              }
            }
          }
        }
      ],
      "additionalProperties": false
    },
    "receiptAttestation": {
      "type": "object",
      "required": [
        "type",
        "issuer",
        "subject",
        "issued_at",
        "expires_at",
        "trust_anchor_ref"
      ],
      "properties": {
        "type": {
          "const": "receiver_receipt"
        },
        "issuer": {
          "type": "object",
          "required": [
            "principal_id",
            "tenant_id",
            "runtime",
            "authority"
          ],
          "properties": {
            "principal_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "tenant_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "runtime": {
              "type": "string",
              "minLength": 1
            },
            "authority": {
              "const": "receive_and_attest"
            }
          },
          "additionalProperties": false
        },
        "subject": {
          "type": "object",
          "required": [
            "receipt_sha256",
            "package_integrity_ref",
            "canonical_state_digest",
            "challenge_nonce",
            "read_set_digest",
            "processing_coverage_digest"
          ],
          "properties": {
            "receipt_sha256": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "package_integrity_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/packageIntegrityRef"
            },
            "canonical_state_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "challenge_nonce": {
              "type": "string",
              "minLength": 1
            },
            "read_set_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "processing_coverage_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            }
          },
          "additionalProperties": false
        },
        "issued_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "expires_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "trust_anchor_ref": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        }
      },
      "additionalProperties": false
    },
    "authorizationResult": {
      "type": "object",
      "required": [
        "result_id",
        "issuer",
        "subject",
        "result",
        "issued_at",
        "expires_at",
        "trust_anchor_ref"
      ],
      "properties": {
        "result_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "issuer": {
          "type": "object",
          "required": [
            "principal_id",
            "tenant_id",
            "authority"
          ],
          "properties": {
            "principal_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "tenant_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "authority": {
              "const": "authorize_operation"
            }
          },
          "additionalProperties": false
        },
        "subject": {
          "type": "object",
          "required": [
            "challenge_nonce",
            "package_id",
            "package_integrity_ref",
            "canonical_state_digest",
            "action_id",
            "principal_id",
            "tenant_id",
            "resource",
            "operation",
            "purpose_digest",
            "constraints_digest"
          ],
          "properties": {
            "challenge_nonce": {
              "type": "string",
              "minLength": 1
            },
            "package_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "package_integrity_ref": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/packageIntegrityRef"
            },
            "canonical_state_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "action_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "principal_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "tenant_id": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
            },
            "resource": {
              "type": "string",
              "minLength": 1
            },
            "operation": {
              "type": "string",
              "minLength": 1
            },
            "purpose_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            },
            "constraints_digest": {
              "$ref": "urn:lch:schema:0.1:common#/$defs/sha256"
            }
          },
          "additionalProperties": false
        },
        "result": {
          "enum": [
            "AUTHORIZED",
            "DENIED"
          ]
        },
        "issued_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "expires_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        },
        "trust_anchor_ref": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        }
      },
      "additionalProperties": false
    },
    "securityRunResult": {
      "type": "object",
      "required": [
        "result_id",
        "type",
        "issuer",
        "subject",
        "result",
        "issues",
        "implementation_version",
        "issued_at"
      ],
      "properties": {
        "result_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "type": {
          "const": "security_run"
        },
        "issuer": {
          "$ref": "#/$defs/issuer"
        },
        "subject": {
          "$ref": "#/$defs/boundSubject"
        },
        "result": {
          "enum": [
            "PASS",
            "FAIL"
          ]
        },
        "issues": {
          "type": "array",
          "items": {
            "$ref": "urn:lch:schema:0.1:common#/$defs/issue"
          }
        },
        "implementation_version": {
          "type": "string",
          "minLength": 1
        },
        "issued_at": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/timestamp"
        }
      },
      "additionalProperties": false
    }
  }
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall