Compliance Trestle Engineering
Use Compliance Trestle to manage OSCAL catalogs, profiles, component definitions, SSPs, markdown assembly, validation, and source-traceable updates from legacy compliance documents.
Compliance Trestle Engineering
Use this skill when an agent needs to operate a Compliance Trestle workspace, import or validate OSCAL models, assemble markdown, regenerate OSCAL, or turn legacy SSP content into a traceable Trestle-managed workflow.
Non-negotiable guardrails
- Preserve source traceability for every generated OSCAL field that came from a legacy PDF, DOCX, Markdown, TXT file, interview note, spreadsheet, ticket, or evidence package.
- Never invent control mappings. If the source does not clearly support a mapping, set status to
needs_reviewand explain the uncertainty. - Schema-valid OSCAL is not a statement of compliance effectiveness.
- Keep reviewer-owned decisions in review queues or traceability maps, not hidden in generated prose.
- Prefer small, reversible Trestle operations over large opaque rewrites.
Standard workflow
- Initialize or inspect the workspace.
trestle inittrestle versionfind . -maxdepth 3 -type d | sort
- Import or create OSCAL artifacts.
- catalogs under
catalogs/ - profiles under
profiles/ - component definitions under
component-definitions/ - SSPs under
system-security-plans/
- catalogs under
- Resolve the applicable profile before writing control implementations.
- Author or update markdown with source references.
- Assemble markdown back into OSCAL.
- Validate with Compliance Trestle and any available OSCAL validator.
- Generate review outputs for
needs_review, unmapped, or low-confidence items.
Typical commands
Use the wrapper when you want consistent reports:
bash scripts/trestle-workflow.sh init workspaces/acme/trestle-workspace
bash scripts/trestle-workflow.sh validate workspaces/acme/trestle-workspace
bash scripts/trestle-workflow.sh assemble workspaces/acme/trestle-workspace system-security-plans/acme-ssp
bash scripts/trestle-workflow.sh status workspaces/acme/trestle-workspace
Use raw Trestle when the reviewer needs exact CLI control:
trestle init
trestle validate -a
trestle author ssp-generate -n acme-ssp -p profiles/fedramp-moderate/profile.json
trestle author ssp-assemble -m markdown/system-security-plans/acme-ssp -o system-security-plans/acme-ssp.json
Output expectations
Every Trestle-backed document import should leave behind:
source-map.csvwith source IDs, target OSCAL fields, status, and notes.reports/import-summary.mdexplaining source counts and known gaps.reports/review-queue.mdforneeds_reviewand unmapped items.- validation output from
trestle validateor a documented skipped/missing-tool status.
See:
references/trestle-workspace-lifecycle.mdreferences/trestle-oscal-operations.mdtemplates/trestle-workflow-checklist.mdtemplates/trestle-command-log.md
No additional documents ship with this skill.
Related Skills
AI Governance Reviewer Skill
Use this skill when the user wants an AI governance, legal-risk, privacy, compliance, procurement, or vendor-risk review of an internal AI use case, …
ai-inventory
EU AI Act per-system inventory — track each AI system's role (provider, deployer, importer, distributor, authorized representative, product manufactu…
ai-inventory-anthropics
EU AI Act per-system inventory — track each AI system's role (provider, deployer, importer, distributor, authorized representative, product manufactu…
aia-generation
Run an AI impact assessment — structured intake, risk analysis, regulatory classification per regime in scope, policy consistency diff, and recommend…