Skip to content

new(bug-log): per-project docs/bugs.jsonl and bin/file-bugs.sh (redact, dedupe, file) - #433

Merged
MendixMau merged 7 commits into
masterfrom
feat/bug-log-filing
Oct 16, 2026
Merged

MendixMau merged 7 commits into
masterfrom
feat/bug-log-filing

Conversation

@MendixMau

@MendixMau MendixMau commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Per-project bug log plus a safe way to file those bugs to the right public repo.

  • docs/bugs.jsonl: one row per bug (id, date, target mxcli|toolkit, title, repro, expected, actual, versions, workaround, status open|filed|fixed, issue_url). bin/file-bugs.sh --add appends a row with the next free PBUG-NN. The PBUG prefix keeps project-local ids apart from the toolkit ledger numbers (bug-submission-checklist §0); the public number is the issue.
  • bin/file-bugs.sh: dry run by default (redacted title and body, likely duplicates via gh issue list --search). Posting needs --file PBUG-NN or --all plus an y/N per bug read from the terminal; writes status and issue_url back. Only mendixlabs/mxcli and MendixMau/mxcli-project-toolkit are ever addressed.
  • Redaction: home paths, user and host names, emails, IPs, tokens and secret assignments, URLs other than the two repos, .mpr/module/entity names (PROJECT.md, mdlsource/) as App1/Module1/EntityA, and the leak-guard deny list ($LEAKGUARD_DENY or project .leakguard-deny). A final scan refuses any bug that still looks unsafe (no post, no URL).
  • --links / --json: redacted bugs with prefilled new-issue URLs (capped at 6000 chars, truncated on a whole %XX) for the report page to render as buttons.
  • Test: tests/wave2/test-file-bugs.sh, 99 checks, gh stubbed, invented project.
  • Skill: one line in upstream-feedback.md, word count 2386 to 2383. Routing row file-bugs (baseline, script); baseline words 75204 unchanged.

Not verified: real gh output formats (stub only), Windows.

🤖 Generated with Claude Code

MendixMau and others added 7 commits October 16, 2026 19:08
…act and file bugs to the two public repos

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y list, refused bugs leak nothing, /dev/tty confirm, PBUG ids

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…URL leaks, deny list required, posting denied to agents

Weak names (short, English or mxcli/MDL words) match whole words only; mxcli verbs and toolkit file names survive; jdbc/postgres URLs keep the scheme. Authorization/cookie header values redacted, allowed repo URLs cut to the repo prefix plus /issues/N or /pull/N. No deny list refuses posting, --links and --json; an invalid regex keeps its valid alternatives. Shipped permissions deny file-bugs.sh --file and --all. first.last users, attribute followed by digits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iated flags, invalid deny pattern refuses, URL scheme allow list, py deny rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MendixMau
MendixMau merged commit aafe661 into master Oct 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant