Skip to main content

APGC v0.1 — Artifact Panel Geometry Contract

Status: Draft v0.1 Host System: Aptlantis Studio Compatible With: SESM v0.3.x, NIPC v0.1.x, AIC v0.1.x, Neon Ink v0.1.x Scope: Manga-informed quadrilateral panel grammar, angle behavior, shape families, safe zones, responsive fallbacks, SVG/HTML geometry rules, and validation guidance for Aptlantis Studio artifacts.

Source: Docs/APGC-v0.1.md (only version in the source tree).

1. Overview

The Artifact Panel Geometry Contract defines the geometry language for Aptlantis Studio interface artifacts.

Aptlantis Studio uses SVGs and HTML panels as durable visual artifacts. SESM, NIPC, and AIC already define meaning, color, metadata, fields, and layout regions. APGC defines the missing layer:

What shape should the artifact have?
How angular may it be?
How manga-like may the composition become?
Which corners may move?
Where is text safe?
How do panels interlock?
How does geometry support reading order?

APGC exists because Aptlantis Studio panels are not limited to squares and rectangles. Many panels may be four-sided shapes with slanted edges, asymmetric corners, trapezoid-like forms, manga-inspired compositions, cut-corner containers, and shard accents.

The purpose of APGC is to make those shapes deterministic rather than random.

Core rule:

Shape communicates visual rhythm, energy, and composition. Color communicates semantic role. State controls intensity. Metadata carries meaning.


2. Relationship To Existing Specs

LayerSpecResponsibility
MeaningSESMEmbedded metadata, asset identity, provenance, links, crawler/LLM hints
PaletteNIPCSemantic color families, psychological intent, hue rules, intensity validation
Artifact ContractAICArtifact types, required fields, layout regions, render targets, state mapping
ExpressionNeon InkBrand system, typography, panel grammar, page composition, voice
GeometryThis document (APGC)Shape families, corner behavior, angle energy, safe zones, panel rhythm

APGC does not replace any existing layer. It gives generators and design agents a formal way to decide geometry.

3. Goals

  1. Prevent geometry drift across generated SVG and HTML artifacts.
  2. Make manga-inspired panel design deterministic and reusable.
  3. Support non-rectangular four-sided panels without sacrificing readability.
  4. Define shape families that communicate visual energy and composition.
  5. Preserve safe text regions inside angled or asymmetric panels.
  6. Support SVG-first artifact generation.
  7. Provide CSS clip-path equivalents for HTML surfaces.
  8. Give design agents and build agents explicit geometry rules.
  9. Allow expressive layouts while preserving archive-grade structure.
  10. Keep Neon Ink visually distinctive without becoming chaotic.

4. Non-Goals

APGC does not define color semantics, replace NIPC intensity rules, define dataset schemas, replace AIC artifact contracts, replace SESM metadata, require every artifact to be non-rectangular, require manga-style geometry everywhere, require JavaScript or animation, define full page routing/content strategy, or make geometry the only carrier of meaning.

Geometry is an expressive layer, not the source of truth.


5. Design Philosophy

5.1 Rectangles Are Still Valid

Rectangles are useful for dense data, long text, tables, metadata, stable documentation, archive views, and low-energy utility panels. The goal is not to eliminate rectangles — it is to make geometry a deliberate tool.

5.2 Manga Energy Without Manga Confusion

Aptlantis Studio should borrow the useful part of manga composition — motion, energy, hierarchy, section rhythm, dramatic framing, diagonal reading flow, expressive information architecture — while avoiding unreadable text regions, random angles, excessive fragmentation, unclear reading order, and too many competing focal points.

5.3 Shape Is Rhythm, Not Truth

A panel shape may suggest energy, motion, priority, or editorial framing, but it must not be the only way a user learns critical meaning. Error must still be represented by semantic state and text; verified status must still be represented by state and metadata; archive status must still be visible or embedded.

5.4 Geometry Should Reduce Drift

A generator should not improvise a slightly random polygon, random corner cuts, random diagonal panel, or random cyberpunk shape. It should select from APGC-defined shape families, angle profiles, safe zones, and validation rules.


6. Terminology

  • Panel: A visual container that holds an artifact, section, metric, Q&A item, dataset summary, pipeline state, or brand surface.
  • Artifact Panel: A panel governed by AIC and APGC.
  • Shape Family: A named geometry category such as rect-stable, cut-corner, slant-forward, or manga-panel-a.
  • Shape Role: The purpose geometry plays in the composition, e.g. stable-container, section-rhythm, forward-motion, archive-history, spotlight-frame.
  • Angle Energy: A numeric measure of how visually dynamic or angular a panel is.
  • Corner Profile: How corners behave (square, soft-radius, single-cut, dual-cut, asymmetric-soft, asymmetric-sharp).
  • Outer Polygon: The visible polygon or path that defines the panel boundary.
  • Inner Safe Zone: The area inside the panel where text and important UI elements may safely render.
  • Bleed Zone: The outer region where decorative strokes, glows, shadows, image crops, and accents may extend.
  • Gutter: The space between adjacent panels in a mosaic or page section.
  • Shard: A small angular accent shape used as a badge, marker, corner fragment, or visual pointer.
  • Manga Mosaic: A group of panels arranged with controlled asymmetry, varied shapes, and directional rhythm inspired by comic/manga page layouts.

7. Core Geometry Model

APGC separates geometry into five decisions: shape family, shape role, angle energy, corner profile, safe zone.

{
"geometry": {
"contract": "apgc-0.1",
"shape_family": "manga-panel-a",
"shape_role": "section-rhythm",
"angle_energy": 2,
"skew_direction": "forward",
"corner_profile": "asymmetric-soft",
"safe_zone": { "type": "inset-rect", "x": 32, "y": 28, "width": 536, "height": 164 },
"responsive_fallback": "soft-card"
}
}

8. Shape Families

{
"shape_families": ["rect-stable", "soft-card", "cut-corner", "slant-forward", "slant-back", "trapezoid-wide", "trapezoid-tall", "manga-panel-a", "manga-panel-b", "manga-panel-c", "shard", "burst"]
}
Shape FamilyEnergy RangeMeaningBest Use
rect-stable0Stability, neutrality, dense readabilityDocs, tables, metadata, long text
soft-card0–1Friendly artifact cardDataset cards, Q&A items, ordinary panels
cut-corner1–2Technical, compiled, artifact-likeSchema cards, download cards, generated artifacts
slant-forward1–3Motion, progress, next stepPipelines, navigation, process flow
slant-back1–3History, archive, reflectionChangelog, snapshots, prior versions
trapezoid-wide1–3Section identity, banner energyHeaders, hero strips, category panels
trapezoid-tall1–3Vertical rail, sidebar energySidebars, section rails, tall graphics
manga-panel-a2–3Dynamic but readableFeatured sections, section mosaics
manga-panel-b3–4Strong asymmetryHero mosaics, visual-first panels
manga-panel-c4Dramatic compositionRare campaign or splash surfaces
shard1–4Small angular accentBadges, labels, pointer marks
burst4–5Interrupt, spotlight, dramatic emphasisRare hero/alert graphics only

9. Angle Energy Scale

EnergyNameDescriptionAllowed Use
0RectangularStable, grid-aligned, quietDense content, docs, metadata
1Technical CutSlightly shaped, artifact-likeCards, schema panels, downloads
2Editorial SlantManga/comic rhythm, still readableQ&A, feature cards, process panels
3Dynamic PanelStrong motion and asymmetryVisual sections, hero support panels
4Dramatic PanelHigh-energy compositionHero mosaics, marketing surfaces
5RuptureVisual interruptRare alerts, splash graphics, never dense text
Dense text: 0–2
Stats tiles: 0–2
Dataset cards: 0–2
Pipeline panels: 1–3
Q&A items: 0–2
Hero mosaics: 2–4
Marketing art: 3–5
Error panels: 1–2
Archive panels: 0–2

No artifact with long body text should exceed angle_energy: 2 unless the text is contained inside a verified inner safe zone.

10. Directional Semantics

Geometry may imply direction, but it must remain secondary to explicit labels, color, state, and metadata.

{ "skew_direction": ["none", "forward", "back", "upward", "downward", "inward", "outward", "mixed"] }
DirectionMeaningUse
noneStable, neutralDocs, metadata, calm cards
forwardContinue, progress, next stepPipelines, navigation, actions
backHistory, prior state, archiveSnapshots, changelog, older releases
upwardGrowth, elevation, spotlightFeatured metrics, improvement
downwardDrill-down, detail, cautionExpanded details, caveats
inwardFocus, convergenceSummary, synthesis, canonical answer
outwardExpansion, discoveryExplore sections, related links
mixedManga composition rhythmHero mosaics only

For English-language Aptlantis Studio pages, forward motion should generally guide the eye from top-left → center → lower-right. Backward motion may be used for archive or historical surfaces, but should not fight the main reading order.

11. Corner Profiles

{ "corner_profiles": ["square", "soft-radius", "single-cut", "dual-cut", "opposite-cut", "all-cut", "asymmetric-soft", "asymmetric-sharp", "manga-irregular", "shard-cut"] }
Corner ProfileMeaningBest Use
squareStable, plain, archivalDocs, tables, metadata
soft-radiusFriendly, approachableCards, Q&A, dataset previews
single-cutTechnical accentBadges, cards, utility panels
dual-cutStronger artifact feelDownload cards, schema cards
opposite-cutMotion and balanceNavigation/process panels
all-cutCompiled artifact containerHighly technical panels
asymmetric-softManga-like but readableFeature cards, section panels
asymmetric-sharpHigher dramaHero support panels
manga-irregularFull manga compositionVisual mosaics
shard-cutAccent fragmentSmall labels, corner flags

Recommended corner offset limits by artifact density:

DensityMax Corner Offset
dense12px
compact20px
standard32px
spacious48px
hero72px
visual-only120px

Generator rule: corner offset must never intrude into the inner safe zone.

12. Safe Zones

Safe zones are mandatory for non-rectangular panels that contain text, numbers, controls, or important icons.

{ "safe_zone_types": ["full-rect", "inset-rect", "inset-polygon", "center-band", "title-band", "stat-grid", "visual-only"] }
{
"safe_zone": { "type": "inset-rect", "x": 32, "y": 28, "width": 536, "height": 164, "min_text_margin": 24, "preserve_reading_order": true }
}

Rules: text may not render outside the safe zone; click targets may extend outside it only if visible focus states remain clear; decorative glow may enter the bleed zone but not reduce text contrast; badges may sit partly outside the safe zone if they remain readable; visual-only safe zones must not contain essential text.

13. Bleed, Stroke, Glow, And Shadow

outer canvas
bleed zone
outer polygon / visible shape
stroke zone
inner fill
safe zone
{ "bleed": { "outer": 12, "allow_glow": true, "allow_shadow": true, "allow_crop": false } }

Glow belongs to state and intensity rules (NIPC/AIC), not arbitrary geometry. APGC defines where glow may appear.

Recommended stroke defaults:

Shape FamilyStroke Style
rect-stablesingle-line or none
soft-cardsingle-line
cut-cornercorner-accent
slant-forwardsingle-line or inner-hairline
manga-panel-adouble-line or corner-accent
manga-panel-bdouble-line
shardsingle-line
burstbroken-technical

14. SVG Geometry Rules

Use <polygon> for simple four-sided shapes, <path> for cut-corner or mixed geometry, <clipPath> for image/content masks, <mask> only when necessary, and <metadata> for SESM/APGC embedding.

Quadrilateral polygon points are expressed clockwise (top-left → top-right → bottom-right → bottom-left):

{ "outer_polygon": [[0, 16], [580, 0], [600, 204], [20, 220]] }
<svg viewBox="0 0 600 220" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="title desc">
<title id="title">Example Manga Panel</title>
<desc id="desc">A dynamic Aptlantis Studio artifact panel using APGC geometry.</desc>

<metadata id="sesm"><![CDATA[
{
"sesm_version": "0.3.0",
"asset": { "id": "example-manga-panel", "role": "dataset-card", "title": "Example Manga Panel" },
"ui": { "component_type": "panel", "preferred_layout": "manga-artifact-panel", "geometry_contract": "apgc-0.1" },
"extra": {
"vendor": {
"aptlantis": {
"apgc": {
"contract": "apgc-0.1",
"shape_family": "manga-panel-a",
"shape_role": "section-rhythm",
"angle_energy": 2,
"skew_direction": "forward",
"corner_profile": "asymmetric-soft",
"safe_zone": { "type": "inset-rect", "x": 32, "y": 28, "width": 536, "height": 164 }
}
}
}
}
}
]]></metadata>

<defs>
<clipPath id="panelClip">
<polygon points="0,16 580,0 600,204 20,220" />
</clipPath>
</defs>

<polygon points="0,16 580,0 600,204 20,220" fill="#111827" stroke="#22D3EE" stroke-width="2" />
<rect x="32" y="28" width="536" height="164" fill="none" stroke="#64748B" stroke-dasharray="4 6" opacity="0.25" />
</svg>

Generators should support a debug mode that renders safe zones visibly (muted slate stroke, 0.2–0.35 opacity, no fill, small corner control-point dots). Debug safe zones must not appear in production artifacts unless intentionally documented.

15. HTML/CSS Geometry Rules

.apgc-manga-panel-a {
clip-path: polygon(0% 7%, 96.7% 0%, 100% 92.7%, 3.3% 100%);
}

Every clipped HTML panel must have a fallback shape:

{ "responsive_fallback": "soft-card" }

Fallbacks are required because CSS clipping can create text, focus, overflow, and accessibility problems on small screens.

WidthGeometry Behavior
>= 1200pxFull geometry allowed
900–1199pxModerate geometry, reduce offsets by 20%
640–899pxReduce offsets by 40%, preserve safe zone
< 640pxFallback to soft-card or rect-stable

If a clipped panel contains links or buttons, focus outlines must remain visible and must not be clipped beyond recognition. Recommended: outer wrapper receives focus outline; inner clipped panel receives shape.

16. Shape Selection By Artifact Type

AIC Artifact TypeDefault ShapeAllowed Shape FamiliesMax Energy
dataset-cardsoft-cardsoft-card, cut-corner, manga-panel-a2
dataset-headertrapezoid-widerect-stable, trapezoid-wide, manga-panel-a3
pipeline-panelslant-forwardcut-corner, slant-forward, manga-panel-a3
qa-itemsoft-cardsoft-card, cut-corner, slant-forward2
stats-tilerect-stablerect-stable, soft-card, cut-corner2
theme-boardmanga-panel-atrapezoid-wide, manga-panel-a, manga-panel-b4
download-cardcut-cornercut-corner, slant-forward2
schema-cardcut-cornerrect-stable, cut-corner2
navigation-cardslant-forwardsoft-card, slant-forward, shard3
archive-summaryslant-backrect-stable, soft-card, slant-back2
brand-promo-panelmanga-panel-bmanga-panel-a, manga-panel-b, burst5

17. Shape Selection By Semantic Role

Semantic Role / FamilyGeometry Reinforcement
info, structure, referenceRectangular, soft-card, light cut corners
process, pipeline, automationForward slants, trapezoids, directional gutters
success, verified, reproducibleStable shape, small confident badge/shard
important, note, decisionSmall shard, rail, folded-corner marker
critical, error, blockedControlled cut-corner, never excessive burst by default
code-heat, build, operationCut corners, technical notches, orange corner accent
featured, creative, discoveryManga panels, spotlight frames, asymmetric layouts
experimental, research, prototypeIndigo slants, split panels, hypothesis frames
archive, canonical, mutedRect-stable, slant-back, low-energy geometry

17.2 Critical Restraint Rule

Red and high angularity should rarely combine — both already signal interrupt/risk, and together they can become visually hostile. Default for critical panels:

{ "shape_family": "cut-corner", "angle_energy": 1, "corner_profile": "single-cut" }

Use burst only for rare, high-level alert graphics. This rule is what NIPC §12 references as the geometry restraint note.

17.3 Yellow Marker Rule

Yellow/attention panels should usually use geometry as a marker (left rail, small shard, folded corner, index marker, badge, underline), not a large container. Avoid large yellow backgrounds, full-panel yellow glow, or multiple yellow shards in one dense view.

18. Manga Mosaic Composition

A manga mosaic is a group of APGC panels arranged as a section, hero, or visual explainer. It should create visual rhythm, preserve reading order, vary panel scale intentionally, use asymmetry without randomness, keep text-safe areas predictable, use gutters as part of the composition, and avoid competing focal points.

{
"mosaic": {
"contract": "apgc-0.1",
"layout_family": "manga-grid-a",
"reading_order": "top-left-to-bottom-right",
"gutter": 16,
"max_angle_energy": 3,
"panels": [
{ "id": "hero-main", "shape_family": "manga-panel-b", "angle_energy": 3, "role": "primary" },
{ "id": "supporting-stat", "shape_family": "cut-corner", "angle_energy": 1, "role": "support" }
]
}
}

Mosaic layout families: manga-grid-a, manga-grid-b, hero-split-diagonal, rail-and-stack, center-burst-supports, archive-strip, pipeline-flow.

  • Manga Grid A — balanced feature sections: large primary panel left/top, 2–4 supporting panels right/bottom, moderate slants, clear safe zones.
  • Manga Grid B — more energetic sections: large angled hero panel, support panels of varied height, stronger diagonal gutters, limited body text.
  • Hero Split Diagonal — page headers: left identity block, right visual/artifact block, diagonal divider, center-band safe zone.
  • Rail And Stack — left/right navigation sections: thin vertical trapezoid rail, stacked rectangular or soft-card content panels, small shards for status markers.
  • Center Burst Supports — rare: central spotlight artifact, small surrounding shards or stat panels, high energy but low text density.
  • Archive Strip — timelines, snapshots, changelogs: mostly rectangular panels, slant-back accents, muted geometry, horizontal reading flow.
  • Pipeline Flow — pipeline explanations: forward slanted stage panels, violet process accents, orange execution shards, green verification endpoint.

19. Reading Order Rules

Mosaics must declare reading order when panels are not simple rows:

{ "reading_order": ["hero-main", "metric-records", "pipeline-summary", "download-action"] }

For HTML surfaces, DOM order should follow reading order even if CSS places panels visually. For SVG surfaces, SESM or APGC metadata should preserve intended reading order. Diagonal gutters may point the eye, but should not create ambiguous paths.

20. Density Rules

{ "density": ["dense", "compact", "standard", "spacious", "hero", "visual-only"] }
DensityText AmountMax EnergySafe Zone Requirement
denseHigh1Required
compactMedium2Required
standardMedium2Required
spaciousLow/medium3Required
heroLow4Required for text
visual-onlyNone/very low5Optional

Any panel with body text longer than 240 characters should use rect-stable or soft-card at angle_energy 0-1 (exception: a larger manga-panel-a may be used if the safe zone is rectangular and large enough).

21. Responsive Behavior

Original ShapeRecommended Fallback
rect-stablerect-stable
soft-cardsoft-card
cut-cornersoft-card
slant-forwardsoft-card
slant-backsoft-card
trapezoid-widesoft-card or rect-stable
trapezoid-tallrect-stable
manga-panel-asoft-card
manga-panel-bsoft-card
manga-panel-crect-stable
shardbadge
burstbadge or soft-card

Below 640px, text-bearing panels should usually become soft-card or rect-stable. SVG panels should preserve aspect ratio unless the artifact contract explicitly allows cropping.

22. Accessibility Rules

Non-rectangular panels must preserve text contrast, focus visibility, reading order, target size, label clarity, and minimum margins.

A user should not need to perceive shape differences to understand error, warning, success, archive, verified, deprecated, or unavailable — these must be communicated by text, state, ARIA where relevant, metadata, and NIPC semantic color.

APGC may define geometry for motion-like panels, but actual animation belongs to state/intensity rules and must respect reduced-motion preferences.

23. Validation Rules

For production artifacts using APGC:

{ "required": ["contract", "shape_family", "angle_energy", "corner_profile", "safe_zone", "responsive_fallback"] }

For decorative assets, safe_zone may be visual-only.

A validator should check: shape_family is known; angle_energy is within allowed range for the shape family and artifact type; safe zone exists for text-bearing panels; corner offsets do not intrude into safe zone; text regions fit within safe zone; responsive fallback exists; reading order exists for mosaics; critical/error panels do not exceed recommended geometry energy unless explicitly overridden; visual-only panels do not contain essential text.

Warnings should be emitted for: high angle energy + dense text; red semantic role + burst geometry; yellow full-panel container; missing safe zone debug data; shape_family not aligned with artifact type; clip-path panel without focus fallback; mosaic without reading_order; corner offset greater than density limit.

Production generation should fail if: required geometry fields are missing; text-bearing polygon has no safe zone; angle_energy exceeds shape family maximum; angle_energy exceeds artifact maximum without override; outer polygon is invalid; safe zone has negative or impossible dimensions; responsive fallback is missing for HTML clip-path panels.

24. Override Policy

{ "geometry_override": { "enabled": true, "reason": "hero campaign image, visual-only, no essential body text", "approved_by": "design-system" } }

Override should be rare. Recommended reasons: hero campaign visual, one-off infographic, decorative splash asset, experimental theme board, archived legacy mockup.

25. APGC Metadata Placement

APGC fields may appear in: AIC artifact contract files; SESM ui hints; SESM vendor extension fields; generator templates; JSON/TOML theme configuration; SVG <metadata> blocks.

{
"ui": { "component_type": "panel", "preferred_layout": "manga-artifact-panel", "geometry_contract": "apgc-0.1", "shape_family": "slant-forward", "responsive_behavior": "preserve-safe-zone" }
}

26. Template Naming Conventions

{artifact_type}.{shape_family}.{density}.svg.tmpl

Examples: dataset-card.soft-card.compact.svg.tmpl, dataset-card.cut-corner.compact.svg.tmpl, pipeline-panel.slant-forward.standard.svg.tmpl, theme-board.manga-panel-a.spacious.svg.tmpl, hero.manga-panel-b.hero.svg.tmpl, qa-item.soft-card.compact.svg.tmpl.

Shape tokens should be lowercase and hyphen-separated (manga-panel-a, slant-forward, cut-corner, rect-stable) — avoid MangaPanelA, weirdPanel, coolCyberShape, panel_angled_thing.

These presets assume a 600x220 viewBox.

ShapeOuter PolygonSafe Zone
rect-stable[[0,0],[600,0],[600,220],[0,220]]x24 y24 w552 h172
cut-corner[[0,0],[576,0],[600,24],[600,220],[24,220],[0,196]]x32 y28 w536 h164
slant-forward[[24,0],[600,0],[576,220],[0,220]]x48 y26 w504 h168
slant-back[[0,0],[576,0],[600,220],[24,220]]x48 y26 w504 h168
trapezoid-wide[[36,0],[564,0],[600,220],[0,220]]x56 y30 w488 h160
manga-panel-a[[0,16],[580,0],[600,204],[20,220]]x36 y30 w528 h158
manga-panel-b[[20,0],[600,28],[560,220],[0,192]]x56 y42 w488 h136
shard[[0,8],[92,0],[108,32],[14,40]]x14 y8 w78 h24

28. Implementation Notes For Generators

Generator resolution order: read artifact type from AIC → read semantic role and state from NIPC/AIC/SESM data → determine allowed shape families for artifact type → determine density → choose shape family → clamp angle energy to allowed range → select corner profile → calculate outer polygon → calculate inner safe zone → validate text regions → render SVG or HTML → embed APGC metadata.

Given the same source data, artifact type, theme version, shape family, angle energy, and viewBox, the generator should produce the same geometry every time unless a seed or override is explicitly provided.

Seeded variation (geometry_seed) may alter small corner offsets, panel ordering within an allowed layout family, shard placement, and gutter rhythm — it may not alter required fields, semantic role, state, reading order, or safe zone validity.

29. Page Section Guidance

  • About / Q&A Pages: qa-item, soft-card, angle_energy 0-1, attention marker as shard or rail.
  • Pipeline Pages: pipeline-panel, slant-forward, angle_energy 2, skew_direction: forward.
  • Dataset Pages: dataset-header uses trapezoid-wide at angle_energy 2; dataset-card stays calmer at soft-card/cut-corner, angle_energy 0-1.
  • Theme Boards: manga-panel-a, angle_energy 2-3 — theme boards may use more expressive geometry because they demonstrate the visual system.
  • Marketing / Hero Sections: manga-panel-b, angle_energy 3-4, safe zone center-band or title-band. Avoid long paragraphs inside high-energy hero panels.

30. Opinionated Defaults

  1. Default panels are rectangles or soft cards.
  2. Important panels may use cut corners.
  3. Process/navigation panels may slant forward.
  4. Archive/history panels may slant backward.
  5. Hero mosaics may use manga-panel variants.
  6. Dense text must always preserve an inner rectangular safe zone.
  7. Extreme angles are only for mostly visual artifacts.
  8. Geometry must never be the only carrier of meaning.
  9. Color meaning comes from NIPC.
  10. Artifact structure comes from AIC.
  11. Embedded meaning comes from SESM.
  12. Brand expression comes from Neon Ink.
  13. Visual rhythm comes from APGC.

31. Architecture Summary

Source Data / Manifest
├── SESM Meaning → Identity / Provenance / Links
├── AIC Artifact Contract → Fields / Regions / Render Targets
├── NIPC Palette Contract → Hue / Family / Intent / Intensity
├── APGC Geometry Contract → Shape / Corners / Angles / Safe Zones
└── Neon Ink Expression → Typography / Voice / Page Rhythm

Compiled SVG / HTML Artifact

32. Minimal APGC Contract Example

{
"apgc_version": "0.1.0",
"artifact_type": "dataset-card",
"shape_family": "cut-corner",
"shape_role": "artifact-container",
"angle_energy": 1,
"skew_direction": "none",
"corner_profile": "single-cut",
"outer_shape": "polygon",
"outer_polygon": [[0,0],[576,0],[600,24],[600,220],[24,220],[0,196]],
"safe_zone": { "type": "inset-rect", "x": 32, "y": 28, "width": 536, "height": 164, "min_text_margin": 24 },
"bleed": { "outer": 12, "allow_glow": true, "allow_shadow": true },
"responsive_fallback": "soft-card",
"validation": { "preserve_reading_order": true, "max_corner_offset": 24, "requires_safe_zone": true }
}

33. Full Artifact Integration Example

{
"aic_version": "0.1.0",
"artifact_type": "pipeline-panel",
"required": ["pipeline_id", "state", "stage_list", "updated"],
"layout": { "regions": ["title", "stage_list", "status", "timestamp", "actions"], "density": "standard", "geometry_contract": "apgc-0.1", "safe_zone_required": true },
"theme": { "id": "neon-ink", "semantic_role": "pipeline", "semantic_family": "process-transformation", "state": "running", "intensity": 3 },
"geometry": {
"contract": "apgc-0.1",
"shape_family": "slant-forward",
"shape_role": "forward-motion",
"angle_energy": 2,
"skew_direction": "forward",
"corner_profile": "opposite-cut",
"safe_zone": { "type": "inset-rect", "x": 48, "y": 26, "width": 504, "height": 168 },
"responsive_fallback": "soft-card"
}
}

34. Versioning

MAJOR: breaking shape contract changes
MINOR: new shape families, optional metadata, additive validation
PATCH: wording, examples, clarifications
{ "apgc_version": "0.1.0" }

35. Summary

APGC makes shape a first-class part of the Aptlantis Studio design system. It allows manga-informed quadrilateral panels, slants, cuts, shards, trapezoids, and mosaics without drifting into arbitrary decoration.

SESM = embedded meaning
NIPC = color meaning
AIC = artifact structure
Neon Ink = brand expression
APGC = geometry rhythm

APGC should let Aptlantis Studio become more visually distinctive while remaining deterministic, accessible, static-friendly, archive-aware, and generator-ready.