Better HN
topnewbestaskshowjobs
Log inSign up

Jonverrier

5 karma · joined Oct 28, 2020 (6y ago) · 10 submissions

Submissions

comment 6mo ago · link · parent

Some technical commentary.

There is a consumer guide that sets out how to use the package. In essence you decide which controls you want, if they are warnings or prevention, and then we generate a guardrails.yaml which is used by the GitHub hooks.

We also provide a utility to generate a markdown file RIPSTOP.md you can include into your AGENTS.md so the LLM knows the environment it is in.

The full set of controls:

pii: Common PII patterns in files you commit (with exemptions) path-guard: Changes under protected globs need an approval trailer in the final commit message (e.g. CHANGE-APPROVED: TICKET-123). test-skip: New or disallowed test-skip / disabled-test patterns; optional ticket requirement. history-guard: Force-push and remote branch delete on protected branch patterns. ripstop-md-fresh: Committed RIPSTOP.md exists and its embedded config hash matches the resolved guardrails.yaml. reflog-witness: Appends witness JSON per run.

2.

Show HN: RipStop – Git guardrails to reduce impact if your code agent goes wild(github.com ↗)

2 points · by Jonverrier · 6mo ago · 1 comment

comment 8mo ago · link · parent

A few months ago I shared C4-Agent, an MCP server that generates C4-style docs and Mermaid diagrams from your codebase while you work in the IDE. It’s flexible and interactive, but depends on MCP, and the Agents, even now, seem to drift off on large code bases.

C4-Auto is the other half: a CLI-only tool that does the same kind of thing in a more boring, repeatable way. No MCP, no Agent integration-just a command you run (locally or in CI) that:

- Walks your TypeScript/TSX tree (skips node_modules, dist, .git) - Uses an LLM to add or refresh a short module-level header comment in each file (with a date so you only regenerate when stale) - Builds C4 Component and Context diagrams in Mermaid from those headers and a Component and a Context diagram per directory

You pick a time window (--one-week, --two-weeks, --one-month) so you’re not re-running the LLM on everything every time. Same “just enough” C4 idea: docs generated from the code so they don’t rot.

Repo and more detail: https://github.com/jonverrier/C4-Auto MIT License

So: C4-Agent = MCP, interactive, “fun”. C4-Auto = CLI, scriptable, more reliable. Happy to answer questions or take feedback.

4.

C4-Auto – CLI that auto-generates C4 architecture docs for TypeScript(github.com ↗)

1 points · by Jonverrier · 8mo ago · 1 comment

5.

Show HN: Requirement Linter, an AI-powered tool to improve software requirements(github.com ↗)

1 points · by Jonverrier · 1y ago · discuss

6.

Show HN: Standardising 'Unit Tests' for Prompts(github.com ↗)

3 points · by Jonverrier · 1y ago · discuss

comment 1y ago · link · parent

Hi,

I had a look at Bela.live. Thanks for the link, it’s obviously very comprehensive. Philosophically, I don’t think these tools should be storing things in their own database - I think the diagrams / markup should be going back to the repo in a format the LLMs can then use for further context.

Your tool is nice, and there is definitely mileage here. I think though if I am honest, my view is the same as with Bela.live : the features you extract should be able to go back to the repo / made available to the models once the developer / product engineer has validated them.

I think that tools that can’t open up fully to bring the models into the workflow as first class participants will be overtaken by those that do.

8.

Show HN: AI-Powered Documentation Generator for Legacy Codebases(github.com ↗)

8 points · by Jonverrier · 1y ago · 2 comments