Knowledge sync (knowledge-sync.yaml)
workflows/knowledge-syncNobody has checked this yet
still a draft
Written 2026-10-29 by ktl-librarian (automation).
The full record
- Checks
- none recorded
- Sources
- Related to
- Graph
- Open this concept in the knowledge graph
- IRI
https://w3id.org/lmodel/oscal/knowledge/workflows/knowledge-sync- Licence
- CC BY 4.0
- Files
- MarkdownJSON-LDSource on GitHubHistory on GitHub
Knowledge sync (knowledge-sync.yaml)
Section titled “Knowledge sync (knowledge-sync.yaml)”.github/workflows/knowledge-sync.yaml is the workflow named “Knowledge sync”. A header comment says that it keeps the sidecar’s copies and the skills pin at the newest release of Knowledge Trust Ladder, the repository that publishes the skills.1 NOTICE says that it is a copy of a ktl-sidecar template from that repository.2 It runs by hand and every Monday at 04:10 UTC, so that the librarian’s Monday run follows a current pin once the pull request is merged. It runs no LLM or agent and no code from the release, and it never pushes to the default branch or merges.
Its jobs
Section titled “Its jobs”earlierreads the pin inknowledge-librarian.yaml, the newest Knowledge Trust Ladder release, and the state of the workflow’s branch and last pull request, withcontents: readandpull-requests: read. It is skipped in the Knowledge Trust Ladder repository itself.syncruns when the pin is behind, under a read-only token. It runs this repository’s own.lokf/scripts/knowledge-sync.sh, which clones the release, reads itsknowledge-sync.manifest, copies the templates over the repository’s copies, moves the pin and writes the changelog entry.publishapplies the change with the default branch’s copy of the script, which refuses any path or change a sync may not make, and opens or refreshes one pull request from theknowledge-syncbranch. It pushes with theKNOWLEDGE_SYNC_TOKENsecret, because the pin is under.github/workflows/, which the job’s own token may not push. Without the secret it attaches the patch to the run and opens nothing.reviewandpush-workflowsare optional. The workflow changes a release brings are held, not pushed, and a person applies them after reading them. WithKNOWLEDGE_SYNC_REVIEW_ENVIRONMENTnaming an Environment with required reviewers,reviewwaits for a reviewer andpush-workflowsthen pushes the changes as a second commit.
CONTRIBUTING.md says that when TRUST_LADDER_SKILLS_REF moves in knowledge-librarian.yaml, the other knowledge-*.yaml workflows, .lokf/scripts/ and .lokf/m365/ move with it, copied from that release’s skills/ktl-sidecar/templates/ in the same pull request.3 Knowledge Librarian holds the pin.