docs-drift 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- docs_drift/__init__.py +7 -0
- docs_drift/analysis.py +52 -0
- docs_drift/baseline.py +70 -0
- docs_drift/cli.py +871 -0
- docs_drift/collaboration.py +282 -0
- docs_drift/config.py +113 -0
- docs_drift/docs/__init__.py +1 -0
- docs_drift/docs/defaults.py +250 -0
- docs_drift/docs/discover.py +172 -0
- docs_drift/docs/extract_blocks.py +596 -0
- docs_drift/docs/extract_inline.py +561 -0
- docs_drift/docs/pipeline.py +234 -0
- docs_drift/docs/preprocess.py +71 -0
- docs_drift/docs/sections.py +247 -0
- docs_drift/errors.py +119 -0
- docs_drift/fix/__init__.py +1 -0
- docs_drift/fix/edits.py +124 -0
- docs_drift/fix/model.py +139 -0
- docs_drift/fix/rules.py +232 -0
- docs_drift/git_safety.py +35 -0
- docs_drift/graph/queries/evidence_path.cypher +6 -0
- docs_drift/history.py +412 -0
- docs_drift/history_cache.py +62 -0
- docs_drift/ids.py +50 -0
- docs_drift/index/__init__.py +211 -0
- docs_drift/index/base.py +239 -0
- docs_drift/index/config.py +185 -0
- docs_drift/index/js_cli.py +211 -0
- docs_drift/index/js_routes.py +68 -0
- docs_drift/index/js_symbols.py +219 -0
- docs_drift/index/python_cli.py +370 -0
- docs_drift/index/python_routes.py +102 -0
- docs_drift/index/python_source.py +20 -0
- docs_drift/index/python_symbols.py +335 -0
- docs_drift/index/queries/javascript.scm +4 -0
- docs_drift/index/queries/typescript.scm +4 -0
- docs_drift/index/routes_common.py +16 -0
- docs_drift/index/tasks.py +131 -0
- docs_drift/index/ts_parser.py +20 -0
- docs_drift/limits.py +18 -0
- docs_drift/llm/__init__.py +7 -0
- docs_drift/llm/candidates.py +81 -0
- docs_drift/llm/client.py +185 -0
- docs_drift/llm/pricing.py +54 -0
- docs_drift/llm/privacy.py +63 -0
- docs_drift/llm/prompts/rewrite_v1.md +9 -0
- docs_drift/llm/prompts/verify_v1.md +12 -0
- docs_drift/llm/prompts.py +28 -0
- docs_drift/llm/retrieve.py +60 -0
- docs_drift/llm/types.py +68 -0
- docs_drift/llm/verify.py +179 -0
- docs_drift/lsp.py +199 -0
- docs_drift/match/__init__.py +5 -0
- docs_drift/match/commands.py +201 -0
- docs_drift/match/defaults.py +79 -0
- docs_drift/match/engine.py +319 -0
- docs_drift/match/rename.py +69 -0
- docs_drift/models.py +249 -0
- docs_drift/ownership.py +70 -0
- docs_drift/policy.py +81 -0
- docs_drift/portfolio.py +147 -0
- docs_drift/py.typed +0 -0
- docs_drift/report/__init__.py +38 -0
- docs_drift/report/common.py +31 -0
- docs_drift/report/github.py +22 -0
- docs_drift/report/html.py +106 -0
- docs_drift/report/json.py +17 -0
- docs_drift/report/junit.py +30 -0
- docs_drift/report/markdown.py +58 -0
- docs_drift/report/partials/body.html +19 -0
- docs_drift/report/partials/report.css +12 -0
- docs_drift/report/partials/script.js +95 -0
- docs_drift/report/portfolio.html +14 -0
- docs_drift/report/report.html +8 -0
- docs_drift/report/sarif.py +68 -0
- docs_drift/report/terminal.py +90 -0
- docs_drift/report/vendor/CYTOSCAPE-LICENSE +19 -0
- docs_drift/report/vendor/cytoscape.min.js +32 -0
- docs_drift/report/workflow.html +12 -0
- docs_drift/review.py +113 -0
- docs_drift/safe_files.py +19 -0
- docs_drift/scanning.py +202 -0
- docs_drift/schemas/SARIF-LICENSE.md +7 -0
- docs_drift/schemas/SARIF-NOTICES.txt +3 -0
- docs_drift/schemas/sarif-schema-2.1.0.json +3389 -0
- docs_drift/schemas/scan-result.v1.json +1024 -0
- docs_drift/setup.py +130 -0
- docs_drift/snapshots.py +100 -0
- docs_drift/support.py +31 -0
- docs_drift/watch.py +157 -0
- docs_drift/web/__init__.py +1 -0
- docs_drift/web/__main__.py +23 -0
- docs_drift/web/app.py +289 -0
- docs_drift/web/cleanup.py +23 -0
- docs_drift/web/examples/clean-repo.json +646 -0
- docs_drift/web/examples/fastapi-svc.json +723 -0
- docs_drift/web/examples/files-to-prompt.json +3366 -0
- docs_drift/web/examples/judge-fixture.json +226 -0
- docs_drift/web/examples/manifest.json +89 -0
- docs_drift/web/examples/node-tool.json +823 -0
- docs_drift/web/examples/py-cli.json +1267 -0
- docs_drift/web/examples/rich-cli-reviewed.json +7855 -0
- docs_drift/web/examples/rich-cli.json +8010 -0
- docs_drift/web/examples/verification.json +16 -0
- docs_drift/web/git.py +274 -0
- docs_drift/web/jobs.py +352 -0
- docs_drift/web/settings.py +50 -0
- docs_drift/web/static/demo.css +37 -0
- docs_drift/web/static/demo.js +184 -0
- docs_drift/web/static/evidence/correction-verification.json +28 -0
- docs_drift/web/static/evidence/flow-highlights-2026-10-22.png +0 -0
- docs_drift/web/static/evidence/fresh-scan.json +7855 -0
- docs_drift/web/static/evidence/review.json +44 -0
- docs_drift/web/static/evidence/rich-cli-correction.patch +20 -0
- docs_drift/web/static/evidence/runtime.json +26 -0
- docs_drift/web/static/evidence/saved-scan.json +8010 -0
- docs_drift/web/static/evidence/usage-card-supplied.png +0 -0
- docs_drift/web/templates/base.html +34 -0
- docs_drift/web/templates/case.html +13 -0
- docs_drift/web/templates/landing.html +90 -0
- docs_drift/web/templates/scan.html +2 -0
- docs_drift/web/templates/voice.html +1 -0
- docs_drift/web/validation.py +47 -0
- docs_drift/web/worker.py +152 -0
- docs_drift/workflow_cli.py +96 -0
- docs_drift/workspaces.py +128 -0
- docs_drift-0.1.0.dist-info/METADATA +331 -0
- docs_drift-0.1.0.dist-info/RECORD +131 -0
- docs_drift-0.1.0.dist-info/WHEEL +4 -0
- docs_drift-0.1.0.dist-info/entry_points.txt +2 -0
- docs_drift-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"date": "2026-10-22",
|
|
3
|
+
"reviewer": "Codex; source inspection and runtime reproduction, no independent human review",
|
|
4
|
+
"selection": "All four non-ok/non-unverifiable findings from saved rich-cli.json",
|
|
5
|
+
"snapshot": "46f4d2469097be395558768714a5f07ebccf1412",
|
|
6
|
+
"scanner_commit": "3e0b885bdeaf0cd24e3a27efee0d6621f2ef9b9a",
|
|
7
|
+
"doc_commit": "567f6c848ee5efa8eef9d6c96ffa3c23b802da4f",
|
|
8
|
+
"automatic_introduced_by": null,
|
|
9
|
+
"sample_size": 4,
|
|
10
|
+
"confirmed_defects": 2,
|
|
11
|
+
"false_positives": 2,
|
|
12
|
+
"rows": [
|
|
13
|
+
{
|
|
14
|
+
"line": 61,
|
|
15
|
+
"value": "--line-number",
|
|
16
|
+
"review": "confirmed defect",
|
|
17
|
+
"source_line": 358
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"line": 180,
|
|
21
|
+
"value": "--p",
|
|
22
|
+
"review": "confirmed defect",
|
|
23
|
+
"source_line": 250
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"line": 89,
|
|
27
|
+
"value": ".md",
|
|
28
|
+
"review": "false positive: extension prose",
|
|
29
|
+
"source_line": 514
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"line": 116,
|
|
33
|
+
"value": ".json",
|
|
34
|
+
"review": "false positive: extension prose",
|
|
35
|
+
"source_line": 516
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"fresh_scan_drift": [
|
|
39
|
+
"--line-number",
|
|
40
|
+
"--p"
|
|
41
|
+
],
|
|
42
|
+
"recall": "not measured",
|
|
43
|
+
"human_benchmark": "unchanged; pending labels"
|
|
44
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
--- a/README.md
|
|
2
|
+
+++ b/README.md
|
|
3
|
+
@@ -58,7 +58,7 @@
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
-Add the `--line-number` or `-n` switch to enable line numbers. Add `--guides` or `-g` to enable indentation guides.
|
|
8
|
+
+Add the `--line-numbers` or `-n` switch to enable line numbers. Add `--guides` or `-g` to enable indentation guides.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
rich loop.py -n -g
|
|
12
|
+
@@ -177,7 +177,7 @@
|
|
13
|
+
|
|
14
|
+
## Rich Printing
|
|
15
|
+
|
|
16
|
+
-If you add the `--print` or `--p` option then Rich will treat the first argument as [console markup](https://rich.readthedocs.io/en/latest/markup.html) which allows you to insert styles with a markup similar in design to bbcode.
|
|
17
|
+
+If you add the `--print` or `-p` option then Rich will treat the first argument as [console markup](https://rich.readthedocs.io/en/latest/markup.html) which allows you to insert styles with a markup similar in design to bbcode.
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
rich "Hello, [bold magenta]World[/]!" --print
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"command": "rich README.md --line-number",
|
|
4
|
+
"exit_code": 2,
|
|
5
|
+
"stderr": "Usage: rich [OPTIONS] <PATH or TEXT or '-'>\nTry 'rich --help' for help.\n\nError: No such option '--line-number'. (Did you mean one of: '--lexer', '--line-numbers'?)\n",
|
|
6
|
+
"stdout_excerpt": ""
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"command": "rich README.md --line-numbers",
|
|
10
|
+
"exit_code": 0,
|
|
11
|
+
"stderr": "",
|
|
12
|
+
"stdout_excerpt": "\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n\u2551 Rich-CLI \u2551\n\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"command": "rich Hello --p",
|
|
16
|
+
"exit_code": 2,
|
|
17
|
+
"stderr": "Usage: rich [OPTIONS] <PATH or TEXT or '-'>\nTry 'rich --help' for help.\n\nError: No such option '--p'. (Did you mean one of: '--help', '--panel', '--print'?)\n",
|
|
18
|
+
"stdout_excerpt": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"command": "rich Hello -p",
|
|
22
|
+
"exit_code": 0,
|
|
23
|
+
"stderr": "",
|
|
24
|
+
"stdout_excerpt": "Hello\n"
|
|
25
|
+
}
|
|
26
|
+
]
|