AENET.cloud PUBLIC GATEWAY
K.PUBLIC.GATEWAY
system-detail K.PUBLIC.SYSTEM

kap-language

KAP Language

A declarative contract style used across this repository to describe the public site, navigation, content, layout, motion, time, traffic and early access in machine-readable files (.kap).

Status: active Last updated: 2026-08-16

System ID

kap-language

Status

active

Architecture layers

  • L3 Public Data (contracts)
  • L2 Public Application (consumers)

Inputs

  • Public-safe facts about the site, navigation, content and traffic channel

Outputs

  • Declarative contract files (kap/*.kap) and their machine-verified JSON companions (contracts/*.json)

Public interfaces

  • kap/*.kap (declarative documentation)
  • contracts/*.json (machine-verified runtime companions)

Security boundary

KAP files are declarative documentation only. They never import, modify or execute code from ../aenet or ../k-language. They are never a log file and never a database.

Data direction

Public facts → declarative contracts → validated JSON companions. No executable path in any direction.

What

Express public, read-only contracts in a declarative KAP style so the public surface can be described, checked and validated without any executable path into the AENET Core.

Why

The public repository needs a way to declare contracts (site, navigation, content, traffic, time, layout, motion) that is inspectable by humans and machines but can never run anything or reach the core.

How

Public facts → declarative contracts → validated JSON companions. No executable path in any direction.

  • Declare the public site identity and hard limits (public-site.kap)
  • Declare navigation topology (public-navigation.kap)
  • Declare content sources → snapshot targets (public-content.kap)
  • Declare the anonymous traffic channel contract (public-traffic.kap)
  • Declare time, layout, motion, language, system map, queue and early access contracts

Example

kap/public-site.kap declares the public site identity and hard limits; its machine-verified JSON companion lives in contracts/ and is validated by npm run check.

Inputs

  • Public-safe facts about the site, navigation, content and traffic channel

Outputs

  • Declarative contract files (kap/*.kap) and their machine-verified JSON companions (contracts/*.json)

Dependencies

aenet-cloud-public

Lifecycle

  • declarative authoring
  • JSON runtime companion
  • contract validation

Use cases

  • Document the public site contract and limits
  • Declare the anonymous traffic channel contract
  • Provide machine-verified JSON companions validated by npm run check

Limitations

  • KAP files in this repository were not parsed by a kap CLI at authoring time
  • If the KAP runtime does not support a construct, the JSON contract is the authority
  • KAP is not an executable path — never a control channel

Questions people ask

These questions are answered by the content on this page.

  • What is KAP?
  • What is the KAP language used for?
  • What KAP contracts exist in AENET Cloud Public?
  • Is KAP executable or connected to the AENET Core?
  • What is the relationship between KAP and K Language?

Evidence

Verified states only — nothing on this page is a prediction.

  • kap/README.md
  • kap/*.kap
  • contracts/public-language.contract.json

Next step