fix: 요약을 2000자까지 쓰고, 목록과 머리말이 그 길이를 견디게 한다

600 은 「아래 저장 경로가 이미 600 이니 거기 맞추자」는 판단이었지 실제로
쓰는 글의 길이를 본 것이 아니었다. 요약은 여러 문단이다.

길어진 요약이 드러낸 두 가지를 함께 고친다.

목록: 최근 기록·탐색·검색·홈 초점은 요약을 통째로 그렸다. 2000자면 한
항목이 화면을 덮어 목록이 목록이 아니게 된다. 세 줄에서 자른다 — 전문은
문서를 열면 나온다.

머리말: `public-document-header` 만 `PlainText` 를 거치지 않고 요약을
그대로 넣고 있었다. 작성자가 나눈 문단이 전부 한 덩어리로 이어졌다.
판단 결정 요약에서 고쳤던 것과 같은 결함이고, 이 자리를 빠뜨렸다.
되돌리면 <br> 가 3개에서 0개가 되어 가드가 깨지는 것을 확인했다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011nAjrqNHGPNngN4aUbcyvJ
This commit is contained in:
DongHyeonka
2026-08-29 22:23:13 +09:00
co-authored by Claude Opus 5
parent 8fce8ea69c
commit 4e486aac59
11 changed files with 79 additions and 24 deletions
@@ -1,8 +1,8 @@
{
"packageId": "@tech-log/management-contract",
"version": "1.0.0",
"digest": "sha256:762aa81e6906469939fddd833c204ed3ca53f0fa96371f18a5ea1edaf76a64e8",
"sourceRevision": "617eb6a",
"digest": "sha256:f97b97101791d87fcf27d78a4c016370cabd2f02bb3b30eec0b8e453803d2d5f",
"sourceRevision": "5942a2e",
"operationIds": [
"createCaseDraft",
"getCaseForEdit",
@@ -6331,7 +6331,7 @@ components:
maxLength: 180
summary:
type: string
maxLength: 600
maxLength: 2000
context:
type: string
importance:
@@ -6709,7 +6709,7 @@ components:
maxLength: 180
summary:
type: string
maxLength: 600
maxLength: 2000
releasedOn:
type: string
format: date
@@ -7243,7 +7243,7 @@ components:
maxLength: 180
summary:
type: string
maxLength: 600
maxLength: 2000
visibility:
type: string
enum:
@@ -2,7 +2,7 @@
"packageId": "@tech-log/public-contract",
"version": "2.1.0",
"digest": "sha256:afe415880eb5d6289ae10abf493333c97270c323c16a7245a466d4db4466e630",
"sourceRevision": "617eb6a",
"sourceRevision": "5942a2e",
"operationIds": [
"getPublicSite",
"getPublicHome",
@@ -1,8 +1,8 @@
{
"packageId": "@tech-log/studio-contract",
"version": "3.1.0",
"digest": "sha256:2236a17064a81ae7e0c358fbc0756c8d89a5bdd7a2dfba36efffae0a448624b1",
"sourceRevision": "617eb6a",
"digest": "sha256:7e1ee18f7e6a6cb1750dd0baec28d975fb3b535116d8dfb57c17ae16ee8d2be8",
"sourceRevision": "5942a2e",
"operationIds": [
"getStudioSession",
"getStudioDashboard",
@@ -917,7 +917,7 @@ components:
oneOf:
- { type: string, const: "" }
- { type: string, minLength: 3, maxLength: 100, pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" }
summary: { type: string, maxLength: 600 }
summary: { type: string, maxLength: 2000 }
topicId: { type: [string, "null"], format: uuid }
projectId:
type: [string, "null"]
@@ -1280,7 +1280,7 @@ components:
kind: { $ref: "#/components/schemas/RecordKind" }
slug: { type: string, minLength: 3, maxLength: 100, pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" }
title: { type: string, minLength: 1, maxLength: 120 }
summary: { type: string, maxLength: 600 }
summary: { type: string, maxLength: 2000 }
publicPath: { type: string, minLength: 1, maxLength: 500 }
topic: { $ref: "#/components/schemas/DisplayTarget" }
project: