Skip to content

Add customer certification report generator - #50

Merged
simongonzalezdc merged 1 commit into
mainfrom
customer-report-generator
Apr 22, 2026
Merged

simongonzalezdc merged 1 commit into
mainfrom
customer-report-generator

Conversation

@simongonzalezdc

Copy link
Copy Markdown
Member

Summary

  • Add pnpm dialect:report to turn certification JSON into a customer-facing Markdown launch report.
  • Report includes executive summary, launch grade, certification matrix, failure details, commercial packaging guidance, and limits.
  • Add tests for pass and no-go report grading.
  • Update docs/test count to 695.

Verification

  • pnpm build
  • pnpm -r exec tsc --noEmit
  • pnpm test — 695 tests passing across 7 packages
  • pnpm audit --audit-level low
  • npm pack guard
  • Generated /tmp/dialectos-customer-report-final.md from RC model matrix

Certification artifacts are useful internally, but monetization needs a customer-facing deliverable. This adds dialect:report to convert certification JSON into an executive Markdown report with launch grade, matrix, failure details, limits, and commercial packaging guidance.

Constraint: Keep report generation dependency-free and avoid embedding secrets

Confidence: high

Scope-risk: narrow

Directive: Use dialect:report as the paid launch-audit deliverable surface

Tested: pnpm build; pnpm -r exec tsc --noEmit; pnpm test (695 passing); pnpm audit --audit-level low; npm pack guard; generated /tmp/dialectos-customer-report-final.md from RC model matrix
@kilo-code-bot

kilo-code-bot Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

Code Review Roast 🔥

Verdict: No Issues Found | Recommendation: Merge

Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything.

The new dialect-report.mjs script handles input normalization gracefully (handles both array and object formats, with flexible field mapping). The escapePipes() function properly escapes markdown table delimiters to prevent injection. The test coverage for both "Pass" and "No-Go" grading scenarios is solid.

📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are.

Files Reviewed (5 files)
  • README.md - test count updates
  • docs/index.html - test count updates
  • docs/social-launch-kit.md - test count updates
  • package.json - script entry
  • scripts/dialect-report.mjs - new script (142 lines)

Reviewed by minimax-m2.5 · 157,413 tokens

@simongonzalezdc
simongonzalezdc merged commit 8b87f34 into main Apr 22, 2026
6 checks passed
@simongonzalezdc
simongonzalezdc deleted the customer-report-generator branch April 22, 2026 05:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 972ab06fcf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

unstable: result.unstable ?? result.unstableCount ?? 0,
outputVariance: result.outputVariance ?? result.outputVarianceCount ?? 0,
dialects: result.dialects ?? (result.results ? new Set(result.results.map((row) => row.dialect).filter(Boolean)).size : undefined),
failures: result.failures || result.results?.filter((row) => row.passes === false).map((row) => ({

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fall back to result rows when failures list is empty

Using result.failures || ... treats an empty array as present, so any input that includes failures: [] and also has failed rows in results will drop all failure details. In that case the report can show Failed: N in the summary but still print “No failed certification rows,” which is inaccurate for customer-facing launch decisions. This is reproducible with an object containing failed > 0, failures: [], and at least one results entry where passes === false.

Useful? React with 👍 / 👎.

simongonzalezdc added a commit that referenced this pull request Nov 11, 2026
Brings GitHub main level with Forgejo main (ef214e5), the canonical
repo, so GitHub carries what v0.3.2 is cut from.

- **Roast fixes:** dictionary accents and meaning-safe swaps (#50),
accented words in the register, voseo, gender and grammar checks (#51),
the file sandbox and patched dependencies (#52), honest claims and a
pinned toolchain (#53), and adjective agreement, MCP vosotros parity,
the real engine in the demo, and no more "first" claim (#55).
- **Branding:** the Hermes plugin icon (#54).
- **Release:** every version and install path moves to 0.3.2 (#56).
- **Security:** the voseo quote regex CodeQL flagged on this PR now runs
in linear time (#57).
- **Pages:** `docs/CNAME` is removed. The site already serves from
kyanitelabs.github.io/DialectOS/ without a redirect.

After this merges, both mains have the same files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01RXhEX6WJsRZUyGhsp5WgGe

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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