feat(core-shared): add Analyzed brand and isAnalyzed type guard

Adds the `Analyzed<F>` phantom-type brand to brands.ts and the
`isAnalyzed` type-guard to brand-runtime.ts, mirroring the existing
Instrumented/Captured/Audited pattern. Exports both from the
conformance index so Story 04 (wireUseCase) can key off the brand
without a circular dep.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 11:41:48 +00:00
parent 92294bc7ff
commit d128106fd2
4 changed files with 21 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
export type { Instrumented, Captured } from "./brands";
export type { Instrumented, Captured, Analyzed } from "./brands";
export type { FeatureManifest, UseCaseManifest } from "./define-feature";
export { defineFeature } from "./define-feature";
export type {
@@ -22,6 +22,7 @@ export {
isInstrumented,
isCaptured,
isAudited,
isAnalyzed,
} from "./brand-runtime";
export { ConformanceError } from "./conformance-error";
export { assertFeatureConformance } from "./assert-bindings";