
Hacker
Toufiq Farhan
@farhan_
I do write code.
Elsewhere
Stack
- JavaScript
- TypeScript
- Python
- Go
- Rust
- Kotlin
- Swift
FlagShip
Flagsmith Experimentation HackathonNov 2026
FlagShip is a human-gated AI experimentation control plane built on self-hosted Flagsmith (v2.295.2). The problem: when AI agents can toggle feature flags in seconds, standard Flagsmith workflows expose four real failure modes: 1. Unapproved mutations with no human checkpoint before live exposure. 2. Conversion wins hiding checkout error spikes especially sparse < 5 control baselines where Flagsmith sets inference to null. 3. The v2.295.2 "disable trap", where running `flag disable` or `pause` on an active experiment leaves its segment override serving treatment. 4. Bloated raw CLI/REST JSON burning 1,658 o200k_base tokens per 5-stage workflow (and empty-key MV options logging 0 exposures). How FlagShip solves it: - Human-in-the-loop Gatekeeper API (@flagship/control-plane on port 4041) & 14-tool MCP server (@flagship/mcp) that fail closed with HTTP 403 APPROVAL_REQUIRED / MCP isError until human Gate #1 (provision) and Gate #2 (complete) sign-offs. - @flagship/exp-client guardrail evaluator adding a sparse-baseline two-proportion z-test fallback (z >= 1.96) when upstream inference is null. - <FlagShipInspector /> (@flagship/inspector) React DevTools overlay streaming live bucketing, $flag_exposure, and flushEvents() inside our DevFlow Checkout Workbench (:5173). - Track 04 Agent Skill (flagsmith-experiment-shipper) enforcing complete("control") emergency rollbacks and exp_compact.sh jq projections (1,658 -> 421 tokens, -74.6%). Docker Compose boots Flagsmith v2.295.2, task processor, and Postgres 15.5, while npm run demo starts the full local stack. Verified with 13/13 unit tests, 19/19 skill:verify CLI lifecycle checks, 14 MCP tools smoke check, and 10/10 wiped-volume E2E paths.
Canon: Temporal Truth Layer for Enterprise AI on FalkorDB
Graph HacksOct 2026
Enterprise RAG has a critical failure mode: documents can be highly relevant yet completely outdated. Traditional retrievers score them high, models ingest them, and answers come back confident and false. Canon fixes this with a temporal claim graph powered by FalkorDB. Sitting directly between retrieval and generation, Canon traverses 500,000+ enterprise documents, performs the "Temporal Cut" to eliminate superseded evidence, and backfills valid context from original rankings. On Enterprise RAG-Bench, Canon raises correctness from 70.0% to 82.5% (+12.5%) with zero prompt hints or model fine-tuning.