feat(deck): source links for both labs, plus unslop pass and verify tune
- Add 'Source on Gitea' link next to every 'Open the X lab' link, pointing to https://git.marcospaulo.dev.br/netcracker/ai-for-dummies/... - Same download links added to both SilverBullet guides (Preview + Source on Gitea) under Path A and Path B. - Tighten standalone verify rule: only block external <script src> and <link rel=stylesheet href>. Plain <a href=https://...> hyperlinks are not runtime dependencies. - Unslop pass across all deck text, SilverBullet EN/PT, hands-on/rules header/label/README: kill triplets, dramatic single-word sentences, 'matrix below / looks good / cuts the opposite failure' rhetoric. Header subtitle now reads 'Toggle rules. Same task, different coverage.' (was 'different leash'). verify: all six checks pass.
This commit is contained in:
@@ -384,10 +384,10 @@ Compare:
|
||||
### Hands-on rules lab
|
||||
|
||||
A second lab at `hands-on/rules/` mirrors the starter's visual system and runs
|
||||
the same exercise against rule sources instead of feature work. It lists five
|
||||
toggleable rule sources — `AGENTS.md`, the `gate-discipline` skill body, the
|
||||
Husky `pre-commit` hook, the `check-ui-contract.mjs` enforcer, and
|
||||
`commitlint` — and rebuilds the **ruled** prompt live as each toggle flips.
|
||||
the same exercise against rule sources. It lists five toggleable rule sources
|
||||
— `AGENTS.md`, the `gate-discipline` skill body, the Husky `pre-commit` hook,
|
||||
the `check-ui-contract.mjs` enforcer, and `commitlint` — and rebuilds the
|
||||
**ruled** prompt live as each toggle flips.
|
||||
|
||||
Run it:
|
||||
|
||||
@@ -397,9 +397,8 @@ python3 -m http.server 4173
|
||||
|
||||
Open [http://localhost:4173/hands-on/rules/](http://localhost:4173/hands-on/rules/).
|
||||
Compare the **naive** and **ruled** prompt panels. Toggle rules off to shrink
|
||||
the prompt; toggle them on to widen the leash. Copy the final prompt and run
|
||||
it against a real coding agent — the lab is deliberately short so the spend
|
||||
stays bounded.
|
||||
the prompt; toggle them on to add more guards. Copy the final prompt and run
|
||||
it against a real coding agent.
|
||||
|
||||
## Rules and enforcement case study
|
||||
|
||||
|
||||
Reference in New Issue
Block a user