fix: 프로젝트 기록 목록이 모든 종류를 싣고 요약·주제·날짜를 보여 준다

프로젝트 기록에서 Open Question 이 보이지 않았다. 이 목록은 탐색의 지식 목록과 응답 모양이
다른데(유형이 네 가지고 요약이 `summary` 한 칸에 온다) 지식 목록의 매퍼를 그대로 쓰고 있었다.
그 매퍼는 CASE/REFERENCE 가 아니면 `null` 을 돌려주고 호출부가 `filter` 로 걸러 내므로, 질문과
개념은 오류도 빈 자리도 남기지 않고 조용히 없어졌다 — 목록이 한 줄 짧아질 뿐이라 눈으로는
알아채기 어렵다.

살아남은 줄도 온전하지 않았다. 매퍼가 `primarySummary`·`primaryTopic` 을 찾는데 이 응답에는
그 이름이 없어서 요약과 주제가 빈 채로 그려졌고, 게시일은 응답 자체에 없었다 — 그래서 목록의
모든 줄이 "제목만 있고 · 만 남은" 모양이었다.

계약이 요약·주제·게시일을 싣게 하고(design-package 76a7ccb), 이 응답 전용 매퍼를 둔다. 네
유형이 모두 살아남는지와 그 칸들이 채워지는지를 함께 묻는 테스트를 세운다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0189NzCryfeqDzS81EWidnBx
This commit is contained in:
DongHyeonka
2026-08-29 20:54:00 +09:00
co-authored by Claude Opus 5
parent 31afb4d800
commit 77125d1c7c
9 changed files with 156 additions and 12 deletions
@@ -2,7 +2,7 @@
"packageId": "@tech-log/management-contract",
"version": "1.0.0",
"digest": "sha256:762aa81e6906469939fddd833c204ed3ca53f0fa96371f18a5ea1edaf76a64e8",
"sourceRevision": "987c1b8",
"sourceRevision": "76a7ccb",
"operationIds": [
"createCaseDraft",
"getCaseForEdit",
@@ -1,8 +1,8 @@
{
"packageId": "@tech-log/public-contract",
"version": "2.1.0",
"digest": "sha256:c80f62cd37862ea48cef750e9966164570dfa0ceaf9ddc1872d497b0462a2a00",
"sourceRevision": "987c1b8",
"digest": "sha256:afe415880eb5d6289ae10abf493333c97270c323c16a7245a466d4db4466e630",
"sourceRevision": "76a7ccb",
"operationIds": [
"getPublicSite",
"getPublicHome",
@@ -771,8 +771,21 @@ export interface components {
items: components["schemas"]["ProjectDecisionItem"][];
page: components["schemas"]["PageMetadata"];
};
/** @description 프로젝트 기록 목록의 한 줄. 탐색 목록과 같은 화면 컴포넌트가 그리므로 그 컴포넌트가 읽는
* 칸을 갖는다 — `RelatedEntry` 로는 요약·주제·게시일이 없어 목록이 제목만 남은 줄로 그려졌다.
* */
ProjectRecordItem: {
/** @enum {string} */
type: "CASE" | "REFERENCE" | "QUESTION" | "CONCEPT";
title: string;
path: string;
summary: string;
primaryTopic?: components["schemas"]["TopicSummary"];
/** Format: date-time */
publishedAt: string;
};
ProjectRecordPage: {
items: components["schemas"]["RelatedEntry"][];
items: components["schemas"]["ProjectRecordItem"][];
page: components["schemas"]["PageMetadata"];
};
ProjectActivityItem: {
@@ -1805,6 +1805,36 @@ components:
$ref: '#/components/schemas/ProjectDecisionItem'
page:
$ref: '#/components/schemas/PageMetadata'
ProjectRecordItem:
description: |
프로젝트 기록 목록의 한 줄. 탐색 목록과 같은 화면 컴포넌트가 그리므로 그 컴포넌트가 읽는
칸을 갖는다 — `RelatedEntry` 로는 요약·주제·게시일이 없어 목록이 제목만 남은 줄로 그려졌다.
type: object
required:
- type
- title
- path
- summary
- publishedAt
properties:
type:
type: string
enum:
- CASE
- REFERENCE
- QUESTION
- CONCEPT
title:
type: string
path:
type: string
summary:
type: string
primaryTopic:
$ref: '#/components/schemas/TopicSummary'
publishedAt:
type: string
format: date-time
ProjectRecordPage:
type: object
required:
@@ -1814,7 +1844,7 @@ components:
items:
type: array
items:
$ref: '#/components/schemas/RelatedEntry'
$ref: '#/components/schemas/ProjectRecordItem'
page:
$ref: '#/components/schemas/PageMetadata'
ProjectActivityItem:
@@ -2,7 +2,7 @@
"packageId": "@tech-log/studio-contract",
"version": "3.1.0",
"digest": "sha256:96f655d75fc19c535eb87e24f5320fdc382d6d982aaa75b67fe6acbde1ee8ff2",
"sourceRevision": "987c1b8",
"sourceRevision": "76a7ccb",
"operationIds": [
"getStudioSession",
"getStudioDashboard",