Scientific Research and Experimental Development (SR&ED) Technical Log

Project Title: MDL Ops Engine - Intelligent Automation & Data Synchronization
Company: MDL Communications Inc.
Fiscal Year: 2026 (Current)

1. Technological Objectives

The primary objective of the "MDL Ops Engine" project is to develop a proprietary, unified operations platform that automates complex business workflows, specifically targeting: * Intelligent Data Synchronization: Creating a bridge between unstructured email communications (Outlook) and structured file storage (OneDrive) with semantic understanding of content. * Automated Logistics Calculation: Developing a real-time shipping engine that aggregates multiple carrier APIs (TotalShip, EasyShip) and applies proprietary business logic (AI Quote rules). * Legacy Data Normalization: Utilizing Large Language Models (LLMs) to extract structured metadata (Customer, Vendor, PO) from legacy, non-standardized Excel and PDF documents without rigid templates.

2. Technological Obstacles / Uncertainties

Standard industry solutions (e.g., Microsoft Power Automate, standard O365 sync) failed to meet specific business requirements due to the following technological uncertainties:

3. Work Performed (Technical Log)

Activity 1: Intelligent Outlook-to-OneDrive Synchronization Engine

Date Range: February 2026
Hypothesis: A custom Python engine can mirror complex Outlook nested folder structures to the local file system while preserving attachment integrity and detecting folder movements.

Activity 2: AI-Driven Semantic Folder Organization

Date Range: February 2026
Hypothesis: A generative AI pipeline can reliably extract semantic metadata from inconsistent binary streams (Excel/PDF) to automate folder organization.

Activity 3: Blind Shipping Calculator (BSC) & API Aggregation

Date Range: January - February 2026 Hypothesis: An asynchronous aggregation algorithm can resolve N-point logistics costs from heterogeneous API schemas with sub-500ms latency.

Activity 4: Centralized Automation Backbone & Stateless Execution Layer

Date Range: February 18, 2026
Hypothesis: Centralizing the state layer into a cloud-based, human-readable structured data table (Google Sheets) can achieve perfect decoupling, allowing the execution layer to be fully replaceable and deterministic.

Activity 5: Dynamic QBO Integration & Entity Identity Resolution

Date Range: February 21, 2026
Hypothesis: A stateless Python bridge can reliably map non-deterministic AI outputs to strict accounting schemas (QuickBooks Online) while handling identity resolution for sales-related entities.

Activity 6: Stable Video Streaming Engine for HLS Looping

Date Range: February 19, 2026
Hypothesis: Replacing a single, long-running FFmpeg demuxer process (which is prone to failure on segment boundary variations) with an independent per-file process manager will achieve 100% uptime for continuous HLS looping.

Activity 7: Unified Reverse Proxy & Path-Aware Orchestration

Date Range: February 21, 2026
Hypothesis: A centralized, path-aware reverse proxy can unify heterogeneous local microservices (Node.js, Evidence.dev, n8n, Python) under a single port while maintaining environment parity with cloud-based deployments.

Activity 8: Robust Automated Shipping Bill Reconciliation & Duplicate Prevention

Date Range: February 23, 2026
Hypothesis: A layered verification system (MIME-type reconstruction + DocNumber deduplication + PO resolution fallback) can achieve zero-error automation for carrier invoice ingestion within a non-deterministic processing pipeline.

Activity 9: Semantic Prioritization Engine for Strategic Planning

Date Range: February 23, 2026
Hypothesis: A non-deterministic semantic analyzer can reliably rank strategic business ideas by multidimensional metrics (Impact vs. Effort) with >80% alignment to manual human prioritization.

Activity 11: Resolving AST Conflicts in Linked QBO Transactions (Canada)

Date Range: February 23, 2026 Hypothesis: A proprietary multi-stage transactional handshake can bypass protocol conflicts between QuickBooks Online's Linked Transaction logic and Automated Sales Tax (AST) in non-US jurisdictions.

Date Range: February 24, 2026 Hypothesis: Hardcoding subpath awareness into production container builds and centralizing legal disclaimers in the transactional pipeline will eliminate non-deterministic routing failures and ensure 100% regulatory compliance.

Activity 13: Hierarchy-Aware Data Sync & Incremental Persistence

Date Range: February 25, 2026 Hypothesis: A hierarchy-aware identity resolution algorithm combined with an incremental state-retention protocol can preserve semantic relationships and local-only state across volatile accounting API synchronization cycles.

Activity 14: Real-Time Carrier API Aggregation & Normalization (FedEx)

Date Range: February 25, 2026 Hypothesis: A unified logistics engine can simultaneously normalize and aggregate real-time shipping quotes from multiple disparate carrier APIs (e.g., FedEx Direct) into a single, standardized landed cost matrix for a frontend calculator.

Activity 15: Resolving Data Fragmentation in Shipping Intelligence via Fuzzy QBO Tracing

Date Range: February 28, 2026 Hypothesis: A fuzzy identity resolution algorithm can reconcile disparate naming conventions between carrier-provided metadata and strictly-keyed accounting entities (QBO) to recover lost project context without manual data entry.

Activity 16: Multi-Part Transactional Attachment Automation (QBO)

Date Range: March 1, 2026 Hypothesis: A custom boundary-preserving multipart handler can overcome the schema limitations of the QBO V3 Attachable API to programmatically link audit documents to financial liabilities.

Activity 17: Autonomous Lead Enrichment Memory Architecture

Date Range: March 2, 2026 Hypothesis: A feedback-loop architecture using prioritized flat-file registries can provide persistent "Agent Memory" in a stateless orchestration environment without violating the MDL Automation Constitution.

Activity 18: Deterministic Multi-modal Excel-to-Print Layout Synchronization

Date Range: March 3, 2026 Hypothesis: Standardizing cell-exact coordinate mapping and hardcoded font-scaling factors in a Node-based Excel engine can eliminate layout drift and ensure 100% visibility for critical logistics instructions across heterogeneous rendering environments.

4. Technological Advancements

This R&D has resulted in a proprietary MDL Ops Engine, utilizing: 1. Stateful Sync Protocol: A custom synchronization protocol that bridges the gap between immutable email IDs and mutable file system paths. 2. Generative Semantic Extraction: A validated methodology for using LLMs to normalize unstructured binary data into structured metadata without OCR training. 3. Algorithmic Logistics Aggregation: A scalable engine for real-time, multi-leg shipping calculations that bypasses the limitations of single-carrier APIs. 4. Decoupled State Architecture (Automation Backbone): A methodology for creating deterministic, transferable automation systems by segregating the executive logic from the persistent state via a cloud-based backbone. 5. Per-File Playout Orchestration: A methodology for achieving stable, continuous HLS broadcasting from heterogeneous source files by managing process lifecycles and manifest states outside of the FFmpeg binary. 6. Layered Document Verification (LDV): A proprietary methodology for reconciling non-deterministic file payloads with structured financial systems through MIME reconstruction and pre-flight state verification. 7. Hybrid Edge-Cloud Inference Orchestration: A methodology for maintaining high-availability AI services by dynamically balancing workloads between volatile cloud endpoints and persistent local compute resources. 8. Automated Tax-Conflict Handshake (ATCH): A proprietary protocol for synchronizing linked financial entities across disjoint accounting schemas that exhibit non-deterministic validation behavior in multi-currency AST environments. 9. Fuzzy Identity Resolution (FIR): A methodology for bridging unstructured carrier metadata with strict accounting schemas through heuristic matching and transactional blockchain tracing.

5. Evidence & Supporting Documentation Protocol

To insure audit readiness for CRA review, the following evidence is maintained: * Commit Logs: Git history (Meta-Repo) documenting the evolution of scripts/ai_provider.py, scripts/ingest_vendor_bill.py, and the refactored execution layers. * Test Results: Logs demonstrating the successful "Failover Transition" from Cloud to Local LLM during simulated outages and successful ATCH handshake verification logs. * Timesheets: Segregated tracking of hours spent on architectural design and experimental testing vs. routine operations.

2026-03-05 22:54 - End of Day Update - Verified that all HTML files contain no .md links. - Regenerated PDFs and HTML docs via generate_docs_pdf.py. - Updated SR&ED Technical Log with this entry. - Committed and pushed all changes to GitHub.

2026-03-06 09:55 - SOP Best Practices & Backbone Integration - Enhanced SOP-001 (Quote Request) with Version History, Ownership, SLA, KPI, Risk Matrix, Training Checklist, and Security Controls. - Synchronized SOP-001 metadata to Automation Backbone (SOP Registry tab). - Created 'SLA' and 'SOP Updates' tabs in the Backbone spreadsheet for improved procedure tracking. - Logged enhancement action to Backbone AUDIT_LOG for constitutional compliance. - Regenerated all PDF and HTML documentation to reflect the new SOP best practices.

2026-03-06 10:10 - Enhanced SOP-002 & Backbone State Sync - Applied best-practice framework to SOP-002 (Quote Creation), detailing AI-assisted line item extraction and margin calibration rules. - Synchronized SOP-002 metadata to Backbone SOP Registry and populated the SLA tab with quote generation timing targets. - Logged ENHANCE_SOP audit trial to the Backbone for SOP-001 and SOP-002. - Verified doc regeneration for both SOP-001 and SOP-002.

2026-03-06 10:18 - SOP-003 Best Practice Implementation - Enhanced SOP-003 (Quote Approval) with discrepancy audit workflows and multi-method risk mitigation strategies. - Updated Backbone SLA tab with audit report delivery and final approval timing targets (1h-24h). - Recorded full SOP metadata across Registry, SLA, and Updates tabs in the Automation Backbone. - Initiated documentation refresh for PDF and HTML distribution.

Activity 19: Chronological SOP Re-indexing & Transactional Phase Reorganization

Date Range: March 6, 2026 Hypothesis: Reorganizing Standard Operating Procedures (SOPs) into chronological transaction phases (Foundation, Sales, Logistics, Finance) will reduce operational latency and clarify system ownership across the automation lifecycle.

2026-03-06 11:25 - Major SOP Re-indexing & Enhancement - Re-indexed and renamed all SOPs into chronological phases (Foundation, Sales, Logistics, Finance). - Applied best-practice enhancements (SLA, KPI, Risk, Training) to every core SOP. - Synchronized new SOP IDs and Groups with the Automation Backbone (SOP Registry).

Activity 20: Strategic Asset Codification & Multi-Cloud Redundancy

Date Range: March 6, 2026 Hypothesis: Codifying strategic decision heuristics and non-deterministic heuristics into a separate "Operator's Brain" layer, combined with a Cloudflare-hosted redundancy mirror, will ensure 100% operational continuity through ownership transitions and infrastructure outages.

2026-03-06 14:15 - Strategic Document Creation & Deployment - Created EXIT_READY_KIT.md, STRATEGIC_DECISION_LOGIC.md, and exit-ready-hub.html. - Established a Cloudflare Pages documentation mirror at mdl-ops-docs.pages.dev. - Integrated Entra ID (Azure AD) protection for the cloud documentation layer. - Finalized Mission Control data.json sorting and duplication cleanup. - Regenerated all HTML and PDF documentation.

Activity 21: Multi-Modal Logistics Intelligence & Live API Tracking Integration

Date Range: March 6-7, 2026 Hypothesis: Integrating client-side PDF text extraction and live carrier API tracking into a unified "Logistics Intelligence" dashboard will reduce parsing errors and eliminate manual data entry for shipment status updates.

2026-03-07 01:05 - End of Day Update - Enhanced Logistics Intelligence with PDF drag-and-drop parsing via pdf.js. - Integrated UPS and FedEx live tracking APIs into the Shipment Alert tool. - Hardcoded carrier build arguments for production Docker stability. - Updated SR&ED Technical Log with Activity 21. - Documented n8n "Zip and Move" migration methodology for system redundancy. - Regenerated all PDF and HTML documentation. - Committed and pushed all changes to GitHub.