ansible-automation-eng…
Ansible automation: playbooks, roles, collections, Molecule testing, Vault security.
Systematic edge cases by data type for business logic review.
$ npx -y skills add notque/vexjoy-agent --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Systematic edge cases by data type for business logic review.
Systematic edge cases by data type for business logic review.
| Data Type | Edge Cases | |-----------|-----------| | Integers | 0, 1, -1, MAX_INT, MIN_INT, overflow, underflow | | Floats | 0.0, -0.0, NaN, Infinity, -Infinity, precision loss, rounding | | Decimals (money) | 0.00, negative, MAX_DECIMAL, rounding at 2 decimals | | Percentages | 0%, 100%, >100%, negative, fractional | | Counts | 0, 1, negative, fractional (if invalid) |
**Common Bugs**: Division by zero, integer truncation needing float, overflow unchecked, rounding compounding in loops, off-by-one in range checks.
| Data Type | Edge Cases | |-----------|-----------| | Text | empty "", null, whitespace " ", very long (>1MB), special chars, unicode | | Names | empty, single char, unicode, trailing spaces, hyphens, apostrophes | | Email | empty, invalid format, very long, unicode domains | | URLs | empty, invalid scheme, localhost, very long, unicode | | Passwords | empty, min/max length, special char requirements |
**Common Bugs**: Empty vs null conflation, whitespace not trimmed, length limits unenforced, unicode mishandled, SQL injection.
| Data Type | Edge Cases | |-----------|-----------| | Arrays | empty [], single [x], null elements, duplicates, very large (>10k) | | Maps | empty, null keys, null values, key collisions |
**Common Bugs**: Index out of bounds on empty, null pointer on element access, loop assumes non-empty, O(n^2) on large sets, duplicate handling wrong.
| Data Type | Edge Cases | |-----------|-----------| | Dates | null, epoch (1970-01-01), year 2038, leap years, Feb 29 | | Times | midnight (00:00), null, DST transitions | | Timestamps | null, epoch, future, past, timezone handling | | Durations | 0 seconds, negative, overflow | | Ranges | start = end, start > end, null start/end |
**Common Bugs**: DST 1-hour shifts, leap year logic wrong (2000 leap, 1900 not), timezone unspecified, date arithmetic wrong near boundaries, year 2038 overflow.
| Data Type | Edge Cases | |-----------|-----------| | Objects | null, empty {}, missing required fields, extra fields | | Nested objects | null at any level, deeply nested (>10), circular references | | Optional fields | null, undefined, missing entirely | | Polymorphic types | all possible types, invalid type |
**Common Bugs**: Null pointer deref, missing field unhandled, extra fields failing validation, nested null unchecked, type assertion fails.
| Data Type | Edge Cases | |-----------|-----------| | Files | missing, empty (0 bytes), very large (>100MB), wrong format, corrupt | | Uploads | timeout mid-upload, duplicate filename, path traversal, malicious content | | Paths | empty, null, relative, absolute, non-existent, symlinks |
**Common Bugs**: Missing file unchecked, large file not streamed, path traversal escape, permissions unchecked, temp files not cleaned.
| Data Type | Edge Cases | |-----------|-----------| | Booleans | true, false, null (tri-state), default value | | Flags | unset (null) vs false, bitwise operations |
**Common Bugs**: Null treated as false (or true), default incorrect, bitwise logic inverted.
| State Type | Edge Cases | |-----------|-----------| | Status enum | all valid, invalid, null, case sensitivity | | Transitions | all valid FROM->TO, invalid, concurrent changes | | Terminal states | can't exit, proper cleanup | | Error states | recovery path, retry, timeout |
**Common Bugs**: Invalid transition allowed, terminal escapable, concurrent race, error unrecoverable, state persisted before validation.
| Type | Edge Cases | |------|-----------| | Tax | 0%, 100%, fractional rates, compound, rounding | | Discounts | 0%, 100%, >100% (invalid), stacking | | Totals | sum of zeros, negatives, overflow, precision loss | | Averages | divide by zero, all zeros, single value, rounding |
**Common Bugs**: Division by zero, wrong order of operations, rounding at wrong step, overflow unchecked, negative amounts unvalidated.
| Pattern | Edge Cases | |---------|-----------| | Read-modify-write | race, lost update, stale read | | Increment/decrement | race on counter, overflow | | Check-then-act | state changed between check and act | | Resource allocation | double-spend, over-allocation, deadlock |
**Common Bugs**: Check-then-act race, lost update, deadlock from lock ordering, double-spend, stale read after concurrent update.
Essays and writing behind this toolkit live at vexjoy.com. VexJoy Agent connects plain-English requests to specialist agents, skills, and workflows. /do selects the knowledge and tools needed for your task.
Repo: notque/vexjoy-agent
Ansible automation: playbooks, roles, collections, Molecule testing, Vault security.
**Scope**: Module selection patterns, builtin vs command/shell decisions, collection modules, and version-specific module changes **Version range**:…
**Scope**: Molecule test scenarios, ansible-lint rules, idempotency validation, and check-mode patterns **Version range**: Molecule 6.0+ / ansible-lint 6.0+ /…
Universal rules injected by /do at dispatch. Each agent's .md file supplies domain rules.
**Scope**: Failure modes in agent output style — over-reporting, self-congratulation, verbose narration, and hedging. Covers what to detect and how to fix…
Zero-dependency combat visual upgrades: CSS particle replacement, Framer Motion combat juice, CSS 3D card transforms.