internal/

directory
v0.0.0-...-dcf4134 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package acl provides principal-aware authorization for entity and relation writes.
Package acl provides principal-aware authorization for entity and relation writes.
Package affordances builds a policy-driven field/option/relation affordance resolver from an acl.yaml acl.Policy.
Package affordances builds a policy-driven field/option/relation affordance resolver from an acl.yaml acl.Policy.
Package ai provides LLM access for rela via OpenAI-compatible providers.
Package ai provides LLM access for rela via OpenAI-compatible providers.
Package analysis exposes the read-only analysis facades the CLI uses to surface graph health: orphans, duplicates, gaps, cardinality violations, custom Lua validations, and orphan temp files left by interrupted writes.
Package analysis exposes the read-only analysis facades the CLI uses to surface graph health: orphans, duplicates, gaps, cardinality violations, custom Lua validations, and orphan temp files left by interrupted writes.
Package app provides factories that construct the concrete services needed by each rela entry point (cli, data-entry server, desktop, MCP).
Package app provides factories that construct the concrete services needed by each rela entry point (cli, data-entry server, desktop, MCP).
Package appbuild assembles the focused services every project entry point (rela-server, rela-desktop, future bindings) needs from a project directory.
Package appbuild assembles the focused services every project entry point (rela-server, rela-desktop, future bindings) needs from a project directory.
appbuildtest
Package appbuildtest provides a test fixture for assembling an appbuild.Services bundle.
Package appbuildtest provides a test fixture for assembling an appbuild.Services bundle.
Package attachment exposes the CLI-shaped facade for managing entity file attachments (attach, list).
Package attachment exposes the CLI-shaped facade for managing entity file attachments (attach, list).
Package audit records every entity and relation write performed by the project as an append-only JSONL stream.
Package audit records every entity and relation write performed by the project as an append-only JSONL stream.
Package autocascade executes the side effects of automation results produced by automation.Engine.
Package autocascade executes the side effects of automation results produced by automation.Engine.
Package automation provides a trigger-action engine for entity lifecycle events.
Package automation provides a trigger-action engine for entity lifecycle events.
Package cache provides small generic cache data structures.
Package cache provides small generic cache data structures.
Package cli wires the kong-based CLI.
Package cli wires the kong-based CLI.
Package config provides read-only access to project-root configuration files — the YAML/JSON files users check into their repo alongside metamodel.yaml (data-entry.yaml, schedules.yaml, and so on).
Package config provides read-only access to project-root configuration files — the YAML/JSON files users check into their repo alongside metamodel.yaml (data-entry.yaml, schedules.yaml, and so on).
Package conflict provides detection and resolution of git merge conflicts in entity and relation markdown files.
Package conflict provides detection and resolution of git merge conflicts in entity and relation markdown files.
Package dataentry provides a config-driven data entry web application built on top of rela's metamodel system.
Package dataentry provides a config-driven data entry web application built on top of rela's metamodel system.
Package dataentryconfig contains the configuration types and validation logic for the data-entry web application.
Package dataentryconfig contains the configuration types and validation logic for the data-entry web application.
Package desktop provides desktop-specific functionality for the Wails desktop app, including user preferences persistence.
Package desktop provides desktop-specific functionality for the Wails desktop app, including user preferences persistence.
Package entity defines the domain types for rela entities and relations.
Package entity defines the domain types for rela entities and relations.
Package entitymanager defines the EntityManager service — the "human intent" write path that runs automations, validation, and any policy concerns (future: ACL, audit logging, rate limiting).
Package entitymanager defines the EntityManager service — the "human intent" write path that runs automations, validation, and any policy concerns (future: ACL, audit logging, rate limiting).
entitymanagertest
Package entitymanagertest provides test doubles for the entitymanager.EntityManager interface.
Package entitymanagertest provides test doubles for the entitymanager.EntityManager interface.
Package frontmatter splits a YAML-frontmatter markdown document into its raw frontmatter block and body.
Package frontmatter splits a YAML-frontmatter markdown document into its raw frontmatter block and body.
Package git provides git operations for the data entry app.
Package git provides git operations for the data entry app.
Package htmlutil provides HTML post-processing utilities.
Package htmlutil provides HTML post-processing utilities.
Package importer provides functionality to import entities and relations from JSON, YAML, and CSV files into rela projects.
Package importer provides functionality to import entities and relations from JSON, YAML, and CSV files into rela projects.
Lua bindings for the ai.* module (ai.chat, ai.complete, ai.embed).
Lua bindings for the ai.* module (ai.chat, ai.complete, ai.embed).
coverage-ignore: MCP prompt handlers - tested via integration tests
coverage-ignore: MCP prompt handlers - tested via integration tests
Package migration provides schema migration support for rela project files.
Package migration provides schema migration support for rela project files.
Package natsort provides natural sorting for strings containing numbers.
Package natsort provides natural sorting for strings containing numbers.
Package openapi provides OpenAPI 3.1 spec generation from rela metamodels.
Package openapi provides OpenAPI 3.1 spec generation from rela metamodels.
Package pattern provides glob pattern parsing, validation, and regex conversion.
Package pattern provides glob pattern parsing, validation, and regex conversion.
Package predicate is a small, sandboxed expression-evaluation engine for boolean predicates over named values and host-registered functions.
Package predicate is a small, sandboxed expression-evaluation engine for boolean predicates over named values and host-registered functions.
Package principal carries the identity attribution attached to each request: who initiated it (User) and through what entry point (Tool).
Package principal carries the identity attribution attached to each request: who initiated it (User) and through what entry point (Tool).
Package rename implements entity ID renames against a store.Store: it updates the entity, rewrites every incident relation (in either direction) to use the new ID, and removes the old entity and old relation files.
Package rename implements entity ID renames against a store.Store: it updates the entity, rewrites every incident relation (in either direction) to use the new ID, and removes the old entity and old relation files.
Package renametype handles the entity-type rename operation (metamodel + directory + per-file YAML frontmatter + template).
Package renametype handles the entity-type rename operation (metamodel + directory + per-file YAML frontmatter + template).
Package scheduler runs Lua scripts on simple recurring schedules.
Package scheduler runs Lua scripts on simple recurring schedules.
Package schema provides analysis and cleanup utilities for metamodel schemas.
Package schema provides analysis and cleanup utilities for metamodel schemas.
Package script orchestrates script execution for automations and user- initiated script runs.
Package script orchestrates script execution for automations and user- initiated script runs.
Package search provides full-text search over a store.Store, satisfied by a Backend (today: [bleveindex.Index]).
Package search provides full-text search over a store.Store, satisfied by a Backend (today: [bleveindex.Index]).
bleveindex
Package bleveindex provides a bleve-backed implementation of search.Backend for full-text entity search.
Package bleveindex provides a bleve-backed implementation of search.Backend for full-text entity search.
Package secrets loads per-script secret values from .rela/secrets.yaml.
Package secrets loads per-script secret values from .rela/secrets.yaml.
Package state provides a per-user key/value store for state that persists between runs but isn't part of the project's tracked source — UI state, render caches, scheduler bookkeeping.
Package state provides a per-user key/value store for state that persists between runs but isn't part of the project's tracked source — UI state, render caches, scheduler bookkeeping.
Package storage provides filesystem abstraction for rela's file I/O operations.
Package storage provides filesystem abstraction for rela's file I/O operations.
Package store provides the storage abstraction for rela workspaces.
Package store provides the storage abstraction for rela workspaces.
fsstore
Package fsstore provides a filesystem-backed implementation of store.Store.
Package fsstore provides a filesystem-backed implementation of store.Store.
graphquerynaive
Package graphquerynaive ships the unoptimised, backend-agnostic implementation of store.GraphQueryer.
Package graphquerynaive ships the unoptimised, backend-agnostic implementation of store.GraphQueryer.
memstore
Package memstore provides an in-memory implementation of store.Store.
Package memstore provides an in-memory implementation of store.Store.
pgstore
Package pgstore provides a PostgreSQL implementation of store.Store.
Package pgstore provides a PostgreSQL implementation of store.Store.
storetest
Package storetest provides a conformance test suite for store.Store implementations.
Package storetest provides a conformance test suite for store.Store implementations.
storeutil
Package storeutil provides shared helpers for store.Store implementations.
Package storeutil provides shared helpers for store.Store implementations.
Package templating: fsloader.go contains the filesystem primitives used by FSTemplater to read, discover, and generate entity/relation template files.
Package templating: fsloader.go contains the filesystem primitives used by FSTemplater to read, discover, and generate entity/relation template files.
Package tracer provides graph traversal operations (trace, path, orphan detection, cycle detection, clustering) as a service separate from the store.
Package tracer provides graph traversal operations (trace, path, orphan detection, cycle detection, clustering) as a service separate from the store.
Package validation provides custom validation rule checking for entities.
Package validation provides custom validation rule checking for entities.
Package validator provides a Validator service that runs metamodel validation rules over a store.
Package validator provides a Validator service that runs metamodel validation rules over a store.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL