Historical local qualification: Source 7cf4b26e focused Core 22/22 and Dashboard 26/26 checks passed. The historical bounded local record keeps their exact scope. Historical source 7cf4b26e passed the 3,286/3,286 full checks and all 36 installed families. Independent bounded local evidence acceptance passed; exact-final-head CI is recorded separately from this frozen local proof. Module-specific and broader limits remain below.
Status: W33 private package candidate, 3 October 2026. Installed-consumer proof covers pure packs and caller-owned durable drafting. Historical 7cf bounded installed/full composition and independent evidence acceptance passed. Original component-review scopes remain in their historical records. No live drafter, publication, acquisition evidence or complete Factory composition is established.
Use Node.js 26.8.1 or later, ESM and an exact private tarball retained by your application. There are no runtime npm dependencies. Imports open no stores or transports and read no clock. Marketing accepts externally validated facts and needs no Factory planner, Implementation, release pipeline or Portfolio registration.
software-factory/marketing-workflow offers generateMarketingPack, parseMarketingPack and revalidateMarketingPack. software-factory/marketing-workflow-contract exports neutral fact, brief, pack, validity, refusal and error types plus fixed limits; pure TypeScript consumers need only ES2024 declarations. software-factory/marketing-job offers runMarketingJob; its types and software-factory/marketing-job-contract use the caller Journal and AbortSignal, so TypeScript consumers supply compatible Node development declarations (@types/node 26.6.3 with undici-types 8.9.0 tested). The package supplies no drafter, fact authority or publishing adapter.
import {
generateMarketingPack, parseMarketingPack, revalidateMarketingPack,
} from 'software-factory/marketing-workflow';
import { runMarketingJob } from 'software-factory/marketing-job';
export function renderPack(brief, validatedFacts, asOf) {
return generateMarketingPack(brief, validatedFacts, asOf);
}
export function readCurrentPack(storedPack, currentFacts, asOf) {
const historical = parseMarketingPack(storedPack);
return { historical, validity: revalidateMarketingPack(historical, currentFacts, asOf) };
}
export function resumeOriginalJob(retainedRequest, callerPorts) {
// Retain the exact request, drafter ID and fixed Budget before invoking it.
// Reuse them after missing acknowledgement or restart, including unknown calls.
return runMarketingJob(retainedRequest, callerPorts);
}
Facts, claims and historical meaning
A brief names one scope, audience, channel and material, an exclusive maximum fact age and blocks with {fact:<id>} placeholders. Each sf-marketing-fact/1 carries its subject, value, scope, source revision/digest, checked time, status and evidence kind. A quantity also requires its population and window. Benefits require a supported Assessment; availability requires a release and current passing probe; competitor claims require an owner-approved citation digest. The caller authenticates sources and verifies facts: a supplied digest or verdict word is not independent truth.
The renderer records per-block Claim traces and refusals. Missing, stale, expired, withdrawn, wrong-scope or unsupported evidence refuses a whole block with null text. Common superlatives, guarantees, prices, personal details and unsupported figures, causality, benefit, availability or broadened scope are screened. Screens are fixed word lists: they do not establish truth, compare every literal subject/place/segment with a fact, detect look-alike Unicode letters, check British spelling or prove effectiveness. A pack gives no publication permission.
Keep the original sf-marketing-pack/1 bytes and digest. Parsing refuses corruption without repair. Revalidation shows historical state beside current validity; changed or withdrawn facts invalidate new use without rewriting history. A historically refused block stays not-rendered. Revalidation time cannot precede the pack's time. Retained v1 rendering and rules stay unchanged.
Own the job and its effects
Supply {journal, clock, drafter?, signal?}. journal needs only the public CommandJournal execute and readAggregate operations; its caller owns storage and lifetime. clock returns canonical UTC millisecond timestamps. The request carries sf-marketing-job/1, caller/job/revision identity, the entire brief/facts and fixed {calls,bytes,deadlineMs} Budget. A completed identical revision replays with no writes or drafter calls at the original asOf. If this run writes start and another caller completes before its first read, it reports replayed:false; a subsequent run that writes nothing remains replayed:true. Changed facts (including uncited facts), drafter ID or Budget conflict; deliberately changed work needs another revision.
A drafter sees only usable cited facts and proposes placeholder templates, never facts. Its reply must be plain JSON and can cite only facts supplied to it. Valid suggestions are checked through the same renderer. Refused, declined, malformed, too-large or unknown suggestions retain the original template. No drafter or no usable fact causes no dispatch. Calls reserve bytes durably before contact and the Budget never grows.
Thrown/rejected calls, cancellation and deadline expiry retain unknown, debit the whole reservation and are never contacted again. An interrupted dispatch is in-progress before its original deadline and settles unknown/interrupted afterwards; an absent reply grants no retry. A late reply is unused. Cancellation requests the drafter's own signal, but an in-process drafter that ignores it may continue effects after the job returns. Before-start cancellation writes nothing; a later run can resume the same original Budget. Missing/refused Journal operations are UNAVAILABLE; changed payload is CONFLICT; corrupt stored state is CORRUPT. Native Promise replies and bounded nested native Promises are observed; hostile constructors and values beyond those bounds remain caller risks.
Bounds and proof
Pure input is at most 1 MiB canonical JSON, 256 facts, 64 blocks, 16 placeholders per block and 4,000 characters per template. Whole over-limit input refuses without truncation. Jobs allow at most 64 calls, 262,144 reply bytes and one hour; each call reserves at most 16,384 bytes. Fixed record-size accounting leaves room to complete the journal state. A Budget limits calls and reply bytes, not model tokens, spend or the drafter's independent effects.
The private installed consumer proves unchanged retained v1 parsing/rendering, current withdrawal/staleness, invalid/refused facts, public declarations, passive imports, separate-process Journal replay, drafter substitution, changed-payload conflicts, Budget exhaustion, cancellation, late replies and interrupted-call non-retry. Drafters are deterministic local fixtures. Platform expansion, independently accepted W33 completion, publication, live marketing and end-to-end Factory remain separate gates.
