sqlsimstudio-manual-test
Skill42 starsChanged 32 days agoMITView on GitHub
Source-repository-only guided sqlsim Studio manual acceptance test. Use when a contributor asks to start or resume the repository MANUAL-TEST.md checklist, verify a release candidate built from this checkout, record GUI evidence, diagnose acceptance failures, or produce a session report. DO NOT USE FOR: ordinary use of an installed/released Studio package, Studio workload execution, tiered load tests (use sqlsimstudio-load-test), or general Studio configuration help (use sqlsimstudio).
In this repository15 other files it gives its agents.
- sqlpysim/AGENTS.mdAGENTS.md
- sqlsim/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- sqlpysim/.github/copilot-instructions.mdCopilot instructions
- sqlsim/.github/copilot-instructions.mdCopilot instructions
- docs/llms.txtllms.txt
- sqlpysimSkill
- sqlsimSkill
- sqlsimstudio-load-testSkill
- sqlsimstudioSkill
- sqlsimtools-buildSkill
- sqlsimtools-project-statsSkill
- sqlsimtools-releaseSkill
- sqlpysimSkill
- sqlsimSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. About 0 are common, 21 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈21
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Read these before starting or resuming:
- Distinctive: line 26
If implementation and the manual checklist disagree, stop and identify the drift.
- Very specific: line 37
If no mode is supplied, infer resume when an incomplete report exists.
- Very specific: line 44
Use repository wrappers: build.ps1, smoke-test.ps1, and gui-smoke-test.ps1.
- Distinctive: line 46
Before build, test, or executable commands, inspect the active terminal's last command and exit code.
- Distinctive: line 48
Never print, store, request through chat, screenshot, or log passwords, tokens, or one-time bootstrap URLs.
- Very specific: line 51
Default to AdventureWorksLT, which the checklist uses for every SQL step so the same pass runs on SQL Server and Azure SQL Database.
- Very specific: line 59
Never mark a visual/manual check Pass for the user.
- Very specific: line 85
Use only these manual statuses: Pending, Pass, Fail, Blocked, Skip.
- Very specific: line 86
Keep Known gap reviewed in its own section/count.
- Very specific: line 88
Update the report immediately after every answer so resume is reliable.
- Distinctive: line 93
Read the authoritative sources.
- Distinctive: line 96
Check the active terminal context.
- Very specific: line 99
Create the session report with all test IDs initially Pending.
- Distinctive: line 100
Stop any running Studio instance before rebuilding.
- Distinctive: line 101
Run automated preflight in this order:
- Distinctive: line 118
Use this exact compact shape:
- Distinctive: line 143
Write the status and observation to the report.
- Distinctive: line 144
If Pass, present the next test.
- Distinctive: line 145
If Fail, ask only for the missing non-secret observation/evidence needed to diagnose, then fix or record the defect before proceeding.
- Distinctive: line 147
If Blocked, record the blocker and offer the exact unblock action.
- Distinctive: line 148
If Skip, record a concrete reason.
- Distinctive: line 160
Read its metadata, outcomes, last observation, and next pending ID.
- Distinctive: line 161
Verify the commit and package hash still match.
- Distinctive: line 172
Test ID and exact expected behavior.
- Distinctive: line 181
Never collect a screenshot while a password or token is visible.
- Distinctive: line 185
When no tests remain Pending:
- Distinctive: line 199
When Studio gains or removes a GUI control, update all three together:
- Distinctive: line 205
Do not allow a formerly known-gap control to become implemented without a positive manual test and Playwright assertion.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Guided sqlsim Studio Manual Test
Guide the user through the repository's manual acceptance test in a series of short chat turns. Give one exact test or tightly related action group at a time, wait for the user's observation, record it, and then continue.
Authoritative Sources
Read these before starting or resuming:
sqlsimstudio/MANUAL-TEST.md: test IDs, inputs, expected results, evidence requirements, and known gaps.sqlsimstudio/README.md: current supported behavior and test commands.sqlsimstudio/gui-tests/studio.spec.cjs: current automated browser coverage.
If implementation and the manual checklist disagree, stop and identify the drift. Do not silently test obsolete behavior.
Invocation Modes
start: begin a new complete manual acceptance session.resume: continue the latest incomplete session report.status: report totals and the next pending test without advancing.section <number>: start or resume a specific checklist section.next: present the next pending test.
If no mode is supplied, infer resume when an incomplete report exists;
otherwise use start.
Non-Negotiable Rules
- Work from the
sqlsimstudiofolder in the repository root on Windows unless the user explicitly selects another supported platform. - Use repository wrappers:
build.ps1,smoke-test.ps1, andgui-smoke-test.ps1. Do not invoke ad hoc build commands. - Before build, test, or executable commands, inspect the active terminal's last command and exit code. Do not rerun a successful current-artifact check.
- Never print, store, request through chat, screenshot, or log passwords, tokens, or one-time bootstrap URLs. The user types secrets directly into the browser when a future credential test explicitly requires them.
- Default to
AdventureWorksLT, which the checklist uses for every SQL step so the same pass runs on SQL Server and Azure SQL Database. Preflight it on the current machine before the first test and never reuse a remembered server or database name without that check. For Azure targets, confirm the authentication mode with the user first and prefer a token obtained outside chat over interactive sign-in, which prompts on every run. - Query Store is optional. Run its preflight before presenting QS-01/QS-02. If no eligible database exists, record both as Skip with the reason.
- Never mark a visual/manual check Pass for the user. Automated checks are
recorded separately as
Automated pass; the user decides manual outcomes. - Present one test ID at a time, except when adjacent IDs are one inseparable observation. Do not paste the whole checklist into chat.
- On Fail, stop advancing. Record expected versus actual, gather non-secret evidence, diagnose the defect, and either fix/retest or record a defect link.
- Visible but unwired controls listed in MANUAL-TEST.md section 15 are
Known gap reviewed, never Pass.
Session Report
Store each run under this ignored path:
sqlsimstudio/build/manual-test-results/YYYYMMDD-HHmmss-<commit>.mdThe report must contain:
- Date, tester, commit, branch, package path and SHA-256.
- Windows, browser, SQL target, ODBC, Python, and mssql-python versions.
- Automated preflight command outcomes.
- A row for every manual test ID with status, observation, and evidence path.
- Known gaps reviewed.
- Pass/Fail/Blocked/Skip totals and release recommendation.
Use only these manual statuses: Pending, Pass, Fail, Blocked, Skip.
Keep Known gap reviewed in its own section/count.
Update the report immediately after every answer so resume is reliable. Do
not edit the canonical MANUAL-TEST.md when recording a run.
Start Procedure
- Read the authoritative sources.
- Confirm repository root, branch, commit, worktree state, and package path. Existing source changes are allowed; record that the worktree was dirty.
- Check the active terminal context.
- Collect only missing non-secret metadata. Prefer detected values. Ask for the tester name and alternate SQL target only if not available or not default.
- Create the session report with all test IDs initially
Pending. - Stop any running Studio instance before rebuilding.
Run automated preflight in this order:
.\build.ps1 -Runtime win-x64 .\smoke-test.ps1 -SkipBuild -StudioExecutable .\build\win-x64\SqlSimStudio.exe .\gui-smoke-test.ps1 -SkipBuild npm audit --audit-level=high- Record exact exit outcomes and the GUI report path. A failed preflight blocks manual testing until diagnosed or explicitly recorded as Blocked.
- Launch the packaged Studio executable normally. Confirm the process and loopback listener, but do not expose its bootstrap URL.
- Begin with PF-01 or the requested section.
Per-Test Chat Protocol
Use this exact compact shape:
**TEST CAP-03 — Trust certificate preview**
Setup: Configure > Connection options.
1. Check **Trust server certificate**.
2. Read Command preview.
3. Uncheck it and read the preview again.
Expected: `-C` appears when checked and disappears when unchecked.
Evidence: Screenshot only if it fails.Then use the questions tool with one outcome question:
- Pass
- Fail
- Blocked
- Skip
Allow a free-form observation. Do not ask the user to answer several tests at once. After the answer:
- Write the status and observation to the report.
- If Pass, present the next test.
- If Fail, ask only for the missing non-secret observation/evidence needed to diagnose, then fix or record the defect before proceeding.
- If Blocked, record the blocker and offer the exact unblock action.
- If Skip, record a concrete reason.
At the end of each section, report only the delta:
Section 3 complete: 7 passed, 0 failed. Overall: 16/<total> complete. Next: QF-01.Resume Procedure
- Find the newest report under
build/manual-test-results/containing Pending rows. - Read its metadata, outcomes, last observation, and next pending ID.
- Verify the commit and package hash still match. If either changed, do not mix evidence: offer to start a new report or rerun preflight for a clearly marked amended session.
- Confirm Studio is running and authenticated. Relaunch securely if needed.
- Summarize only completed totals, blockers, and the next test.
- Continue with the per-test chat protocol.
Failure Evidence
For a failure, record:
- Test ID and exact expected behavior.
- Exact observed behavior and timestamp.
- Browser/version and package hash.
- Screenshot path when visual.
- Sanitized execution log excerpt when behavioral.
- Automated artifact paths when relevant:
build/gui-test-report/build/gui-test-results/
Never collect a screenshot while a password or token is visible.
Completion
When no tests remain Pending:
- Reconcile every test ID against the current MANUAL-TEST.md; never hardcode the expected count.
- Confirm every non-Pass has a reason and every Fail has evidence or a defect link.
- List known gaps separately from regressions.
- Calculate totals and write
Passonly when there are no Fail or Blocked outcomes; Skips must be justified. - Present a concise chat summary with the report path, totals, defects, skipped optional coverage, and release recommendation.
Coverage Maintenance
When Studio gains or removes a GUI control, update all three together:
sqlsimstudio/MANUAL-TEST.mdsqlsimstudio/gui-tests/studio.spec.cjs- This skill only when the workflow or safety rules change
Do not allow a formerly known-gap control to become implemented without a positive manual test and Playwright assertion.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

