Kungfu UNGFU™Developer Platform

Back to Core product mapcurrent-contract / staged

.kungfu portable work format

.kungfu is a portable, verifiable record of real work.

It keeps one bounded piece of work—what happened, the facts and artifacts it produced, and the evidence needed to verify it—together so a fresh person or agent can inspect and continue it without reconstructing the story from a chat.

Why it exists

Keep the work, not just the conversation.

A folder keeps files. A transcript keeps words. Neither reliably tells the next agent what actually happened, which information was trusted, which outputs belong to the work, or how to check them. .kungfu keeps those relationships together.

What happened

An Episode records one bounded occurrence. Facts record the state the work relied on.

What it produced

Artifacts, a Manifest, Receipts and dependencies keep outputs connected to the work that produced them.

Why it can be checked

Content roots let another reader verify the retained material before trusting or acting on it.

A simple handoff

How a fresh agent continues the same work

01

Work

An agent performs a bounded piece of real work and produces facts, artifacts and evidence.

02

Retain

.kungfu keeps the Episode and its verification material together instead of leaving context scattered across a chat and a folder.

03

Continue

A fresh agent can inspect what is known, preserve material it does not yet understand, and act only when the required semantics are compatible.

Safe reader behavior

Not understanding something is different from losing it.

Preserve

Keep unfamiliar but well-formed material as exact bytes without pretending to understand it.

Inspect

Read structure and verification evidence within the reader's declared capability.

Act

Deriving canonical state, admitting it as trusted, or executing it requires complete compatible semantics.

Current boundary

Qualified does not mean stable.

This packaged format authority is qualified but still pre-release. It proves the current contract and retained test corpus; it does not promise stable compatibility or automatic understanding of every future format.

For implementers and auditors Inspect the exact Spec contract, compatibility rules, roots and machine artifacts. This material remains complete, but it does not have to be understood before the product makes sense.

Package-declared surface model

An exact pre-release portable authority bundle, projected without creating a second format truth.

The site binds @kungfu-tech/spec@4.0.0-alpha.1, its normative root, v4 alpha baseline and artifact roots while the owning format, reader, migration, schema and vector contracts retain semantic authority.

Capabilities

  • Inspect the portable authority overview and exact package pickup coordinate.
  • Route required-reader profiles, compatibility tuples, migration ownership and the schema registry.
  • Inspect the qualified retained cross-version vector corpus and every rooted artifact without monorepo reach-through.
  • Render all eleven integrity-bound human page models directly from the installed package.

Known limits

  • The standalone portable format is pre-release and is not declared stable.
  • Package semver is a pickup coordinate, not a format compatibility algorithm.
  • The historical Spec 0.1 prose is non-normative.

Exact packaged Spec authority

The portable format is the versioned composition of independently owned semantic objects, containers, records, schemas, manifests, and content-root protocols.

Spec pickup
@kungfu-tech/spec@4.0.0-alpha.1
Format namespace
libkungfu:fact-ledger
Authority status
pre-release
Normative root
sha256:1aea26e10e7b142247254513f744b7c7bc5a06e4b65942d90a49ec1a064b9713
Retained corpus
v2 · 16 vectors · sha256:bd03705e65b8df296329e65753a577d5d4aee34a929e5e889ba20c95f9b3463d
Projection policy
exact-byte-copy-from-verified-@kungfu-tech/spec/v1

Composition rule: Compatibility is decided per authority and then composed against an explicit reader profile; no highest, latest, or package version may stand in for all axes.

Not one authority

one-mega-schema

Not one authority

one-global-version-number

Not one authority

one-json-document

Not one authority

one-directory-layout

Not one authority

one-npm-package

Not one authority

one-site-projection

Required-reader behavior

Preservation, structural inspection, and semantic authority are distinct capabilities. Unsupported semantics may remain exact bytes, but they never enter canonical fold, admission, or execution.

preservation

none

Semantic scope: none

Unknown material: preserve-only

Unsupported root: preserve-only

inspection

none

Semantic scope: known material only

Unknown material: read-degraded

Unsupported root: migration-required

structural-verification

structural-evidence-only

Semantic scope: structure and supported roots only

Unknown material: read-degraded

Unsupported root: migration-required

semantic-verification

verified-only

Semantic scope: complete selected semantic scope

Unknown material: migration-required

Unsupported root: migration-required

canonical-fold

derive-only-from-known

Semantic scope: all canonical state inputs

Unknown material: migration-required

Unsupported root: migration-required

admission

admit-only-complete-known-authority

Semantic scope: all admitted authority

Unknown material: migration-required

Unsupported root: migration-required

execution

execute-only-admitted-known-authority

Semantic scope: all execution inputs

Unknown material: migration-required

Unsupported root: migration-required

Independent version axes

No package version stands in for every compatibility decision.

  • composition-contract-version framework/format — authority membership, precedence, or domain ownership changes
  • workspace-layout-version libkungfu — workspace path or persistence classification changes incompatibly
  • journal-format-epoch libyijinjing — page_header or frame_header binary layout changes
  • record-schema-version record-family owner — a typed record layout or interpretation changes
  • root-protocol-version named root protocol — canonical preimage, framing, or algorithm changes
  • spec-bundle-manifest-version framework/spec — the generated bundle envelope shape changes
  • portable-spec-version framework/spec projection of this composition — the required-reader compatibility promise changes
  • package-version package publisher — the pickup artifact release changes

v4 alpha baseline: 4.0.0-alpha.1 · sha256:c9addc577a3eb2396d4cc007f18a09abcdfc74dbae6e2de37326fac5af64520f · pre-stable-alpha-baseline

Rooted machine routes

Inspect the exact Spec artifacts copied from the verified package.

12 registered protocols · 16 retained vectors · release v2.

Spec claim boundary

What this portable authority does not claim

  • The standalone portable format is not declared stable.
  • Package semver is not a format compatibility algorithm.
  • The historical Spec 0.1 prose is not normative.
  • The package is a projection and does not replace its owning sources.

Pinned authority

Inspect the exact upstream sources