Expand description
Compilation and lookup for coherent declarative application features.
EnumsΒ§
- Feature
Compile Error - A bounded feature compilation failure that prevents an ambiguous artifact.
ConstantsΒ§
- INTERACTION_
CLIENT π - MAX_
FEATURE_ πFILES - MAX_
TEMPLATE_ πDEPTH - MAX_
TEMPLATE_ πFILES
FunctionsΒ§
- bundle_
map π - Returns one optional top-level bundle declaration map.
- bundle_
object π - Returns one required bundle object.
- bundle_
section π - Returns one required nested declaration object within a bundle.
- collect_
transaction_ πeffect - Adds one operationβs closed entity effects to the owning transaction sets.
- compile_
action π - Compiles one action declaration into a route and lower-level action contract.
- compile_
action_ πresponse - Compiles a direct or validated-input-selected action response contract.
- compile_
feature_ sources - Compiles coherent feature sources into validated runtime contracts.
- compile_
form_ πattributes - Rewrites stable Pharos form attributes into progressive native/HTMX attributes.
- compile_
form_ πtarget_ attributes - Rewrites declared Pharos form targets after validating their target IDs.
- compile_
navigation_ πattributes - Rewrites stable Pharos navigation attributes into framework client hooks.
- compile_
page π - Compiles one page declaration into a route and generated page specification.
- compile_
response_ πvariant - Compiles one concrete action response into its fragment contract.
- compile_
template_ πtree - Compiles Pharos form attributes in all app-owned artifact templates.
- declaration_
id π - Returns a validated portable declaration identifier.
- declaration_
map π - Resolves a bounded map from one optional declaration section.
- expand_
bundle_ πaction - Expands one bundle action declaration into an ordinary feature action contract.
- expand_
bundle_ πaction_ response - Compiles one shorthand fragment response into the ordinary action response contract.
- expand_
bundle_ πpage - Expands one bundle page declaration into an ordinary feature page contract.
- expand_
feature_ πbundles - Expands feature bundles.
- feature_
pages_ and_ actions - Resolves explicit declarations and bundles once, rejecting collisions in either namespace.
- feature_
paths π - Collects sorted, non-symlinked feature source documents.
- feature_
source_ πdocuments - find_
template_ πby_ stem - Finds a unique app-owned HTML template by its file stem.
- insert_
default_ πfield - Inserts one default scalar or array field when the declaration omitted it.
- insert_
default_ πresponse_ field - Inserts one default response field inside a declaration-owned response object.
- load_
contract_ πor_ empty - Loads an existing lower-level contract or creates its empty canonical shape.
- load_
json_ πobject - Loads a required JSON object from an artifact-local file.
- route_
path π - Validates an HTTP route path without permitting queries, fragments, or controls.
- safe_
artifact_ πpath - Returns a safe absolute artifact path for one declared relative path.
- safe_
feature_ template_ path - Resolves an app-owned feature template without permitting boundary escape.
- transaction_
effects π - Collects the statically declared read and write entity sets for one transaction.
- validate_
action_ πvariants - Ensures every selected contract variant is reachable from one validated enum input.
- validate_
response_ πqueries - Validates that response query names exist in the owning feature.
- write_
json π - Writes one generated JSON document inside the artifact boundary.
- write_
json_ πasset - Writes one framework-owned browser asset inside the built artifact.
Type AliasesΒ§
- Expanded
Feature πBundles - Expands one bundle family into ordinary pages and actions plus an inspectable summary.
- Expanded
Feature Declarations - Fully expanded pages/actions plus bundle provenance, shared by compilation and planning.