# Project M4: An Autonomous Local Affiliate Ad Engine

> Project M4 is a fully local, zero-monthly-cost pipeline for producing short-form affiliate video ads, designed to run entirely on a single Apple Mac Studio (M2 Ultra, 64 GB unified memory). The system ingests proven winning ads from the Meta Ad Library and TikTok Creative Center, deconstructs them into hook, body, and call-to-action segments, rewrites the script for a target affiliate offer with a local large language model, synthesizes voiceover and a short AI-generated visual hook, assembles the result in the "Sandwich" format (AI hook + real product B-roll + visual call-to-action), randomizes the output's metadata and perceptual fingerprint, and distributes it through a self-hosted Postiz instance — with a human approval gate in Telegram before anything publishes. Phase 1 (core infrastructure: OrbStack compose, install script, database schema, and the FR-5.3 anti-fingerprinting tooling) was built and validated locally on November 5, 2026. Installation on the Mac Studio is blocked because the Studio has been offline since approximately 01:30 EST on November 5, 2026. Phases 2 (synthesis stack) and 3 (automation wiring) are design only at the time of writing. This manuscript documents the design as specified in PRD v1.0 (supplied November 5, 2026), the corrections verified during the Phase 1 build, and the validation results obtained so far — and states plainly what is built, what is design only, and what is blocked.

Canonical: https://glenride.com/briefs/836a5ca9-565a-5fd2-b913-031b7b63c283
Last updated: 2026-11-06

## At a glance

| Fact | Value |
| --- | --- |
| Author | D'Vaughn House |
| Published | 2026-11-06 |
| Word count | 2084 |
| Reading time | 10 min |
| Status | Published |
| SpinWave record | v1 |

## Executive abstract

Project M4 is a fully local, zero-monthly-cost pipeline for producing short-form affiliate video ads, designed to run entirely on a single Apple Mac Studio (M2 Ultra, 64 GB unified memory). The system ingests proven winning ads from the Meta Ad Library and TikTok Creative Center, deconstructs them into hook, body, and call-to-action segments, rewrites the script for a target affiliate offer with a local large language model, synthesizes voiceover and a short AI-generated visual hook, assembles the result in the "Sandwich" format (AI hook + real product B-roll + visual call-to-action), randomizes the output's metadata and perceptual fingerprint, and distributes it through a self-hosted Postiz instance — with a human approval gate in Telegram before anything publishes. Phase 1 (core infrastructure: OrbStack compose, install script, database schema, and the FR-5.3 anti-fingerprinting tooling) was built and validated locally on November 5, 2026. Installation on the Mac Studio is blocked because the Studio has been offline since approximately 01:30 EST on November 5, 2026. Phases 2 (synthesis stack) and 3 (automation wiring) are design only at the time of writing. This manuscript documents the design as specified in PRD v1.0 (supplied November 5, 2026), the corrections verified during the Phase 1 build, and the validation results obtained so far — and states plainly what is built, what is design only, and what is blocked.

## Citation

D'Vaughn House (2026). "Project M4: An Autonomous Local Affiliate Ad Engine". Glenride Institutional Monographs, Document ID: 836a5ca9-565a-5fd2-b913-031b7b63c283.

## Related

- [Vanguard Library](https://glenride.com/library)
- [The Import Drop That Wasn't](https://glenride.com/briefs/01a20eb4-6003-73c0-8973-229d04cad126)
- [A Replication of "A Flexible Design for Funding Public Goods"](https://glenride.com/briefs/728fc5e0-175a-57a0-95c1-95d43414643e)
- [License It From Anywhere: A Cross-Chain Design for Licensing Scholarly Works](https://glenride.com/briefs/dcade1be-cf34-52aa-a059-65d4a659b676)
