Skip to content

Commit e9db2a6

Browse files
Merge pull request #19 from SolidLabResearch/codex/repo-followup-polish
repo: expose storage health and trim stale docs
2 parents 792c7e2 + 577335c commit e9db2a6

37 files changed

Lines changed: 749 additions & 3352 deletions

.github/copilot-instructions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ Minimal dependency philosophy:
186186
- `src/storage/indexing/dictionary.rs` (172 lines) - Dictionary encoding
187187
- `tests/dictionary_encoding_test.rs` (624 lines) - Comprehensive integration tests
188188
- `BENCHMARK_RESULTS.md` - Performance metrics and analysis
189-
- `ARCHITECTURE.md` - High-level design (note: mentions TypeScript, but actual impl is Rust)
190189
- `Makefile` - Common development commands
191190

192191
# Copilot Instructions

.github/workflows/docs-links.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Docs Link Check
2+
3+
on:
4+
pull_request:
5+
branches: [main, develop]
6+
paths:
7+
- "**/*.md"
8+
- ".github/workflows/docs-links.yml"
9+
- "scripts/check_doc_links.sh"
10+
11+
jobs:
12+
docs-links:
13+
name: Validate Markdown Links
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Check local markdown links
20+
run: bash scripts/check_doc_links.sh

GETTING_STARTED.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ cargo run --example http_client_example
4040
That example covers query registration, start, stop, replay control, and
4141
WebSocket result consumption.
4242

43-
## Optional Local Demo UI
44-
45-
This repository keeps a small static demo at
46-
`examples/demo_dashboard.html` for manual browser testing.
43+
## Optional Frontend
4744

4845
The maintained Svelte dashboard lives in the separate
4946
`SolidLabResearch/janus-dashboard` repository.
@@ -75,9 +72,9 @@ make ci-check
7572
- `src/stream`: live stream processing
7673
- `src/storage`: segmented RDF storage
7774
- `src/bin`: executable binaries
78-
- `examples`: runnable examples and a minimal static demo
75+
- `examples`: runnable examples, including the HTTP client example
7976
- `tests`: integration coverage
80-
- `docs`: current docs plus older design notes
77+
- `docs`: current product docs plus a small amount of retained background material
8178

8279
## Where to Read Next
8380

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: help build test clean fmt lint check ci-check install run dev doc bench audit deps update watch all release
1+
.PHONY: help build test clean fmt lint check ci-check install run dev doc bench audit deps update watch all release doc-links
22

33
# Default target
44
.DEFAULT_GOAL := help
@@ -59,6 +59,10 @@ lint: ## Run clippy lints
5959
check: fmt-check lint ## Run all checks (formatting and linting)
6060
@echo "$(GREEN)All checks passed!$(NC)"
6161

62+
doc-links: ## Check local markdown links
63+
@echo "$(BLUE)Checking markdown links...$(NC)"
64+
@bash ./scripts/check_doc_links.sh
65+
6266
ci-check: ## Run full CI/CD checks locally before pushing
6367
@echo "$(BLUE)Running CI/CD checks...$(NC)"
6468
@./scripts/ci-check.sh

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ The maintained dashboard lives in a separate repository:
7070

7171
- `https://github.com/SolidLabResearch/janus-dashboard`
7272

73-
The `janus-dashboard/` folder in this repository is a lightweight local demo client, not the primary frontend.
74-
7573
## Performance
7674

7775
Janus uses dictionary encoding and segmented storage for high-throughput ingestion and historical reads.
@@ -129,9 +127,7 @@ This example demonstrates:
129127
The maintained web dashboard lives in the separate
130128
`SolidLabResearch/janus-dashboard` repository.
131129

132-
This repository keeps a small static demo at
133-
[`examples/demo_dashboard.html`](./examples/demo_dashboard.html) for manual API
134-
testing, but frontend development should happen in the dedicated dashboard repo.
130+
Frontend development should happen in the dedicated dashboard repo.
135131

136132
## Development
137133

@@ -155,7 +151,6 @@ The repository includes runnable examples under [`examples/`](./examples), inclu
155151

156152
- [`examples/http_client_example.rs`](./examples/http_client_example.rs)
157153
- [`examples/comparator_demo.rs`](./examples/comparator_demo.rs)
158-
- [`examples/demo_dashboard.html`](./examples/demo_dashboard.html) for a minimal local demo
159154

160155
## Documentation
161156

@@ -169,7 +164,8 @@ Start here:
169164

170165
## Notes
171166

172-
- `src/main.rs` is currently a benchmark-style executable, not the main user-facing interface.
167+
- `src/main.rs` is now a lightweight entry binary that points to the main Janus
168+
executables and benchmark helpers.
173169
- The primary user-facing entry point is `http_server`.
174170

175171
## Licence

START_HERE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cargo run --example http_client_example
1818

1919
- `http_server` is the main backend entry point
2020
- `stream_bus_cli` is the ingestion and replay CLI
21-
- `examples/demo_dashboard.html` is a minimal manual demo
21+
- `examples/http_client_example.rs` is the fastest local API exercise
2222
- the maintained Svelte dashboard lives in the separate `janus-dashboard` repository
2323

2424
## Current Docs

docs/ARCHITECTURE.md

Lines changed: 0 additions & 115 deletions
This file was deleted.

docs/DOCUMENTATION_INDEX.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,8 @@ This is the shortest path to understanding the current Janus implementation.
5858
- [README_HTTP_API.md](./README_HTTP_API.md)
5959
- [QUICKSTART_HTTP_API.md](./QUICKSTART_HTTP_API.md)
6060

61-
## Legacy Material
62-
63-
The following files remain useful as background, but they are not the main entrypoint for the current code:
64-
65-
- [ARCHITECTURE.md](./ARCHITECTURE.md)
66-
- [EXECUTION_ARCHITECTURE.md](./EXECUTION_ARCHITECTURE.md)
67-
- [MVP_ARCHITECTURE.md](./MVP_ARCHITECTURE.md)
68-
- [MVP_TODO.md](./MVP_TODO.md)
69-
- [RSP_INTEGRATION_COMPLETE.md](./RSP_INTEGRATION_COMPLETE.md)
70-
- [SPARQL_BINDINGS_UPGRADE.md](./SPARQL_BINDINGS_UPGRADE.md)
71-
7261
## Dashboard Boundary
7362

74-
- Local demo dashboard in this repository: `examples/demo_dashboard.html`
7563
- Maintained dashboard repository: `https://github.com/SolidLabResearch/janus-dashboard`
7664

7765
## Related Code

0 commit comments

Comments
 (0)