feat(demo-sparkles): add hackathon demo scripts for SliceCheck scenarios - #131
Open
neomatrix369 wants to merge 5 commits into
Open
feat(demo-sparkles): add hackathon demo scripts for SliceCheck scenarios#131neomatrix369 wants to merge 5 commits into
neomatrix369 wants to merge 5 commits into
Conversation
Three runnable scenarios covering fail→fix (scenario 1), open PR audit (scenario 2), and retrospective closed-PR audit (scenario 3), plus a preflight checker to validate all dependencies before the live demo. Adds the SliceCheck health endpoint slice spec to PROGRESS.md. Claude-Session: https://claude.ai/code/session_01WUgA32wA2VYbLkioRkSh7w
HEAD lacked a final newline in .gitignore and demo/preflight.sh. The hook auto-fixed them, then conflicted with the same unstaged working-tree change and rolled back, blocking the push.
SliceCheck preflight lives in demo-sparkles/; the extra demo/ copy was unused and kept colliding with hook auto-fixes.
Undo setup-secrets.sh by deleting Cloudflare Worker secrets and clearing the local webhook-secret cache.
code-review-graph reviewOverall risk: 0.85 (CRITICAL) — 10 changed function(s)/class(es), 2 affected flow(s), 10 test gap(s) Risk-scored changes
Affected execution flows
Test gaps
Token savings: this graph-backed report used ~10,157 fewer tokens (~78%) than reading every changed file in full (estimated, chars/4 approximation). Powered by code-review-graph — local-first analysis; no code leaves the CI runner. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds SliceCheck hackathon demo scripts under
demo-sparkles/(preflight, scenarios, setup/teardown secrets) so the Sparkles demo can configure Cloudflare Worker secrets and walk the audit/PR flows.Test Results
Python (
pytest— sandbox/tests, guard/tests)CLI (
npm --prefix cli run test:coverage)Quality Gates
Checklist
./scripts/quality-gates.shpasses locallyTest plan
bash demo-sparkles/setup-secrets.shagainst Workerslicecheck(wrangler already logged in)YES=1 bash demo-sparkles/teardown-secrets.shand confirm secrets removed + localsecrets/slicecheck-webhook-secretclearedbash demo-sparkles/preflight.shwithGITHUB_TOKENsetMade with Cursor