Skip to content

Replace the web-service example's names with invented ones - #68

Merged
duizendstra merged 3 commits into
mainfrom
workshop/scrub-web-service
Nov 8, 2026
Merged

duizendstra merged 3 commits into
mainfrom
workshop/scrub-web-service

Conversation

@duizendstra

Copy link
Copy Markdown
Member

The web-service example was described as anonymized, but its file paths, identifiers and line numbers still read like a real codebase. This replaces them, at HEAD only, with invented ones that describe no real code.

What changes

  • examples/web-service.md: every path, identifier, line number and finding wording in the lens tables, the CHECK table, Fixes Applied, the nothing-found checks, Gap Analysis and the Findings Index. The service description is generic.
  • docs/lenses.md: the evidence-format sample rows and the example rules and prose that echoed the example are rewritten.
  • docs/w5h1.md: the timeout, fallback and cookie samples are replaced.
  • README.md: the SHI-2 excerpt follows the example.
  • scripts/test_scripts.py: the two fixtures that edit the example use its new paths. scripts/MANIFEST is regenerated.
  • CHANGELOG.md: one line under Unreleased.

What stays the same

  • The 15 findings keep their ids, lenses, severities, verdicts and confidence, so README's "raised 15 findings" and the Scorecard hold.
  • check_review.py examples/web-service.md --no-artifact and render_scorecard.py pass, and so do check.py and test_scripts.py.
  • No workflow file changes.

History is not rewritten; the earlier wording stays in past commits.

🤖 Generated with Claude Code

duizendstra and others added 2 commits November 8, 2026 15:14
The example's file paths, identifiers, line numbers and finding wording
now describe no real code, and so do the sample rows in docs/lenses.md
and docs/w5h1.md and the README excerpt. The 15 findings keep their
ids, lenses, severities, verdicts and confidence, so every count and
the Scorecard are unchanged; the fixtures that edit the example follow
its new paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Shield and Variety example rules in docs/lenses.md go back to
requiring what they required before, and the Variety sample is one that
breaks that rule. The changelog line now says which lens descriptions
and rules were reworded, and how the Observability rule changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@duizendstra

Copy link
Copy Markdown
Member Author

Blind review (Opus): PUSH WITH NOTE. Reviewed head 29be90b0ca68b1b86d29c5130f5ead92b182bd72 against base 4d1fc1c.

An earlier pass on 50f28e8 returned SEND BACK. Two example rules in docs/lenses.md changed meaning, and the changelog said nothing about it. 29be90b puts the Shield and Variety rules back to their old meaning, swaps in a Variety sample that breaks the rule as written, and records the rewording in the changelog.

This pass confirmed:

  • The example still has 15 findings, each with the same id, lens, severity, verdict and confidence.
  • Every index basename:line matches its lens table.
  • The Scorecard and README counts still hold.
  • check.py, test_scripts.py (54 tests), check_review.py --no-artifact and render_scorecard.py all pass.
  • No workflow file changed.
  • A case-insensitive grep for the old identifiers finds nothing.

Notes, not blocking:

  1. docs/lenses.md:391: the Observability tool-table cell was reworded, and the changelog does not mention it.
  2. The changelog says "sample rows". The W5H1 Why paragraph and When list item also changed, and so did two Checked: lines; none of these is a row. None of it changes meaning.
  3. docs/lenses.md:283: in Kotlin, a when statement with no else ignores an unknown value; it does not throw. "Silently ignored" would be accurate.
  4. The changelog line cites no issue number.

The Variety sample said an unknown event type throws. A `when` used as
a statement with no `else` matches no branch and ignores the value, so
the sample now says that. The changelog line also names the README
excerpt, the prose examples and Checked: lines, and the Observability
tool-table cell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@duizendstra

Copy link
Copy Markdown
Member Author

Blind delta review (Opus): PUSH WITH NOTE. Reviewed head 6328178872ed996c823a00c499480abc6525015f, delta 29be90b..6328178, base 4d1fc1c.

What the delta fixes

  • The Variety sample at docs/lenses.md:283 now says what Kotlin does. A when statement with no else matches no branch for an unknown value and silently ignores it.
  • The example rule at lines 269–270 keeps its meaning, and the sample still breaks it.
  • The changelog line now also covers the README excerpt, the changed prose examples and Checked: lines, and the Observability tool-table cell.

Checks

  • check.py, test_scripts.py (54 tests) and check_review.py --no-artifact all pass.
  • A case-insensitive grep of HEAD for the old identifiers finds nothing.
  • No workflow file changed, and history is not rewritten.

Notes, cosmetic, not blocking:

  • The changelog paragraph is not re-wrapped, and line 84 is over-long.
  • It names Checked: lines in docs/w5h1.md, but only docs/lenses.md has changed ones.
  • It does not mention the README contrast quote, which now says "login" instead of "session".
  • It does not mention the fixture path updates.

@duizendstra
duizendstra merged commit 070f2b8 into main Nov 8, 2026
1 check passed
@duizendstra
duizendstra deleted the workshop/scrub-web-service branch November 8, 2026 15:25
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