mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
2.9 KiB
2.9 KiB
Agent Testing Roadmap
This roadmap tracks how AI-agent driven testing should evolve for SeedPass.
Current Baseline (Implemented)
The current baseline is available via:
python scripts/ai_tui_agent_test.pydocs/ai_agent_tui_testing.md
Current strengths:
- deterministic end-to-end TUI flow in isolated
HOME - structured artifacts (
report.json, clean/raw transcripts) - coverage of onboarding, invalid inputs, add/retrieve/search/list/modify/archive, 2FA display, settings toggles, lock/unlock, stats, graceful exit
Known limitations:
- single large scenario can be harder to triage than smaller suites
- prompt matching is text-driven and sensitive to wording changes
- no dedicated “stress mode” for repeated random-but-seeded menu fuzzing yet
Near-Term Roadmap (Next 1-2 cycles)
- Split harness into scenario profiles:
core: fast smoke pathextended: all entry types + settings pathsstress: repeated deterministic negative-input cycles
- Add stricter artifact schema checks:
- fail when unknown coverage keys appear
- include app version, git SHA, and runtime metadata in
report.json
- Add targeted assertions for critical post-conditions:
- archive state consistency after restore
- lock/unlock recovers all managers and key hierarchy
- Add a compact summary command for agents:
- parse latest report and print one-line status + failed checkpoints
Mid-Term Roadmap
- Differential transcript checks:
- compare current clean transcript against approved baselines
- allow configurable “soft differences” (timestamps, progress bars)
- Seeded input-fuzz campaigns:
- deterministic generation of invalid menu/index/text inputs
- reproducible runs via fixed RNG seed in report metadata
- Failure clustering:
- classify failures into prompt drift, logic errors, state corruption, crash
- CI lane for agent harness:
- run
coreon every PR - run
extendedon merge queue/nightly
- run
Long-Term Roadmap
- Coverage-driven TUI planning:
- map harness steps to code regions and prioritize unexercised paths
- Stateful model checking for menu transitions:
- verify reachable/valid transitions and back-navigation invariants
- Multi-profile and migration scenario pack:
- legacy index import/migration and cross-profile operations in one harness family
- Security-oriented interactive tests:
- secret-mode leakage checks in output streams
- clipboard behavior assertions in controlled environments
Operating Rules for Agents
- Prefer deterministic inputs and stable prompt matching.
- Keep each new checkpoint tied to a concrete user-visible behavior.
- Add regression tests in
src/tests/for every discovered logic bug. - Treat harness failures as either:
- product defect to fix, or
- harness synchronization defect to harden.
- Record the final decision in PR notes with report paths.