matrix-agent-validated/mcp-server/samples/staffing_roster_sample.csv
profit ac01fffd9a checkpoint: matrix-agent-validated (2026-04-25)
Architectural snapshot of the lakehouse codebase at the point where the
full matrix-driven agent loop with Mem0 versioning + deletion was
validated end-to-end.

WHAT THIS REPO IS
A clean single-commit snapshot of the lakehouse code. Heavy test data
(.parquet datasets, vector indexes) excluded — see REPLICATION.md for
regen path. Full lakehouse history at git.agentview.dev/profit/lakehouse.

WHAT WAS PROVEN
- Vector retrieval across multi-corpora matrix (chicago_permits + entity
  briefs + sec_tickers + distilled procedural + llm_team runs)
- Observer hand-review (cloud + heuristic fallback) gating each candidate
- Local-model agent loop (qwen3.5:latest) with tool use + scratchpad
- Playbook seal on success → next-iter retrieval surfaces it as preamble
- Mem0 versioning + deletion in pathway_memory:
    * UPSERT: ADD on new workflow, UPDATE bumps replay_count on identical
    * REVISE: chains versions, parent.superseded_at + superseded_by stamped
    * RETIRE: marks specific trace retired with reason, excluded from retrieval
    * HISTORY: walks chain root→tip, cycle-safe

KEY DIRECTORIES
- crates/vectord/src/pathway_memory.rs — Mem0 ops live here
- crates/vectord/src/playbook_memory.rs — original Mem0 reference
- tests/agent_test/ — local-model agent harness + PRD + session archives
- scripts/dump_raw_corpus.sh — MinIO bucket dump (raw test corpus)
- scripts/vectorize_raw_corpus.ts — corpus → vector indexes
- scripts/analyze_chicago_contracts.ts — real inference pipeline
- scripts/seal_agent_playbook.ts — Mem0 upsert from agent traces

Replication: see REPLICATION.md for Debian 13 clean install + cloud-only
adaptation (no local Ollama).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 19:43:27 -05:00

3.8 KiB

1worker_idnamerolecitystateemailphoneskillscertificationsavailabilityreliabilityarchetype
2W-1001Sarah JohnsonForklift OperatorChicagoILsarah.johnson@example.com(312) 555-0101pallet jack|hazmat|loading dockOSHA-10|Forklift0.920.88reliable
3W-1002Michael ChenWelderToledoOHm.chen@example.com(419) 555-0234TIG|MIG|blueprint reading|grinderOSHA-10|AWS D1.10.710.94specialist
4W-1003Maria RodriguezWarehouse AssociateChicagoILmaria.r@example.com(312) 555-0311inventory|RF scanner|pick-to-lightOSHA-100.850.80reliable
5W-1004David ParkMachine OperatorDetroitMIdpark@example.com(313) 555-0412CNC|gauge R&R|lean manufacturingOSHA-10|First Aid0.600.91specialist
6W-1005Jennifer LopezLoaderChicagoILj.lopez@example.com(312) 555-0501loading dock|team lead|cold storageOSHA-10|Forklift0.950.76communicator
7W-1006Robert WilliamsMaintenance TechMilwaukeeWIrwilliams@example.com(414) 555-0612electrical|PLC|hydraulics|CMMSOSHA-10|LOTO0.450.93specialist
8W-1007Amanda TaylorQuality TechToledoOHa.taylor@example.com(419) 555-0701ISO 9001|calibration|root cause analysisOSHA-10|Six Sigma Green0.800.87leader
9W-1008Carlos MendozaElectricianChicagoILc.mendoza@example.com(312) 555-0808conduit|motor controls|troubleshootingOSHA-30|NEC0.880.96specialist
10W-1009Kim NguyenForklift OperatorDetroitMIk.nguyen@example.com(313) 555-0915pallet jack|shipping|team leadOSHA-10|Forklift0.730.82flexible
11W-1010James O'BrienWelderMilwaukeeWIjobrien@example.com(414) 555-1021TIG|pipe welding|confined spaceOSHA-10|AWS D1.10.900.79reliable
12W-1011Priya PatelProduction WorkerChicagoILpriya.p@example.com(312) 555-1118line work|first article|labelingOSHA-100.660.85reliable
13W-1012Thomas AndersonMaterial HandlerToledoOHtanderson@example.com(419) 555-1225RF scanner|pallet jack|receivingOSHA-10|Forklift0.820.77flexible
14W-1013Lisa NakamuraWarehouse AssociateDetroitMIl.nakamura@example.com(313) 555-1312inventory|Excel|packagingOSHA-100.770.89communicator
15W-1014Brandon MooreMachine OperatorMilwaukeeWIb.moore@example.com(414) 555-1405CNC|SPC|conveyor opsOSHA-100.560.94specialist
16W-1015Emily ZhangAssemblerChicagoILemily.z@example.com(312) 555-1502assembly|gauge R&R|line leadOSHA-10|Six Sigma Yellow0.910.81leader
17W-1016Marcus JohnsonForklift OperatorToledoOHmjohnson@example.com(419) 555-1609pallet jack|hazmat|overhead craneOSHA-10|Forklift|Hazmat0.680.88reliable
18W-1017Anita BrooksLine LeadDetroitMIa.brooks@example.com(313) 555-1715team lead|training|SPCOSHA-30|Six Sigma Green0.520.97leader
19W-1018Dmitri VolkovWelderChicagoILd.volkov@example.com(312) 555-1820TIG|MIG|blueprint readingOSHA-10|AWS D1.1|Confined Space0.840.83specialist
20W-1019Rachel KimLoaderMilwaukeeWIr.kim@example.com(414) 555-1911loading dock|first aid|bilingualOSHA-10|First Aid0.790.84communicator
21W-1020Samuel ParkMaintenance TechToledoOHspark@example.com(419) 555-2012electrical|PLC|troubleshooting|CMMSOSHA-10|LOTO0.700.92specialist
22W-1021Jordan WilliamsQuality TechDetroitMIj.williams@example.com(313) 555-2117ISO 9001|calibration|SPCOSHA-10|Six Sigma Green0.830.86leader
23W-1022Natalia SotoWarehouse AssociateChicagoILn.soto@example.com(312) 555-2221RF scanner|inventory|team leadOSHA-100.890.90communicator
24W-1023Henry ChenMachine OperatorMilwaukeeWIh.chen@example.com(414) 555-2318CNC|conveyor ops|root causeOSHA-100.640.93specialist
25W-1024Ava MartinezForklift OperatorToledoOHa.martinez@example.com(419) 555-2411pallet jack|bilingual|cold storageOSHA-10|Forklift0.870.80flexible
26W-1025Tyler RodriguezProduction WorkerChicagoILt.rodriguez@example.com(312) 555-2515line work|packaging|quality inspectionOSHA-100.740.86reliable