ubc¶
Command-line tool for checking and formatting certain rules in sphinx and rst-based files. Little brother of ubCode. Commercial tool
|
Analysis¶
ID |
Title |
Type |
|---|---|---|
ubc needs.json file |
artifact |
|
Do not use dynamic functions |
restriction |
|
Do not use list2needs |
restriction |
|
Do not use/reference rst files outside the ubproject workspace/scope |
restriction |
|
Skill out of sync with qualified configuration |
fault |
|
Divergence not detected (false negative) |
fault |
|
Impact depth truncates the graph |
fault |
|
Wrong direction omits incoming impact |
fault |
|
Uncommitted local edits not covered |
fault |
|
Format introduces errors |
fault |
|
Incomplete data |
fault |
|
Not covered format |
fault |
|
Schema rule set diverges from Sphinx-Needs |
fault |
|
Safety violation reported only as warning |
fault |
|
Schema rules not loaded |
fault |
|
Unknown file format |
fault |
|
Incomplete Validation |
fault |
|
Generate AI-agent skill for the project (``ubc agent-skill``) |
feature |
|
Build needs.json |
feature |
|
Clean internal caches |
feature |
|
Impact analysis on git changes (``ubc diff git``) |
feature |
|
Format rst files |
feature |
|
Cross-check needs.json against an independent index (``ubc diff json``) |
feature |
|
Check rst files for linting problems |
feature |
|
Validate ontology schema (``ubc schema validate``) |
feature |
|
Validate needs.json |
feature |
|
Run needs.json cross-check in CI and fail on any diff |
restriction |
|
Run ``ubc diff git`` with ``--impact-direction both`` |
restriction |
|
Run ``ubc diff git`` with sufficient impact depth |
restriction |
|
Run ``ubc format`` in check mode only in CI |
restriction |
|
Schema violations must cause a non-zero exit code |
restriction |
|
Pin ``ubc`` and ``sphinx-needs`` to compatible releases |
restriction |
|
ubc |
tool |
✅ Compliance statistics
Features without faults: 1 / 9
Faults without a mitigation: 6 / 13
Restrictions without fault: 0 / 9
Checks without fault: 0 / 0