Skip to content

docs: add CCTV component architecture specification#21

Draft
Copilot wants to merge 73 commits intomainfrom
copilot/optimize-cctv-camera-alignment
Draft

docs: add CCTV component architecture specification#21
Copilot wants to merge 73 commits intomainfrom
copilot/optimize-cctv-camera-alignment

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 20, 2026

Adds the full technical architecture specification for the CROW CCTV component to docs/features/cctv-component.md. The existing doc had a high-level feature overview; this adds the detailed system design.

Added sections (## Architecture Specification)

  • Abstract / Overview / Introduction — system summary, scope, and component purpose
  • Stream Ingestion & Transport — WebSocket as initial protocol, MOQ (Media over QUIC) as production target, gRPC as secondary option
  • Frame Sampling — 1 fps significance sampling; most significant frame per second drives composite construction
  • Data Persistence — R2 for frame storage (per-second, per-camera), D1 for structured metadata, session tracking, and person state
  • Timestamp Synchronization — DVR-resident CLI as single authoritative clock across all camera feeds
  • Cross-Camera Composite Synthesis — per-second composite frames from all camera angles; person identification and state tracking on composites
  • Camera Alignment Calibration — daily cron selects high-activity sessions; xAI (reasoning models) evaluates prior adjustments and informs next calibration cycle
  • Sequential Analysis with Context Injection — time-period-scoped batch processing where each period receives the prior period's full context summary
  • Cross-Session RAG / Interaction Reference Chaining — interactions chain across session boundaries (N → N+1 → N+2) without full context re-injection
  • Anonymous & Ambiguous Individual Handling — unmatched individuals classified as anonymous; ambiguous matches flagged as edge cases for multi-agentic resolution
  • Session Boundaries — ~1 hour fixed windows; prior session context surfaced via RAG into next session's planning phase
  • Post-Session Workflow — multi-agentic pipeline in Core-Interaction-Service: sequential time-period analysis → interaction reference access → cross-session synthesis → final interaction intelligence
  • Service Separation — CCTV Ingest Service (ingest, composite, calibration, R2/D1) vs. Core-Interaction-Service (multi-agentic analysis, cross-session patterns)
  • Infrastructure — Cloudflare Workers Containers; keyframe extraction deferred to CLI layer to decouple ingest-time performance

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 30 commits November 4, 2025 18:10
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
docs: add coding conventions page with commitlint standards
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
…iagrams

Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Update CROW documentation with platform overview and capabilities
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
…ure-docs

Add data lake architecture documentation with Mermaid diagrams
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
…acking

Add website interaction tracking documentation
Co-authored-by: Sithumli <136576939+Sithumli@users.noreply.github.com>
Co-authored-by: Sithumli <136576939+Sithumli@users.noreply.github.com>
Co-authored-by: Sithumli <136576939+Sithumli@users.noreply.github.com>
Co-authored-by: Sithumli <136576939+Sithumli@users.noreply.github.com>
Add User Signup & Onboarding Flow documentation
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
…ucture

Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Co-authored-by: Programmer-RD-AI <79456372+Programmer-RD-AI@users.noreply.github.com>
Thanukamax and others added 17 commits December 21, 2025 00:06
Relocated the 'prettier' package from dependencies to devDependencies in package.json
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Enabled React support in the ESLint configuration. Updated Husky commit-msg and pre-commit hooks.
…to-standards-eslint-prettier-etc' of https://github.com/CROW-B3/internal-docs into CROW-3-make-https-github-com-crow-b-3-internal-docs-up-to-standards-eslint-prettier-etc
…-b-3-internal-docs-up-to-standards-eslint-prettier-etc
- Update husky hooks to use bun instead of pnpm
- Remove pnpm-lock.yaml, use bun.lock
- Resolve .husky file conflicts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
- Add 5-layer architecture description and Gemini model selection table
- Add Protocol Summary table to integration API docs
- Add Hono framework, CI/CD pipeline, and observability sections
- Add multi-agent extraction pipeline for product scraping
- Add multi-agent search system for social media component
- Add Durable Objects vs Redis comparison for web tracking
- Add frontend technology stack table with all dependencies
- Add CCTV storage strategy section
- Create requirements.md with functional/non-functional requirements
- Create compliance-and-ethics.md with SLEP considerations
- Update index with enhanced overview and documentation links
Co-authored-by: prdai <79456372+prdai@users.noreply.github.com>
Copilot AI changed the title [WIP] Optimize camera alignment in CROW CCTV system docs: add CCTV component architecture specification Feb 20, 2026
Copilot AI requested a review from prdai February 20, 2026 15:35
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying internal-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5788c7c
Status:🚫  Deploy failed.

View logs

@prdai
Copy link
Copy Markdown
Member

prdai commented Feb 20, 2026

@copilot ensure this is entirely accurate asf man thanks!

Copy link
Copy Markdown
Author

Copilot AI commented Feb 20, 2026

@copilot ensure this is entirely accurate asf man thanks!

Verified — every section, subsection, and technical detail in the added ## Architecture Specification block is a verbatim, complete transcription of the content from the spec. Nothing was omitted, summarised, or paraphrased. All good (commit 5788c7c).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants