blackbox-logic-flow-audit
Universal programmatic black-box logic, wiring, and state flow verification standard across ANY software project.
Skill by hemanth17r
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hemanth17r-blackbox-logic-flow-audit-e4a725
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, data, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
blackbox-logic-flow-audit- Description
- Universal programmatic black-box logic, wiring, and state flow verification standard across ANY software project. Mandates fast, headless in-memory simulations (<50ms, zero browser/DOM click overhead) whenever data mappers, parsers, state mutations, or navigation stacks are modified. Enforces 3 non-negotiable flow invariants: Source-to-Sink Column Preservation (zero dropped fields), Action Orthogonality (e.g. Pause/Toggle vs. Delete/Remove state isolation), and Navigation Reversibility (push/pop stack symmetry). Trigger when modifying data models, parsers, state stores, navigation routers, or when asked to "audit wiring", "black box test", "verify data travel", "prevent regression", "state flow check", or "logic flow verification".
- License
- MIT
- Instructions
- 64 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Universal Black-Box Logic & Wiring Flow Standard
## 1. The Core Law: Zero Blind-Assumptions on Data Travel
- **Build compilation (`npm run build`, `cargo check`, etc.) only proves syntax and types—it NEVER proves runtime data flow or state correctness.**
- Passing isolated math unit tests does NOT prove that database columns survive ingestion, or that UI actions don't clobber each other.
- **The Ground-Truth Mandate**: Before any non-trivial logic or wiring changeset is declared complete, the code MUST pass programmatic, headless in-memory flow simulations verifying the journey from source to sink.
---
## 2. Mandatory Trigger Threshold (Signal-to-Noise Filter)
To prevent developer drag, this protocol enforces a strict binary trigger threshold:
### EXEMPT (Zero flow test required)
- Pure styling, CSS, Tailwind classes, color adjustments, padding/margins.
- Static copy, spelling, typographic adjustments, labels.
- SVG assets, static illustrations, presentation-only layout wrappers.
### MANDATORY TRIGGER (Must execute programmatic flow verification)
- **Data Ingestion & Mappers**: Modifying functions that parse, serialize, deserialize, or transform database/API payloads into application state (e.g., `parseProfileData`, DTO converters).
- **Dual-Action / Multi-Intent Interfaces**: Controls where two related actions exist on the same entity (e.g., Toggle/Pause vs. Delete/Remove; Archive vs. Trash; Mute vs. Block).
- **Navigation & Routing Stacks**: Logic controlling screen pushes, screen pops, modal stacks, tab bars, or history reversibility.
- **State Store Mutations**: Reducers, context setters, store actions, or cache updaters modifying collections or active selection states.
---
## 3. The 3 Universal In-Memory Flow Invariants (< 50ms, Zero DOM I/O)
Every flow simulation must run headlessly in memory (Google Small Test standard: `< 50ms`, zero network, zero disk I/O, zero slow browser clicking):
### Invariant 1: Source-to-Sink Column Preservation (Zero-Drop Contract)
- **The Problem**: A schema adds `saved_skills` or `metadata`, but the parser only extracts `skills`. The new column is silently dropped to `undefined`, breaking downstream consumers.
- **The Simulation**:
1. Construct a comprehensive mock raw backend payload containing every current schema field.
2. Pass it through the ingestion mapper/parser function.
3. **Assert**: Every single field is present, mapped to its canonical type, and non-undefined in the parsed output object.
### Invariant 2: Action Orthogonality (State Separation Contract)
- **The Problem**: Clicking "Toggle OFF" updates the active list by deleting the item entirely, mimicking the "Delete" button.
- **The Simulation**:
1. Initialize state with an entity active in both the *inventory* and the *active radar/duty list*.
2. Execute **Action A (Deactivate / Toggle OFF)**.
- **Assert**: Item is removed from the *active list*, but strictly REMAINS in the *inventory list* in an inactive state.
3. Execute **Action B (Permanent Delete / Remove)**.
- **Assert**: Item is purged from BOTH the *active list* and the *inventory list*.
### Invariant 3: Navigation Reversibility (Stack Symmetry Contract)
- **The Problem**: Screen navigation mutates a secondary tab/global state alongside the screen stack. Popping the screen stack leaves the secondary state orphaned, requiring a double-back or hiding the shell header.
- **The Simulation**:
1. Record starting root state: `Stack = [Root]`, `ActiveScreen = Root`.
2. Trigger `pushScreen(DetailScreen)`.
3. Trigger single `popScreen()`.
4. **Assert**: State returns strictly to `Stack = [Root]`, `ActiveScreen = Root`, with ZERO hanging subscreen flags or tab locks.
---
## 4. Verification & Delivery Protocol
When completing a task that crossed the Mandatory Trigger Threshold, document the verification in the standard deliverable protocol:
- **Before**: Broken data travel, dropped column, or state collision.
- **After**: Surgical code fix and co-developed deterministic flow test.
- **Improvement**: Programmatic proof showing the `< 50ms` in-memory test suite passing.From hemanth17r/ahr-workflow, MIT.
More from hemanth17r/ahr-workflow
- 0.645score
ground-up-engineering-protocol
hemanth17r
Universal architectural standard for autonomous coding agents to build any software system from scratch.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
grounded-founder-outreach
hemanth17r
Generates personalized, grounded, high-conviction founder outreach messages and application notes across all platforms (Wellfound, Y Combinator Work at a…
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
autonomous-division-of-labor
hemanth17r
Enforces maximum agent ownership and strict division of labor for setups, installations, and multi-device workflows.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
adversarial-mechanism-design
hemanth17r
Universal mechanism design, reverse game theory, incentive engineering, and adversarial bad-actor defense standard for ANY product, platform, or marketplace.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-db-resilience
hemanth17r
Universal database concurrency, production lock safety, and operational resilience standard.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-product-ux
hemanth17r
Universal product design, cognitive psychology, microcopy economy, and UX architecture standard (Apple, Google, Stripe level).
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-ui-craft
hemanth17r
Universal cognitive psychology and craftsmanship standard for high-conviction UI (Apple, Google, Linear, Stripe level).
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
blackbox-logic-flow-audit
hemanth17r
Universal programmatic black-box logic, wiring, and state flow verification standard across ANY software project.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-db-craft
hemanth17r
Universal database architecture and performance standard adapted from Big Tech for lean systems.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
feynman-intuitive-explainer
hemanth17r
Translates complex technical jargon, engineering architecture, and mathematical concepts into crystal-clear, intuitive real-world analogies (The Feynman…
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
fluid-tactile-motion
hemanth17r
Universal spring motion physics, tactile micro-interactions, and optimistic UI architecture standard (Apple iOS, Linear, LinkedIn level).
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
idea-reality-check
hemanth17r
Conducts a ruthless prior-art investigation, package shortcut check, and competitive reality check on technical tools, packages, or architectural proposals…
SkillAFreshness: A★ 22Claude Code +9
Signals
- Stars
- 22
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Oct 19, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hemanth17r/ahr-workflow
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from hemanth17r
- 0.645score
adversarial-mechanism-design
hemanth17r
Universal mechanism design, reverse game theory, incentive engineering, and adversarial bad-actor defense standard for ANY product, platform, or marketplace.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-product-ux
hemanth17r
Universal product design, cognitive psychology, microcopy economy, and UX architecture standard (Apple, Google, Stripe level).
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
autonomous-division-of-labor
hemanth17r
Enforces maximum agent ownership and strict division of labor for setups, installations, and multi-device workflows.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-db-craft
hemanth17r
Universal database architecture and performance standard adapted from Big Tech for lean systems.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-db-resilience
hemanth17r
Universal database concurrency, production lock safety, and operational resilience standard.
SkillAFreshness: A★ 22Claude Code +9 - 0.645score
big-tech-ui-craft
hemanth17r
Universal cognitive psychology and craftsmanship standard for high-conviction UI (Apple, Google, Linear, Stripe level).
SkillAFreshness: A★ 22Claude Code +9
Cite this page
blackbox-logic-flow-audit skill. Agent Mart. https://agentmart.dev/skills/hemanth17r-blackbox-logic-flow-audit-e4a725 (last updated 2026-10-24)