Repository navigation
Releases
Releases · lmodel/cwe
v0.2.4
Fixed
- An upstream-watch report too long for an issue is cut below GitHub's limit, and the whole report goes on the run's summary page.
Changed
- The sidecar copies and the skills pin are at Knowledge Trust Ladder v0.71.0. The release changed
.github/workflows/knowledge-registrar.yaml,.github/workflows/knowledge-librarian.yaml,.github/workflows/knowledge-release.yaml,.github/workflows/knowledge-sync.yaml,.github/PULL_REQUEST_TEMPLATE/knowledge-sync.md,.lokf/scripts/knowledge-conventions.sh,.lokf/scripts/knowledge-conventions.py,.lokf/scripts/knowledge-preflight.sh,.lokf/scripts/knowledge-provenance.sh,.lokf/scripts/knowledge-feedback.sh,.lokf/scripts/knowledge-apply.py,.lokf/scripts/knowledge-report.sh,.lokf/scripts/knowledge-sync.sh,.lokf/m365/ktl-docent-m365.md,.lokf/justfile,website/assets/css/site.css,website/assets/js/graph.js,website/assets/js/site.js,website/content/_content.gotmpl,website/content/knowledge/_content.gotmpl,website/.gitignore,website/hugo.toml,website/layouts/_markup/render-blockquote.html,website/layouts/_markup/render-codeblock-mermaid.html,website/layouts/_markup/render-heading.html,website/layouts/_markup/render-link.html,website/layouts/_partials/gendoc.html,website/layouts/_partials/heroes.html,website/layouts/_partials/icon.html,website/layouts/_partials/markdown-file.html,website/layouts/_partials/nav-key.html,website/layouts/_partials/route.html,website/layouts/_partials/schema-file.html,website/layouts/_partials/sidebar.html,website/layouts/_partials/tools.html,website/layouts/_partials/vendor.html,website/layouts/baseof.html,website/layouts/health.html,website/layouts/home.badge.json,website/layouts/home.llms.txt,website/layouts/page.atom.xml,website/layouts/page.html,website/layouts/schema/section.html,website/pyproject.toml,website/scripts/build.sh,website/scripts/clean-html.py,website/scripts/prepare.sh,website/uv.lock,.github/workflows/knowledge-website.yaml,website/layouts/_partials/own.html,website/layouts/_partials/spec.html,website/scripts/check-svg.py,website/scripts/lokf-export.py,website/scripts/site-values.py,website/scripts/uv-env.shandwebsite/scripts/vendor.shhere.
v0.2.3
Fixed
- Each GitHub release carries its changelog section as its body: semantic-release asks for the notes again after the changelog commit, and
changelog-release.mjs notesnow answers with the promoted section instead of the empty Unreleased one.
v0.2.2
Changed
- The release tools are in
.release/, outside.github/, where Dependabot's pull requests for them were refused.
v0.2.1
Added
scorecard.ymlpublishes this repository's OpenSSF Scorecard.- The README shows the CI, licence, OpenSSF Scorecard and KTL scorecard badges.
codeql.ymlscans the Python, the JavaScript and the workflows with CodeQL.
Changed
- The knowledge website is built with Hugo from the ktl-website templates, set by
website/site.toml, in place of the Astro site. - The project requires Python 3.11 or later, since Python 3.10's support ended in October 2026.
Security
- The sidecar copies are at Knowledge Trust Ladder v0.66.0, and
.lokf/pyproject.tomlpinsktl==0.66.0, which the librarian installs its skill from.
v0.2.0
Added
- The schema as RDF Turtle and the merged schema, in
project/rdf/andproject/linkml/, fromjust gen-rdfandjust gen-merged-schema.
Changed
- The bundle's schema files sit in
.lokf/schema/:lokf.yamland thelokf adaptcopycwe.yaml, as KTL v0.62.0 lays them out.
v0.1.0
Added
- A LinkML rendering of the Common Weakness Enumeration (CWE) List 5.0 and its XML Schema 8.0, as an umbrella over
cwe_coreandcwe_entries. Keys and values are the XSD's own, every description is this project's, and the abstractCweEntryholds what a weakness, a grouping and a view share. scripts/cwec_to_json.py, the one fixed step from MITRE's XML to the JSON the schema describes, which stops on anything the XSD does not declare.- The upstream's rules: compound weaknesses and their structure, a custom phase's value and its domain, and a platform's name or class. What JSON Schema cannot state, that a reference resolves and that an identifier is unique,
tests/cwe_rules.pychecks. - A test that walks the XSD beside the classes, and fails on anything missing, added or of another cardinality, and a test that the whole catalogue validates and that the conversion loses nothing.
- A weekly upstream watch that reports a new edition, a changed XSD, a change behind the
cwe_schema_latest.xsdlink, a newer schema on the archive page, or changed Terms of Use. - Mappings to the SEPSES CWE ontology, SKOS, schema.org, Dublin Core, SPDX 3.0.1, Wikidata, lmodel/cve, lmodel/kev-catalog and lmodel/nist-nvd, each held by a test to a pinned term list or a released copy.
.lokf/cwe.yaml, the schema'slokf adaptcopy, rooted onCweEntryandCweExternalReference. The knowledge release attaches it asschema-<tag>-cwe.yaml.- The repository's Knowledge Trust Ladder (KTL) knowledge bundle and its sidecar automation, from the KTL v0.61.0 templates with the lokf floor at 0.9.0, and a knowledge website that replaces the mkdocs site.
Changed
- The schema moves from CWE 4.19.1 and XSD 7.3 to CWE 5.0 and XSD 8.0, so
CategorybecomesGrouping, and technical nuance, dimensions, custom phases, theOverlapsnature and the keys that describe a citation arrive. - Keys and values take the XSD's spelling, such as
Related_WeaknessesandChildOf, in place of snake_case slots and upper-case values, and classes and enums take theCweprefix. An identifier is a digit string that ranges over the class it names. - The template moves to linkml-project-copier v0.5.0, linkml and linkml-runtime are locked at 1.12.1, and the Python project is named
cwe-linkml. PyPI publishing stays off.
Removed
NVDWeaknessObservation,WeaknessSource, the slotstagsandsource, and the subsets, which render nothing in the XSD. lmodel/nist-nvd models what NVD says.- The Wikidata mapping to Q429785, which is a poster.
- The hand-kept SSSOM file under
src/cwe/mappings/. No source confirmed its rows, and the schema is now the one home for mappings. - CWE 4.19.1's XML and CSV files, the script that derived test data from them, the patched generator script, and the mkdocs site. The knowledge website replaces the site.