Skip to content

docs: #719-style prose sweep after the #1090–#1102 defect wave #1103

Closed

Description

@JarryShaw

Is your feature request related to a problem? Please describe.
The defect wave #1090–#1102 changes code and docstrings in several modules, and #719's two rounds of prose sweeps predate those changes. The maintainer asked for another #719-style pass over the docs and comments once the wave lands.

Describe the solution you'd like
Re-read the prose that the wave's merged PRs touched or made stale: docstrings, comments, docs/ and pep.rst. Apply #719's rules: no churn, accuracy first, no timed context, and only prose changes, with an AST guard on every .py.

Blocked until
Every issue in #1090–#1102 is closed.

Describe alternatives you've considered
Folding the sweep into each fix PR was rejected: thirteen parallel PRs editing shared prose would conflict.

Activity

  1. added
    docsPull requests that change documentation only (docs: subject prefix)
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 6, 2026
  2. JarryShaw commented on Oct 6, 2026

    @JarryShaw
    OwnerAuthor

    Add to this sweep: ProtocolBase.pack() (protocol.py:559-576) rebuilds from make(**kwargs) and ignores the instance's parsed or constructed state. A bare X(...).pack() therefore returns defaults. Neither the docstring nor the rst docs say so. This came up in the #1143 review.

  3. JarryShaw commented on Oct 6, 2026

    @JarryShaw
    OwnerAuthor

    Add to this sweep, after #1147 merges:

    • docs/source/ext.rst:~266 says from_data "warns UnknownFieldWarning" and that its keywords "come from your _make_data". Caller-supplied keywords now raise UnsupportedCall.
    • The _check_construction_keywords docstring describes kwargs as what remains after __init__. from_data calls it as well now.
  4. JarryShaw commented on Oct 6, 2026

    @JarryShaw
    OwnerAuthor

    Still blocked, with a new condition. Every issue in #1090–#1102 is closed, but the sweep is meant to run after all the defects the wave turned up are fixed, so that it reads the final docstrings once. It now unblocks when #1127, #1133, #1144, #1151, #1154, #1155 and #1156 are all closed.

  5. JarryShaw commented on Oct 7, 2026

    @JarryShaw
    OwnerAuthor

    Still blocked, with a new condition. All seven issues named in the last condition are now closed. Two more defects from the same audit are now being fixed, #1165 and #1167, and they edit extraction.py, dumpkit/pcap.py, ipv4.py and udp.py. The sweep unblocks once #1165 and #1167 are both closed, so it reads the final docstrings once.

  6. JarryShaw commented on Oct 7, 2026

    @JarryShaw
    OwnerAuthor

    Condition extended: the #1169 cross-review turned up #1170, a defect in the same class that touches ipv4.py, ipv6.py, udp.py and the shared _import_next_layer. The sweep now unblocks once #1165, #1167 and #1170 are all closed.

  7. JarryShaw commented on Oct 7, 2026

    @JarryShaw
    OwnerAuthor

    The previous condition is met: #1165, #1167 and #1170 are all closed. Two defects from the same audit are still in flight: #1172 (l2tpv2.py) and #1173 (ipv6_route.py, mh.py, application.py). The sweep would read the docstrings of the files they edit, so it now unblocks when #1172 and #1173 are both closed. These are the last known items from this audit.

  8. JarryShaw commented on Oct 7, 2026

    @JarryShaw
    OwnerAuthor

    Unblocked: #1172 and #1173 are both closed (#1174 and #1176 merged at 04:00Z and 04:01Z). Now pending. Three later items are still open: #1175 (l2tpv2.py), #1177 (ipv6.py) and #1178 (ipv6_ext.py). The sweep skips those three files and they get a delta pass once each issue closes.

  9. added
    pendingAccepted and unstarted - nobody is on it and nothing blocks it
    and removed
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 7, 2026
  10. JarryShaw commented on Oct 7, 2026

    @JarryShaw
    OwnerAuthor

    Dispatched as three prose slices, each scoped to git diff b10e7951b origin/main: protocols, schema-data and foundation-docs. The #1175/#1177/#1178 files are excluded.

  11. added
    wipWork in flight - a covering PR is open or an agent is actively on it
    and removed
    pendingAccepted and unstarted - nobody is on it and nothing blocks it
    on Oct 7, 2026
  12. 215 remaining items

  13. JarryShaw commented on Oct 29, 2026

    @JarryShaw
    OwnerAuthor

    Status: round 10 (full whole-repo pass) is in flight — the dispatched worker fanned out into several shard sub-agents per the sweep's own standing authorization, which are still running. No PR yet. Will post the outcome (clean / or a new PR) once it lands, and flip this to blocked if a new PR or issue comes out of it.

  14. added a commit that references this issue on Oct 29, 2026
  15. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 29, 2026
  16. added
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 29, 2026
  17. JarryShaw commented on Oct 29, 2026

    @JarryShaw
    OwnerAuthor

    Reopening — round 10 (merged as #2432 before review landed) got NEEDS CHANGES. Real finding: it reverted a ratified ruling from #1016/#2316 on the RegistryError message wording (should stay naming Protocol, not ProtocolBase — the message's reader is a third party, and #2420 already caught this exact mistake once). Also a wrong :issue:/:pr: citation. Dispatching a follow-up PR to revert the message change and fix the citation.

  18. moved this from Done to WIP in PyPCAPKiton Oct 29, 2026
  19. added a commit that references this issue on Oct 29, 2026
  20. JarryShaw commented on Oct 29, 2026

    @JarryShaw
    OwnerAuthor

    Closing. Round 10 (merged as #2432, before its review landed) found three issues — two of them real:

    1. The RegistryError message change reversed the ratified fix(foundation): registrar error messages and type hints name the public class, not the Base the guard checks #1016/docs(protocols): register's Raises name Protocol in some layers, ProtocolBase in others #2316 ruling. Fixed by fix(protocols): revert #2432's RegistryError message to name Protocol #2434 (merged).
    2. A wrong :issue:/:pr: citation. Also fixed by fix(protocols): revert #2432's RegistryError message to name Protocol #2434.
    3. "Closes docs: #719-style prose sweep after the #1090–#1102 defect wave #1103" should have been "Refs" — already corrected by reopening this issue.

    With #2434 merged, round 10's output is now clean: exactly the scope its own review verified (6 files, no scope creep, the EnumField fix correct, tests and docs build unaffected), plus the two corrections above. That's a genuine whole-repo pass raising nothing new, same bar as #719.

  21. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 29, 2026
  22. added a commit that references this issue on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsPull requests that change documentation only (docs: subject prefix)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions