Directories
¶
| Path | Synopsis |
|---|---|
|
Package adapters wires every ecosystem adapter into one registry.
|
Package adapters wires every ecosystem adapter into one registry. |
|
goadapter
Package goadapter implements the scanner.Adapter contract for the "golang" ecosystem: go.mod-resolved dependencies, go/parser-based symbol usage extraction, and go command classification.
|
Package goadapter implements the scanner.Adapter contract for the "golang" ecosystem: go.mod-resolved dependencies, go/parser-based symbol usage extraction, and go command classification. |
|
node
Package node implements the npm-ecosystem scanner adapter: lockfile-resolved dependency scanning (package-lock.json v2/v3, pnpm-lock.yaml v9, classic yarn.lock), static import/symbol extraction for TS/JS sources, command classification, and environment hints.
|
Package node implements the npm-ecosystem scanner adapter: lockfile-resolved dependency scanning (package-lock.json v2/v3, pnpm-lock.yaml v9, classic yarn.lock), static import/symbol extraction for TS/JS sources, command classification, and environment hints. |
|
python
Package python implements the scanner.Adapter for the "pypi" ecosystem: lockfile-resolved versions from uv.lock / poetry.lock / requirements.txt pins, import-based symbol scanning, and command classification.
|
Package python implements the scanner.Adapter for the "pypi" ecosystem: lockfile-resolved versions from uv.lock / poetry.lock / requirements.txt pins, import-based symbol scanning, and command classification. |
|
rust
Package rust implements the scanner.Adapter for the "cargo" ecosystem.
|
Package rust implements the scanner.Adapter for the "cargo" ecosystem. |
|
unreal
Package unreal recognises an Unreal Engine project and reports which engine it is built against.
|
Package unreal recognises an Unreal Engine project and reports which engine it is built against. |
|
cmd
|
|
|
csx
command
Command csx is the CodeSampleX local client: CLI dispatcher, evidence wrapper, daemon controller, MCP server, sample workflow, updater, and verifier worker.
|
Command csx is the CodeSampleX local client: CLI dispatcher, evidence wrapper, daemon controller, MCP server, sample workflow, updater, and verifier worker. |
|
csx-deploy-gate
command
|
|
|
csx-launcher
command
|
|
|
csx-seo-report
command
Command csx-seo-report turns a Google Search Console export into the sample/package cohort comparison R2C-205 measures, and stores or reads the baseline it is compared against.
|
Command csx-seo-report turns a Google Search Console export into the sample/package cohort comparison R2C-205 measures, and stores or reads the baseline it is compared against. |
|
csx-server
command
Command csx-server is the CodeSampleX central server: HTTP API, website and PostgreSQL-backed evidence/sample registry (plan contract C9).
|
Command csx-server is the CodeSampleX central server: HTTP API, website and PostgreSQL-backed evidence/sample registry (plan contract C9). |
|
internal
|
|
|
activity
Package activity estimates external API network activity with keyed, epoch-scoped pseudonyms instead of retaining raw request identifiers.
|
Package activity estimates external API network activity with keyed, epoch-scoped pseudonyms instead of retaining raw request identifiers. |
|
admin
Package admin serves the private operator dashboard.
|
Package admin serves the private operator dashboard. |
|
buildinfo
Package buildinfo answers one operational question: which build of this server is the process actually running.
|
Package buildinfo answers one operational question: which build of this server is the process actually running. |
|
cli
Package cli is the csx command dispatcher (contract C9).
|
Package cli is the csx command dispatcher (contract C9). |
|
compatibility
Package compatibility computes confidence and aggregation views from evidence.
|
Package compatibility computes confidence and aggregation views from evidence. |
|
config
Package config manages CSX_HOME and $CSX_HOME/config.json (goal.md §5.4 — every setting has a working default; the only choice the user ever has to make is the mode).
|
Package config manages CSX_HOME and $CSX_HOME/config.json (goal.md §5.4 — every setting has a working default; the only choice the user ever has to make is the mode). |
|
daemon
Package daemon implements the csx local daemon (plan P4.1/P4.4): a localhost-only HTTP API plus a same-mux named-pipe/unix-socket listener, a single-instance lock, background maintenance tickers (evidence upload, shard warm, cache budget, peer announce, idle verification), and the §12.5 dashboard at /ui.
|
Package daemon implements the csx local daemon (plan P4.1/P4.4): a localhost-only HTTP API plus a same-mux named-pipe/unix-socket listener, a single-instance lock, background maintenance tickers (evidence upload, shard warm, cache budget, peer announce, idle verification), and the §12.5 dashboard at /ui. |
|
defender
Package defender asks Microsoft Defender what it thinks of a file, and reports the answer as an observation rather than as a grade.
|
Package defender asks Microsoft Defender what it thinks of a file, and reports the answer as an observation rather than as a grade. |
|
domain
Package domain holds CodeSampleX's core types and pure logic.
|
Package domain holds CodeSampleX's core types and pure logic. |
|
environment
Package environment builds EnvironmentFingerprints from the host and adapter-provided hints.
|
Package environment builds EnvironmentFingerprints from the host and adapter-provided hints. |
|
evidence
Package evidence implements the local evidence loop behind `csx run` (goal.md §8.3, contract C14): scan the project, run the user's command, record aggregate observations for PUBLIC packages only, and drain them into anonymous wire batches.
|
Package evidence implements the local evidence loop behind `csx run` (goal.md §8.3, contract C14): scan the project, run the user's command, record aggregate observations for PUBLIC packages only, and drain them into anonymous wire batches. |
|
httpapi
Package httpapi implements the csx-server /v1 HTTP API (plan contract C5).
|
Package httpapi implements the csx-server /v1 HTTP API (plan contract C5). |
|
identity
Package identity holds the peer's ed25519 keypair and the secret seed behind the rotating pseudonymous evidence IDs (goal.md §8.6, plan C10).
|
Package identity holds the peer's ed25519 keypair and the secret seed behind the rotating pseudonymous evidence IDs (goal.md §8.6, plan C10). |
|
mcp
Package mcp implements the csx MCP stdio server (plan contract C8, goal.md §12.4): newline-delimited JSON-RPC 2.0 over a provided reader and writer, exposing the eight local tools coding agents consume.
|
Package mcp implements the csx MCP stdio server (plan contract C8, goal.md §12.4): newline-delimited JSON-RPC 2.0 over a provided reader and writer, exposing the eight local tools coding agents consume. |
|
measurement
Package measurement implements the concrete two-layer measurement model for CodeSampleX (GitHub issue #206, docs/measurement-layers.md).
|
Package measurement implements the concrete two-layer measurement model for CodeSampleX (GitHub issue #206, docs/measurement-layers.md). |
|
metricname
Package metricname holds the measured-vs-estimated naming rule for the stats documents this product publishes, as code rather than as prose.
|
Package metricname holds the measured-vs-estimated naming rule for the stats documents this product publishes, as code rather than as prose. |
|
peer
Package peer implements the local P2P node (plan C15, goal.md §15): announcing cached sample artifacts to the central tracker, serving them to other peers over HTTP, and fetching artifacts with the fallback order local CAS → tracker peers → server → MISS.
|
Package peer implements the local P2P node (plan C15, goal.md §15): announcing cached sample artifacts to the central tracker, serving them to other peers over HTTP, and fetching artifacts with the fallback order local CAS → tracker peers → server → MISS. |
|
registry
Package registry checks whether packages exist on their public registry.
|
Package registry checks whether packages exist on their public registry. |
|
retrypolicy
Package retrypolicy defines the one bounded retry shape used by background work.
|
Package retrypolicy defines the one bounded retry shape used by background work. |
|
samples
Package samples implements the local half of the public-sample pipeline (goal.md §9, plan C13): canonical content-addressed artifacts, leakage scanning, sanitized clean-room specs, and the create workflow.
|
Package samples implements the local half of the public-sample pipeline (goal.md §9, plan C13): canonical content-addressed artifacts, leakage scanning, sanitized clean-room specs, and the create workflow. |
|
sandbox
Package sandbox runs sample verification stages in isolation (goal.md §16).
|
Package sandbox runs sample verification stages in isolation (goal.md §16). |
|
sanitizer
Package sanitizer turns raw tool output into privacy-safe error templates (goal.md §8.5, contract C11).
|
Package sanitizer turns raw tool output into privacy-safe error templates (goal.md §8.5, contract C11). |
|
scanner
Package scanner defines the ecosystem adapter contract and orchestrates project scanning.
|
Package scanner defines the ecosystem adapter contract and orchestrates project scanning. |
|
search
Package search implements the local search engine over the SQLite store: candidate collection from cached samples, compatibility shards, and the FTS index; C7 score fusion; environment grading with the always-sensitive execution-context axis (docs/execution-context.md §5); and §11.5 delta construction.
|
Package search implements the local search engine over the SQLite store: candidate collection from cached samples, compatibility shards, and the FTS index; C7 score fusion; environment grading with the always-sensitive execution-context axis (docs/execution-context.md §5); and §11.5 delta construction. |
|
search/relevance
Package relevance provides the provenance-aware lexical gate shared by local and server search.
|
Package relevance provides the provenance-aware lexical gate shared by local and server search. |
|
seoreport
Package seoreport turns a Google Search Console export into the one comparison this project needs: did the pages that were already ranking start getting clicked.
|
Package seoreport turns a Google Search Console export into the one comparison this project needs: did the pages that were already ranking start getting clicked. |
|
serverstore
Package serverstore is the csx-server persistence layer: a Store interface over PostgreSQL (plan contract C4) plus the pure ingest logic — batch validation and delta-merge dedup semantics — which unit-tests without a database.
|
Package serverstore is the csx-server persistence layer: a Store interface over PostgreSQL (plan contract C4) plus the pure ingest logic — batch validation and delta-merge dedup semantics — which unit-tests without a database. |
|
storage
Package storage holds cross-cutting policy over the local stores: the SQLite metadata DB (localdb) and the content-addressed artifact cache (cas).
|
Package storage holds cross-cutting policy over the local stores: the SQLite metadata DB (localdb) and the content-addressed artifact cache (cas). |
|
storage/blob
Package blob abstracts sample-artifact storage (goal.md §14.2, §15.4).
|
Package blob abstracts sample-artifact storage (goal.md §14.2, §15.4). |
|
storage/cas
Package cas implements a content-addressed store on the local filesystem.
|
Package cas implements a content-addressed store on the local filesystem. |
|
storage/localdb
Package localdb is the local SQLite store behind the csx daemon and CLI ($CSX_HOME/csx.db).
|
Package localdb is the local SQLite store behind the csx daemon and CLI ($CSX_HOME/csx.db). |
|
update
Package update implements the signed, fail-closed CodeSampleX binary updater.
|
Package update implements the signed, fail-closed CodeSampleX binary updater. |
|
verifier
Package verifier turns sandbox stage runs into signed verification receipts (goal.md §7.7, §16) and implements the cross-verification client that claims jobs from the server, re-verifies artifacts locally, and posts receipts back.
|
Package verifier turns sandbox stage runs into signed verification receipts (goal.md §7.7, §16) and implements the cross-verification client that claims jobs from the server, re-verifies artifacts locally, and posts receipts back. |
|
web
Package web is the server-rendered public website: landing page, Compatibility Explorer, sample/seeder pages, install scripts and SEO surface (plan P6.1–P6.3, goal.md §14.5/§14.6).
|
Package web is the server-rendered public website: landing page, Compatibility Explorer, sample/seeder pages, install scripts and SEO surface (plan P6.1–P6.3, goal.md §14.5/§14.6). |
|
web/i18n
Package i18n is the website message catalog for the nine Public v1 locales (plan Global Constraints + P6.3).
|
Package i18n is the website message catalog for the nine Public v1 locales (plan Global Constraints + P6.3). |
|
Command update_manifest signs the release updater manifest.
|
Command update_manifest signs the release updater manifest. |
Click to show internal directories.
Click to hide internal directories.