@things-factory/figure-service 10.1.29 → 10.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,12 @@
18
18
  * `ai-assistant:mutation` 이 지킨다 — 서로 다른 질문이라 서로 다른 권한이 지킨다. figure 가 board
19
19
  * 의 권한을 빌리지 않는다.
20
20
  *
21
+ * ── 권한은 적지 않는다. 문에 적힌 것을 관문이 읽는다 ────────────────────────
22
+ * 2026-09-18 까지 도구마다 `privilege: { category: 'figure', ... }` 를 적어 두었다. 문의 지시자와
23
+ * 같은 값이라 그때는 맞았고, 문이 선언을 바꾸는 날 어긋난다 — 어긋나면 느슨한 쪽이 이긴다. 이제
24
+ * 관문이 `doors` 에 적힌 문의 선언을 AUTH 의 표에서 읽어 묻는다(ADR-0071 결정 2 보탬). 여기 남길
25
+ * 것은 **닿는 문**뿐이다.
26
+ *
21
27
  * ── 규율을 도구와 함께 보낸다 ───────────────────────────────────────────────
22
28
  * 도구 목록만으로는 「언제 반드시 불러야 하는지」를 모른다. twin 이 그 공백에서 사고를 냈다 —
23
29
  * 조치 요청에 도구를 부르지 않고 「제안해 두었습니다」라고만 답해, 사용자에게 **없는 버튼을 누르라고
@@ -249,7 +255,6 @@ function figureToolSpecs(): ToolSpec[] {
249
255
  name: 'listFigures',
250
256
  /* 이 도메인의 도형 목록 — 저장소를 직접 읽지만 같은 일을 하는 문은 이것이다. */
251
257
  doors: ['Query.figures'],
252
- privilege: { category: 'figure', privilege: 'query', owner: true },
253
258
  description:
254
259
  'Lists the figures in this tenant with their type names, states and part counts. ' +
255
260
  'Call it before naming a type — type names are stored identifiers and must not be invented.',
@@ -280,7 +285,6 @@ function figureToolSpecs(): ToolSpec[] {
280
285
  /* 저장된 도형의 원본. **저장 전 초안**을 물으면 저장소에 갈 것이 없어 화면이 보낸 것을 그대로 돌려준다 —
281
286
  * 그 갈래에는 닿는 문이 없지만 `doors: []` 로 적지 않는다. 그러면 저장된 도형을 읽는 권한 검사가 선언에서 사라진다. */
282
287
  doors: ['Query.figure'],
283
- privilege: { category: 'figure', privilege: 'query', owner: true },
284
288
  description:
285
289
  'Returns the canonical FigureSource of one figure, with its measured cost ' +
286
290
  '(triangles, part groups, and how many of it hold 60fps on one screen). Call it before proposing a revision — ' +
@@ -318,7 +322,6 @@ function figureToolSpecs(): ToolSpec[] {
318
322
  name: 'inspectFigure',
319
323
  /* 검사 결과 — 같은 일을 하는 문. */
320
324
  doors: ['Query.inspectFigure'],
321
- privilege: { category: 'figure', privilege: 'query', owner: true },
322
325
  description:
323
326
  'Says whether a figure may be released and, when it may not, what is wrong — each finding ' +
324
327
  'carries why it is a problem and what to change. Call it when asked about releasing, or ' +
@@ -340,7 +343,6 @@ function figureToolSpecs(): ToolSpec[] {
340
343
  name: 'proposeFigureCandidate',
341
344
  /* 후보 생성 — 저장은 하지 않지만 같은 문의 권한을 쓴다. */
342
345
  doors: ['Mutation.proposeFigure'],
343
- privilege: { category: 'figure', privilege: 'mutation', owner: true },
344
346
  description:
345
347
  'Asks for a figure candidate from a description, optionally revising an existing one. ' +
346
348
  'Returns the candidate with its score and cost. NOTHING IS SAVED — the author accepts or ' +
@@ -0,0 +1,3 @@
1
+ {
2
+ "error.figure-release-does-not-compile": "the released source of {type} (version {version}) does not compile. open it in the modeller, fix it and release it again before it draws on a board."
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "error.figure-release-does-not-compile": "{type} 의 발행판({version})이 지금 컴파일되지 않습니다. 저작 화면에서 열어 고친 뒤 다시 발행해야 보드에 나옵니다."
3
+ }