- DELETE /api/companies/{slug}: wipes the ledger (deck records, scorecard,
report md), sweeps per-job report and processed-deck copies; optional
restore_decks moves the graded originals from /data/processed back into
the inbox for a fresh Grade Decks run; 409 while a job is running;
config-registered companies reappear as empty rows (aliases + pinned
targets kept)
- Dashboard: "delete company…" danger button on the company card with a
two-step confirm (delete, then restore-decks choice)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
17 lines
849 B
TypeScript
17 lines
849 B
TypeScript
import { VersionInfo } from '@start9labs/start-sdk'
|
|
|
|
/** Company deletion for re-evaluation. ExVer form `<upstream>:<downstream>`. */
|
|
export const v_0_1_7 = VersionInfo.of({
|
|
version: '0.1.7:0',
|
|
releaseNotes:
|
|
'Companies can now be deleted from the dashboard (delete button on the ' +
|
|
'company card) so an evaluation can be re-run from scratch with different ' +
|
|
'models or graders. Deletion wipes the graded history — deck records, ' +
|
|
'scorecard, and per-job report copies — and optionally moves the ' +
|
|
'already-graded deck files from /data/processed back into the inbox, ' +
|
|
'ready for a fresh Grade Decks run. Companies registered in Configure ' +
|
|
'Companies reappear as empty rows with their aliases and pinned targets ' +
|
|
'kept; deletion is blocked while a grading job is running.',
|
|
migrations: {},
|
|
})
|