diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e7208a0..0a77d35 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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: diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index f19c6cc..6c37bff 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -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 @@ -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' @@ -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. @@ -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 diff --git a/.gitignore b/.gitignore index d534a94..f2ba104 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/.lokf/knowledge/log.md b/.lokf/knowledge/log.md index 2a478a2..645caaa 100644 --- a/.lokf/knowledge/log.md +++ b/.lokf/knowledge/log.md @@ -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 documentation site names the one old mkdocs address `website/site.toml` redirects, and says where the Hugo site keeps the schema's `elements/` addresses. * **Changed**: The concepts that cite the knowledge website describe the Hugo site that replaced the Astro one, set by `website/site.toml`. diff --git a/.lokf/knowledge/playbooks/release.md b/.lokf/knowledge/playbooks/release.md index d63b325..275b329 100644 --- a/.lokf/knowledge/playbooks/release.md +++ b/.lokf/knowledge/playbooks/release.md @@ -15,10 +15,10 @@ sources: - resource: .releaserc.json - resource: CHANGELOG.md - resource: .github/scripts/changelog-release.mjs - - resource: .github/release + - resource: .release generated: by: process:ktl-librarian - at: "2026-11-05T19:39:39Z" + at: "2026-11-15T20:57:17Z" status: draft --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf47621..818b51c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ exclude: >- docs/schema/| \.lokf/(scripts|m365)/| \.lokf/schema/(lokf|fix-protocol)\.yaml$| - \.github/release/package-lock\.json$| + \.release/package-lock\.json$| tests/neighbours/| upstream/ ) diff --git a/.github/release/package-lock.json b/.release/package-lock.json similarity index 100% rename from .github/release/package-lock.json rename to .release/package-lock.json diff --git a/.github/release/package.json b/.release/package.json similarity index 100% rename from .github/release/package.json rename to .release/package.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b1f493..cc4fb7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 40cf5a9..1033008 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 @@ -54,7 +53,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 `. 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 diff --git a/llms.txt b/llms.txt index 9dd3008..35812c3 100644 --- a/llms.txt +++ b/llms.txt @@ -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 `) -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; has every route. Then answer +noelmcloughlin/knowledge-trust-ladder ktl-docent --scope user --agent `), +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 `); +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.