Index of every page on this site: llms.txt
All skills
pingdotgg avatar

/test-t3-app

@b5453de
by Ping.ggpingdotgg/t3code67k stars
11,639
Run it yourself

Test T3 Code's web and desktop UI through its built-in Browser panel against isolated development state. Use for browser verification, browser pairing recovery, and test fixtures. Use test-t3-mobile for native mobile verification.

Use this Skill: https://skilld.dev/gh/pingdotgg/t3code/test-t3-app

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencessqlite-fixtures.md

≈707 tokens on demand. Your agent reads this file only when SKILL.md points to it.

SQLite fixtures

Load this reference only when inspecting or seeding local T3 state directly.

Select the correct database

When --base-dir or --home-dir is explicit, runtime state lives under <base-dir>/userdata and the database path is <base-dir>/userdata/statev2.sqlite. The <base-dir>/dev state directory is only the fallback for an implicit development home, preventing an ordinary vp run dev from touching production state.

The server copies the V1 state.sqlite into statev2.sqlite only when statev2.sqlite is missing. After the first start, edits to state.sqlite change nothing.

Start the target runtime once before seeding so all migrations have run. Use an isolated base directory. Stop the server before writes to avoid racing application state or an active projection.

Use the helper

List tables:

node apps/server/scripts/t3-sqlite-state.ts query \
  --base-dir <base-dir> \
  --sql "SELECT name FROM sqlite_schema WHERE type = 'table' ORDER BY name"

Inspect current columns before writing a fixture:

node apps/server/scripts/t3-sqlite-state.ts query \
  --base-dir <base-dir> \
  --sql "PRAGMA table_info(orchestration_v2_projection_threads)"

Apply a SQL fixture from a file:

node apps/server/scripts/t3-sqlite-state.ts exec \
  --base-dir <base-dir> \
  --file /tmp/t3-seed.sql

Use one statement per invocation for both query and exec; the helper wraps writes in a transaction and prints the backup path after a successful mutation. Use a single insert with multiple value rows when a fixture needs several records.

Seed projection data carefully

Clients read projects from projection_projects and everything else from the orchestration_v2_projection_* tables: threads, runs, messages, turn items, runtime requests, plans, and provider sessions. The older projection_thread* tables hold V1 history, which the server imports once per thread at startup; later edits there do not reach the UI.

Most V2 rows carry a payload_json that must decode against the schemas in packages/contracts/src/orchestrationV2.ts. The safest start is a row the app wrote itself: create a thread through the UI, copy its rows, and edit them. Keep identifiers unique, timestamps as ISO strings, and related project, thread, and run IDs consistent.

Direct projection writes are appropriate for ephemeral visual states, edge-case counts, long titles, long timelines, and similar UI fixtures. They do not create a coherent event history. Leave the event log (orchestration_events) unchanged, and do not use direct projection writes to claim backend business behavior works.

Use the app's commands or APIs for behavior tests. Use node apps/server/src/bin.ts auth ... for auth state rather than editing auth_pairing_links or auth_sessions.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1d3 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    The skill facilitates testing the T3 application by running local development scripts and using browser automation. Security risks include potential indirect prompt injection from content within the browser or database, and the risk of accidental data exposure when using the server-sharing feature.

  • Socket1d

    No alerts

  • Snyk4d

    Risk: LOW · No issues

Signed by skilld at b5453de. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 weeks ago

README badge

README badge for pingdotgg/t3code/test-t3-app