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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user