Rinomina: crate akode-*, cartelle akode-rs/ e akode-cli/, binario akode, ~/.akode, AKODE_* (A)
Riapplica la fase 5 di aKode (86e7c72e) sulla base ripulita:
- crate codex-* -> akode-*, codex-rs -> akode-rs, codex-cli -> akode-cli, binario e ausiliari akode;
- ~/.codex -> ~/.akode, CODEX_HOME -> AKODE_HOME, variabili CODEX_* -> AKODE_*, .codex/ -> .akode/ di progetto;
nessun fallback a ~/.codex o a CODEX_*;
- testi per l'utente "Codex" -> "aKode"; testi verso il modello e istruzioni di sistema invariati;
- snapshot insta rinominati (non ancora rigenerati).
I conflitti con la base ripulita sono stati risolti riapplicando la rinomina ai file senza le
funzioni di imeAI (script di mappa dei token per file).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
20
akode-rs/state/migrations/0046_threads_section_order.sql
Normal file
20
akode-rs/state/migrations/0046_threads_section_order.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
ALTER TABLE threads ADD COLUMN section_position INTEGER;
|
||||
ALTER TABLE threads ADD COLUMN section_entered_at_ms INTEGER;
|
||||
|
||||
UPDATE threads
|
||||
SET section_position = ranked.position,
|
||||
section_entered_at_ms = threads.recency_at_ms
|
||||
FROM (
|
||||
SELECT id,
|
||||
ROW_NUMBER() OVER (
|
||||
PARTITION BY thread_section_id
|
||||
ORDER BY recency_at_ms DESC, id DESC
|
||||
) * 1000000 AS position
|
||||
FROM threads
|
||||
WHERE thread_section_id IS NOT NULL
|
||||
) AS ranked
|
||||
WHERE threads.id = ranked.id;
|
||||
|
||||
CREATE INDEX idx_threads_section_position
|
||||
ON threads(archived, thread_section_id, section_position ASC, id ASC)
|
||||
WHERE thread_section_id IS NOT NULL AND preview <> '';
|
||||
Reference in New Issue
Block a user