Validation π‘ BETA
Post-migration validation is a fixed set of checks that proves the new bot answers from the data you moved.
Overview
| Check | What it proves |
|---|---|
| User access | Sign-in works and the right engine is selected |
| Data integrity | Imported files are present and readable |
| Email functionality | Mail configuration is reachable where the full platform is used |
| Document search | Questions are answered from the imported knowledge base |
Key Areas to Validate
Validate one area at a time and keep the evidence with the tracking issue. A change is not accepted on the strength of the diff alone.
User Access
In the government desktop edition the administrator is created by the first-run wizard and signs in through /api/auth/login. The window stays hidden until the local service answers (root AGENTS.md, Sidecar Lifecycle).
Data Integrity
List the bot buckets with oc and confirm the .gbkb/ and .gbdrive/ prefixes contain the exported files. Check a checksum for each transferred batch.
Email Functionality
Mail is a full-platform capability; the desktop product is Chat and Drive. Test through the stack mail service only where it is deployed.
Document Search
Ask questions whose answers are written in the imported documents. If the answer is wrong, fix the source document or the bot prompt, not a guessed retrieval parameter.
Testing Approach
- Smoke test: start the app, sign in, ask one question.
- User acceptance test: run the fixed question set a user would ask.
- Load test: repeat on the target machine with realistic document volume.
- Record each result in the issue.
Smoke Testing
Open the desktop route, wait for the chat window, and ask one question that exists in the knowledge base.
User Acceptance Testing
Use the questions collected from the source system; do not invent a friendlier set.
Load Testing
Measure on the target hardware. No document count or response-time target is published here.
Common Issues
| Symptom | Check |
|---|---|
| Sign-in fails | Administrator state and /api/auth |
| Missing answer | Document is in .gbdrive/ instead of .gbkb/ |
| Slow answers | Engine choice and local machine capacity |
| Wrong answer | Source document content or bot prompt |
Authentication Problems
A chat socket opened before /api/auth answers carries empty identity fields; open the socket only after auth completes (root AGENTS.md, gbgov Edition).
Missing Data
Re-copy the affected batch with oc and confirm the bucket prefix. Keep the export until the file is verified.
Performance Issues
Measure one engine at a time. The free engine has lower usage limits and sends text outside the machine.
Validation Checklist
- [ ] Sign-in works and the chosen engine is shown in Settings.
- [ ] Every exported batch has a matching bucket entry.
- [ ] A fixed question set is answered from the imported documents.
- [ ] No secret, token or internal address appears in an artifact.
- [ ] Results are attached to the tracking issue with evidence.
Next Steps
Keep the source export until validation passes, then close the issue with per-criterion evidence.
Limits
- No timeline, price or model name is promised for validation.
- No chunk size, top-k value or confidence threshold is documented here.
- The desktop edition validates Chat and Drive; other apps belong to the full platform.
- A passing smoke test alone is not acceptance evidence.