Commit Graph

20 Commits

Author SHA1 Message Date
Mortalus
a15fe54367 feat: add HTTP transport for Docker proxy support
Adds src/http-server.ts for Streamable HTTP transport, enabling the
law-mcp-proxy to route requests to this MCP via Docker network.

Endpoints: GET /health, POST /mcp, GET /mcp, DELETE /mcp

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 08:44:56 +01:00
Mortalus
cf6044b8e3 chore: remove AI tooling artifacts (CLAUDE.md, .claude/, .serena/) 2026-02-28 05:44:23 +01:00
Mortalus
2d38e78d02 feat: expand from 10 to 66 laws — 537 provisions, 10 Basic Law PDFs parsed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 09:09:50 +01:00
Mortalus
8145605d0f ci: add weekly data freshness check workflow 2026-02-22 20:43:10 +01:00
Mortalus
6c9c600f64 docs: add legal disclaimer and privacy notice for professional use 2026-02-22 19:57:03 +01:00
Mortalus
2476300c7e feat: golden-ify Israel Law MCP — census, skipIf tests, dual transport
Add data/census.json (10 laws, 135 provisions, jurisdiction IL) generated
from database.db. Rewrite golden.test.ts to golden standard pattern with
describe.skipIf guards so tests skip gracefully in CI without DB artifacts.
Update server.json to packages format with streamable-http Vercel endpoint.
Bump version to 1.1.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 17:30:45 +01:00
Mortalus
b4fee903d5 docs: restore key legislation, deployment tier, and database estimates 2026-02-21 05:43:12 +01:00
Mortalus
3cfa5ac1f9 fix: correct tool name and gitleaks config 2026-02-21 05:37:17 +01:00
Mortalus
392e863f5c chore: add CODEOWNERS 2026-02-21 05:29:02 +01:00
Mortalus
38d1ca339a ci: add CodeQL, Semgrep, Gitleaks, Trivy security scanning 2026-02-21 05:24:54 +01:00
Jeffrey von Rotz
a1deee92cc docs: expand README to gold standard 2026-02-21 05:05:54 +01:00
Jeffrey von Rotz
98cc623b73 chore: add legal disclaimer 2026-02-20 20:56:36 +01:00
Jeffrey von Rotz
5f76b581b2 chore: add contributing guide 2026-02-20 20:56:34 +01:00
Jeffrey von Rotz
0e59a05538 chore: add security policy 2026-02-20 20:56:33 +01:00
Jeffrey von Rotz
9cb830a2f3 fix: remove .vercelignore (excluded tsconfig.json and src, breaking Vercel builds) 2026-02-20 14:43:36 +01:00
Jeffrey von Rotz
2cd3c63936 fix: standardize vercel.json with outputDirectory, rewrites, and health includeFiles 2026-02-20 14:43:35 +01:00
Mortalus
c9b7ecc346 feat: commit built database for reliable deployment
Database is a build artifact but committed for repos with
rate-limited or hard-to-extract data sources. Rebuild with:
npm run build:db

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 08:27:01 +01:00
Mortalus
2c73695c7d chore: track seed data in git for portable DB rebuilds
Seed JSON files (parsed legislation) are now committed so that
npm run build:db works on any machine without re-ingestion.
Raw source HTML and .db files remain gitignored.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 20:46:04 +01:00
Mortalus
1e28f8a6b1 feat: production MCP server with Israeli legislation (multi-source)
Complete production implementation with shell+adapter architecture,
13 MCP tools, SQLite FTS5 search, and multi-source ingestion pipeline.

Ingestion fetches from UCI mirror, UNODC SHERLOC PDFs, and Knesset
mobile PDFs (135 provisions, 33 definitions). 3 acts with full text,
7 acts metadata-only due to gov.il/nevo.co.il access restrictions.
Knesset OData API used for metadata enrichment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 20:40:01 +01:00
Mortalus
21aa81d2b0 chore: initial MCP preparation package
14-file blueprint including:
- sources.yml with data source provenance
- 12 golden contract tests with native-language search terms
- 5-6 drift detection anchors
- MCP Registry + npm package configs
- Vercel deployment config (SMALL tier)
- Security policies and issue templates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 13:39:14 +01:00