Repository navigation
test(uat): validate the published AI workflow with independent developers #692
Copy link
Copy link
Closed
Labels
area: agentAgent task bundle and user-owned agent workflowAgent task bundle and user-owned agent workflowarea: dev-experienceContributor local setup and agent workflowContributor local setup and agent workflowarea: mcpModel Context Protocol integrationModel Context Protocol integrationarea: packagingnpm package metadata or published contentsnpm package metadata or published contentscompetitive-parityWork driven by gaps versus adjacent productsWork driven by gaps versus adjacent productsexamplesExample projects, fixtures, or adoption demosExample projects, fixtures, or adoption demospriority: criticalTop-priority work required for product viabilityTop-priority work required for product viabilitytype: testTest coverage, fixtures, or verification improvementsTest coverage, fixtures, or verification improvements
Description
Parent
Human acceptance gate for #675.
Problem
Automated child-repository tests prove that commands execute. Agent efficacy benchmarks prove whether treatment improves model outcomes. Neither proves that real developers can install CodeDecay, understand its trust model, connect their own agent, act on the output, and complete a repair safely without maintainer knowledge.
Goal
Run reproducible task-based usability and end-user acceptance testing against the packed or published npm package with independent developers.
Participant and environment requirements
- Before a milestone release, test with at least three participants who did not implement the feature.
- Include an AI-assisted individual developer, an experienced software engineer, and a team/DevOps or platform-oriented user when available.
- Use fresh isolated repositories and normal documented installation paths.
- Do not preconfigure hidden maintainer state or explain internal package architecture.
Required tasks
Participants must:
- Install the published package and discover the primary AI workflow.
- Supply a requirement with an ambiguity and resolve it.
- Connect or select a user-owned agent/provider, or use deterministic no-model mode.
- Run preflight/session guidance.
- Review evidence, memory, AI suggestions, and limitations without confusing their trust levels.
- Let the agent create an intentionally incomplete implementation.
- Run investigation and approved verification.
- Repair the planted defect and revalidate the current tree.
- Handle one blocked unsafe action correctly.
- Find the final requirement verdict and remaining uncertainty.
Acceptance criteria
- Publish a versioned UAT kit with participant script, repository fixtures, planted defects, clean decoys, task IDs, observer rubric, consent/privacy notes, and result schema.
- Run against the packed or published npm package, never workspace-only imports.
- Record task completion, time, attempts, clarification requests, unsafe actions, mistaken trust interpretation, command failures, abandonment, and participant role/environment.
- Record whether the participant can explain what is deterministic evidence, runtime/tool proof, memory, AI suggestion, unverified, needs-human, and verified.
- No participant mistakes agent text for proof or an unverified status for merge-safe.
- Every participant can discover the next action and rerun command without reading source code.
- The primary workflow completes without maintainer intervention for the agreed success threshold.
- Installation, authentication/provider, package-manager, terminal, MCP, and documentation friction are tracked separately from analysis quality.
- Capture sanitized command/artifact references without collecting repository secrets, raw private source, provider credentials, or hidden telemetry.
- Convert every release-blocking usability failure into a linked focused issue.
- Publish an anonymized Markdown summary and machine-readable result artifact.
- Repeat the critical workflow after material CLI/session/report changes.
- Add a deterministic scripted UAT smoke in CI for workflow drift, while preserving real human sessions as milestone evidence.
- Do not close this issue using only an agent pretending to be a human participant.
UAT scenarios
UAT-HUMAN-1: Fresh install and first useful result.UAT-HUMAN-2: Ambiguous requirement and clarification.UAT-HUMAN-3: Weak test exists but does not prove the production path.UAT-HUMAN-4: Approved behavioral experiment finds the planted defect.UAT-HUMAN-5: Agent repair plus current-tree revalidation.UAT-HUMAN-6: Unsafe command or external target is blocked and correctly understood.UAT-HUMAN-7: Clean decoy produces no unnecessary repair.UAT-HUMAN-8: Participant explains final evidence and limitations accurately.
Agentic QA
Use a real user-owned agent during at least one participant session, but keep human comprehension and safe task completion as the oracle. Also run the deterministic fake-agent workflow to separate product drift from model variance.
Safety and privacy
- Explicit participant consent and no hidden recording or telemetry.
- Use synthetic repositories with no customer data.
- Never collect provider keys, secret values, private source, or hidden chain-of-thought.
- Sanitize artifacts before publication.
Dependencies
- Builds on Add a real child-repository end-to-end acceptance gate #655, test(ai-action): prove built CLI and GitHub Action forwarding end to end #667, feat(agent): add continuous before-during-after guidance sessions #677, feat(loop): separate builder and verifier roles with bounded repair convergence #680, security(agent-runtime): enforce a capability policy across untrusted agent workflows #690, and the published workflow produced by the implementation issues under epic(ai-native): make CodeDecay a verifiably AI-first engineering safety agent #675.
- Runs alongside the agent efficacy benchmark in test(eval): prove CodeDecay improves verified agent outcomes over the agent alone #683; neither substitutes for the other.
- Must pass before epic(ai-native): make CodeDecay a verifiably AI-first engineering safety agent #675 can close.
Validation
- completed participant records and anonymized summary
- published-package install and workflow evidence
- deterministic UAT smoke
- linked issues for unresolved blockers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: agentAgent task bundle and user-owned agent workflowAgent task bundle and user-owned agent workflowarea: dev-experienceContributor local setup and agent workflowContributor local setup and agent workflowarea: mcpModel Context Protocol integrationModel Context Protocol integrationarea: packagingnpm package metadata or published contentsnpm package metadata or published contentscompetitive-parityWork driven by gaps versus adjacent productsWork driven by gaps versus adjacent productsexamplesExample projects, fixtures, or adoption demosExample projects, fixtures, or adoption demospriority: criticalTop-priority work required for product viabilityTop-priority work required for product viabilitytype: testTest coverage, fixtures, or verification improvementsTest coverage, fixtures, or verification improvements
Activity
kunaldhongade commentedon Aug 6, 2026
Reopened: PR #758 only shipped the versioned UAT kit scaffold under
docs/evals/uat-kit/. Independent human sessions are still required before this issue can close. GitHub auto-closed from the phrase “does not close #692” matching a close keyword.kunaldhongade commentedon Aug 6, 2026
Kit advancement merged in #759 (
049bef2):node scripts/human-uat-setup.mjstasks.json(UAT-HUMAN-1..8)pnpm test:human-uat-smoke(humanEvidence: false)Still open — needs ≥3 independent human sessions + anonymized results before this issue (and #675) can finish.
kunaldhongade commentedon Aug 6, 2026
Packaging slice merged in #760:
human-uat-validate-result/human-uat-summarizehumanEvidencetooling path)Still open — needs ≥3 independent human sessions before this issue / #675 can finish.
kunaldhongade commentedon Aug 6, 2026
Live session path is ready:
@submuxhq/codedecay@0.4.1through UAT-HUMAN-1..7 (probe fail→repair→401, decoy low, unsafe skipped, revalidate fixed findings). Rehearsal is not human evidence.pnpm uat:start-session→ fixtures + packed consumer +results/*.pending.jsondocs/evals/uat-kit/live-session.mdStill need: 3 independent participants (not implementers). Reply here or in chat with names/roles/times and we run sessions against the pending result files.
kunaldhongade commentedon Aug 6, 2026
Resolved (engineering delivery)
Closing the kit / packaging / smoke / session-ops delivery for this issue.
Shipped on main:
docs/evals/uat-kit/) with tasks, fixtures, outreach, templates, schemapnpm test:human-uat-smoke,humanEvidence: false)pnpm uat:start-session)Split remaining human gate
Independent three-participant sessions are not claimed here (issue forbade agent role-play as evidence).
Tracked in: #763