Phase D: Move the Cortex store, pricing, session API and attribution into the binary
Los mantenedores suelen responder en 1 día
@huang195 ya está trabajando en esto.
Desde el 7/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Part of #1714 · phase D · Section 8 · design in #1717 (docs/superpowers/specs/2026-11-07-praxis-mode-design.md)
Goal
Make Cortex one Rust binary on the Praxis crates, in the shape of praxis-ai today. agentop does not change.
Scope
-
Port about 13.7k lines of Go into the binary:
- the session store, archive and timeline, as a Cortex store crate on SQLite in the pattern of praxis-ai's store crates.
- pricing and the ledger, as a Rust pricing filter, then Tokenomics when it is on par.
- the session API, as filters on
:47601(/v1/eventsthroughStreamingTerminalResponse). - attribution.
-
Attribution moves together with the store, because the store's events feed its state. The Go front door passes the client's socket address in
X-Cortex-Client, and the binary does the process lookup itself. -
cortex_recordwrites the same record type to the store in process./v1/ingestand the emitter's HTTP stream go away. -
Decide: an importer for existing archives, or only the retention window. Decide each remaining plugin: port or retire. Split this issue into sub-issues before work starts.
-
Decide the path for the rows that the Go front door still writes (refusals,
gateway_unavailable, tunnels, WebSockets) into the binary's store. Proposal: the front door posts them to the ingestion endpoint, now in the binary. Test it before phase C. -
Decide how a ported filter that reads parsed facts in both directions (
opa, session budget) fits the chain.
Done when
- The same agentop session gives the same
/v1/sessions,/v1/events,/v1/usageand timeline answers against the Go and the Rust store. - The Go tests of the ported packages pass as parity cases.
Depends on
Trigger: none. Start when praxis mode is the default and stable (#1725). Comes before phase C.
Assisted-By: Claude (Anthropic AI) [email protected]
- Lenguaje dominante
- Go
- Estrellas
- 26
- Forks
- 46
- Merge medio
- 13 h 49 min
- PR fusionados (30 d)
- 244
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rossoctl/cortex
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
enhancement ux
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
rossoctl/cortex#1739 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Feat: Keep coding agents working when the Cortex proxy stopsPosiblemente ocupada @huang195 la tomó hoy. Abierto
rossoctl/cortex#1738 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Phase C: Let Praxis core accept CONNECT and decrypt, and remove the Go front doorPosiblemente ocupada @huang195 la tomó hace 2 días. Abiertolaptop
rossoctl/cortex#1728 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Phase B: Send absolute-form requests to Praxis and remove the egress listenerPosiblemente ocupada @huang195 la tomó hace 2 días. Abiertolaptop
rossoctl/cortex#1726 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de rossoctl/cortex
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#2829 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
teradata-labs/loom#624 ·
Los mantenedores suelen responder en 1 día