Add approved Matthew through Caleb cards and production fixes
Add 19 approved card packages and Timothy revision v03, storing permanent binary assets through Git LFS while keeping generated review images local. Enable harness file polling and verify unchanged used fonts when archiving a previous approved card whose shared font manifest pin has become stale. Preserve the original acceptance manifest and archival verification evidence. Validation: 42 production tests, 9 harness test suites, TypeScript type check, Vite production build, and integrity checks for all 20 card packages passed.
This commit is contained in:
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-01.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-01.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-02.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-02.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-03.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-03.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-04.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-04.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-05.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-master-candidate-05.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-01.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-01.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-02.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-02.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-03.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-03.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-04.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-04.png
LFS
Normal file
Binary file not shown.
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-05.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/art-native-candidate-05.png
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"cardId": "BP-047",
|
||||
"revision": "v01",
|
||||
"candidate": "candidate-01",
|
||||
"generationMethod": "built-in image_gen",
|
||||
"generationMode": "independent-generation",
|
||||
"parent": null,
|
||||
"lastIndependentGeneration": "candidate-01",
|
||||
"originalImagePath": "/home/dkzver/.codex/generated_images/01a0ba44-5f5c-7bf2-ba7a-e905d37e7634/exec-6de3b439-9424-40a9-ad64-8f569874a438.png",
|
||||
"native": "source/art-native-candidate-01.png",
|
||||
"nativeDimensions": [
|
||||
1060,
|
||||
1484
|
||||
],
|
||||
"nativeSHA256": "741894bab4270bc8dfee215346f0e458ffc4c5f6918075978478097cd39bb418",
|
||||
"master": "source/art-master-candidate-01.png",
|
||||
"masterDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"masterSHA256": "a37aa6b75475964a398d734b95996799e1c67a633ac01c4f36bb5ae67f109b50",
|
||||
"fit": {
|
||||
"scale": 1.8867924528301887,
|
||||
"scaledDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"cropOrigin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"filter": "Pillow Lanczos",
|
||||
"note": "Uniform review fit, not native 2000x2800; no grading."
|
||||
},
|
||||
"prompt": "source/generation-prompt-candidate-01.txt",
|
||||
"promptSHA256": "0bc17e709392ab6dc4b0ff27d4cfcf400a67f96dcf48fa512f1ad8248d310733",
|
||||
"selected": false,
|
||||
"userApproved": false,
|
||||
"assemblyStarted": false
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"cardId": "BP-047",
|
||||
"revision": "v01",
|
||||
"candidate": "candidate-02",
|
||||
"generationMethod": "built-in image_gen",
|
||||
"generationMode": "selective-edit",
|
||||
"parent": "candidate-01",
|
||||
"lastIndependentGeneration": "candidate-01",
|
||||
"originalImagePath": "/home/dkzver/.codex/generated_images/01a0ba44-5f5c-7bf2-ba7a-e905d37e7634/exec-06df8764-f69a-4439-9fad-8be96ef66563.png",
|
||||
"native": "source/art-native-candidate-02.png",
|
||||
"nativeDimensions": [
|
||||
1060,
|
||||
1484
|
||||
],
|
||||
"nativeSHA256": "ca923cd096d2d84712449476c9d6d273f49e422f39d137d491ba02fc9da86725",
|
||||
"master": "source/art-master-candidate-02.png",
|
||||
"masterDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"masterSHA256": "0f99c6c3d96e7953dedeadd9b42b5da28f330790815d7a0b867324e8cae9ee57",
|
||||
"fit": {
|
||||
"scale": 1.8867924528301887,
|
||||
"scaledDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"cropOrigin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"filter": "Pillow Lanczos",
|
||||
"note": "Uniform review fit, not native 2000x2800; no grading."
|
||||
},
|
||||
"prompt": "source/generation-prompt-candidate-02.txt",
|
||||
"promptSHA256": "410af1c802272787ba67ca7b9348453983a1a65727427c46762767fd3745e5ed",
|
||||
"selected": false,
|
||||
"userApproved": false,
|
||||
"assemblyStarted": false
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"cardId": "BP-047",
|
||||
"revision": "v01",
|
||||
"candidate": "candidate-03",
|
||||
"generationMethod": "built-in image_gen",
|
||||
"generationMode": "selective-edit",
|
||||
"parent": "candidate-02",
|
||||
"lastIndependentGeneration": "candidate-01",
|
||||
"originalImagePath": "/home/dkzver/.codex/generated_images/01a0ba44-5f5c-7bf2-ba7a-e905d37e7634/exec-d1bfb8e1-2f2b-4229-a230-9a5b55f79cef.png",
|
||||
"native": "source/art-native-candidate-03.png",
|
||||
"nativeDimensions": [
|
||||
1060,
|
||||
1484
|
||||
],
|
||||
"nativeSHA256": "fddebc046e680f02142a3ab62c735ffb7e96028224acf70a66e1e8e6a099345c",
|
||||
"master": "source/art-master-candidate-03.png",
|
||||
"masterDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"masterSHA256": "0ec0ad9843efe4a0804ea177065f589f59cba4fd9d891a99bcffc1de2a83c530",
|
||||
"fit": {
|
||||
"scale": 1.8867924528301887,
|
||||
"scaledDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"cropOrigin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"filter": "Pillow Lanczos",
|
||||
"note": "Uniform review fit, not native 2000x2800; no grading."
|
||||
},
|
||||
"prompt": "source/generation-prompt-candidate-03.txt",
|
||||
"promptSHA256": "4ad38bec815e3cbd25a5e8fdf81a436a1223cedd4bd2a2f317952b0263f2de65",
|
||||
"selected": false,
|
||||
"userApproved": false,
|
||||
"assemblyStarted": false
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"cardId": "BP-047",
|
||||
"revision": "v01",
|
||||
"candidate": "candidate-04",
|
||||
"generationMethod": "built-in image_gen",
|
||||
"generationMode": "selective-edit",
|
||||
"parent": "candidate-03",
|
||||
"lastIndependentGeneration": "candidate-01",
|
||||
"originalImagePath": "/home/dkzver/.codex/generated_images/01a0ba44-5f5c-7bf2-ba7a-e905d37e7634/exec-48b51c1d-f81e-4f08-a8a5-5391f240ebe5.png",
|
||||
"native": "source/art-native-candidate-04.png",
|
||||
"nativeDimensions": [
|
||||
1060,
|
||||
1484
|
||||
],
|
||||
"nativeSHA256": "7ab1e069d4ce850932978d371b6faaf7926527aafbbe5e6be53c8e2285f999c6",
|
||||
"master": "source/art-master-candidate-04.png",
|
||||
"masterDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"masterSHA256": "92adbbcc115bf0d33f9e6863894f1c78ed1f3d50f12cce48dccf73f0be232f3c",
|
||||
"fit": {
|
||||
"scale": 1.8867924528301887,
|
||||
"scaledDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"cropOrigin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"filter": "Pillow Lanczos",
|
||||
"note": "Uniform review fit, not native 2000x2800; no grading."
|
||||
},
|
||||
"prompt": "source/generation-prompt-candidate-04.txt",
|
||||
"promptSHA256": "1d737edc7582bdf8dbe85b11333cedfc82330f1583d3f1e87fb56b8df214cf51",
|
||||
"selected": false,
|
||||
"userApproved": false,
|
||||
"assemblyStarted": false
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"cardId": "BP-047",
|
||||
"revision": "v01",
|
||||
"candidate": "candidate-05",
|
||||
"generationMethod": "built-in image_gen",
|
||||
"generationMode": "selective-edit",
|
||||
"parent": "candidate-04",
|
||||
"lastIndependentGeneration": "candidate-01",
|
||||
"originalImagePath": "/home/dkzver/.codex/generated_images/01a0ba44-5f5c-7bf2-ba7a-e905d37e7634/exec-55c7e20c-19b0-4a2d-b6d2-6a521878e8bd.png",
|
||||
"native": "source/art-native-candidate-05.png",
|
||||
"nativeDimensions": [
|
||||
1060,
|
||||
1484
|
||||
],
|
||||
"nativeSHA256": "d14775cc138fe8274cd8ca28a014dd54eac6c3ed53445ce1a1967d128a714d37",
|
||||
"master": "source/art-master-candidate-05.png",
|
||||
"masterDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"masterSHA256": "bccc3b1fcf04aae3b2dd9a40022b3a26658ba6cb4379fe51def1c694569f8734",
|
||||
"fit": {
|
||||
"scale": 1.8867924528301887,
|
||||
"scaledDimensions": [
|
||||
2000,
|
||||
2800
|
||||
],
|
||||
"cropOrigin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"filter": "Pillow Lanczos",
|
||||
"note": "Uniform review fit, not native 2000x2800; no grading."
|
||||
},
|
||||
"prompt": "source/generation-prompt-candidate-05.txt",
|
||||
"promptSHA256": "eae67e9e0b3c5b66ca5ac2b3ed28df1cefa248d0ebf5db4d3ea25253ff006c5d",
|
||||
"selected": true,
|
||||
"userApproved": true,
|
||||
"assemblyStarted": true,
|
||||
"approvalNote": "Let's assemble",
|
||||
"approvalScope": "Artwork selected for assembly despite the recorded agent review reservation; final card approval remains separate."
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
Use case: illustration-story. Create one full-bleed vertical 5:7 stained-glass illustration for Mark (John Mark), a Common biblical person card. Art only: no lettering, card border, backing panels, blank panel-shaped spaces, ornaments or watermark.
|
||||
|
||||
Scene: a modest first-century doorway opening onto a simple quiet road. Mark, the clear primary figure, has a plain leather travel bag already slung from one shoulder. His torso and weight are turning toward the road, but his head turns attentively toward an older anonymous believer who hands him one small rolled scroll. Mark receives it with a natural hand; his other hand lightly secures the bag strap. The older coworker is clearly secondary and has a relaxed spare hand by his side. Exactly two people; no hidden or floating limbs. Simple practical tunics, one modest outer cloth if needed, no ornate sashes. Mark looks mature, dependable, willing and quietly confident, not triumphant or troubled. The action means readiness to serve, not a literal re-enactment of receiving Paul's request. No identifiable Paul, Peter or Barnabas.
|
||||
|
||||
Framing: modest eye-level middle distance, roughly knees-up, with ordinary doorway and path context. Keep both complete heads below the top 17% of the canvas and the whole scroll handover above the bottom 25%, safely inside the central 8–92% width. Reserve that upper space with real wall/doorway scenery, not a blank. The full scene continues naturally to all edges. No close heroic portrait, low angle, city panorama, extra people, battle, writing desk or Gospel-production imagery.
|
||||
|
||||
Medium: construct BOTH people and ALL scenery from adjacent colored cut-glass pieces with coherent dark shared joins. Curved robe panes follow drape, wall/wood pieces follow construction, simple road/foliage shapes remain glass. Forehead, temple, cheek, nose side, ear, jaw and neck use discernibly different neighboring earth-toned pieces separated by visible internal joins. These are cut-glass forms, not cartoon/cel-shaded skin with a crack overlay. BOTH visible palms/back-hands have bounded palm, thumb-base, knuckle and wrist pieces with distinct values; finger outlines or creases alone are insufficient. Natural five-digit anatomy with credible joints and wrist ownership; don't split fingers into extra apparent joints. Hair and any beard use bounded flowing locks/masses in several discrete values, never individual painted strands or continuous realistic volume. Preserve expressive faces and plausible adult proportions.
|
||||
|
||||
Common restraint: roughly two or three dominant muted jewel colors plus cream, earth-colored complexion and leather; no gold. Broad quiet panes, simple shadows, sparse subdued highlights and gentle pane-contained satin/cloudy glass variation, especially quiet on skin. Warm ordinary daylight, no dramatic beams or supernatural effects. Dependable service should feel small, grounded and human. No photographic flesh, glossy realism, smeared pigment, global grain, random polygon grid, fantasy costume, modern grooming or medical props.
|
||||
@@ -0,0 +1,9 @@
|
||||
Edit the provided Mark illustration, preserving its recognizable composition, both people's identities, poses, gaze and calm expressions, scroll handover, travel bag, blue/olive/cream clothing, simple first-century doorway and palette. Do not invent another scene or change their interaction. Art only, vertical 5:7 full bleed, no text/frame/backing/panel blanks.
|
||||
|
||||
Make a focused glass-construction correction. Mark's face, ears and neck must use visibly bounded neighboring cut-glass pieces following forehead, brow, temple, cheek, nose-side and jaw, with discrete earth-toned values and clear finer dark shared joins. Keep him expressive, not masked by a polygon grid. Replace his painted compact beard/moustache with a few separately bounded curved directional glass masses in distinct brown/umber values, keeping its current short length and silhouette. Preserve the successful separately bounded hair and the older man's hair/beard; ensure both faces remain glass, not smooth cel-shaded characters.
|
||||
|
||||
Treat ALL FOUR hands similarly: Mark's receiving hand and strap fist plus the older man's giving and lowered hand. Palm/back, thumb base, knuckle area and wrist must have visible internal shared boundaries between differently valued glass pieces. Finger contours, nails and creases are not sufficient. Keep realistic five-digit anatomy, ordinary proportions and coherent sleeve/wrist connections; naturally hidden digits may remain hidden. Do not add finger joints or alter the grasp/scroll ownership.
|
||||
|
||||
Simplify the distant road view into fewer broad quiet shapes. Pale buildings, pavement, shrubs and cypresses must be true bounded adjacent glass pieces with clear shared joins, not watercolor blobs. No extra city architecture, props or figures; retain the road's direction. Keep the successful front wall, wooden door, bag and gravity-following garment panes. Texture stays subdued and pane-contained, especially on skin. No realism, gold, glints, dramatic light or pigment smears.
|
||||
|
||||
One framing correction only: pull back/up enough to add actual masonry/door timber/sky above both heads, keeping the SAME subject placement relative to each other. Leave the complete older man's crown below about 18% of the image height (Mark's crown lower still), while keeping the whole handover above 72%. Maintain normal adult proportions; do not stretch bodies, shorten the older man's neck, compress his hair, or push anatomy into architecture. Crop the lower robes if needed. The scene continues naturally behind future panels; don't draw those panels. This remains an uncomplicated Common ministry-companion illustration.
|
||||
@@ -0,0 +1,11 @@
|
||||
Use case: style-transfer, selective local correction. Image 1 is the EDIT TARGET: Mark candidate 02. Keep its exact scene, framing, figure size, headroom, both identities, eye contact, expressions, limb silhouettes, clothes, colours, lighting, scroll exchange and shouldered bag. No zoom, outpainting, camera shift, restaging, new people, objects, text or frame. Only redraw the following poorly constructed details in the same locations.
|
||||
|
||||
1. Mark is the younger blue-clothed man on the right. REPLACE his currently painted short beard and moustache, keeping their length and outline, with several contiguous curved CUT-GLASS shapes. Each brown, umber or cool-dark piece has a clear dark shared boundary and a different neighboring value. The small beard must read like assembled pieces, as the older man's gray beard already does, not a shaded silhouette with hair flecks, strokes, grooves or strands. Retain his existing bounded hair locks.
|
||||
|
||||
2. Construct Mark's face, ear and neck with a small number of expressive interlocking earth-toned glass pieces: forehead, temple, nose-side, cheek, ear, jaw and neck. Give their existing value changes clear shared joins. Preserve eyes, eyebrows, smile, proportions and complexion. Removing the eyes, mouth and skin texture should still leave visibly joined glass pieces. No rigid polygon grid, no continuous flesh shading or cartoon skin beneath decorative cracks.
|
||||
|
||||
3. Keep Mark's two hand silhouettes, five-digit anatomy and grips unchanged: the scroll-receiving hand at center and strap fist on the right. Visible palm/back area, thumb base, knuckle block and wrist must be neighboring distinct-valued cut-glass pieces with clear dark internal joins. Finger gaps, nails, wrinkles and shading alone do not qualify. Do not split fingers into extra joints or add digits. Preserve the older man's already segmented hands and their connections.
|
||||
|
||||
4. In the narrow distant road view on the right, give the existing pale paving/building and green shrub forms coherent dark shared joins between their color pieces. Keep them few, broad and quiet; no new detail or architecture. Preserve the successful near wall, door, overhead foliage/timbers, bag, robe panes and sky exactly in arrangement.
|
||||
|
||||
Common restraint: simple bounded color with quiet pane-contained satin glass texture; very gentle skin texture; no gold, glitter, dramatic light, realism, heavy grain or smudging. Glass structure must be readable at normal viewing size, while emotion and anatomy remain natural. Output one full-bleed vertical 5:7 illustration with all other composition unchanged.
|
||||
@@ -0,0 +1,12 @@
|
||||
Use case: style-transfer, selective detail correction.
|
||||
Image 1 is the edit target, candidate 03. Keep the full image composition and all existing objects exactly in place. Change ONLY the internal material construction of the younger man's exposed face/ear/neck and two hands, and the weak existing distant shrub joins. Do not regenerate or restage the scene.
|
||||
|
||||
The younger man on the right in blue is Mark. His short beard and hair are already properly bounded glass pieces: PRESERVE them, his smile, eyes, complexion, proportions and gaze. His forehead, nose-side, temple, cheek, ear and neck need unmistakable fine dark shared joins between distinct earth-toned cut-glass shapes. Replace smooth skin shading with a few adjacent, form-following glass colors. The joins must be visible at ordinary viewing size, like the older man's facial construction, not pale cracks floating over shaded flesh. Keep expressive eyes and mouth readable.
|
||||
|
||||
PRIORITY: REDRAW THE INTERNAL CONSTRUCTION OF BOTH MARK HANDS. Do not leave their shaded cartoon rendering unchanged. Keep the existing outer silhouettes, positions, grip and five-digit anatomy: his center hand supports the scroll, the right-side fist grips the bag strap. Retain each hand's attachment to its sleeve and wrist. Within each exposed palm/back region, put clear dark shared boundaries between distinct ochre, muted terracotta, tan and brown glass pieces following palm heel, thumb base, knuckle mass and wrist. Each existing finger group should connect naturally to these pieces; no extra joints or digits. Use bounded local color changes, not blended finger highlights. Nail outlines, finger gaps, creases and shadows do not count as glass joins. Removing all those incidental marks must still leave a visibly assembled cut-glass hand. Match the older man's giving hand's material logic without changing either older hand.
|
||||
|
||||
Give only the already-existing distant shrub color shapes in the right-hand road view quiet clear shared joins; retain their broad simple shapes and position. No extra foliage detail.
|
||||
|
||||
LOCK: camera, headroom, figure scale, body proportions, poses, eye contact, both identities, short bounded beards/hair, older face and hands, scroll handover, bag and strap, garments, door, masonry, timbers, near leaves, path, buildings, sky, palette and ordinary daylight. No new objects, figures, clothing ornament, text, frame or blank panels. Do not zoom, crop, move the subjects or redesign the scenery.
|
||||
|
||||
Common illustration: modest two-person interaction, quiet broad glass shapes, restrained blue/olive/cream/earth palette, simple local shadows and subtle pane-contained satin texture; no gold or spectacle. No realistic flesh, heavy grain, smearing, hair strands, arbitrary polygon grid or cracks over painting. Full-bleed vertical 5:7, one illustration, same framing as the edit target.
|
||||
@@ -0,0 +1,6 @@
|
||||
Use case: precise-object-edit.
|
||||
Image 1 is the full EDIT TARGET. Image 2 is only a magnified detail reference locating the scroll-receiving hand; do not copy the crop into the image or change the framing.
|
||||
|
||||
Correct ONLY Mark's hand supporting the scroll, at the center-right of the handover. Preserve its position, silhouette, four fingers plus thumb, grip, scroll contact and sleeve connection. Redraw the INTERNAL skin rendering: replace the broad softly shaded palm/heel beneath the four curled fingers with clearly joined tan, muted terracotta and brown CUT-GLASS pieces. A fine dark shared boundary should separate the palm heel from thumb-base piece and wrist piece. Replace the unbounded finger shadow patches with clear, naturally curved shared boundaries between neighboring glass values. No extra fingers, joints, nails or creases. The material should match the older man's already glass-built giving hand immediately to its left, while keeping the younger hand's own anatomy.
|
||||
|
||||
Leave EVERYTHING ELSE unchanged: both faces, hair, beards, other three hands, clothes, poses, scroll, bag, door, architecture, vegetation, sky, palette, texture, camera and headroom. No zoom, crop, restaging, additions, text or frame. Same full-bleed 5:7 Common illustration, same restrained daylight and simple quiet colors. The only visible change should be bounded glass construction inside the specified hand, not more shading, grain or decorative cracks.
|
||||
BIN
artifacts/cards/BP-047-mark-john-mark/source/pane-coverage.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/pane-coverage.png
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,77 @@
|
||||
"""Retain a generated candidate and derive only non-production review evidence."""
|
||||
from pathlib import Path
|
||||
import argparse
|
||||
import hashlib
|
||||
import json
|
||||
import shutil
|
||||
from PIL import Image, ImageDraw
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
REPO = next(p for p in ROOT.parents if (p / 'docs/card-art-brief.md').is_file())
|
||||
def digest(path):
|
||||
return hashlib.sha256(path.read_bytes()).hexdigest()
|
||||
p = argparse.ArgumentParser()
|
||||
p.add_argument('candidate')
|
||||
p.add_argument('generated_path', type=Path)
|
||||
p.add_argument('--parent')
|
||||
p.add_argument('--detail-offset', type=float, default=0,
|
||||
help='Diagnostic human crop offset; does not transform the artwork.')
|
||||
args = p.parse_args()
|
||||
native = ROOT / 'source' / f'art-native-{args.candidate}.png'
|
||||
if native.exists():
|
||||
raise SystemExit('Refusing to overwrite a retained native candidate')
|
||||
shutil.copy2(args.generated_path, native)
|
||||
im = Image.open(native).convert('RGB')
|
||||
w, h = im.size
|
||||
scale = max(2000 / w, 2800 / h)
|
||||
dims = (round(w * scale), round(h * scale))
|
||||
scaled = im.resize(dims, Image.Resampling.LANCZOS)
|
||||
x, y = (dims[0] - 2000) // 2, (dims[1] - 2800) // 2
|
||||
master = ROOT / 'source' / f'art-master-{args.candidate}.png'
|
||||
scaled.crop((x, y, x + 2000, y + 2800)).save(master)
|
||||
review = ROOT / 'review'
|
||||
for label, size in [('standard', (1000, 1400)), ('thumbnail', (250, 350))]:
|
||||
preview = im.copy()
|
||||
preview.thumbnail(size, Image.Resampling.LANCZOS)
|
||||
preview.save(review / f'{args.candidate}-{label}.png')
|
||||
boxes = {
|
||||
'figures': (0, .08, .95, 1),
|
||||
'mark-face': (.55, .11, .85, .39),
|
||||
'coworker-face': (.015, .05, .33, .34),
|
||||
'handover-hands': (.29, .40, .60, .60),
|
||||
'strap-hand': (.72, .39, .88, .55),
|
||||
'coworker-lowered-hand': (.15, .60, .29, .85),
|
||||
'upper-environment': (0, 0, 1, .15),
|
||||
'road-and-distant-background': (.80, .24, 1, .80),
|
||||
'lower-environment-and-bag': (.33, .56, 1, 1),
|
||||
'door-and-masonry': (.30, .13, .58, .45),
|
||||
}
|
||||
for label, box in boxes.items():
|
||||
if label in {'mark-face', 'coworker-face', 'handover-hands', 'strap-hand', 'coworker-lowered-hand'}:
|
||||
box = (box[0], box[1] + args.detail_offset, box[2], min(1, box[3] + args.detail_offset))
|
||||
crop = im.crop(tuple(round(v * (w if i % 2 == 0 else h)) for i, v in enumerate(box)))
|
||||
crop.save(review / f'{args.candidate}-{label}-native.png')
|
||||
crop.resize((crop.width * 2, crop.height * 2), Image.Resampling.NEAREST).save(review / f'{args.candidate}-{label}-200.png')
|
||||
guide = Image.open(master).convert('RGBA')
|
||||
overlay = Image.new('RGBA', guide.size)
|
||||
draw = ImageDraw.Draw(overlay)
|
||||
layout = json.loads((REPO / 'artifacts/layers/common/v2/layout.json').read_text())
|
||||
for bx, by, bw, bh in layout['normalBacking']:
|
||||
draw.rectangle((bx, by, bx + bw, by + bh), fill=(90, 30, 40, 150))
|
||||
bx, by, bw, bh = layout['focalSafeRegion']
|
||||
draw.rectangle((bx, by, bx + bw, by + bh), outline=(0, 210, 150, 255), width=5)
|
||||
guide = Image.alpha_composite(guide, overlay)
|
||||
guide.thumbnail((500, 700), Image.Resampling.LANCZOS)
|
||||
guide.save(review / f'{args.candidate}-layout-guide.png')
|
||||
prompt = ROOT / 'source' / f'generation-prompt-{args.candidate}.txt'
|
||||
record = {'cardId': 'BP-047', 'revision': 'v01', 'candidate': args.candidate,
|
||||
'generationMethod': 'built-in image_gen', 'generationMode': 'selective-edit' if args.parent else 'independent-generation',
|
||||
'parent': args.parent, 'lastIndependentGeneration': 'candidate-01',
|
||||
'originalImagePath': str(args.generated_path), 'native': str(native.relative_to(ROOT)),
|
||||
'nativeDimensions': [w, h], 'nativeSHA256': digest(native),
|
||||
'master': str(master.relative_to(ROOT)), 'masterDimensions': [2000, 2800], 'masterSHA256': digest(master),
|
||||
'fit': {'scale': scale, 'scaledDimensions': list(dims), 'cropOrigin': [x, y], 'filter': 'Pillow Lanczos', 'note': 'Uniform review fit, not native 2000x2800; no grading.'},
|
||||
'prompt': str(prompt.relative_to(ROOT)), 'promptSHA256': digest(prompt),
|
||||
'selected': False, 'userApproved': False, 'assemblyStarted': False}
|
||||
(ROOT / 'source' / f'art-provenance-{args.candidate}.json').write_text(json.dumps(record, indent=2) + '\n')
|
||||
print(json.dumps(record, indent=2))
|
||||
BIN
artifacts/cards/BP-047-mark-john-mark/source/raw-ridges.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/raw-ridges.png
LFS
Normal file
Binary file not shown.
10
artifacts/cards/BP-047-mark-john-mark/source/scene-brief.txt
Normal file
10
artifacts/cards/BP-047-mark-john-mark/source/scene-brief.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Mark (John Mark) — BP-047 — Common — Person
|
||||
Scripture: “Get Mark and bring him with you, for he is useful to me for ministry.” — 2 Timothy 4:11 (NKJV, excerpt)
|
||||
Intent: renewed purpose, quiet confidence, readiness to serve; restored usefulness and dependable service, without melodramatic redemption.
|
||||
|
||||
Mark is the primary figure, approximately knees-up at modest eye-level distance. A travel bag is already shouldered. He turns toward a simple road while attentively accepting a final rolled scroll or practical item from one older anonymous believer. Body weight and posture imply a beginning step; eyes remain engaged with the coworker. The coworker stays secondary. This is a representative ministry scene, not a literal claim that Scripture narrates receipt of Paul's request.
|
||||
|
||||
Use a simple first-century doorway, courtyard or roadside, few modest props and broad quiet shapes. No identifiable Paul/Peter/Barnabas, Gospel-writing tableau, previous failure/conflict, major missionary panorama, crowd, supernatural effects, ornate wardrobe, or triumphant hero pose. Follow shared glass construction, including separately bounded facial, neck, hair, beard and hand panes for both people. Common framing/palette/lighting must remain modest. Do not assemble before explicit art approval.
|
||||
|
||||
Common layout: title backing master y=48–360; footer y=2180–2752; focal-safe box [160,430,1680,1680] on 2000×2800. Keep both heads and the handover within the central safe area; full-bleed intentional scenery continues beneath future panels, without baking in panel blanks.
|
||||
Construction references: artifacts/cards/BE-042-calling-of-the-first-disciples/source/art-native.png (environment/garments only); artifacts/cards/BP-045-timothy/source/art-native-candidate-02.png (modest scene scale only; not an exemption from skin/hand gate).
|
||||
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/reference-unclipped.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/reference-unclipped.png
LFS
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="2800" viewBox="0 0 2000 2800"><g fill="#263f50" text-anchor="middle"><text id="reference" x="1000" y="2645" font-family="Sanctification P052" font-weight="500" font-size="57">2 Timothy 4:11 • NKJV</text></g></svg>
|
||||
|
After Width: | Height: | Size: 276 B |
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/text-2000.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/text-2000.png
LFS
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="2800" viewBox="0 0 2000 2800"><g fill="#263f50" text-anchor="middle"><text id="title" x="1000" y="240" font-family="P052" font-weight="700" font-size="112">MARK (JOHN MARK)</text><text id="verse-0" x="1000" y="2370" font-family="Sanctification P052" font-weight="500" font-size="76">Get Mark and bring him with you,</text><text id="verse-1" x="1000" y="2495" font-family="Sanctification P052" font-weight="500" font-size="76">for he is useful to me for ministry.</text><text id="reference" x="1000" y="2645" font-family="Sanctification P052" font-weight="500" font-size="57">2 Timothy 4:11 • NKJV</text></g></svg>
|
||||
|
After Width: | Height: | Size: 676 B |
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/title-unclipped.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/title-unclipped.png
LFS
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="2800" viewBox="0 0 2000 2800"><g fill="#263f50" text-anchor="middle"><text id="title" x="1000" y="240" font-family="P052" font-weight="700" font-size="112">MARK (JOHN MARK)</text></g></svg>
|
||||
|
After Width: | Height: | Size: 250 B |
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/verse-0-unclipped.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/verse-0-unclipped.png
LFS
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="2800" viewBox="0 0 2000 2800"><g fill="#263f50" text-anchor="middle"><text id="verse-0" x="1000" y="2370" font-family="Sanctification P052" font-weight="500" font-size="76">Get Mark and bring him with you,</text></g></svg>
|
||||
|
After Width: | Height: | Size: 283 B |
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/verse-1-unclipped.png
LFS
Normal file
BIN
artifacts/cards/BP-047-mark-john-mark/source/text/verse-1-unclipped.png
LFS
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="2800" viewBox="0 0 2000 2800"><g fill="#263f50" text-anchor="middle"><text id="verse-1" x="1000" y="2495" font-family="Sanctification P052" font-weight="500" font-size="76">for he is useful to me for ministry.</text></g></svg>
|
||||
|
After Width: | Height: | Size: 287 B |
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"id": "title",
|
||||
"role": "title",
|
||||
"text": "MARK (JOHN MARK)",
|
||||
"baseline": 240
|
||||
},
|
||||
{
|
||||
"id": "verse-0",
|
||||
"role": "verse",
|
||||
"text": "Get Mark and bring him with you,",
|
||||
"baseline": 2370
|
||||
},
|
||||
{
|
||||
"id": "verse-1",
|
||||
"role": "verse",
|
||||
"text": "for he is useful to me for ministry.",
|
||||
"baseline": 2495
|
||||
},
|
||||
{
|
||||
"id": "reference",
|
||||
"role": "reference",
|
||||
"text": "2 Timothy 4:11 \u2022 NKJV",
|
||||
"baseline": 2645
|
||||
}
|
||||
],
|
||||
"fontSizes": {
|
||||
"title": 112,
|
||||
"verse": 76,
|
||||
"reference": 57
|
||||
},
|
||||
"regions": {
|
||||
"title": [
|
||||
140,
|
||||
130,
|
||||
1720,
|
||||
140
|
||||
],
|
||||
"verse": [
|
||||
160,
|
||||
2260,
|
||||
1680,
|
||||
300
|
||||
],
|
||||
"reference": [
|
||||
160,
|
||||
2590,
|
||||
1680,
|
||||
80
|
||||
]
|
||||
},
|
||||
"fontMetrics": {
|
||||
"unitsPerEm": 1000,
|
||||
"hheaAscender": 726,
|
||||
"hheaDescender": -274,
|
||||
"headYMin": -288,
|
||||
"size": 57,
|
||||
"ascent": 42,
|
||||
"descent": 17,
|
||||
"lineGapUsed": 0
|
||||
},
|
||||
"policy": "Common v2 two-line semantic verse; pinned sizes/baselines; no central flourish."
|
||||
}
|
||||
Reference in New Issue
Block a user