Skip to content

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 17:31
  • Changed: because the new top-level nested_context key changes the exact document shape, the JSON
    document schema version advances — --format json now emits schema_version 3 (was 1) and
    --format json-compact emits 4 (was 2). Versions 1 and 2 stay bound to the shapes already
    published in release 1.2.0 and are never reused, so each schema_version names exactly
    one key set; the compact document remains the full document minus sources[*].content.
  • Added: JSON documents (--format json and --format json-compact) include an always-present
    existence-only nested_context object listing non-directory nested AGENTS.md relative paths
    found by a contents-blind bounded scan (depth 4 and 2,000-directory scan bounds, 32-path and
    4-KiB report caps; symlinked entries listed without ever resolving or reading their targets;
    .git, .venv, venv, node_modules and site-packages trees skipped), with
    list_truncated/scan_truncated flags mirrored as nested_agents_list_truncated and
    nested_agents_scan_truncated statuses. Listed paths are sanitized with the same escaping the
    Markdown uses for repository-derived text, which also fixes a pre-existing crash class: an
    unreadable non-UTF-8 directory name no longer breaks --format json through a raw status
    subject. Root-file selection, Authority Boundary semantics and
    Markdown bytes are otherwise unchanged; presence is not instruction and nested contents are
    never read or transported.
  • Docs: the json-compact section states that sources is provenance/index metadata whose bodies
    already occur verbatim in context, so consumers must not reopen source files to recover a body
    the document already carried.
  • Changed: tool_cli_contract.json advances tool_version to 1.3.0 while contract_version stays
    3: this release changes the JSON document shape — governed by the output schema_version values 3
    and 4 — and no command, flag, format choice or precondition, mirroring the 1.1.0 precedent where a
    document-shape addition left the public CLI contract version alone.

Package: https://pypi.org/project/context-loader/1.3.0/

Source commit: 14ce181c5a0a290d4eafe230f15a1c9e798c84aa