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/state.schema.json

View on GitHub
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:lch:schema:0.1:state",
  "title": "Lossless Context Handoff WARM canonical state v0.1",
  "description": "Canonical WARM state for protocol version 0.1.0. current_projection is a derived cache; transition events remain authoritative.",
  "x-lch-schema-version": "0.1.0",
  "type": "object",
  "required": [
    "protocol_version",
    "state_projection_version",
    "boundaries",
    "source_inventory",
    "records",
    "transition_events",
    "action_graph",
    "current_projection",
    "content_coverage",
    "consistency_claim",
    "semantic_actionability_claim",
    "language_profile",
    "materiality_profile_ref"
  ],
  "properties": {
    "protocol_version": {
      "$ref": "urn:lch:schema:0.1:common#/$defs/protocolVersion"
    },
    "state_projection_version": {
      "$ref": "urn:lch:schema:0.1:common#/$defs/stateProjectionVersion"
    },
    "boundaries": {
      "$ref": "urn:lch:schema:0.1:common#/$defs/boundaries"
    },
    "source_inventory": {
      "$ref": "urn:lch:schema:0.1:common#/$defs/sourceInventory"
    },
    "records": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/stateRecord"
      }
    },
    "transition_events": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "urn:lch:schema:0.1:event"
      }
    },
    "action_graph": {
      "$ref": "urn:lch:schema:0.1:action-graph"
    },
    "current_projection": {
      "type": "object",
      "required": [
        "current_intent_id",
        "current_phase",
        "active_decision_ids",
        "rejected_decision_ids",
        "failed_attempt_ids",
        "active_constraint_ids",
        "answered_question_ids",
        "ready_action_ids",
        "blocked_action_ids",
        "recommended_action_id"
      ],
      "properties": {
        "current_intent_id": {"$ref": "urn:lch:schema:0.1:common#/$defs/stableId"},
        "current_phase": {"type": "string", "minLength": 1},
        "active_decision_ids": {"$ref": "#/$defs/idArray"},
        "rejected_decision_ids": {"$ref": "#/$defs/idArray"},
        "failed_attempt_ids": {"$ref": "#/$defs/idArray"},
        "active_constraint_ids": {"$ref": "#/$defs/idArray"},
        "answered_question_ids": {"$ref": "#/$defs/idArray"},
        "ready_action_ids": {"$ref": "#/$defs/idArray"},
        "blocked_action_ids": {"$ref": "#/$defs/idArray"},
        "recommended_action_id": {
          "oneOf": [
            {"$ref": "urn:lch:schema:0.1:common#/$defs/stableId"},
            {"type": "null"}
          ]
        }
      },
      "additionalProperties": false,
      "$comment": "This object is only a deterministic cache of event heads and the active action graph. A validator must compare it with the authoritative graphs."
    },
    "content_coverage": {
      "$ref": "urn:lch:schema:0.1:common#/$defs/contentCoverage"
    },
    "consistency_claim": {
      "enum": [
        "CONSISTENT",
        "DECLARED_CONFLICT",
        "UNKNOWN"
      ]
    },
    "semantic_actionability_claim": {
      "enum": [
        "SEMANTICALLY_READY",
        "BLOCKED",
        "UNKNOWN"
      ]
    },
    "language_profile": {
      "$ref": "urn:lch:schema:0.1:common#/$defs/languageProfile"
    },
    "materiality_profile_ref": {
      "$ref": "urn:lch:schema:0.1:common#/$defs/materialityProfileRef"
    }
  },
  "additionalProperties": false,
  "$comment": "A deterministic validator must enforce globally unique IDs, valid evidence byte ranges, COLD or omission support for every material record, transition graph validity, action graph validity, and exact agreement of current_projection with event heads. An event record_id must resolve to either records[].id or action_graph.action_graph_revision.record_id; the latter is the graph record and is not duplicated in records[].",
  "$defs": {
    "idArray": {
      "type": "array",
      "items": {"$ref": "urn:lch:schema:0.1:common#/$defs/stableId"},
      "uniqueItems": true
    },
    "baseRecord": {
      "type": "object",
      "required": [
        "id",
        "type",
        "assertion",
        "evidence_spans",
        "source_principal",
        "ordering",
        "temporal",
        "related_records",
        "transition_event_ids",
        "scope_id",
        "sensitivity"
      ],
      "properties": {
        "id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "type": {
          "enum": [
            "intent",
            "decision",
            "claim",
            "constraint",
            "question",
            "attempt",
            "artifact",
            "preference",
            "next_action"
          ]
        },
        "assertion": {
          "allOf": [
            {
              "$ref": "urn:lch:schema:0.1:common#/$defs/localizedText"
            },
            {
              "properties": {
                "kind": {
                  "const": "canonical_assertion"
                },
                "authority": {
                  "const": "canonical_assertion"
                }
              }
            }
          ]
        },
        "evidence_spans": {
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "urn:lch:schema:0.1:common#/$defs/evidenceSpan"
          }
        },
        "source_principal": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/sourcePrincipal"
        },
        "ordering": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/ordering"
        },
        "temporal": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/temporal"
        },
        "related_records": {
          "type": "array",
          "items": {
            "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
          },
          "uniqueItems": true
        },
        "transition_event_ids": {
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
          },
          "uniqueItems": true
        },
        "scope_id": {
          "$ref": "urn:lch:schema:0.1:common#/$defs/stableId"
        },
        "sensitivity": {
          "enum": [
            "public",
            "private",
            "secret",
            "restricted"
          ]
        }
      }
    },
    "stateRecord": {
      "allOf": [
        {
          "$ref": "#/$defs/baseRecord"
        },
        {
          "oneOf": [
            {
              "properties": {
                "type": {
                  "const": "intent"
                },
                "lifecycle": {
                  "enum": [
                    "PROPOSED",
                    "ACTIVE",
                    "SUPERSEDED",
                    "ABANDONED"
                  ]
                }
              },
              "required": [
                "type",
                "lifecycle"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "decision"
                },
                "lifecycle": {
                  "enum": [
                    "CANDIDATE",
                    "ACTIVE",
                    "SUPERSEDED",
                    "REJECTED"
                  ]
                }
              },
              "required": [
                "type",
                "lifecycle"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "claim"
                },
                "epistemic_basis": {
                  "enum": [
                    "USER_STATED",
                    "TOOL_OBSERVED",
                    "EXTERNAL_ASSERTED",
                    "INFERRED",
                    "ASSUMED",
                    "UNKNOWN"
                  ]
                },
                "verification": {
                  "enum": [
                    "UNVERIFIED",
                    "CORROBORATED",
                    "DISPUTED",
                    "REFUTED"
                  ]
                },
                "temporal_validity": {
                  "enum": [
                    "CURRENT",
                    "STALE",
                    "EXPIRED",
                    "UNKNOWN"
                  ]
                }
              },
              "required": [
                "type",
                "epistemic_basis",
                "verification",
                "temporal_validity"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "constraint"
                },
                "lifecycle": {
                  "enum": [
                    "PROPOSED",
                    "ACTIVE",
                    "SUPERSEDED",
                    "RELEASED"
                  ]
                },
                "compliance": {
                  "enum": [
                    "SATISFIED",
                    "VIOLATED",
                    "UNKNOWN"
                  ]
                }
              },
              "required": [
                "type",
                "lifecycle",
                "compliance"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "question"
                },
                "lifecycle": {
                  "enum": [
                    "OPEN",
                    "ANSWERED",
                    "DEFERRED",
                    "CANCELLED"
                  ]
                }
              },
              "required": [
                "type",
                "lifecycle"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "attempt"
                },
                "outcome": {
                  "enum": [
                    "SUCCEEDED",
                    "FAILED",
                    "INCONCLUSIVE",
                    "ABORTED"
                  ]
                }
              },
              "required": [
                "type",
                "outcome"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "artifact"
                },
                "availability": {
                  "enum": [
                    "PRESENT",
                    "MISSING",
                    "EXTERNAL_ONLY",
                    "REDACTED"
                  ]
                },
                "freshness": {
                  "enum": [
                    "CURRENT",
                    "STALE",
                    "UNKNOWN"
                  ]
                }
              },
              "required": [
                "type",
                "availability",
                "freshness"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "preference"
                },
                "lifecycle": {
                  "enum": [
                    "PROPOSED",
                    "ACTIVE",
                    "SUPERSEDED",
                    "RELEASED"
                  ]
                },
                "authority": {
                  "enum": [
                    "USER_CONFIRMED",
                    "OBSERVED_PATTERN",
                    "INFERRED"
                  ]
                }
              },
              "required": [
                "type",
                "lifecycle",
                "authority"
              ]
            },
            {
              "properties": {
                "type": {
                  "const": "next_action"
                },
                "eligibility": {
                  "enum": [
                    "READY",
                    "BLOCKED",
                    "COMPLETED",
                    "SUPERSEDED"
                  ]
                }
              },
              "required": [
                "type",
                "eligibility"
              ]
            }
          ]
        }
      ],
      "unevaluatedProperties": 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: 194kUpdated Claude CodeCodexVerifiedInstall