Address migration issues#105
Conversation
Session log for the three-layer defense-in-depth work on the hauliage fleet Vehicle entity. Cross-references the committed artifacts: - BRRTRouter multipart 415 fix (bd12de7) - Fleet three-layer defense (hauliage 68ac8e6) - F5 scaffolding + x-brrtrouter-impl backfill + PRDs (hauliage b1b44a9) - playwright-bdd regenerated specs (hauliage b807fe1) Includes: - BRRTRouter request validation probe results (test 1-6 all reject bad input with HTTP 400/415/409 as appropriate). - Fleet vehicle Type enum drift root cause and 3-layer fix. - F5 audit across all 15 hauliage microservices — 35 F5 bugs patched, 1 original + 3 additional orphans documented, 3 identity Z1 zombie impls surfaced and routed to product backlog. - x-brrtrouter-impl marker coverage — 152 ops, 144 true, 8 false, 0 gaps. - Compliance lifecycle for Vehicle — OUT_OF_SERVICE default at creation, ACTIVE transition requires MOT + insurance + tax expiry dates, 409 with missing_fields array if not.
- Add docs/llmwiki: SCHEMA, README, index, log, docs-catalog, three seed topics - Rewrite AGENT.md to rules-only; link wiki from README and memory bank
- Add reference pages: workspace/module map, planning docs index - Add entity pages: LifeModel/Record, executor/pool, migrate/compare - Add topic pages: query, relations, session, reflector, scalars, observability, migrate CLI, derive, integration testing - Extend docs-catalog synthesis table and index; append log - Point AGENT.md at full index; update memory bank
- Add entities/transaction-boundaries, topics/graphql-optional-feature - Extend docs-catalog synthesis table and index; append log
- Import verbatim references under docs/references/ (JSF writeup, audit, compliance; Microsoft rust-guidelines) - Add llmwiki topics for Lifeguard-specific synthesis; link from AGENT.md - Align clippy.toml numeric thresholds with BRRTRouter / microscaler-observability - Update docs-catalog, index, log; cross-link microscaler-observability wiki
Prepend a pointer to cylon-local-infra/docs/desktop-dev-environment.md at the top of this repo's AGENTS.md. The canonical doc explains the Mac + ms02 + DGX Spark topology, where commands execute (Mac for Ansible, ms02 via SSH for builds/tests/Tilt, Nvidia cluster for inference via OpenAI-compatible API), the ~/Workspace NFS mount layout, and the Starlink-driven SSH tunneling. Keeping topology in one canonical file prevents drift across the ~16 Microscaler repos that have their own AGENTS.md. Do not duplicate its contents here; link to it and fix the canonical doc if reality drifts.
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 21245408 | Triggered | Generic Password | a0e703f | config/k8s/test-infrastructure/postgres-deployment.yaml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (58)
📝 WalkthroughWalkthroughThis PR introduces a comprehensive knowledge-management overhaul, migration-ordering enhancements, observability stack upgrade, and development-infrastructure updates. It establishes a persistent ChangesMigration & Seed Ordering Framework
Knowledge Base & Documentation Refactor
Observability & Metrics Updates
Test Infrastructure & Development Environment
Sequence Diagram(s)The changes do not warrant sequence diagrams. While they introduce new infrastructure and patterns (migration ordering, RLS design), they are predominantly:
None introduce new, multi-component runtime flows that would benefit from visualization. Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes The PR combines high heterogeneity (documentation, configuration, multiple crate logic changes, schema/dependency ordering, test suites) with significant substance in several areas (migration_writer.rs with ~590 lines including tests, sql_dependency_order.rs with ~1150 lines, metrics refactoring with behavioral changes, comprehensive wiki scaffold). While individual files follow established patterns, the breadth requires careful verification of dependency-ordering correctness, backward compatibility of metrics initialization, seed/view-aware topological sort, and cross-file alignment in documentation/policy. The Cargo.toml patch section and OTEL version bump merit scrutiny. Homogeneous doc changes (many wiki topic files) reduce per-file effort, but the migration logic and metrics refactoring demand dense reasoning. Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
|
Warning Gemini is experiencing higher than usual traffic and was unable to create the review. Please try again in a few hours by commenting |
Note
Medium Risk
Mostly documentation and workflow/navigation changes, but it also bumps optional OpenTelemetry dependencies to a git-pinned 0.31 which could affect build reproducibility and any consumers enabling
metrics/tracingfeatures.Overview
Introduces a new
docs/llmwiki/knowledge base (schema, index, logs, topic/entity pages) and replaces the rootAGENT.mdwithAGENTS.mdfocused on strict agent rules and wiki-first navigation.Aligns observability guidance and dependencies: updates
docs/OBSERVABILITY_APP_INTEGRATION.mdto referencemicroscaler-observabilityas the telemetry owner, and bumps optional OpenTelemetry crates to0.31with git[patch.crates-io]pins (plus correspondingCargo.lockupdates). Also tightens project hygiene with JSF-alignedclippy.tomlthresholds, clarifies GraphQL as a legacy/frozen feature in docs, and adds Kubernetes test-infrastructure manifests for a namespaced Postgres deployment (config/k8s/test-infrastructure/*).Reviewed by Cursor Bugbot for commit a0e703f. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores