Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ updates:
patterns:
- "*"

# The release job's tools, which .github/release/package-lock.json pins
# The release job's tools, which .release/package-lock.json pins
# with every package they pull in.
# Outside .github/, where Dependabot may change nothing but workflows.
- package-ecosystem: npm
directory: "/.github/release"
directory: "/.release"
schedule:
interval: monthly
commit-message:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ jobs:
with:
node-version: 24

# .github/release/package-lock.json pins the release tools and every
# .release/package-lock.json pins the release tools and every
# package they pull in, and Dependabot keeps it current. They are not a
# dependency of the schema.
- name: Install semantic-release from its lockfile
run: npm ci --prefix .github/release --no-audit --no-fund --ignore-scripts
run: npm ci --prefix .release --no-audit --no-fund --ignore-scripts

# Would these commits release? The types are .releaserc.json's: the
# Conventional Commits preset's feat/fix plus this repository's
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Preview the next release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: .github/release/node_modules/.bin/semantic-release --dry-run
run: .release/node_modules/.bin/semantic-release --dry-run

release:
if: github.event_name == 'push'
Expand Down Expand Up @@ -165,11 +165,11 @@ jobs:
with:
node-version: 24

# .github/release/package-lock.json pins the release tools and every
# .release/package-lock.json pins the release tools and every
# package they pull in, and Dependabot keeps it current. They are not a
# dependency of the schema.
- name: Install semantic-release from its lockfile
run: npm ci --prefix .github/release --no-audit --no-fund --ignore-scripts
run: npm ci --prefix .release --no-audit --no-fund --ignore-scripts

# The same guard as `plan`'s, for a push that did not come through a
# pull request.
Expand All @@ -192,7 +192,7 @@ jobs:
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions[bot]
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
run: .github/release/node_modules/.bin/semantic-release
run: .release/node_modules/.bin/semantic-release

# The release above is made with GITHUB_TOKEN, and GitHub starts no
# workflow from an event that token causes, so knowledge-release.yaml's
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,5 @@ dmypy.json
.claude/
skills-lock.json

# The release job's tools, installed from .github/release/package-lock.json
/.github/release/node_modules/
# The release job's tools, installed from .release/package-lock.json
/.release/node_modules/
1 change: 1 addition & 0 deletions .lokf/knowledge/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 2026-11-15

* **Changed**: sources and text follow the move of `.github/release` to `.release`.
* **Changed**: The concepts that state the project's Python floor or its test matrix say 3.11, since the project no longer supports Python 3.10.
* **Changed**: The concepts that cite the knowledge website describe the Hugo site that replaced the Astro one, set by `website/site.toml`.

Expand Down
4 changes: 2 additions & 2 deletions .lokf/knowledge/playbooks/knowledge-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ sources:
- resource: .github/scripts
- resource: .github/workflows
- resource: .github/dependabot.yml
- resource: .github/release
- resource: .release
- resource: justfile
- resource: .linkml/generators.yaml
- resource: .linkmllint.yaml
Expand All @@ -104,7 +104,7 @@ sources:
- resource: pyproject.toml
generated:
by: process:ktl-librarian
at: "2026-11-06T21:20:40Z"
at: "2026-11-15T20:57:24Z"
status: draft
---

Expand Down
4 changes: 2 additions & 2 deletions .lokf/knowledge/workflows/semantic-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ sources:
resource: SECURITY.md
title: What executes here
- resource: .releaserc.json
- resource: .github/release
- resource: .release
- resource: .github/scripts/changelog-release.mjs
generated:
by: process:ktl-librarian
at: "2026-11-05T17:57:59Z"
at: "2026-11-15T20:57:24Z"
status: draft
---

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude: >-
docs/schema/|
\.lokf/(scripts|m365)/|
\.lokf/schema/(lokf|fix_sbe)\.yaml$|
\.github/release/package-lock\.json$|
\.release/package-lock\.json$|
tests/neighbours/|
upstream/
)
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The `v0.0.0` tag is a baseline, not a release: it marks where versioning starts

## [Unreleased]

### Changed

- **The release tools are in `.release/`**, outside `.github/`, where Dependabot's pull requests for them were refused.

## [0.2.1] - 2026-11-15

### Added
Expand Down
7 changes: 3 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ just --list

### Agent skills (optional, only for this repo's `.lokf/` bundle)

The bundle is maintained with the Knowledge Trust Ladder (KTL) skills, **installed, never committed**. Continuous integration (CI) installs the librarian skill at run time, pinned to a release. [The install page](https://w3id.org/ktl/docs/install/) lists every route. With npm:
The bundle is maintained with the Knowledge Trust Ladder (KTL) skills, **installed, never committed**. Continuous integration (CI) installs the librarian skill at run time, pinned to a release. [The install page](https://w3id.org/ktl/docs/install/) lists every route. From PyPI:

```bash
npx skills add noelmcloughlin/knowledge-trust-ladder --skill ktl-librarian --yes # derive concepts
npx skills add noelmcloughlin/knowledge-trust-ladder --skill ktl-curator --yes # confirm them as a person
uvx ktl skills install --scope user --skill ktl-librarian --skill ktl-curator # --agent claude-code or codex if not Copilot
```

## Before opening a pull request
Expand All @@ -53,7 +52,7 @@ npx skills add noelmcloughlin/knowledge-trust-ladder --skill ktl-curator --yes
- **Knowledge-bundle changes**: `cd .lokf && just lokf-validate` must pass, and `knowledge-registrar.yaml` runs on any `.lokf/**` change.
- **`lint-and-docs.yaml`** runs ShellCheck, actionlint, markdownlint, lychee and codespell.
- **Actions are pinned to commit hashes**; Dependabot bumps them.
- **The skills pin moves with the sidecar copies.** When moving `TRUST_LADDER_SKILLS_REF` in `.github/workflows/knowledge-librarian.yaml`, copy the other `knowledge-*.yaml` workflows and `.lokf/scripts/` and `.lokf/m365/` from that release's `skills/ktl-sidecar/templates/` in the same pull request.
- **The ktl pin and the sidecar copies move together.** The weekly [`knowledge-sync.yaml`](.github/workflows/knowledge-sync.yaml) pull request moves both; to move sooner, run `.lokf/scripts/knowledge-sync.sh --pr <tag>`. Never move `ktl==` in `.lokf/pyproject.toml` alone.
- **If your change alters behaviour**, add an entry under `## [Unreleased]` in [CHANGELOG.md](CHANGELOG.md).

## Code of conduct
Expand Down
9 changes: 5 additions & 4 deletions llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ them accordingly.

The `ktl-docent` skill is the entry point for questions about this project.
Install it if it is not present, with the GitHub CLI (`gh skill install
noelmcloughlin/knowledge-trust-ladder ktl-docent --scope user --agent <yours>`)
or the Open Skills CLI (`npx skills add noelmcloughlin/knowledge-trust-ladder
--skill ktl-docent --yes`), which a company proxy or internal npm registry can
block; <https://w3id.org/ktl/docs/install/> has every route. Then answer
noelmcloughlin/knowledge-trust-ladder ktl-docent --scope user --agent <yours>`),
the Open Skills CLI (`npx skills add noelmcloughlin/knowledge-trust-ladder
--skill ktl-docent --yes`) or from PyPI (`uvx ktl skills install --skill
ktl-docent --scope user --agent <yours>`); <https://w3id.org/ktl/docs/install/>
has every route. Then answer
through it: bundle first, a trust label on every concept used, the source
opened for exact values, and misses recorded in `.lokf/feedback.md` so the
librarian fills them.
Loading