Skip to content

fix: harden repository examples against ambiguous inputs and broken Markdown - #37

Merged
drevendev merged 1 commit into
masterfrom
beautifulrepo/input-integrity-hardening-20261020
Oct 20, 2026
Merged

drevendev merged 1 commit into
masterfrom
beautifulrepo/input-integrity-hardening-20261020

Conversation

@drevendev

@drevendev drevendev commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Outcome

Integrates existing public candidate work plus focused new regressions into a single substantial quality pass. Proposed closure on merge: Closes #24, closes #25, closes #26, closes #27. Improves #28's form-boundary colors and adds numerical contrast checks, while issue #28 requires separate browser/keyboard/zoom acceptance.

Changes

  • Reject repeated JSON object keys before catalog or Pocket Board validation, including escaped names; preserve valid distinct objects.
  • Reject control characters and malformed percent escape sequences in catalog URLs, without banning IPv6, queries, or the catalog's fragment normalization policy.
  • Reject even empty literal # fragments in Curated Starter while allowing %23.
  • Render curated scope as labelled prose and escape ~~ in both Markdown generators.
  • Improve Pocket Board control boundary contrast tokens in both themes without claiming WCAG certification.
  • Add regression suites for malformed/valid URLs, duplicate keys, user-facing Markdown semantics, board fixture integrity and theme tokens. Clarify tool documentation and public changelog.

Verification

Needs fresh GitHub Actions 3.11/3.14 matrix on this head, followed by later-run maintainer review. No network crawling, runtime dependencies, external repo writes, internal worker controls, policy changes or license changes.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation-stage maintainer check (NOT independent later-run acceptance, 2026-10-20): reviewed the nine-file scope; the existing atomic catalog replacement remains intact, ambiguous JSON keys are rejected before validation, curated empty fragments are refused while %23 stays allowed, the catalog's permissive fragment policy is preserved, and both Python 3.11/3.14 CI jobs passed at this exact commit. The numerically checked control-border colors are not a browser/keyboard/zoom accessibility certification, so #28 remains open. Request a separate subsequent acceptance pass before integration of #24-#27.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run maintainer acceptance (2026-10-20): re-inspected the current nine-file patch and issue acceptance criteria after the implementation run. Duplicate JSON object keys are rejected before validation; catalog rejects raw controls and broken %-escapes while keeping valid encodings, IPv6 and its own fragment normalization; curated collection correctly disallows even empty literal fragments, and the Markdown projection escapes strikethrough/block structures. Pocket Board palette checks do not establish browser or assistive-technology compliance, so #28 must remain open. Both exact-head GitHub Actions Python 3.11 and 3.14 checks succeeded; no unresolved review discussions. No material blocking finding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant