Phase D: Move the Cortex store, pricing, session API and attribution into the binary
Maintainer thường phản hồi trong vòng 1 ngày
@huang195 đang làm issue này rồi.
Từ ngày 7/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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]
- Ngôn ngữ chính
- Go
- Star
- 26
- Fork
- 46
- Merge trung bình
- 13 giờ 49 phút
- Pull request đã merge (30 ngày)
- 244
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rossoctl/cortex
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement ux
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
rossoctl/cortex#1739 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Feat: Keep coding agents working when the Cortex proxy stopsCó thể đã có người làm @huang195 đã nhận hôm nay. Đang mở
rossoctl/cortex#1738 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Phase C: Let Praxis core accept CONNECT and decrypt, and remove the Go front doorCó thể đã có người làm @huang195 đã nhận 2 ngày trước. Đang mởlaptop
rossoctl/cortex#1728 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Phase B: Send absolute-form requests to Praxis and remove the egress listenerCó thể đã có người làm @huang195 đã nhận 2 ngày trước. Đang mởlaptop
rossoctl/cortex#1726 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rossoctl/cortex
Issue tương tự
-
Support kubevirt CRDsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
rancher/rancher-ai-mcp#206 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
open-telemetry/opentelemetry-go-compile-instrumentation#1743 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tomasz-tomczyk/crit#1159 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SelectOneHealthyInstance panics when instance weights are fractional (e.g. 0.5)Có thể đã có người làm @Ajax-1 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nacos-group/nacos-sdk-go#929 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
google/osv-scanner#3270 ·
Maintainer thường phản hồi trong vòng 1 ngày