feat(acms): implement pipeline Phase 2 components (Deduplicator, DepthResolver, Scorer, Packer) #1287
@@ -361,6 +361,21 @@ class FragmentOrderer(Protocol):
|
||||
) -> Sequence[ContextFragment]: ...
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Spec-aligned Protocol aliases (spec §44794-44856)
|
||||
# ---------------------------------------------------------------------------
|
||||
# The specification uses "Protocol" suffix for all pipeline component
|
||||
# interfaces (e.g. ``FragmentDeduplicatorProtocol``). These aliases
|
||||
# expose the canonical spec names alongside the shorter runtime names so
|
||||
# that code referencing either form works correctly.
|
||||
|
||||
FragmentDeduplicatorProtocol = FragmentDeduplicator
|
||||
DetailDepthResolverProtocol = DetailDepthResolver
|
||||
FragmentScorerProtocol = FragmentScorer
|
||||
BudgetPackerProtocol = BudgetPacker
|
||||
FragmentOrdererProtocol = FragmentOrderer
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Phase 3 — Context Finalization protocols (spec §42648-42653)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
@@ -992,6 +992,12 @@ ScoredFragment # noqa: B018, F821
|
||||
score_detailed # noqa: B018, F821
|
||||
depth_fallback_steps # noqa: B018, F821
|
||||
min_fragment_tokens # noqa: B018, F821
|
||||
# Spec-aligned Protocol aliases (spec §44794-44856)
|
||||
FragmentDeduplicatorProtocol # noqa: B018, F821
|
||||
DetailDepthResolverProtocol # noqa: B018, F821
|
||||
FragmentScorerProtocol # noqa: B018, F821
|
||||
BudgetPackerProtocol # noqa: B018, F821
|
||||
FragmentOrdererProtocol # noqa: B018, F821
|
||||
|
||||
|
||||
# LSP Server Stub — public API (issue #203)
|
||||
|
||||
Reference in New Issue
Block a user