You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by po...@apache.org on 2026/10/17 21:09:51 UTC

(magpie) branch perf/security-2-triage updated (8a30f544 -> bc977340)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a change to branch perf/security-2-triage
in repository https://gitbox.apache.org/repos/asf/magpie.git


 discard 8a30f544 perf(security-issue-invalidate): decide and render the invalid close as code
 discard ab53a5c1 perf(security-issue-triage): decide and render the triage rules as code
 discard 397aa832 fix(security-management): drop an implicit string concatenation flagged by CodeQL
 discard c3b7663a docs(security-issue-import): restore the recap-draft and parse-warning boundaries
 discard 35d38872 fix(generate-cve-json): attach after the last template field and state the DRAFT rule exactly
 discard 8bce3aef fix(github-body-field): verify the rewritten body and keep CRLF spacing
 discard 7b44f865 docs(spec-loop): sync specs with the security import split
 discard e0e34751 fix(security-issue-sync): keep the record in DRAFT while required fields are unresolved
 discard cb4336eb fix(github-body-field): guard every field boundary and keep fenced payloads exact
 discard c536cfb1 fix(generate-cve-json): find attachment markers only outside report text and verify fields survive an attach
 discard ea86844b fix(github-body-field): match field names case-sensitively, as before
 discard cb5643f6 fix(github-body-field): strip any number of quote and list markers before a heading
 discard b615b41b fix(security-management): escape known-field headings in the inert block and unify body-field readers
 discard eadd5f7b fix(github-body-field): refuse ambiguous fields at the read and write layer, in linear time
 discard 7cbb9419 fix(security-management): import the report as an inert fenced block, then verify the body
 discard d3e7861c fix(github-body-field): fail closed on nested field headings instead of modelling lists
 discard ac14f9bd feat(security-issue-sync): propose missing or ambiguous CVE fields with the session's own model
 discard b0337753 fix(github-body-field): never take a heading inside a list item or block quote for a field
 discard d264adfd fix(generate-cve-json): normalise the body before reading fields and refuse ambiguous duplicates cleanly
 discard 7c59efb7 feat(github-body-field): normalise tracker bodies into the shape every reader agrees on
 discard 2eebaea9 perf(security-issue-import-from-scan): enforce the bucket rule and render the scan report as code
 discard 780e5335 perf(security-issue-import-via-forwarder): decide preflight, detection and routing as code
 discard c602341f fix(security-management): escape HTML openers anywhere in report text
 discard 5e91945b fix(security-management): resolve reply, ledger, dedup, recap and scope edge cases
 discard ec57e8b5 fix(security-management): keep fenced headings and HTML blocks from overriding body fields
 discard 08157ba1 fix(security-management): defuse inside code spans and normalise line breaks before sanitising
 discard 5eb019cd perf(security-issue-import-from-md): parse and render the findings import as code
 discard 089b0092 fix(security-management): fail closed on unsafe report text and pair code fences strictly
 discard 4535f9db perf(security-issue-import-from-pr): decide and render the PR import as code
 discard 2cee63bd perf(security-issue-import): decide and render the import as code
     add 93051d51 fix(sandbox): stop exposing the Gmail OAuth token to sandboxed Bash (#1681)
     add a04891f7 docs(spec-loop): sync specs with main up to 43e4c6eeb (#1682)
     add 8d606d6e fix(issue-backlog-stats): expect marketplace-form actions in step-4 evals (#1677)
     add 1cf5ceeb fix(security-tracker): harden the local and Jira backends after review (#1683)
     add 85ca0013 perf(security-issue-import): decide and render the import as code
     add be08cade perf(security-issue-import-from-pr): decide and render the PR import as code
     add 103a3114 fix(security-management): fail closed on unsafe report text and pair code fences strictly
     add f10d2d9f perf(security-issue-import-from-md): parse and render the findings import as code
     add 969ff7ec fix(security-management): defuse inside code spans and normalise line breaks before sanitising
     add cbbc6c3a fix(security-management): keep fenced headings and HTML blocks from overriding body fields
     add c3914e0b fix(security-management): resolve reply, ledger, dedup, recap and scope edge cases
     add 568f9966 fix(security-management): escape HTML openers anywhere in report text
     add 0814477a perf(security-issue-import-via-forwarder): decide preflight, detection and routing as code
     add fe33ab2b perf(security-issue-import-from-scan): enforce the bucket rule and render the scan report as code
     add 5b2c4b51 feat(github-body-field): normalise tracker bodies into the shape every reader agrees on
     add 2e1d846a fix(generate-cve-json): normalise the body before reading fields and refuse ambiguous duplicates cleanly
     add e37235b7 fix(github-body-field): never take a heading inside a list item or block quote for a field
     add 599517bc feat(security-issue-sync): propose missing or ambiguous CVE fields with the session's own model
     add f0caae18 fix(github-body-field): fail closed on nested field headings instead of modelling lists
     add 16efe307 fix(security-management): import the report as an inert fenced block, then verify the body
     add 4a5d22b2 fix(github-body-field): refuse ambiguous fields at the read and write layer, in linear time
     add 0c439088 fix(security-management): escape known-field headings in the inert block and unify body-field readers
     add c77e782d fix(github-body-field): strip any number of quote and list markers before a heading
     add c45e9f2b fix(github-body-field): match field names case-sensitively, as before
     add fe60e5ed fix(generate-cve-json): find attachment markers only outside report text and verify fields survive an attach
     add 4f5d8ed2 fix(github-body-field): guard every field boundary and keep fenced payloads exact
     add cad4dd47 fix(security-issue-sync): keep the record in DRAFT while required fields are unresolved
     add a351cfc5 docs(spec-loop): sync specs with the security import split
     add f157892d fix(github-body-field): verify the rewritten body and keep CRLF spacing
     add 37bba3d1 fix(generate-cve-json): attach after the last template field and state the DRAFT rule exactly
     add d08c9355 docs(security-issue-import): restore the recap-draft and parse-warning boundaries
     add 8b200e50 fix(security-management): drop an implicit string concatenation flagged by CodeQL
     add 21e67ed7 fix(github-body-field): one parser for reading and writing, on the body-field contract's boundaries
     add df44e492 fix(jira, local-tracker): read and write body fields through the one parser
     add 93c071ea fix(github-body-field): never take a quoted heading for a field
     add 1b407979 perf(security-issue-triage): decide and render the triage rules as code
     add bc977340 perf(security-issue-invalidate): decide and render the invalid close as code

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (8a30f544)
            \
             N -- N -- N   refs/heads/perf/security-2-triage (bc977340)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../2026-10-15-security-tracker-backends-plan.md   |   2 +-
 .../2026-10-15-security-tracker-backends.md        |   9 +-
 docs/editorial-guidelines.md                       |   3 +-
 docs/setup/secure-agent-setup.md                   |  30 +-
 .../magpie-security/skills/cve-allocate/SKILL.md   |  17 +-
 .../skills/issue-deduplicate/SKILL.md              |  17 +-
 plugins/magpie-security/skills/issue-fix/SKILL.md  |  17 +-
 .../skills/issue-import-from-md/SKILL.md           |  17 +-
 .../skills/issue-import-from-pr/SKILL.md           |  17 +-
 .../skills/issue-import-from-scan/SKILL.md         |  17 +-
 .../skills/issue-import-via-forwarder/SKILL.md     |  17 +-
 .../magpie-security/skills/issue-import/SKILL.md   |  17 +-
 .../skills/issue-invalidate/SKILL.md               |  17 +-
 plugins/magpie-security/skills/issue-sync/SKILL.md |  17 +-
 .../skills/issue-sync/apply-and-push.md            |  10 +-
 .../skills/issue-sync/github-advisory.md           |   8 +-
 .../issue-sync/outcomes/cve-json-fallback.md       |   2 +-
 .../magpie-security/skills/issue-triage/SKILL.md   |  17 +-
 .../skills/tracker-stats-dashboard/SKILL.md        |  20 +-
 .../skills/isolated-setup-update/SKILL.md          |   7 +-
 plugins/magpie-setup/skills/setup/config.md        |  23 +-
 .../setup/setup_preflight/isolated_fingerprint.py  |   2 +-
 plugins/magpie-setup/templates/project.md          |   5 +-
 .../magpie-vetted-ops/tools}/jira/README.md        |  43 +-
 .../magpie-vetted-ops/tools}/jira/pyproject.toml   |  19 +-
 .../tools/jira/src/jira_bridge}/__init__.py        |   0
 .../jira/src/jira_bridge/body_field_format.py      | 844 +++++++++++++++++++++
 .../tools/jira/src/jira_bridge/markup.py           | 326 ++++++++
 .../tools/jira/src/jira_bridge}/py.typed           |   0
 .../tools}/jira/src/jira_bridge/rest.py            |   0
 .../jira/src/jira_bridge/security_tracker.py       | 117 ++-
 .../tools}/jira/src/jira_bridge/tracker_client.py  |   0
 .../tools}/local-tracker/README.md                 |  30 +-
 .../tools}/local-tracker/pyproject.toml            |  24 +-
 .../src/magpie_local_tracker/__init__.py           |   0
 .../src/magpie_local_tracker/body_field_format.py  | 844 +++++++++++++++++++++
 .../local-tracker/src/magpie_local_tracker/cli.py  |  39 +-
 .../src/magpie_local_tracker/descriptor.py         |  38 +-
 .../src/magpie_local_tracker/detect.py             |   6 +-
 .../src/magpie_local_tracker/metadata.py           | 135 +++-
 .../src/magpie_local_tracker/sections.py           | 421 ++++++++++
 .../src/magpie_local_tracker/store.py              | 328 ++++++--
 .../local-tracker/src/magpie_local_tracker/vcs.py  | 390 ++++++++++
 .../magpie-vetted-ops/tools/vetted-ops/README.md   |  31 +-
 .../vetted-ops/src/vetted_ops/body_field_format.py | 713 ++++++++++-------
 .../tools/vetted-ops/src/vetted_ops/cli.py         |  29 +-
 .../tools/vetted-ops/src/vetted_ops/config.py      |  25 +-
 .../tools/vetted-ops/src/vetted_ops/ops.py         |  54 ++
 .../vetted-ops/src/vetted_ops/tracker_backends.py  |  44 +-
 plugins/pyproject.toml                             |   3 +
 .../agent-isolation/claude-settings.template.json  |   3 -
 .../src/generate_cve_json/cve_json.py              | 104 ++-
 .../tests/test_generate_cve_json.py                |  93 +++
 .../tests/test_normalised_body.py                  |  22 +-
 tools/dev/blocks/tracker-backend.md                |  15 +-
 tools/dev/check-family-plugins.py                  |   9 +
 tools/github-body-field/README.md                  |  55 +-
 .../src/github_body_field/__init__.py              |  14 +
 .../src/github_body_field/parser.py                | 713 ++++++++++-------
 tools/github-body-field/tests/test_normalise.py    | 139 +++-
 tools/github-body-field/tests/test_parser.py       |  18 +-
 tools/gmail/asf-relay.md                           |   4 +-
 tools/gmail/draft-backends.md                      |  41 +-
 tools/gmail/oauth-draft/README.md                  |  10 +
 .../oauth-draft/tests/test_security_cc_recipe.py   |  64 +-
 tools/gmail/operations.md                          |  58 +-
 tools/gmail/threading.md                           |   2 +-
 tools/jira/README.md                               |  15 +-
 tools/jira/pyproject.toml                          |  19 +-
 tools/jira/src/jira_bridge/body_field_format.py    | 844 +++++++++++++++++++++
 tools/jira/src/jira_bridge/markup.py               | 283 +++++--
 tools/jira/src/jira_bridge/security_tracker.py     | 117 ++-
 tools/jira/tests/test_markup.py                    | 119 +++
 tools/jira/tests/test_security_tracker.py          |  98 ++-
 tools/jira/tests/test_vendored_parser.py           |  34 +
 tools/local-tracker/README.md                      |  22 +-
 tools/local-tracker/pyproject.toml                 |  24 +-
 .../src/magpie_local_tracker/body_field_format.py  | 844 +++++++++++++++++++++
 .../local-tracker/src/magpie_local_tracker/cli.py  |  39 +-
 .../src/magpie_local_tracker/descriptor.py         |  38 +-
 .../src/magpie_local_tracker/detect.py             |   6 +-
 .../src/magpie_local_tracker/metadata.py           | 135 +++-
 .../src/magpie_local_tracker/sections.py           | 290 ++++++-
 .../src/magpie_local_tracker/store.py              | 328 ++++++--
 .../local-tracker/src/magpie_local_tracker/vcs.py  | 257 ++++++-
 tools/local-tracker/tests/test_local_tracker.py    | 793 ++++++++++++++++++-
 tools/local-tracker/tests/test_vendored_parser.py  |  28 +
 tools/sandbox-lint/expected.json                   |   3 -
 tools/sandbox-lint/src/sandbox_lint/__init__.py    |   4 +
 tools/sandbox-lint/tests/test_validator.py         |   1 +
 tools/security-management/README.md                |   2 +-
 .../src/security_management/issue_import/cli.py    |   3 +-
 .../issue_import_from_md/render.py                 |  13 +-
 .../issue_import_from_pr/render.py                 |   2 +-
 .../src/security_management/shared/body.py         |  41 +-
 tools/security-management/tests/test_body.py       |  24 +-
 .../tests/test_readers_agree.py                    |  95 ++-
 tools/security-tracker/contract.md                 |  26 +-
 .../fixtures/case-1-high-untriaged/expected.json   |   2 +-
 .../fixtures/case-2-high-stale/expected.json       |   2 +-
 .../expected.json                                  |   2 +-
 .../step-ghsa-access-tier/fixtures/output-spec.md  |   4 +-
 tools/spec-loop/.last-sync                         |   2 +-
 tools/spec-loop/specs/adapters.md                  |  19 +-
 tools/spec-loop/specs/adoption-and-setup.md        |   8 +-
 tools/spec-loop/specs/agent-isolation-sandbox.md   |  10 +-
 tools/spec-loop/specs/meta-and-quality-tooling.md  |   7 +
 tools/spec-loop/specs/project-agnosticism.md       |   4 +-
 .../specs/release-management-lifecycle.md          |  28 +-
 tools/spec-loop/specs/security-issue-lifecycle.md  |  50 +-
 tools/vetted-ops/README.md                         |  31 +-
 .../vetted-ops/src/vetted_ops/body_field_format.py | 713 ++++++++++-------
 tools/vetted-ops/src/vetted_ops/cli.py             |  29 +-
 tools/vetted-ops/src/vetted_ops/config.py          |  25 +-
 tools/vetted-ops/src/vetted_ops/ops.py             |  54 ++
 .../vetted-ops/src/vetted_ops/tracker_backends.py  |  44 +-
 tools/vetted-ops/tests/test_body_field_parity.py   |   4 +
 tools/vetted-ops/tests/test_procedures.py          |  15 +-
 tools/vetted-ops/tests/test_tracker_backends.py    | 161 +++-
 tools/vetted-ops/tests/test_vetted_ops.py          |   5 +
 uv.lock                                            |  24 -
 121 files changed, 10293 insertions(+), 1672 deletions(-)
 copy {tools => plugins/magpie-vetted-ops/tools}/jira/README.md (77%)
 copy {tools => plugins/magpie-vetted-ops/tools}/jira/pyproject.toml (69%)
 copy {tools/agent-isolation/tests => plugins/magpie-vetted-ops/tools/jira/src/jira_bridge}/__init__.py (100%)
 create mode 100644 plugins/magpie-vetted-ops/tools/jira/src/jira_bridge/body_field_format.py
 create mode 100644 plugins/magpie-vetted-ops/tools/jira/src/jira_bridge/markup.py
 copy {tools/bitbucket/src/magpie_bitbucket => plugins/magpie-vetted-ops/tools/jira/src/jira_bridge}/py.typed (100%)
 copy {tools => plugins/magpie-vetted-ops/tools}/jira/src/jira_bridge/rest.py (100%)
 copy {tools => plugins/magpie-vetted-ops/tools}/jira/src/jira_bridge/security_tracker.py (86%)
 copy {tools => plugins/magpie-vetted-ops/tools}/jira/src/jira_bridge/tracker_client.py (100%)
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/README.md (69%)
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/pyproject.toml (69%)
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/src/magpie_local_tracker/__init__.py (100%)
 create mode 100644 plugins/magpie-vetted-ops/tools/local-tracker/src/magpie_local_tracker/body_field_format.py
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/src/magpie_local_tracker/cli.py (91%)
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/src/magpie_local_tracker/descriptor.py (74%)
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/src/magpie_local_tracker/detect.py (97%)
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/src/magpie_local_tracker/metadata.py (58%)
 create mode 100644 plugins/magpie-vetted-ops/tools/local-tracker/src/magpie_local_tracker/sections.py
 copy {tools => plugins/magpie-vetted-ops/tools}/local-tracker/src/magpie_local_tracker/store.py (58%)
 create mode 100644 plugins/magpie-vetted-ops/tools/local-tracker/src/magpie_local_tracker/vcs.py
 create mode 100644 tools/jira/src/jira_bridge/body_field_format.py
 create mode 100644 tools/jira/tests/test_vendored_parser.py
 create mode 100644 tools/local-tracker/src/magpie_local_tracker/body_field_format.py
 create mode 100644 tools/local-tracker/tests/test_vendored_parser.py