Skip to content

Repo improvements analysis (2026-06-10) - #43

Merged
etrebels merged 10 commits into
mainfrom
claude/repo-improvements-analysis-znudrv
Jun 10, 2026
Merged

Repo improvements analysis (2026-06-10)#43
etrebels merged 10 commits into
mainfrom
claude/repo-improvements-analysis-znudrv

Conversation

@etrebels

Copy link
Copy Markdown
Owner

Summary

Adds REPO-IMPROVEMENTS-2026-06-10.md — a deep audit of the public giveaway kit. Analysis only; no other files changed. Findings grouped P0/P1/P2 with file:line citations and concrete fixes.

Headline findings

  • No leaked private data. Full-tree grep for private names, the CGO/TextDistil pricing, Notion/Lightfield IDs, internal repo paths, and emails came back clean — only intentional items (CoC contact, LICENSE name, README "who's behind this").
  • P0 (perception) — seeded ops/ data is unlabelled. Vantyr / Kessler Pharma / Nordvik with ARR, renewal dates, churn notes (ops/pipeline.md:5-12, ops/customers.md:8-14) carry no "fictional" banner — unlike demo/. To a visitor it's indistinguishable from a real customer book. One comment line per file fixes it.
  • P1: CTA URL mismatch (README.md:134/140 …/features/growth vs issue-template …/growth — one 404s); undocumented 7th hook (verify-after-change.sh) makes "five guardrails"/"one uses python3" false; real bug in pre-commit-guard.sh:36 (scans removed diff lines, so it blocks the commit that deletes a secret); feedback-loop tags have no single canonical home; demo/ data self-contradicts (Thornbury/Cascadia both pre-sale and signed); CHANGELOG vs settings effort mismatch; Stop-hook nudge likely invisible; undocumented security-guidance plugin + autoMemoryEnabled: true default.
  • Positives: shellcheck clean, all internal links resolve, deterministic checks pass, .gitignore/examples/SECURITY path correct.

See the report for the full list and the 5 quick wins.

Test plan

  • Label the seeded ops/ data as fictional before the next public eyes (highest-value, 1 line/file)
  • Fix the CTA URL mismatch and the pre-commit-guard.sh removed-line bug

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC


Generated by Claude Code

claude added 10 commits June 10, 2026 07:18
Deep audit of the repo for correctness, drift, convention adherence, and
improvement opportunities. Findings grouped P0/P1/P2 with file:line
citations and concrete fixes. Analysis only — no other files changed.

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
Add a clear "FICTIONAL STARTER DATA" banner comment to the top of each
seeded ops/ file (pipeline, customers, daily-log, feedback-log,
priorities, roadmap-signals), matching the convention demo/ already uses.
A public visitor could otherwise read ops/customers.md — with ARR and
renewal dates — as a leaked real customer book. The data is unchanged;
only labelled. ops/icp.md is a placeholder template, so it needs no banner.

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
The 7th hook (verify-after-change.sh) and its PostToolUse(Edit|Write)
wiring shipped undocumented. Add it to the README hooks table and the
"hooks earn their place" list, to CLAUDE.md's Hooks section, and as a
CHANGELOG entry (with verify.sh.example).

Correct the now-false counts: README "Five guardrails" -> six; "one uses
python3" -> two (protect-files.sh and verify-after-change.sh both invoke
python3; web-bootstrap.sh only mentions it in a comment). Mirror the
python3 fix in CLAUDE.md.

Reconcile the CHANGELOG effort-level entry with what ships: settings.json
pins effortLevel "xhigh", not "high"; update the entry and rationale.

Also note in the README ops/ row that the books ship pre-seeded with
fictional, clearly-labelled accounts so the rituals run day one.

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
config.yml linked langoptima.com/growth while README links
langoptima.com/features/growth (twice). Standardize the issue-template
contact link on langoptima.com/features/growth so all three in-repo CTA
references match. Canonical value assumed from the in-repo majority and
flagged for confirmation — see REPO-IMPROVEMENTS-2026-06-10.md "Held for
Edwin's decision".

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
The feedback skills disagreed on where MARKETING-ACTION / RETENTION-RISK
tags live: marketing-feedback said "the daily log", retention-feedback
said "daily log / feedback log", account-health said "the feedback log" —
while session-start.sh surfaces only ops/feedback-log.md and weekly-review
clears from there. A tag written to the daily log was invisible to both,
the same drift the kit's todo-single-source rule exists to prevent.

Align all of them on ops/feedback-log.md as the one canonical home, and
make morning-briefing and weekly-review name the file explicitly.

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
Thornbury Insurance and Cascadia BioSciences appeared as both pre-sale
deals (demo/pipeline.md) and signed customers (demo/customers.md +
support-tickets.md), so /demo-briefing ran on contradictory data. They are
woven through the customer book, support tickets, and meeting notes as
live accounts, so resolve the contradiction in the pipeline's favour as
intended: mark both pipeline rows as expansion deals on existing
customers, add a header note explaining the land-and-expand pattern, and
clarify the two meeting notes as expansion conversations. New-logo deals
(Rheinkraft, Borealis, Tasman) stay out of the customer book.

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
Record what the 2026-06-10 fix pass deliberately left for Edwin: the CTA
URL confirmation, the Stop-hook visibility mechanism question, the
undocumented security-guidance plugin, the 0.2.0 release call, and the two
fixes blocked by environment file-protection (pre-commit-guard.sh
added-lines-only, settings.json autoMemoryEnabled=false) with the exact
edits to apply by hand.

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
- pre-commit-guard.sh: filter staged diff to added lines so removing a
  leaked secret is not itself blocked
- settings.json: autoMemoryEnabled false (kit sessions carry prospect data)
- mark both resolved in the improvements report

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
…t claim, cut 0.2.0

- stop-reminder.sh emits JSON systemMessage (stderr-on-exit-0 only shows as a hook-error notice) (P1.7)
- Remove undocumented security-guidance plugin so the kit runs anywhere out of the box (P1.8)
- Correct PreCompact re-injection claim in README/CLAUDE.md; credit SessionStart as the durable path
- CHANGELOG: roll [Unreleased] + this pass's fixes under 0.2.0 (tag v0.2.0 at merge) (P2.7)

https://claude.ai/code/session_01Fnr5bhunxFt116zU1yM1eC
…nts-analysis-znudrv

# Conflicts:
#	CHANGELOG.md
@etrebels
etrebels marked this pull request as ready for review June 10, 2026 10:03
@etrebels
etrebels merged commit 7b9b9e2 into main Jun 10, 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.

2 participants