Research Log
Append-only. One row per research run, newest first. Written by the technique-research skill in Phase 5 (or on no-op).
| Date | Topic | Verdict | Sources | Outcome |
|---|---|---|---|---|
| 2026-12-04 | Laravel for Rust (laravel-rust 0.2 beta) on the mx stack: recipe, containers, Vite HMR behind the router | NEW | 14 | Authored laravel-rust-on-mx.md with the new laravel-rust recipe (user request; official docs plus the docs bundled in the crate; every claim in the verified sections was run end to end: scaffold, dev stack with HMR through the router, app tests, production image and queue worker) |
| 2026-11-30 | Secrets handling for headless AI coding agents (environment inheritance, sandboxes, egress, credential brokering, redaction, transcripts) | NEW | 59 | Authored secrets-handling-headless-ai-agents.md (web research subagent, 95 claims; 32 load-bearing strings re-checked against 15 primary pages by curl, 31 matching literally and one confirmed in the page source; HN topic search contributed three practitioner-tooling threads, used under Synthesis only; X provider returned HTTP 400 on four queries and was skipped; eight local experiments with made-up values on macOS 26.6.2 and Linux 7.2.12 cover environment and argv visibility, allowlisted spawn, sandbox-exec limits, gitleaks 8.30.1 against transformed tokens, and transcript storage; no agent CLI’s scrub or sandbox settings were exercised, and Codex CLI was not installed). HN trend pulse added two backlog entries (single source-host account compromise, outbound email deliverability) — PR #93 |
| 2026-11-25 | Jev as an opt-in relevance stage behind retrieval in the mx techniques corpus (trial) | IMPROVE | measured here | system-one-decision-models-jev.md gains an applied section: 155 queries across authored, near-miss and real-log sets; at threshold 0.3 no answerable real query lost and junk answers cut from 33 to 19 of 33; ships off by default behind MX_RAG_RERANK=jev |
| 2026-11-23 | POSIX child-process supervision in Rust (reaping, process groups, PID-reuse witnesses, tree kills, parent-death ties, detachment) | NEW | 78 | Authored posix-child-process-supervision-rust.md (web research subagent, 80 claims with load-bearing quotes re-checked against the primary pages by curl, plus the a2a and hq repos as worked examples; HN topic search returned nothing on-topic above 50 points; fifteen experiments on macOS 26.6.2 and Linux 7.2.12 back the load-bearing claims: a dropped Child is a zombie, tokio kill_on_drop reaps only while the runtime runs, an ignored SIGCHLD makes wait/status/output fail with ECHILD, a setsid grandchild survives a group kill and cgroup.kill catches it, an unreaped pid is not reused and a reaped one is, pidfd signalling returns ESRCH after reap, PR_SET_PDEATHSIG fires when the spawning thread exits, a lifeline pipe ends the child on supervisor SIGKILL on both systems; reference terminate_group and start-time witness compiled on both). HN pulse added three backlog entries (third-party browser scripts after the Optimizely compromise, emergency patch response after the NGINX HTTP/2 RCEs, PostgreSQL 19 REPACK) — PR #89; independently reviewed 2026-11-25 with the code compiled and run on both systems: a group leak in terminate_group and a false build claim fixed before merge |
| 2026-11-20 | Independent review of three unattended research docs: Traefik HTTPS, Unix-socket IPC, mx Cloudflare deploy | IMPROVE | 3 reviewers | Corrected traefik-https-acme-and-local-certs.md (curl resolves .localhost itself; the wildcard test showed curl’s matcher, not Apple’s TLS stack; ACME challenges are never redirected; dashboard exposure is a required change before going public; re-baselined to v3.7.19), unix-socket-ipc-singleton-daemons.md (a false “verified” claim: macOS does define POSIX_SPAWN_SETSID; systemd activation needs set_nonblocking; a lock can outlive its daemon through an inherited descriptor; Rust and Python examples rewritten to verify the home directory, refuse non-sockets and handle SIGTERM, recompiled and exercised) and mx-cloudflare-deploy.md (the scaffold’s default scheduling policy is now documented as deprecated; target config paths and image_vars; caret semantics; DigitalOcean not Hetzner; versions; line citations replaced by named anchors). The review also found and fixed a code bug: cf-init-app.sh ignored credentials set in the environment |
| 2026-11-18 | Local AWS emulation as the developer lane for AWS-hosted organizations (MiniStack, AWS Emulator, Floci, LocalStack, sandbox-account gate; positioned against the Cloudflare lane) | NEW | 52 | Authored local-aws-emulation-architecture.md (web research subagent plus two HN threads; MiniStack 1.5.42 and Floci run locally for startup, memory, error-shape, account/region isolation and reset checks; AWS Emulator v1.0.512 scores.json.gz re-summed: 72.2% of 46,026 units, 355 services; Terraform block validated against hashicorp/aws 6.73.0, compose block via docker compose config; reviewed by an independent agent, 29 findings fixed; corpus MCP was offline at run start (fixed in PR #75); x provider not run) — PR #76 |
| 2026-11-16 | mx infra: cloudflare provisioning, wrangler containers, terraform flow (backlog top entry re-check) | FRESH | 0 | No-op — covered and current in mx-cloudflare-deploy.md (amended 2026-10-20: mx cf shipped, mx infra link/unlink real, all four credential/CLI drift items closed; no infra-code commits on main since). Terraform is documented there as never scaffolded (§2, §6 item 5), so there is no terraform flow to research. Only stale cf-init-app.sh line citations in §1 remain (wrangler.toml generation now sits near lines 402-460). Backlog entry checked off; three HN pulse entries appended (aws-emulator, modern-web-guidance, Lovable/Supabase exposure). Corpus search ran lexical-only (embedding key unavailable), so pulse dedup was lexical. Backlog-only PR #74 |
| 2026-11-02 | Unix-socket IPC and singleton local daemons (lifetime locks, stale sockets, peer credentials, framing, socket activation) | NEW | 79 | Authored unix-socket-ipc-singleton-daemons.md (web research subagent plus two HN threads and the a2a and understudy repos as worked examples; thirteen experiments on macOS and Linux back the load-bearing claims: bind fails on any existing path and connect-refused is the stale signal, but a full backlog also refuses on macOS so only a held flock makes the unlink safe; socket modes enforced on both OSes with the write bit the only one that matters; LOCAL_PEERCRED/SO_PEERCRED values read; flock released on SIGKILL; std and tokio UnixListener leave the file behind; Rust example compiled on rustc 1.99/tokio 1.54, Python example self-tested on 3.13, launchd plist linted; Lima CVE-2026-53657 cross-checked against NVD and GHSA; x provider down (HTTP 400); backlog: three HN pulse topics added, three already-covered mx entries ticked) — PR #73 |
| 2026-10-26 | tRPC in production (best practices, security hardening, type performance) | NEW | 48 | Authored trpc-in-production.md (web research subagent plus HN thread and Cal.com cold-start post; load-bearing claims re-verified at runtime against @trpc/server 11.19.0: multipart and octet-stream POSTs reach a no-input mutation while text/plain and urlencoded get 415, raw Error messages reach the client with isDev false, maxBodySize and maxBatchSize have no defaults, .errors() absent from npm 11.19; two 2025 CVEs with fixed ranges; all seven code blocks type-checked under TypeScript 7.0.2 and zod 4; x provider down (HTTP 400); reviewed by an independent agent, 25 findings fixed before merge) — PR #72 |
| 2026-10-26 | mx Cloudflare deploy re-check: GA Containers platform, wrangler 4 toolchain drift, Terraform’s place | IMPROVE | 53 | Amended mx-cloudflare-deploy.md (sections 8-11: GA status, instance types and per-10ms billing with provisioned memory/disk, Dockerfile build on deploy, rollout semantics, ephemeral disk and the 2026-09 cross-tenant incident, durable_object policy and the Container class end-of-updates date; drift items 9-14 for wrangler 3 pins, @cloudflare/containers ^0.0.30, removed kv:namespace, migrations vs exports, stale types and compat dates; Terraform v5 can attach but not configure a container, decision recorded) plus three HN pulse backlog entries; load-bearing quotes re-checked by curl; x provider down (HTTP 400) — PR |
| 2026-10-19 | HTTPS for the mx Traefik router: ACME/Let’s Encrypt in production and trusted local certificates for *.localhost | NEW | 71 | Authored traefik-https-acme-and-local-certs.md (web research subagent plus HN; Traefik v3.7.15 source read for the renewal tiers, the 600 check, profile support and the absence of ARI; Let’s Encrypt, CA/B BR v2.3.1, Cloudflare, lego, Chromium and mozilla::pkix pages checked verbatim; empirical finding that a *.localhost wildcard is rejected by Chrome, Firefox’s pkix rule and Apple’s TLS stack, which breaks the recipe in docs/router.md) |
| 2026-10-12 | mx Cloudflare deploy refresh: Containers platform state, second deploy path (assets-only Worker), Terraform scope, cf CLI and Deno horizon (backlog top entry, autonomous run) | IMPROVE | 54 | Refreshed mx-cloudflare-deploy.md (Containers GA 2026-04-13 on Workers Paid; Container base class maintained only through 2026-12-31 and unusable with the new durable_object policy; exports replaces migrations and the two are mutually exclusive; wrangler deploy builds from a Dockerfile path; staged 10%/100% rollouts and --containers-rollout; instance types, limits, pricing and the 2026-12-01 log pricing change; the September dm-thin cross-tenant disk flaw; template pins wrangler 3.x which has no containers command (verified by running 3.114.17 and 4.149.0); the mechcrate.dev assets-only Worker path; Terraform v5 can attach a container only by class_name; cf CLI beta with a final wrangler major plus 18 months maintenance; Deno acquisition); inventory grows from 8 to 16 items; three HN pulse entries added to the backlog; corpus answered lexical-only (embedding key unavailable) so dedup was weaker; x provider down (HTTP 400) — PR |
| 2026-10-10 | Shadow traffic and dark launches (mirroring mechanisms, response diffing, do’s and don’ts) | NEW | 44 | Authored shadow-traffic-and-dark-launches.md (verified mirror semantics for Envoy, Istio, Gateway API v1.3 percent and fraction, NGINX keep-alive stall, HAProxy SPOE, Traefik file-provider-only mirroring with 0% default, Scientist reads-only rule, GoReplay, SageMaker; Diffy noise cancellation and Netflix normalisation and lineage; do’s and don’ts table; Envoy 1.39.3, nginx 1.30.5 and Traefik v3.6.1 configs validated and a runnable Python shadow experiment; x provider down (HTTP 400)) |
| 2026-10-05 | Local-first sync engines and CRDTs in practice (architecture choice, engine status, production pitfalls) | NEW | 89 | Authored local-first-sync-engines-crdts-in-practice.md (web research subagent plus HN; load-bearing quotes re-checked verbatim against the primary pages by curl; finds that every GA sync engine is server-authoritative, that Zero rejects offline writes and Electric has no write path, and that Replicache, Triplit, InstantDB cloud, cr-sqlite and YSwift are in maintenance, sunset or stale; x provider returned HTTP 400 on every query and was skipped) |
| 2026-10-05 | Grafana in practice (dashboards, alerting, LGTM stack, observability as code, operations) | NEW | 80 | Authored grafana-observability-practices.md (Grafana 13.2 line with the 9/15-month support calendar; removals of legacy alerting, Angular, API keys, Agent and Promtail; RED/USE dashboards and $__rate_interval; Grafana-managed alerting with SRE Workbook burn-rate rules checked by promtool; provisioning verified on a 13.2.3 container; Git Sync, gcx and Foundation SDK status; edition table and two 2026 CVEs) |
| 2026-10-05 | RAG to context lakes: a maturity ladder for LLM context (hybrid, query and index enrichment, agentic, GraphRAG, code graphs, memory, assembly, eval) | NEW | 83 | Authored rag-context-engineering-ladder.md (twelve rungs from no-retrieval to governed context lakes, each with sourced gains, costs and a climb signal; “context lake” shown to be a vendor label with four published definitions from three vendors; GraphRAG-versus-vector evidence, the grep-versus-index debate as a primary-statement table, disputed memory benchmarks, a runnable context-assembly example); x provider down (HTTP 400) |
| 2026-09-25 | Supply-chain security for dependency ecosystems (cargo/npm): execution surfaces, lockfiles, cooldowns, registry controls, gates, publisher hygiene | NEW | 121 | Authored supply-chain-security-cargo-npm.md (2025-2026 incident ledger with live windows and finders; npm 12/pnpm 11/Yarn/Bun script-blocking defaults vs cargo’s absence of any switch and the shelved sandboxing goal; cooldown defaults and the free-rider rebuttal reconciled; npm token/2FA/staged-publishing timeline through 2026-09-18; crates.io Trusted-Publishing-only, no registry 2FA, no provenance; valid provenance on malicious keyv and TanStack releases) plus three HN pulse backlog entries; x provider down (HTTP 400) — PR |
| 2026-09-18 | System One decision models and Jev (seed: Syntax video via vidwatch) | NEW | 42 | Authored system-one-decision-models-jev.md (what a System One model returns, the three primitives and confidence contract, the prescribed patterns, the in-front/beside/behind/instead-of placement rule, and an independent-evidence table that lands far below the vendor’s headline multipliers) |
| 2026-09-18 | Enterprise Django architecture (layout, service layer, ORM, migrations, APIs, async, tenancy, testing) | NEW | 46 | Authored django-enterprise-architecture.md (Django 6.1 line verified against djangoproject.com release notes; reconciles HackSoft services/selectors against Bennett’s model-first rebuttal; documents 6.1 fetch modes, the zero-downtime migration sequence, and that Django 6.0/6.1 ship no task worker despite DEP 14’s DatabaseBackend) |
| 2026-09-18 | Django at scale (security hardening, performance, observability, operations) | NEW | 43 | Authored django-production-hardening.md (Django 6.1 line: every check --deploy item with its documented default, built-in CSP from 6.0 vs django-csp, the mutually exclusive CONN_MAX_AGE / native psycopg pool / PgBouncer strategies, server and worker sizing, OpenTelemetry under pre-fork workers, LTS calendar and advisory tracking) |
| 2026-09-18 | FRP in Python (family doc: reactivex, asyncio, anyio/trio, Textual) | NEW | 29 | Authored appendix-frp-python.md (corrects the family’s RxPY-v4 assumption to reactivex 5.1.0 with method chaining; bounded queues plus TaskGroup/timeout/Queue.shutdown as the backpressure and cancellation story; runnable asyncio + reactivex intent loop) |
| 2026-09-18 | Python performance engineering (free-threading, JIT, profiling, async, native) | NEW | 45 | Authored python-performance-engineering.md (measure-first playbook; every interpreter figure re-verified verbatim against CPython What’s New 3.13/3.14/3.15 and PEPs 703/779/744/836/734/669/799; corrects the widely repeated “ThreadPoolExecutor defaults to cores x 5” to the current min(32, (os.process_cpu_count() or 1) + 4)) |
| 2026-09-18 | Secure Python (supply chain, input handling, secrets, runtime hardening) | NEW | 48 | Authored python-secure-coding-practices.md (primary-source audit: Trusted Publishing and PEP 740 assert publisher identity, not artifact safety; tarfile’s data default landed in 3.14; re has no timeout parameter; argon2id parameters taken verbatim from OWASP; CPython cannot sandbox itself) |
| 2026-09-13 | MCP server tool design: citation correction pass (review of PR #38) | IMPROVE | 13 | Amended mcp-server-tool-design.md: Claude Code tool-search gating restated per [6] (model generation, not v2.1.232; discovery cache needs v2.1.221 and is off by default since v2.1.238), 150k->2k saving reattributed to definition loading per [9], dropped the unsourced 15-20% description-tuning figure, prefix/suffix claim scoped to [8], no-parameter schema shape marked Recommended not MUST, x-mcp-header marked SHOULD NOT, annotations MUST qualified with trusted-servers, defer_loading set per mcp_toolset for connector tools; no sources added |
| 2026-09-12 | MCP server tool design: workflow tools, progressive discovery, code mode (seed: Neon video via vidwatch) | NEW | 13 | Authored mcp-server-tool-design.md (video watched frame-by-frame with vidwatch; every client-side claim checked against MCP 2026-07-28 client best practices + tools spec, Claude/OpenAI tool-search docs, Neon package READMEs; flags the video’s Claude Code/Codex code-mode claim as overstated) |
| 2026-09-02 | repo profile: mech-crate | NEW | 36 | Authored repos/mech-crate.md (wave 1, agentic core) — PR #33; wave gate passed 2026-11-20: retrieval smoke test through rag_context with embeddings live, 20 of 21 questions returned the profile in the top 3 (each profile at least 2 of 3), five technique queries returned no profile |
| 2026-09-02 | repo profile: a2a | NEW | 18 | Authored repos/a2a.md (wave 1, agentic core) — PR #33; wave gate passed 2026-11-20: retrieval smoke test through rag_context with embeddings live, 20 of 21 questions returned the profile in the top 3 (each profile at least 2 of 3), five technique queries returned no profile |
| 2026-09-02 | repo profile: hq | NEW | 17 | Authored repos/hq.md (wave 1, agentic core) — PR #33; wave gate passed 2026-11-20: retrieval smoke test through rag_context with embeddings live, 20 of 21 questions returned the profile in the top 3 (each profile at least 2 of 3), five technique queries returned no profile |
| 2026-09-02 | repo profile: meetnotes | NEW | 8 | Authored repos/meetnotes.md (wave 1, agentic core) — PR #33; wave gate passed 2026-11-20: retrieval smoke test through rag_context with embeddings live, 20 of 21 questions returned the profile in the top 3 (each profile at least 2 of 3), five technique queries returned no profile |
| 2026-09-02 | repo profile: understudy | NEW | 7 | Authored repos/understudy.md (wave 1, agentic core) — PR #33; wave gate passed 2026-11-20: retrieval smoke test through rag_context with embeddings live, 20 of 21 questions returned the profile in the top 3 (each profile at least 2 of 3), five technique queries returned no profile |
| 2026-09-02 | repo profile: devloop | NEW | 16 | Authored repos/devloop.md (wave 1, agentic core) — PR #33; wave gate passed 2026-11-20: retrieval smoke test through rag_context with embeddings live, 20 of 21 questions returned the profile in the top 3 (each profile at least 2 of 3), five technique queries returned no profile |
| 2026-09-02 | repo profile: cupcake | NEW | 17 | Authored repos/cupcake.md (wave 1, agentic core) — PR #33; wave gate passed 2026-11-20: retrieval smoke test through rag_context with embeddings live, 20 of 21 questions returned the profile in the top 3 (each profile at least 2 of 3), five technique queries returned no profile |
| 2026-08-14 | Multi-agent LLM systems: comms, lifecycle, delegation, verification (sweep leg A) | NEW | 24 | Authored multi-agent-systems-in-practice.md (meeting-notes-steered sweep; incl. Managed Agents hub-and-spoke/interrupt/advisor primitives, measured A2A-vs-MCP adoption gap, cheating-agents verification evidence) |
| 2026-08-14 | LLM token & cache efficiency engineering (sweep leg B) | NEW | 24 | Authored llm-token-cache-efficiency.md (falsified the ~90-min cache TTL claim; corrected stale 15x delegation math to 5x; credit-cliff 1h->5m TTL drop; worktree cache-split finding) |
| 2026-08-14 | Vector DB updates: pgvector + retrieval fusion (sweep leg C) | IMPROVE+FRESH | 9 | Amended pgvector-rust-batch-embedding.md (0.8.6 release, CVE-2026-18022 with 32-bit-only calibration, TurboQuant PR closed unmerged); rag-retrieval-fusion-and-chunking.md verified FRESH, no edit |
| 2026-07-28 | Tries/radix trees + trie-path dispatch (forst pattern) | NEW | 19 | Authored tries-and-radix-dispatch.md (web research + forst repo as primary source; ART paper read in full, 68-claim report) |
| 2026-07-26 | pgvector in Rust + concurrent batch embedding pipelines | NEW | 20 | Authored pgvector-rust-batch-embedding.md (web research; incl. Neon-pooler statement-cache trap and HNSW filtered-recall trap both live in our corpus) |
| 2026-07-26 | RAG retrieval quality: hybrid fusion + chunking for code corpora | NEW | 16 | Authored rag-retrieval-fusion-and-chunking.md (web research; incl. empirically verified finding that our pg_trgm lexical arm is inert) |
| 2026-07-19 | mx cloudflare infra: scaffolding, credentials, worker+container deploy | NEW | 9 repo sources | Authored mx-cloudflare-deploy.md (8-item drift inventory incl. phantom mx cf command and credential env-var mismatch) |
| 2026-07-19 | mx recipes/blueprints lifecycle + image build pipeline | NEW | 12 repo sources | Authored mx-recipes-and-build.md (internal codebase research; 10-item gaps inventory incl. missing consumer-update provenance) |
| 2026-07-19 | mx framework app playbook: anatomy, scaffolding, migration, always-use-router | NEW | 9 repo sources | Authored mx-app-playbook.md (internal codebase research; web/x/hn providers skipped — proprietary topic) |
| 2026-07-18 | Rust async cancellation and graceful shutdown patterns | NEW | 9 | Authored rust-async-cancellation-graceful-shutdown.md — PR #14 |
| 2026-07-18 | Rust atomics memory ordering (Acquire/Release/SeqCst) selection | FRESH | 0 | No-op — covered & current in appendix-rust-concurrency.md (top score 0.59, complexity expert); no PR |