Prompt compilation, resource authority, and traceability
The Prompt Builder selects the applicable template and assembles the instructions, linguistic resources, contextual evidence, and output constraints for the current project, document, language pair, workflow stage, and segment or chunk. Approved Translation Briefs, terminology, Convention Packs, protected formatting, output contracts, model-role rules, and QA policies establish the authoritative boundaries of the model request.
Translation Memory, Document Memory, and retrieved reference evidence contribute relevant context under their respective resource policies. The compiler applies a context budget and records template versions, resource bindings, manifests, and fingerprints. Context selection must preserve binding requirements rather than silently dropping mandatory instructions to fit a model's context window.
The Effective Prompt view exposes the assembled prompt or an authorized, redacted representation, with the relevant scope, template identity, authority layers, token-budget status, inclusion and exclusion reasons, and diagnostic warnings. Prompt history and provenance support reproducibility without exposing sensitive client content in ordinary logs.
An instruction library or imported resource is not itself an Effective Prompt. The compiled package is specific to its authorized workflow scope and must be rebuilt when an applicable resource or instruction revision invalidates its bindings.
- Deterministic template and context assembly
- Versioned resource bindings, prompt packages, and fingerprints
- Scope-aware context budgets and protected output contracts
- Authorized Effective Prompt inspection and diagnostic provenance
Project-specific instructions and controlled precedence
Custom Instructions provide a project-scoped place for supplementary translation, revision, and quality guidance. For example, a linguist may specify a client's preferred register, treatment of legal citations, or editorial requirements for a particular assignment. Such instructions apply only to compatible subsequent model calls and remain subordinate to mandatory project requirements and security and output contracts.
Saved instruction revisions are tied to run lineage. A change in instructions requires appropriate invalidation or an explicit rebuild of affected prompt packages; it cannot retroactively modify an earlier prompt or accepted translation artifact. Conflicting instructions must be reported or rejected rather than silently overriding approved terminology, the Translation Brief, or Convention Packs.
In a multi-target project, instructions and resource bindings are resolved for the actual language pair and target locale. Verified shared source evidence may be reused, while each target workflow retains its own linguistic authority and effective prompt configuration.
The approved interface locates project instruction editing and resource activation in Prompt Builder, including during project creation, rather than requiring a separate Settings workflow for Skills and Plugins.
- Project-level supplementary guidance
- Versioned instructions and explicit conflict handling
- Language-pair and target-locale applicability
Reusable specialist instructions and controlled extensions
Skills organize reusable language-specific, language-pair, domain, client, and task guidance. Compatible SKILL.md packages can include instructions and reference materials. Plugins can group compatible Skills and supporting references in a package with a plugin.json manifest. Importing a package into the local library is distinct from attaching and enabling it for an individual project.
Project creation allows a ZIP package or SKILL.md selection to be resolved against the actual client, language pair, locale, subject, task, and source. Applicable approved client glossaries are binding requirements. Package versions, applicability, and resource authority determine what may contribute to the compiled prompt. Imported content is validated and remains subordinate to authoritative project rules.
LexyMaat supports instruction-only Agent Skills and compatible plugin resources as well as executable procedures. Executable procedures require explicit project-scoped script authorization and a restricted local runtime. Their validated outputs are advisory evidence; they cannot directly rewrite canonical translations, promote linguistic resources, decide quality gates, or change workflow state. Importing or enabling a plugin does not authorize code execution, remote MCP services, or network connections.
- Compatible SKILL.md and plugin.json packages
- Local import library with explicit project attachment
- Contextual selection and immutable package versions
- Separate authorization and isolation for executable procedures
Versioned linguistic rules and quality assessment
Linguistic Convention Packs are first-class resources for approved orthography, typography, punctuation, capitalization, formatting, register, lexical preferences, forbidden expressions, inclusive language, legal references, and structure preservation. Imported instruction documents yield rule candidates; explicit human approval is required before a rule becomes active.
The precedence cascade applies general language conventions first, followed by language-pair, domain, client, and project-specific rules. More specific packs may override general conventions within the governing policy, with conflicts visible to the user. Active packs are referenced by the Translation Brief and compiled into compact rule cards rather than inserting an entire instruction document into every model request.
Rules are classified as hard requirements, soft preferences, or advisory guidance. Deterministic checks can address formalizable requirements such as non-breaking spaces, quotation marks, capitalization, dates, units, forbidden expressions, and structural preservation. Context-dependent stylistic requirements are assessed in revision and QA. Approved recurring human corrections may contribute to governed resources through Controlled Learning; unapproved prompt suggestions do not establish new rules.
Applicable approved client terminology is prescriptive whether it originates in a dedicated Termbase, an attached Client resource, or a selected Skill or Plugin glossary. Imported instruction documents that yield new rule candidates require explicit approval before those rules become active.
- General language → language pair → domain → client → project override
- Human-approved rule candidates and versioned packs
- Hard requirements, soft preferences, and advisory guidance
- Deterministic checks where applicable and contextual linguistic review
