Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ee3271f
Keep fixed-canvas architecture labels clear of routes and frames
tt-a1i Nov 22, 2026
33e322a
chore: sync dev with main and start v3.3.1-dev.1 cycle
tt-a1i Nov 22, 2026
a751ece
Simplify automatic architecture routes after composition
tt-a1i Nov 22, 2026
fe2d27d
Merge pull request #1461 from tt-a1i/chore/sync-dev-v3.3.1-dev.1
tt-a1i Nov 22, 2026
28d7f25
Keep short architecture connections straight and bound wide arrowheads
tt-a1i Nov 22, 2026
388ace2
Compute route scene bounds without spreading large arrays
tt-a1i Nov 22, 2026
ac66d39
Improve finished architecture routes and short label attachment
tt-a1i Nov 22, 2026
d8e5046
Repair inferred architecture labels and center branch hubs
tt-a1i Nov 22, 2026
1737263
Restore architecture label and obstacle routing contracts
tt-a1i Nov 22, 2026
cd27c06
Recover architecture label space within routing contracts
tt-a1i Nov 22, 2026
1607c6f
Reduce crossings near frames in automatic architecture placement
tt-a1i Nov 22, 2026
44e26b4
Reserve relationship label space in parallel architecture placement
tt-a1i Nov 22, 2026
37ba881
Reserve label gaps across automatic architecture placements
tt-a1i Nov 22, 2026
c349435
Reserve label space beside vertical Architecture chains
tt-a1i Nov 23, 2026
5253a03
Compact automatic Architecture junctions
tt-a1i Nov 23, 2026
390f648
chore(dsh): sync published 1.2.0 adapter and docs to dev
tt-a1i Nov 23, 2026
6c33e15
Improve automatic shared-sink and chain layouts
tt-a1i Nov 23, 2026
c1edf17
Merge pull request #1467 from tt-a1i/chore/sync-dsh-1.2.0-dev
tt-a1i Nov 23, 2026
0e6eb0a
Straighten automatic Architecture shortcuts and reciprocal links
tt-a1i Nov 23, 2026
56c4229
Reduce crossings in dense automatic Architecture layouts
tt-a1i Nov 23, 2026
ce25b8a
feat(explainer): store a repeated cited file once per page (#1426) (#…
tt-a1i Nov 24, 2026
00af336
Merge origin/dev into codex/architecture-labels-1123
tt-a1i Nov 24, 2026
d9adac8
Consolidate candidate scene evaluation and add composition imbalance …
tt-a1i Nov 24, 2026
05563f1
Balance architecture fan-out and reduce terminal crossings
tt-a1i Nov 24, 2026
cb62470
Reduce framed architecture crossings and compact blocked sink slots
tt-a1i Nov 24, 2026
541d36a
Harden framed crossing guards, self-loop root detection, and outcome …
tt-a1i Nov 24, 2026
d8d33f9
Polish architecture column widths, lateral subtrees, spine labels, an…
tt-a1i Nov 24, 2026
a51c277
Merge pull request #1473 from tt-a1i/codex/architecture-labels-1123
tt-a1i Nov 24, 2026
4a1cfb5
chore: merge origin/main into release/v3.3.1
tt-a1i Nov 24, 2026
fede2ee
release: promote dev and prepare v3.3.1
tt-a1i Nov 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes are documented here. Format loosely follows [Keep a Changelo

## [Unreleased]

## [3.3.1] — 2026-11-24

### Changed
- **Automatic Architecture layout, label ownership, and visual polish (#1473).**
- Inferred vertical columns (`layout.mode: "auto"`, up to 24 unpinned cards) harmonize card widths to flush left/right edges with comfortable sublabel breathing room.
- Unframed 1-bridge lateral pendant subtrees compact and lift into open vertical space alongside the main spine instead of trailing in lower corners.
- Multi-step vertical spines keep relationship labels on the cleaner side, reciprocal horizontal shafts place labels on their outer sides instead of between parallel lines, and parallel/vertical chain corridors reserve space for relationship labels.
- Dense unpinned graphs (9–12 cards) and framed topologies reduce avoidable crossings, fan-out hubs balance across recipients, shortcuts straighten past clear corridors, and blocked sink slots compact cleanly.
- Classic and Signal-Flow cards use `10px` corner radii, softened Classic light-mode semantic fills and strokes, borderless `6px` pill masks on edge labels, and unified `--arrow-security` / `--arrow-dashed` palette variables across strokes, markers, and labels.
- **Explainer repeated-file deduplication (#1426, #1470).** Store each cited source file once per Explainer page rather than repeating identical file payloads across multiple citations.
- **DeepSeek Harness 1.2.0 alignment (#1464, #1466, #1467).** Recorded and synchronized published `archify-dsh` `1.2.0` (bundling Archify `3.3.0` for DSH `0.2.2-rc.5`).

### Release follow-up
- The stable update manifest (`docs/skill-updates/archify/stable.json`) remains on `v3.3.0` until the `v3.3.1` GitHub Release is published and its `archify.zip` digest is verified.
- The separately versioned DSH plugin (`integrations/deepseek-harness/release.json`, currently `1.2.0`) is explicitly deferred and remains on `1.2.0` until the next DSH bundle cycle.

## [3.3.0] — 2026-11-23

### Release highlights
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<a href="https://skills.sh/tt-a1i/archify/archify"><img src="https://img.shields.io/badge/installs-130K%2B-0EA5E9?style=flat-square" alt="130K+ installs on skills.sh" /></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-22c55e?style=flat-square" alt="Apache License 2.0" /></a>
<a href="#installation-options"><img src="https://img.shields.io/badge/works_with-Claude_Code_%7C_Codex_%7C_Cursor_%7C_OpenCode-7C3AED?style=flat-square" alt="Works with Claude Code, Codex, Cursor, and OpenCode" /></a>
<a href="CHANGELOG.md#330--2026-11-23"><img src="https://img.shields.io/badge/version-3.3.0-0891b2?style=flat-square" alt="Stable version 3.3.0" /></a>
<a href="CHANGELOG.md#331--2026-11-24"><img src="https://img.shields.io/badge/version-3.3.1-0891b2?style=flat-square" alt="Stable version 3.3.1" /></a>
</p>

<p align="center">
Expand Down Expand Up @@ -246,7 +246,7 @@ Open [`examples/web-app.html`](examples/web-app.html) locally to try the complet

## Quick start

**Current stable version:** `v3.3.0`. See [Changelog](CHANGELOG.md#330--2026-11-23).
**Current stable version:** `v3.3.1`. See [Changelog](CHANGELOG.md#331--2026-11-24).

### 1. Install

Expand Down
4 changes: 2 additions & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<a href="https://skills.sh/tt-a1i/archify/archify"><img src="https://img.shields.io/badge/installs-130K%2B-0EA5E9?style=flat-square" alt="130K+ installs on skills.sh" /></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-22c55e?style=flat-square" alt="Apache License 2.0" /></a>
<a href="#installation-options"><img src="https://img.shields.io/badge/works_with-Claude_Code_%7C_Codex_%7C_Cursor_%7C_OpenCode-7C3AED?style=flat-square" alt="Works with Claude Code, Codex, Cursor, and OpenCode" /></a>
<a href="CHANGELOG.md#330--2026-11-23"><img src="https://img.shields.io/badge/version-3.3.0-0891b2?style=flat-square" alt="Stable version 3.3.0" /></a>
<a href="CHANGELOG.md#331--2026-11-24"><img src="https://img.shields.io/badge/version-3.3.1-0891b2?style=flat-square" alt="Stable version 3.3.1" /></a>
</p>

<p align="center">
Expand Down Expand Up @@ -246,7 +246,7 @@ Open [`examples/web-app.html`](examples/web-app.html) locally to try the complet

## Quick start

**Current stable version:** `v3.3.0`. See [Changelog](CHANGELOG.md#330--2026-11-23).
**Current stable version:** `v3.3.1`. See [Changelog](CHANGELOG.md#331--2026-11-24).

### 1. Install

Expand Down
4 changes: 2 additions & 2 deletions README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<a href="https://skills.sh/tt-a1i/archify/archify"><img src="https://img.shields.io/badge/installs-130K%2B-0EA5E9?style=flat-square" alt="130K+ installs on skills.sh" /></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-22c55e?style=flat-square" alt="Apache License 2.0" /></a>
<a href="#インストール方法"><img src="https://img.shields.io/badge/works_with-Claude_Code_%7C_Codex_%7C_Cursor_%7C_OpenCode-7C3AED?style=flat-square" alt="Works with Claude Code, Codex, Cursor, and OpenCode" /></a>
<a href="CHANGELOG.md#330--2026-11-23"><img src="https://img.shields.io/badge/version-3.3.0-0891b2?style=flat-square" alt="Stable version 3.3.0" /></a>
<a href="CHANGELOG.md#331--2026-11-24"><img src="https://img.shields.io/badge/version-3.3.1-0891b2?style=flat-square" alt="Stable version 3.3.1" /></a>
</p>

<p align="center">
Expand Down Expand Up @@ -220,7 +220,7 @@ Export メニューから PNG をクリップボードにコピーしたり、

## クイックスタート

**現在の安定版:** `v3.3.0`。[変更履歴](CHANGELOG.md#330--2026-11-23)を参照してください。
**現在の安定版:** `v3.3.1`。[変更履歴](CHANGELOG.md#331--2026-11-24)を参照してください。

### 1. インストール

Expand Down
2 changes: 1 addition & 1 deletion README_KO.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Use archify to add a guided story to this diagram and export it as a video.

## 빠른 시작

**현재 안정 버전:** `v3.3.0`. [변경 이력](CHANGELOG.md#330--2026-11-23)을 확인하세요.
**현재 안정 버전:** `v3.3.1`. [변경 이력](CHANGELOG.md#331--2026-11-24)을 확인하세요.

### 1. 설치

Expand Down
4 changes: 2 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<a href="https://skills.sh/tt-a1i/archify/archify"><img src="https://img.shields.io/badge/installs-130K%2B-0EA5E9?style=flat-square" alt="130K+ installs on skills.sh" /></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-22c55e?style=flat-square" alt="Apache License 2.0" /></a>
<a href="#安装方式"><img src="https://img.shields.io/badge/works_with-Claude_Code_%7C_Codex_%7C_Cursor_%7C_OpenCode-7C3AED?style=flat-square" alt="Works with Claude Code, Codex, Cursor, and OpenCode" /></a>
<a href="CHANGELOG.md#330--2026-11-23"><img src="https://img.shields.io/badge/version-3.3.0-0891b2?style=flat-square" alt="Stable version 3.3.0" /></a>
<a href="CHANGELOG.md#331--2026-11-24"><img src="https://img.shields.io/badge/version-3.3.1-0891b2?style=flat-square" alt="Stable version 3.3.1" /></a>
</p>

<p align="center">
Expand Down Expand Up @@ -246,7 +246,7 @@ Export 菜单支持复制 PNG,并下载静态或动态格式:

## 快速开始

**当前稳定版本:** `v3.3.0`。详见[版本历史](CHANGELOG.md#330--2026-11-23)。
**当前稳定版本:** `v3.3.1`。详见[版本历史](CHANGELOG.md#331--2026-11-24)。

### 1. 安装

Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Archify Roadmap

The current stable version is `v3.3.0`. Published changes are recorded in [CHANGELOG.md](CHANGELOG.md), which is the single owner for delivered feature history. This file owns architectural direction, retained rationale, and explicitly declined ideas.
The current stable version is `v3.3.1`. Published changes are recorded in [CHANGELOG.md](CHANGELOG.md), which is the single owner for delivered feature history. This file owns architectural direction, retained rationale, and explicitly declined ideas.

<details>
<summary>Archived delivered-slice context (frozen; no longer maintained as a second changelog)</summary>
Expand Down
Binary file modified archify.zip
Binary file not shown.
69 changes: 61 additions & 8 deletions archify/assets/template.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 39 additions & 2 deletions archify/explainer/page-bundle.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,44 @@ const swap = (bundle, from, to, convert) => {
[id, child && typeof child[from] === 'string' ? Object.fromEntries(Object.entries(child).map(([key, value]) => key === from ? [to, convert(value)] : [key, value])) : child])) } };
};

export const packPageBundle = bundle => swap(bundle, 'html', 'htmlGzip', html => gzipSync(html, { level: 9 }).toString('base64'));
// Every citation of a repository file is its own dependency entry with the whole file frozen in
// `contentBase64`, so a file cited ten times would be embedded ten times. The page instead holds
// each repeated content once in `dependencyContents`, keyed by the entry's declared SHA-256, and
// the entry names it in place with `contentRef`. Unpacking restores the exact entries (same keys,
// same order), so the digest and every per-entry byte check still run over the prepared form.
const CONTENTS = 'dependencyContents';
const replaceKey = (entry, from, to, value) => Object.fromEntries(Object.entries(entry).map(([key, current]) => key === from ? [to, value] : [key, current]));

const packDependencies = bundle => {
if (!Array.isArray(bundle?.dependencies)) return bundle;
const packable = entry => entry && typeof entry.contentBase64 === 'string' && typeof entry.sha256 === 'string' && !('contentRef' in entry);
// Only content cited more than once moves; a page without repeats keeps today's exact bytes.
const key = entry => `${entry.sha256}:${entry.contentBase64}`, uses = new Map();
for (const entry of bundle.dependencies) if (packable(entry)) uses.set(key(entry), (uses.get(key(entry)) || 0) + 1);
const contents = {};
const dependencies = bundle.dependencies.map(entry => {
if (!packable(entry) || uses.get(key(entry)) < 2) return entry;
// Never merge two different strings under one identity: a corrupt entry keeps its own bytes
// inline, so the checker still sees and reports exactly what was written.
if (Object.hasOwn(contents, entry.sha256) && contents[entry.sha256] !== entry.contentBase64) return entry;
contents[entry.sha256] = entry.contentBase64;
return replaceKey(entry, 'contentBase64', 'contentRef', entry.sha256);
});
return Object.keys(contents).length ? { ...bundle, dependencies, [CONTENTS]: contents } : bundle;
};

const unpackDependencies = bundle => {
if (!bundle || typeof bundle !== 'object' || !(CONTENTS in bundle)) return bundle;
const { [CONTENTS]: stored, ...rest } = bundle;
const contents = stored && typeof stored === 'object' && !Array.isArray(stored) ? stored : {};
if (!Array.isArray(rest.dependencies)) return rest;
// A missing or unknown reference restores no bytes; the dependency check then reports it.
return { ...rest, dependencies: rest.dependencies.map(entry => entry && typeof entry === 'object' && typeof entry.contentRef === 'string'
? replaceKey(entry, 'contentRef', 'contentBase64', Object.hasOwn(contents, entry.contentRef) && typeof contents[entry.contentRef] === 'string' ? contents[entry.contentRef] : undefined)
: entry) };
};

export const packPageBundle = bundle => packDependencies(swap(bundle, 'html', 'htmlGzip', html => gzipSync(html, { level: 9 }).toString('base64')));

/** Accepts packed and older unpacked pages alike. */
export const unpackPageBundle = bundle => swap(bundle, 'htmlGzip', 'html', data => gunzipSync(Buffer.from(data, 'base64')).toString('utf8'));
export const unpackPageBundle = bundle => unpackDependencies(swap(bundle, 'htmlGzip', 'html', data => gunzipSync(Buffer.from(data, 'base64')).toString('utf8')));
4 changes: 2 additions & 2 deletions archify/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion archify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archify",
"version": "3.3.0",
"version": "3.3.1",
"private": true,
"type": "module",
"description": "JSON-IR diagram renderers (architecture / workflow / sequence / dataflow / lifecycle / erd / class / tree / timeline / waterfall).",
Expand Down
Loading
Loading