source-package.json — Docs vs Code Checker

From version 0.1.0 of Docs vs Code Checker, shown publicly by its creator. 2.7 KiB · SHA-256 42cf9becea14bfa4db396a3292f2cd2abcfbb6f8482f5dc3595719cbe434ecad.

{
  "schema_version": 1,
  "runtimes": [
    {
      "name": "python",
      "versions": [
        "3.10",
        "3.14"
      ]
    }
  ],
  "dependencies": [],
  "operations": [
    {
      "kind": "read",
      "description": "Bounded local reads: exact named documents/JSON and all non-symlink regular repository files; maximum 1 MiB plus one byte for overflow detection.",
      "target_restrictions": [
        "Absolute local selections are supported; user-supplied paths reject parent traversal, percent encoding and backslashes; repository entry names accept literal percent signs and backslashes",
        "Descriptor-based reads stay beneath the pinned --root; token and --max restrict output only",
        "Files within the cap with NUL in the first 8 KiB are excluded; enumeration failures exit 1; file failures mark incomplete"
      ]
    },
    {
      "kind": "create",
      "description": "Create one Markdown report only in an existing destination directory; never create directories.",
      "target_restrictions": [
        "Only the exact --out path; existing files and symlinks are refused"
      ]
    }
  ],
  "authorization": {
    "mode": "none",
    "scopes": [],
    "credential_requirements": []
  },
  "network": {
    "domains": [],
    "destinations": [
      "No network destinations; the optional report is a local file at the exact --out path"
    ]
  },
  "safety": {
    "read_only_by_default": true,
    "dry_run_supported": true,
    "consequential_writes_require_authorization": true,
    "validation_controls": [
      "Supported only on macOS/Linux with POSIX directory descriptors and no-follow APIs; unsupported platforms exit 1 before I/O",
      "Approval binds resolved destination, report bytes and (device,inode) identities for its directory and existing parent",
      "Live write uses no-follow descriptor traversal, bound identity verification, and exclusive no-follow descriptor-relative creation",
      "Reads are limited to 1 MiB plus one overflow byte; no stdin input",
      "Malformed report arrays, claims, verdicts and evidence fail explicitly"
    ],
    "target_restrictions": [
      "Read only exact documentation or repository files selected by the user",
      "Create only the exact local Markdown path given with --out"
    ]
  },
  "tests": {
    "files": [
      "tests/test_docs_claims.py",
      "tests/test_hygiene.py"
    ],
    "fixtures": "synthetic_only",
    "provenance": "creator",
    "evidence": [
      "Synthetic tests cover extraction, complete/partial scans, escaped reports, approval binding, real ancestor symlink swaps, root confinement, traversal rejection, unsupported platforms, bounded input and malformed JSON",
      "Hygiene tests read only packaged files"
    ]
  }
}

License: MIT (read it).

MITMIT License

Copyright (c) 2026 Zero Width Lab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Back to the listing