Skip to content

Add hero banner + shields.io badge row#1

Merged
noahgift merged 3 commits into
mainfrom
feat/hero-and-badges
May 5, 2026
Merged

Add hero banner + shields.io badge row#1
noahgift merged 3 commits into
mainfrom
feat/hero-and-badges

Conversation

@noahgift

@noahgift noahgift commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 1280×480 hero banner matching the sibling repos' oxide-premium chassis
    (psql → Pagila JOIN → sqlx::PgPool, with a 13-contracts pillar)
  • Shields.io badge row: License (MIT), Rust 1.95, PostgreSQL 16,
    100% coverage, 45 tests, 13 provable contracts, GitHub last-commit,
    GitHub repo size
  • Inline links to paiml/mysql-from-zero and paiml/duckdb-from-zero

Test plan

  • cairosvg renders hero.svg → 1280×480 PNG (verified visually)
  • All badge URLs resolve (shields.io static + dynamic GitHub badges)
  • make verify, make test, make coverage still green on the branch

🤖 Generated with Claude Code

- assets/hero.{svg,png}: 1280x480 README banner matching the
  duckdb-from-zero / mysql-from-zero chassis. Three pipeline stops
  (psql REPL → Pagila JOIN → sqlx::PgPool) plus a 13-contracts pillar
  on the right edge and a single-line contract summary strip at the
  bottom. Authored as SVG, rendered to PNG via cairosvg.
- README: prepended hero image and an 8-badge row (License, Rust,
  PostgreSQL, Coverage, Tests, Provable contracts, GitHub last-commit,
  GitHub repo size) plus inline links to the sibling repos in the
  same series.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@noahgift noahgift enabled auto-merge (squash) May 5, 2026 12:27
noahgift and others added 2 commits May 5, 2026 14:29
Adds .github/workflows/ci.yml so the paiml org's "Green Main"
ruleset can auto-merge PRs. The ruleset requires a status check
named literally `gate`; we provide it as an aggregator over a
`gate-matrix` job that runs the same Makefile entrypoints a user
runs locally (make up / pagila / verify / test / capstone smoke).

This was deferred from the initial commit per spec but is required
to make `gh pr merge --auto` actually fire — the org rule blocks
otherwise.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- cargo fmt --all cleanup across lib.rs / main.rs / bin_smoke.rs /
  benches/contract_assertions.rs (max-line-width drift; CI gate caught it).
  Tests + clippy + 100% coverage all still hold.
- sql/01-fundamentals/01-connect.sql + 02-show-tables.sql: psql backslash
  meta-commands consume the rest of the line, so trailing `-- comment` text
  was leaking into args (`\l: extra argument "list" ignored`,
  `\c: invalid integer value "to" for connection option "port"`). Moved
  every comment onto its own line above the meta-command.
- sql/02-joins/03-explain-analyze.sql: original predicate matched ~99% of
  rows, so the planner stayed on Seq Scan even after the index was created
  — the example claimed a plan flip that didn't happen. Strengthened to
  show wide-vs-narrow predicate side by side: same wide query before/after
  the index (still Seq Scan, still ~2.4 ms) plus a narrow-day query that
  flips to Index Scan in 0.019 ms. Now actually teaches the lesson.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@noahgift noahgift merged commit df3e62e into main May 5, 2026
2 checks passed
@noahgift noahgift deleted the feat/hero-and-badges branch May 5, 2026 12:39
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