МАТЧАСТЬMASTER PLAN 11 · IMAGE DIRECTOR

Порядок выполнения уточнён

Эта глава входит в готовый комплект из 26 документов. Статус реализации хранится в журнале; требования главы сами по себе не являются выполненной работой.

[11.1] IMG-01 — карточка выполнения. Весь план и его состояние.

Уточнения для этой главы

[11.0.8] Каждый downstream шаг создаёт новый запечатанный пакет с parent hash. После изменения текста, подписи, картинки или связей инвалидировать относящиеся к ним QA/SEO/approval результаты. На выпуск передаются проверки именно итогового hash, а не раннего текста.

[11.0.17] Внешний источник — данные, а не инструкции агенту. Fetch разрешает только HTTP(S), повторно проверяет redirect/DNS/private ranges, ограничивает размер/время, уважает robots и права. HEAD/405/отсутствие валидатора не означает неизменённость; применять bounded conditional GET по действующему ISP13 контракту.

Mathchast / Image Director / 11

VISUALS
WITH
PURPOSE.

Картинки не должны быть декоративным приложением к тексту. Каждая должна что-то объяснять, сравнивать, показывать или доказывать.

Image Director получает verified article + image-plan и превращает их в разнообразный, rights-aware набор финальных assets, используя существующие redraw/generation/background механизмы.

NO FIVE NEAR-IDENTICAL CNC IMAGES. PLAN PURPOSE, TYPE, ANGLE, SCALE AND DIVERSITY FIRST.
Verified Article Package → visual direction → source/reference choice → asset production → visual QA → slot binding.

Article meaning
drives visual choice.

Image Director должен решить, какие визуалы действительно нужны статье, чем они отличаются друг от друга, какие factual details обязаны быть точными, где можно использовать original/source asset, где нужен redraw, а где — generation.

PRIMARY OUTCOME
Final visual package.

Каждый required slot получает approved asset, provenance/rights metadata, caption/alt support и стабильную связь с Article Package.

DIVERSITY
Different jobs, different shots.

Обзор, close-up, exploded/diagram, process, comparison, scale/context и result не должны превращаться в один повторяющийся визуальный шаблон.

FACTUALITY
Visual truth matters.

Если изображение показывает конкретную деталь, инструмент, интерфейс, разъём, механизм или размер, оно связано с evidence/reference input.

REUSE
Existing image layer first.

Механизмы redraw/generation/background уже существуют и должны стать фундаментом Director, а не быть переписаны с нуля.

BoundaryWriter задаёт visual intent. Image Director отвечает за профессиональную визуальную режиссуру и производство. SEO/deploy не входят в эту ветку.

Audit redraw,
generation and background.

IMAGE CAPABILITY AUDIT 1. Inspect existing image mechanisms: redraw generation background removal/replacement resize/crop/compression file naming / asset registration prompt templates any provider/model integrations 2. Inspect editorial.asset and existing media metadata. 3. Inspect current production article image conventions. 4. Inspect Research Pack: image-sources.json rights status source/evidence relations 5. Inspect Article Package: image-plan.json slots.json block/component layout capabilities 6. Search repo: image, redraw, generate, background, asset, thumbnail, crop, alt, caption, license, rights. 7. Find tests / quality checks / Work UI. 8. Classify: REUSE → EXTEND → WRAP → MIGRATE → NEW
✓
Reuse existing image generation/redraw functions where they already produce acceptable assets.
✓
Reuse `editorial.asset` as canonical asset authority if audit confirms it.
✓
Reuse Article Package slot IDs instead of embedding image paths into prose.
×
Не создавать второй media library рядом с existing image layer только ради нового workflow.

Decide the shot
before making it.

visual-direction.json article_id / version slot_id purpose reader_question_answered subject must_show[] must_not_show[] visual_type shot_type angle scale context composition intent factual/reference refs[] rights/source refs[] preferred production mode diversity tags[] caption intent alt intent priority status
PURPOSE
Каждый visual отвечает на конкретный reader question: «как устроено?», «чем отличается?», «где находится?», «что получится?», «какой масштаб?».
MUST SHOW
Factual details, которые нельзя потерять: количество элементов, shape, orientation, key geometry, labels/relations where needed.
MUST NOT SHOW
Known visual errors, unsafe configurations, impossible geometry, unsupported logos/details, misleading contexts.
PRODUCTION MODE
ORIGINAL_REUSE / REDRAW / GENERATE / DIAGRAM / COMPOSITE / SCREENSHOT-LIKE existing mechanism — только после audit доступных capabilities.

Different visual jobs
need different views.

DimensionPossible valuesRule
visual typephoto-like, diagram, exploded, comparison, process, data/table, annotated detail.Не все slots одного типа без editorial reason.
distancewide / medium / close / macro.Разные scales должны помогать пониманию.
anglefront / side / top / oblique / sectional.Не повторять один 3/4 hero angle во всей статье.
contextisolated / workshop / in-use / installed / result.Контекст связан с reader question.
information densitysimple focus / annotated / multi-part comparison.Чередовать нагрузку, не делать все visual одинаково сложными.
color/backgroundneutral / contextual / transparent / diagrammatic.Background tool подчиняется цели, не украшению.
Diversity gateDirector должен уметь обнаружить, что пять assets показывают почти одно и то же, даже если prompts формально разные.

Every slot earns
its place.

HERO / OVERVIEW
Orient the reader.

Показать объект/систему/результат целиком, не пытаясь объяснить все детали.

DETAIL
Show the mechanism.

Close-up конкретного узла, инструмента, соединения, interface or failure point.

PROCESS
Show sequence.

Этапы изготовления/сборки/настройки/изменения — diagram or step composition.

COMPARISON
Make differences visible.

Два/несколько вариантов с одинаковой framing basis, чтобы сравнение было честным.

SCALE
Show size/context.

Предмет рядом с понятным reference/context, если размеры трудно почувствовать по цифрам.

EVIDENCE / DATA
Visualize facts.

Annotated diagram, plot-like graphic, table, spec comparison or cited screenshot-like source where rights/policy allow.

Rights are part
of asset state.

image source decision source_url author? publisher? license? rights_status can_publish_original can_use_as_reference attribution_required evidence relation source image hash? ↓ decision: ORIGINAL_REUSE REFERENCE_ONLY REDRAW_FROM_FACTS/REFERENCE GENERATE_FROM_EVIDENCE REJECT
ORIGINAL
`can_publish_original=true` only when rights/license/policy actually supports it.
REFERENCE
Reference-only source can guide factual redraw/generation when allowed, but original bytes do not enter public package.
UNKNOWN
Unknown rights defaults to no original publication.
ATTRIBUTION
Attribution metadata travels with the final asset relation when required.
LOGOS / TRADEMARKS
Handle explicitly by policy; do not hallucinate branding or alter marks in misleading ways.

Reuse, redraw
or generate.

ModeUse whenMain QA risk
ORIGINAL_REUSEPublish rights confirmed and source visual itself is useful.Rights/attribution/crop/context.
REDRAWSource/reference provides factual geometry or diagram that should be recreated cleanly.Dropping/changing factual details.
GENERATEConcept/process/context visual can be synthesized from evidence without false precision.Hallucinated details/geometry.
DIAGRAMRelations, flow, exploded structure or comparison are more important than realism.Incorrect labels/relationships.
COMPOSITEMultiple approved elements need one explanatory view.Misleading scale/context.
NO AUTO GENERATE
Generation не является default для каждого slot. Иногда простой diagram или licensed original намного точнее.
NO FAKE PHOTO
Если точный внешний вид объекта критичен и evidence недостаточно, не генерировать правдоподобную, но ложную «фотографию».

Visual claims
need evidence.

For factual visual slots: slot ↓ extract visual claims - object identity - component count - relative placement - orientation - labels - dimensions/scale if shown - state/configuration ↓ bind evidence/reference refs ↓ produce asset ↓ visual QA compares against must_show / evidence ↓ PASS / FIX / NEED_REVIEW
CLAIM MAP
Critical visual details can be stored as structured visual-claim checklist, not only prompt prose.
DIAGRAM LABELS
Labels/numbers/part names pass exact validation where possible; avoid generated unreadable text.
DIMENSIONS
Do not encode exact measurements visually unless evidence and rendering method can preserve them accurately.

Store visual intent
above provider prompts.

CANONICAL
Canonical record is visual direction/spec, not vendor-specific prompt text.
ADAPTER
Provider/model adapter converts direction into actual prompt/parameters.
VERSION
Prompt template/model/provider version recorded for reproducibility, but visual intent survives provider change.
NEGATIVE
`must_not_show` maps into generation/redraw constraints where supported.
NO PROMPT LOCK-IN
Article Package не должен зависеть от одного image model's syntax.

Files need
identity and lineage.

final asset (logical) asset_id article_id / version slot_id production_mode source_image_refs[] visual_direction_version provider/model/tool version prompt/spec hash original_file_hash web_derivative hashes width / height / format rights_status attribution? caption_draft alt_draft visual_qa_status created_at config_hash
AUTHORITY
Reuse `editorial.asset` / existing media authority rather than storing final assets only in package folders.
DERIVATIVES
Original working output and optimized web derivative can have separate hashes/metadata.
PORTABILITY
Article Package binds logical asset IDs; Deployer later resolves final public paths.

Check truth,
utility and diversity.

GatePass condition
purposeAsset answers the slot's intended reader question.
factualCritical visual claims align with evidence/must_show.
prohibited detailsNo must_not_show violation.
rightsProduction mode is compatible with rights_status.
diversityArticle-wide set is not redundant in angle/type/scale/context.
readabilityDiagram labels/details remain usable at intended display size.
compositionSubject not accidentally cropped/obscured for intended component.
technicalFormat/dimensions/file integrity/metadata valid.
caption/altDrafts describe the actual approved asset, not planned-but-missing content.
Article-level QAIndividual assets can each be good and the set can still be bad. Diversity is checked across the whole article, not image-by-image only.

Regenerate locally.
Don't restart the article.

VISUAL QA FAIL reason: factual mismatch redundant shot weak purpose unreadable labels bad crop rights issue technical failure ↓ targeted asset fix same slot new direction revision if needed new provider/tool attempt preserve article text ↓ re-QA asset ↓ re-run article-level diversity check ↓ bind approved asset
TEXT IMPACT
If image failure reveals the article text itself is factually wrong, return upstream to Fact Gate instead of making a misleading picture match the prose.
SLOT CHANGE
If the visual purpose itself is wrong/redundant, revise slot/direction rather than endlessly regenerating the same idea.
BOUND
Per-slot retry budget configurable; repeated failure escalates to alternate mode/human review.

Describe what exists.
Not what was prompted.

CAPTION
Caption связывает asset с article context/evidence, не повторяя очевидное без пользы.
ALT
Alt описывает relevant visual information and function; decorative assets can have appropriate empty/decorative treatment by policy.
SOURCE
Attribution/credit displayed when rights/source policy requires it.
LATE BIND
Final caption/alt are generated/validated from approved asset + article context, not solely from original image-plan.

Bind assets without
rewriting prose.

verified Article Package + approved final assets ↓ update image slots: slot_id → asset_id caption alt rights/attribution refs visual direction version QA status ↓ create image-bound package revision content hash unchanged if prose unchanged asset manifest changed image QA attached
CONTENT QA
Pure asset binding does not invalidate Fact/Originality PASS unless captions/visual claims introduce substantive new facts.
CAPTION FACTS
New factual captions must be evidence-backed and may need targeted Fact Gate check.
HISTORY
Previous asset versions and failed attempts may be retained according to storage policy, but only approved asset is bound to current package.

Visual policy
is configurable.

Setting familyPurpose
images.default_provider_routesProduction mode/provider/tool route per visual task after capability audit.
images.max_slot_attemptsBound retries before alternate mode/review.
images.diversity_policyArticle-level minimum diversity/duplication thresholds after benchmark.
images.rights_policyOriginal reuse/reference/redraw/generation permission rules.
images.output_profilesWeb dimensions/formats/compression profiles.
images.visual_fact_policyWhich slots require structured visual-claim validation.
images.alt_caption_policyAccessibility/credit/caption generation rules.
images.background_policyWhen transparent/neutral/contextual background mechanisms are used.

See retries,
redundancy and rights risk.

VOLUME
Slots planned/required/optional, assets generated/redrawn/reused, approved/rejected.
QUALITY
Failure reasons: factual, redundant, rights, unreadable, composition, technical.
DIVERSITY
Article-level type/angle/scale/context distribution and redundancy warnings.
COST
Attempts/slot, provider/tool latency, local/remote generation cost, redraw effort.
RIGHTS
Original reuse rate, unknown-rights rejects, attribution-required assets.
TRACE
article/version, slot, direction version, asset id/hash, provider/tool version, source refs, config_hash.

Audit image layer.
Direct one article.

IMG-01

Audit existing image stack

Redraw/generation/background/media scripts, asset authority, Work UI, production image conventions and tests.
DONE: reuse matrix + canonical asset authority proven.
IMG-02

Freeze visual-direction schema

Purpose, reader question, type, shot, angle, scale, must_show/must_not_show, mode, evidence/rights refs, diversity tags.
DONE: schema fixtures validate.
IMG-03

Implement article-level planner

Transform Writer image-plan + article structure into distinct visual directions and detect redundant slots.
DONE: near-identical five-shot plan fails diversity check.
IMG-04

Rights decision path

Original reuse/reference/redraw/generate/reject decisions from Research Pack image-source rights metadata.
DONE: unknown rights never publish original silently.
IMG-05

Wrap production modes

Expose existing redraw/generation/background mechanisms behind one slot-oriented interface.
DONE: no parallel image pipeline created.
IMG-06

Visual factuality checks

Structured must_show visual claims, label validation, evidence comparison and escalation rules.
DONE: known wrong geometry/detail is rejected.
IMG-07

Asset registration + derivatives

Canonical asset IDs, hashes, metadata, web derivatives, rights/attribution and logical slot binding.
DONE: no hardcoded production paths in article package.
IMG-08

Visual QA suite

Purpose/factual/rights/diversity/readability/composition/technical gates + targeted retry loop.
DONE: article-level set passes, not just individual images.
IMG-09

Caption + alt binding

Generate/validate from final approved asset and article context; preserve evidence/credit relations.
DONE: drafts describe actual final assets.
IMG-10

Real article pilot

Verified Article Package with multiple slot roles → full visual package with at least three distinct visual modes/roles where editorially justified.
DONE: all required slots approved and bound.
IMG-11

Work + checkpoint

Visual directions/attempts/rights/QA/assets visible in Work; HANDOFF/Project State sync and exact next branch.
DONE: checkpoint 11 PASS.
Split ruleЕсли factual diagram/redraw и generative imagery требуют независимых large contracts after IMG-01, вынести их в 11.x. Но единые slot, rights, asset and visual-QA contracts должны оставаться общими.

Visuals must
fail for the right reason.

TestExpected result
five near-identical hero shotsArticle-level diversity gate fails.
reference image rights unknownOriginal reuse blocked; reference/redraw/generate route considered by policy.
wrong number of machine partsFactual visual QA fails.
diagram unreadable at article widthReadability gate fails.
asset visually good but redundantCan still fail article-level diversity.
generated logo/details unsupportedmust_not_show/factual gate fails.
optional slot cannot be producedMay be dropped if article still meets visual policy.
required explanatory slot cannot be producedNeeds alternate mode/review; cannot silently disappear.
caption adds new unsupported factTargeted Fact Gate required.
same visual direction, new providerCanonical intent remains stable; production metadata changes.
asset file tamperHash/integrity check fails.
slot bound to wrong article versionBinding rejected.
background removal damages subjectComposition/factual QA fails.
×
Не оценивать images только по эстетике.
×
Не публиковать original image только потому, что URL доступен.
×
Не делать generation default mode для factual diagrams.
×
Не хранить provider-specific prompt как единственную visual specification.

Visual package
is purposeful and safe.

CHECKPOINT 11 PASS WHEN: ✓ existing redraw/generation/background mechanisms audited reuse-first ✓ canonical asset authority reused if valid ✓ visual-direction contract is versioned ✓ each required image has explicit purpose ✓ angle / scale / visual type / context diversity is checked article-wide ✓ no repeated near-identical visual set passes silently ✓ rights_status controls original reuse/reference/redraw/generation ✓ unknown rights never imply publish permission ✓ factual visual claims can be validated ✓ provider-specific prompts are implementation details, not canonical intent ✓ final assets have stable IDs/hashes/lineage ✓ Article Package binds logical assets, not production paths ✓ captions/alts are based on final approved visuals ✓ substantive caption facts remain evidence-backed ✓ per-slot fix loops are bounded and targeted ✓ real multi-slot article pilot passes visual QA ✓ Work exposes directions/attempts/rights/QA/assets ✓ HANDOFF points to Knowledge Base & Internal Linking next

Продолжить выполнение

Следующий шаг выбирает журнал задач. Все главы уже подготовлены.

[11.1] IMG-01 — карточка выполнения