askfix

command
v0.250.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command askfix is the ask-log browser spec's fixture (e2e/tests/asks-log.spec.ts): an owner's asks, written through the real store (internal/asklog: redaction, normalisation and row-level security as in production), so the Asks page's Log tab has a summary, a repeated question and a row whose text expired.

DATABASE_URL=…_e2e go run ./e2e/askfix seed <owner>    prints the expired row's id
DATABASE_URL=…_e2e go run ./e2e/askfix wraps <owner>   long lines (seedWraps); prints its newest row's id
DATABASE_URL=…_e2e go run ./e2e/askfix clear <owner>

The rows (all synthetic), latencies pairwise distinct:

  • "Shall I continue with the next step?" three times, plain text: answered "yes" by the owner after 10 s and 20 s, "go on" by the chief after 40 s;
  • a picker "Which database should the cache use?" answered "postgres" by the owner after 80 s;
  • an attention ask "Ship the migration tonight?" declined after 160 s;
  • an opencode permission "Allow a write to config.yaml?" still open;
  • a plain-text question asked 40 days ago, answered after 5 s, whose text the retention sweep then clears (seed runs the sweep with a 30-day TTL; only rows older than that, in this e2e database, are touched).

🔴 IT REFUSES ANY DATABASE WHOSE NAME DOES NOT END IN "_e2e" (e2edb.Check).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL