docs: propose further simplifications

This commit is contained in:
Tianyi Cui
2026-07-12 03:11:21 +08:00
parent 3dca90261c
commit 84a9b7374c
15 changed files with 227 additions and 55 deletions

View File

@@ -99,6 +99,8 @@ export interface PromptSection {
export interface AssembledSection {
/** The contributing section's unique name. */
name: string
// TODO(assembled-section-order): drop this output field; registry order has
// already sorted the array, and no production renderer/listener reads it.
/** The contributing section's order (sections arrive sorted ascending). */
order: number
/** The resolved (but not yet interpolated) section text. */