@tiinex/core 0.1.1
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.
- package/LICENSE +201 -0
- package/NOTICE +31 -0
- package/README.md +45 -0
- package/package.json +176 -0
- package/src/actions/record.actions.js +312 -0
- package/src/adapters/adapter.contracts.js +143 -0
- package/src/adapters/archive/archive.adapter.js +502 -0
- package/src/adapters/archive/archive.portableChangeset.js +141 -0
- package/src/adapters/archive/archive.transport.js +124 -0
- package/src/artifacts/artifact.localDraft.js +27 -0
- package/src/artifacts/artifact.normalize.js +28 -0
- package/src/artifacts/artifact.parse.js +207 -0
- package/src/artifacts/artifact.record.js +83 -0
- package/src/audit/audit.run.js +103 -0
- package/src/audit/audit.summary.js +7 -0
- package/src/diagnostics/sourceBoundary.report.js +112 -0
- package/src/export/package.apply.js +349 -0
- package/src/export/package.builder.js +366 -0
- package/src/export/package.bytes.js +164 -0
- package/src/export/package.controlIntegrity.js +42 -0
- package/src/export/package.controlTopology.js +97 -0
- package/src/export/package.fileMap.js +174 -0
- package/src/export/package.manifest.js +401 -0
- package/src/export/package.preflight.js +204 -0
- package/src/export/package.sourceReference.js +81 -0
- package/src/export/package.workspaceContext.js +144 -0
- package/src/export/package.zip.js +128 -0
- package/src/export/tree.bundle.js +278 -0
- package/src/governance/governance.boundary.js +196 -0
- package/src/integrity/integrity.c14nV2.js +190 -0
- package/src/integrity/integrity.methodReference.js +73 -0
- package/src/integrity/integrity.validate.js +56 -0
- package/src/lineage/lineage.candidateResolution.js +46 -0
- package/src/lineage/lineage.githubIssueComment.js +106 -0
- package/src/lineage/lineage.githubIssueLocal.js +196 -0
- package/src/lineage/lineage.githubIssueTarget.js +89 -0
- package/src/lineage/lineage.integrity.js +133 -0
- package/src/lineage/lineage.materialPreference.js +26 -0
- package/src/lineage/lineage.model.js +63 -0
- package/src/lineage/lineage.parentAuthority.js +5 -0
- package/src/lineage/lineage.parentBinding.js +104 -0
- package/src/lineage/lineage.pathBasis.js +47 -0
- package/src/lineage/lineage.resolve.js +388 -0
- package/src/lineage/lineage.sourceScope.js +74 -0
- package/src/lineage/lineage.targetKeys.js +80 -0
- package/src/lineage/lineage.traverse.js +132 -0
- package/src/public/applicationProjection.js +236 -0
- package/src/public/companionResources.js +246 -0
- package/src/public/index.js +16 -0
- package/src/public/node.js +2 -0
- package/src/public/schemaAncestry.js +26 -0
- package/src/publication/publication.contract.js +196 -0
- package/src/publication/publication.preflight.js +159 -0
- package/src/publication/publication.targetContract.js +241 -0
- package/src/reingest/reingest.plan.js +162 -0
- package/src/release/plan.mjs +28 -0
- package/src/release/policy.mjs +100 -0
- package/src/release/run.mjs +74 -0
- package/src/schemas/capability.registry.js +226 -0
- package/src/schemas/companion.js +245 -0
- package/src/schemas/contracts.js +6 -0
- package/src/schemas/coordination/handoff/tiinex.handoff.v1.schema.js +14 -0
- package/src/schemas/coordination/handoff/tiinex.handoff.v1.schema.json +23 -0
- package/src/schemas/coordination/handoff/tiinex.handoff.v1.schema.runtime.json +4283 -0
- package/src/schemas/coordination/handoff/tiinex.handoff.v1.schema.source.js +9 -0
- package/src/schemas/coordination/project/tiinex.project.v1.schema.js +26 -0
- package/src/schemas/coordination/project/tiinex.project.v1.schema.json +23 -0
- package/src/schemas/coordination/project/tiinex.project.v1.schema.runtime.json +1985 -0
- package/src/schemas/coordination/project/tiinex.project.v1.schema.source.js +9 -0
- package/src/schemas/core/decision/tiinex.decision.v1.schema.js +14 -0
- package/src/schemas/core/decision/tiinex.decision.v1.schema.json +24 -0
- package/src/schemas/core/decision/tiinex.decision.v1.schema.runtime.json +1700 -0
- package/src/schemas/core/decision/tiinex.decision.v1.schema.source.js +9 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.capabilities.js +14 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.en.i18n.json +6 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.findings.js +9 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.presenter.js +1 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.schema.js +32 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.schema.json +24 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.schema.runtime.json +2184 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.schema.source.js +9 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.sv.i18n.json +6 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.transitions.js +1 -0
- package/src/schemas/core/evidence/tiinex.evidence.v1.validate.js +10 -0
- package/src/schemas/core/feedback/tiinex.feedback.v1.schema.js +14 -0
- package/src/schemas/core/feedback/tiinex.feedback.v1.schema.json +23 -0
- package/src/schemas/core/feedback/tiinex.feedback.v1.schema.runtime.json +1773 -0
- package/src/schemas/core/feedback/tiinex.feedback.v1.schema.source.js +9 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.capabilities.js +11 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.contract.js +40 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.en.i18n.json +9 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.findings.js +12 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.localMaterialization.js +89 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.presenter.js +8 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.schema.js +34 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.schema.json +23 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.schema.runtime.json +2029 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.schema.source.js +9 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.sv.i18n.json +9 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.transitions.js +1 -0
- package/src/schemas/core/interpretation/tiinex.interpretation.v1.validate.js +25 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.capabilities.js +14 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.en.i18n.json +6 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.findings.js +9 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.presenter.js +1 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.schema.js +31 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.schema.json +23 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.schema.runtime.json +2033 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.schema.source.js +9 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.sv.i18n.json +6 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.transitions.js +1 -0
- package/src/schemas/core/preservation/tiinex.preservation.v1.validate.js +10 -0
- package/src/schemas/core/relation/tiinex.relation.v1.capabilities.js +7 -0
- package/src/schemas/core/relation/tiinex.relation.v1.contract.js +3 -0
- package/src/schemas/core/relation/tiinex.relation.v1.en.i18n.json +4 -0
- package/src/schemas/core/relation/tiinex.relation.v1.findings.js +9 -0
- package/src/schemas/core/relation/tiinex.relation.v1.localMaterialization.js +153 -0
- package/src/schemas/core/relation/tiinex.relation.v1.presenter.js +3 -0
- package/src/schemas/core/relation/tiinex.relation.v1.schema.js +20 -0
- package/src/schemas/core/relation/tiinex.relation.v1.schema.json +23 -0
- package/src/schemas/core/relation/tiinex.relation.v1.schema.runtime.json +1668 -0
- package/src/schemas/core/relation/tiinex.relation.v1.schema.source.js +9 -0
- package/src/schemas/core/relation/tiinex.relation.v1.sv.i18n.json +4 -0
- package/src/schemas/core/relation/tiinex.relation.v1.transitions.js +1 -0
- package/src/schemas/core/relation/tiinex.relation.v1.validate.js +36 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.capabilities.js +14 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.contract.js +57 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.en.i18n.json +4 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.findings.js +13 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.presenter.js +3 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.schema.js +20 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.schema.json +24 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.schema.runtime.json +3315 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.schema.source.js +9 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.sv.i18n.json +4 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.transitions.js +1 -0
- package/src/schemas/core/relation/workspace/representation/tiinex.workspace.representation.v1.validate.js +78 -0
- package/src/schemas/core/signal/tiinex.signal.v1.schema.js +14 -0
- package/src/schemas/core/signal/tiinex.signal.v1.schema.json +23 -0
- package/src/schemas/core/signal/tiinex.signal.v1.schema.runtime.json +1733 -0
- package/src/schemas/core/signal/tiinex.signal.v1.schema.source.js +9 -0
- package/src/schemas/core/task/tiinex.task.v1.capabilities.js +11 -0
- package/src/schemas/core/task/tiinex.task.v1.contract.js +3 -0
- package/src/schemas/core/task/tiinex.task.v1.en.i18n.json +15 -0
- package/src/schemas/core/task/tiinex.task.v1.findings.js +18 -0
- package/src/schemas/core/task/tiinex.task.v1.localMaterialization.js +148 -0
- package/src/schemas/core/task/tiinex.task.v1.presenter.js +8 -0
- package/src/schemas/core/task/tiinex.task.v1.schema.js +35 -0
- package/src/schemas/core/task/tiinex.task.v1.schema.json +23 -0
- package/src/schemas/core/task/tiinex.task.v1.schema.runtime.json +1708 -0
- package/src/schemas/core/task/tiinex.task.v1.schema.source.js +9 -0
- package/src/schemas/core/task/tiinex.task.v1.sv.i18n.json +15 -0
- package/src/schemas/core/task/tiinex.task.v1.transitions.js +3 -0
- package/src/schemas/core/task/tiinex.task.v1.validate.js +41 -0
- package/src/schemas/core/topic/tiinex.topic.v1.capabilities.js +14 -0
- package/src/schemas/core/topic/tiinex.topic.v1.creation.js +46 -0
- package/src/schemas/core/topic/tiinex.topic.v1.en.i18n.json +8 -0
- package/src/schemas/core/topic/tiinex.topic.v1.findings.js +11 -0
- package/src/schemas/core/topic/tiinex.topic.v1.localMaterialization.js +135 -0
- package/src/schemas/core/topic/tiinex.topic.v1.presenter.js +1 -0
- package/src/schemas/core/topic/tiinex.topic.v1.schema.js +34 -0
- package/src/schemas/core/topic/tiinex.topic.v1.schema.json +23 -0
- package/src/schemas/core/topic/tiinex.topic.v1.schema.runtime.json +1699 -0
- package/src/schemas/core/topic/tiinex.topic.v1.schema.source.js +9 -0
- package/src/schemas/core/topic/tiinex.topic.v1.sv.i18n.json +8 -0
- package/src/schemas/core/topic/tiinex.topic.v1.transitions.js +31 -0
- package/src/schemas/core/topic/tiinex.topic.v1.validate.js +11 -0
- package/src/schemas/creation.capability.js +289 -0
- package/src/schemas/creation.contracts.js +334 -0
- package/src/schemas/creation.executionSnapshot.js +79 -0
- package/src/schemas/creation.factoryQualification.js +73 -0
- package/src/schemas/creation.renderer.js +244 -0
- package/src/schemas/creation.representation.js +279 -0
- package/src/schemas/creation.rootMetadata.js +6 -0
- package/src/schemas/creation.schemaReferences.js +65 -0
- package/src/schemas/discovery/finding/tiinex.discovery.finding.v1.schema.js +14 -0
- package/src/schemas/discovery/finding/tiinex.discovery.finding.v1.schema.json +23 -0
- package/src/schemas/discovery/finding/tiinex.discovery.finding.v1.schema.runtime.json +1873 -0
- package/src/schemas/discovery/finding/tiinex.discovery.finding.v1.schema.source.js +9 -0
- package/src/schemas/discovery/tiinex.discovery.v1.schema.js +14 -0
- package/src/schemas/discovery/tiinex.discovery.v1.schema.json +23 -0
- package/src/schemas/discovery/tiinex.discovery.v1.schema.runtime.json +1839 -0
- package/src/schemas/discovery/tiinex.discovery.v1.schema.source.js +9 -0
- package/src/schemas/generic.artifact.module.js +25 -0
- package/src/schemas/party/organization/tiinex.party.organization.v1.schema.js +26 -0
- package/src/schemas/party/organization/tiinex.party.organization.v1.schema.json +23 -0
- package/src/schemas/party/organization/tiinex.party.organization.v1.schema.runtime.json +2249 -0
- package/src/schemas/party/organization/tiinex.party.organization.v1.schema.source.js +9 -0
- package/src/schemas/party/role/tiinex.party.role.v1.schema.js +26 -0
- package/src/schemas/party/role/tiinex.party.role.v1.schema.json +24 -0
- package/src/schemas/party/role/tiinex.party.role.v1.schema.runtime.json +2091 -0
- package/src/schemas/party/role/tiinex.party.role.v1.schema.source.js +9 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.capabilities.js +14 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.en.i18n.json +4 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.findings.js +1 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.presenter.js +1 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.schema.js +29 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.schema.json +21 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.schema.runtime.json +2180 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.schema.source.js +9 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.sv.i18n.json +4 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.transitions.js +1 -0
- package/src/schemas/presentation/surface/tiinex.presentation.surface.v1.validate.js +1 -0
- package/src/schemas/reduction/tiinex.reduction.v1.schema.js +26 -0
- package/src/schemas/reduction/tiinex.reduction.v1.schema.json +23 -0
- package/src/schemas/reduction/tiinex.reduction.v1.schema.runtime.json +1733 -0
- package/src/schemas/reduction/tiinex.reduction.v1.schema.source.js +9 -0
- package/src/schemas/reference.shapes.js +33 -0
- package/src/schemas/registry.js +36 -0
- package/src/schemas/resolver.js +13 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.capabilities.js +14 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.en.i18n.json +4 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.findings.js +1 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.presenter.js +1 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.schema.js +29 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.schema.json +21 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.schema.runtime.json +2093 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.schema.source.js +9 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.sv.i18n.json +4 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.transitions.js +1 -0
- package/src/schemas/schema/module/tiinex.schema.module.v1.validate.js +1 -0
- package/src/schemas/schema.factory.descriptor.js +104 -0
- package/src/schemas/schema.githubSourceTarget.js +131 -0
- package/src/schemas/schema.identity.js +10 -0
- package/src/schemas/schema.reference.js +133 -0
- package/src/schemas/schema.source.js +239 -0
- package/src/schemas/tiinex.root.v1.capabilities.js +14 -0
- package/src/schemas/tiinex.root.v1.classify.js +55 -0
- package/src/schemas/tiinex.root.v1.en.i18n.json +24 -0
- package/src/schemas/tiinex.root.v1.fallback.js +84 -0
- package/src/schemas/tiinex.root.v1.findings.js +19 -0
- package/src/schemas/tiinex.root.v1.presenter.js +5 -0
- package/src/schemas/tiinex.root.v1.schema.js +29 -0
- package/src/schemas/tiinex.root.v1.schema.json +24 -0
- package/src/schemas/tiinex.root.v1.schema.runtime.json +1574 -0
- package/src/schemas/tiinex.root.v1.schema.source.js +9 -0
- package/src/schemas/tiinex.root.v1.sv.i18n.json +24 -0
- package/src/schemas/tiinex.root.v1.transitions.js +1 -0
- package/src/schemas/tiinex.root.v1.validate.js +36 -0
- package/src/schemas/validation/finding/tiinex.validation.finding.v1.schema.js +14 -0
- package/src/schemas/validation/finding/tiinex.validation.finding.v1.schema.json +23 -0
- package/src/schemas/validation/finding/tiinex.validation.finding.v1.schema.runtime.json +2027 -0
- package/src/schemas/validation/finding/tiinex.validation.finding.v1.schema.source.js +9 -0
- package/src/schemas/validation/method/tiinex.validation.method.v1.schema.js +14 -0
- package/src/schemas/validation/method/tiinex.validation.method.v1.schema.json +23 -0
- package/src/schemas/validation/method/tiinex.validation.method.v1.schema.runtime.json +1848 -0
- package/src/schemas/validation/method/tiinex.validation.method.v1.schema.source.js +9 -0
- package/src/schemas/validation/report/tiinex.validation.report.v1.schema.js +14 -0
- package/src/schemas/validation/report/tiinex.validation.report.v1.schema.json +23 -0
- package/src/schemas/validation/report/tiinex.validation.report.v1.schema.runtime.json +2015 -0
- package/src/schemas/validation/report/tiinex.validation.report.v1.schema.source.js +9 -0
- package/src/schemas/workspace/tiinex.workspace.v1.capabilities.js +12 -0
- package/src/schemas/workspace/tiinex.workspace.v1.en.i18n.json +7 -0
- package/src/schemas/workspace/tiinex.workspace.v1.findings.js +5 -0
- package/src/schemas/workspace/tiinex.workspace.v1.presenter.js +27 -0
- package/src/schemas/workspace/tiinex.workspace.v1.schema.js +30 -0
- package/src/schemas/workspace/tiinex.workspace.v1.schema.json +23 -0
- package/src/schemas/workspace/tiinex.workspace.v1.schema.runtime.json +1596 -0
- package/src/schemas/workspace/tiinex.workspace.v1.schema.source.js +9 -0
- package/src/schemas/workspace/tiinex.workspace.v1.sv.i18n.json +7 -0
- package/src/schemas/workspace/tiinex.workspace.v1.transitions.js +10 -0
- package/src/schemas/workspace/tiinex.workspace.v1.validate.js +10 -0
- package/src/sources/github/github.issueTarget.js +127 -0
- package/src/sources/origin.references.js +249 -0
- package/src/sources/source.explicitTargets.js +49 -0
- package/src/sources/transport.levels.js +107 -0
- package/src/tooling/portable/adapters/cli/cli.cold-start-input.js +34 -0
- package/src/tooling/portable/adapters/cli/cli.command-input.js +455 -0
- package/src/tooling/portable/adapters/cli/cli.common-author.js +249 -0
- package/src/tooling/portable/adapters/cli/cli.common-output.js +330 -0
- package/src/tooling/portable/adapters/cli/cli.editor-assistance.js +13 -0
- package/src/tooling/portable/adapters/cli/cli.ground-materialize.js +96 -0
- package/src/tooling/portable/adapters/cli/cli.ground-recovery.js +99 -0
- package/src/tooling/portable/adapters/cli/cli.handoff-manufacture.js +345 -0
- package/src/tooling/portable/adapters/cli/cli.handoff-sibling-allocation.js +31 -0
- package/src/tooling/portable/adapters/cli/cli.help.js +80 -0
- package/src/tooling/portable/adapters/cli/cli.land.js +13 -0
- package/src/tooling/portable/adapters/cli/cli.local-output.js +72 -0
- package/src/tooling/portable/adapters/cli/cli.material-policy.js +6 -0
- package/src/tooling/portable/adapters/cli/cli.operator-bridge.js +18 -0
- package/src/tooling/portable/adapters/cli/cli.reduction-input.js +14 -0
- package/src/tooling/portable/adapters/cli/cli.run.js +434 -0
- package/src/tooling/portable/adapters/llm/llm.entrypoint.js +34 -0
- package/src/tooling/portable/adapters/node/checkpoint.verify.js +267 -0
- package/src/tooling/portable/adapters/node/handoff.manufacture.bootstrap.js +109 -0
- package/src/tooling/portable/adapters/node/handoff.manufacture.enumeration.js +94 -0
- package/src/tooling/portable/adapters/node/handoff.manufacture.js +193 -0
- package/src/tooling/portable/adapters/node/handoff.manufacture.multiRoot.js +49 -0
- package/src/tooling/portable/adapters/node/handoff.manufacture.packageParent.js +130 -0
- package/src/tooling/portable/adapters/node/handoff.manufacture.requirements.js +353 -0
- package/src/tooling/portable/adapters/node/handoff.manufacture.scope.js +147 -0
- package/src/tooling/portable/adapters/node/workspaceCarrier.manufacture.js +62 -0
- package/src/tooling/portable/assets/asset.operations.js +170 -0
- package/src/tooling/portable/audit/audit.capability.js +119 -0
- package/src/tooling/portable/bootstrap/artifact.result.selfverify.mjs +109 -0
- package/src/tooling/portable/bootstrap/bootstrap.case.mjs +43 -0
- package/src/tooling/portable/bootstrap/tiinex.llm.bootstrap.md +814 -0
- package/src/tooling/portable/bootstrap/tiinex.llm.bootstrap.pointer.json +25 -0
- package/src/tooling/portable/checkpoint/portable.checkpoint.js +89 -0
- package/src/tooling/portable/conformance/checkpoint.qualification.js +271 -0
- package/src/tooling/portable/draft/draft.create.js +389 -0
- package/src/tooling/portable/draft/draft.crud.js +175 -0
- package/src/tooling/portable/draft/draft.exact.js +173 -0
- package/src/tooling/portable/draft/draft.operations.js +265 -0
- package/src/tooling/portable/draft/draft.qualification.js +45 -0
- package/src/tooling/portable/draft/draft.set.js +193 -0
- package/src/tooling/portable/draft/draft.validation-context.js +7 -0
- package/src/tooling/portable/editor/authoring.parent.js +37 -0
- package/src/tooling/portable/editor/editor.assistance.js +221 -0
- package/src/tooling/portable/editor/staged.validation.js +96 -0
- package/src/tooling/portable/engine.facade.js +468 -0
- package/src/tooling/portable/findings.js +92 -0
- package/src/tooling/portable/grounding/grounding.capsule.js +128 -0
- package/src/tooling/portable/grounding/grounding.continuity.js +283 -0
- package/src/tooling/portable/grounding/grounding.participantAuthority.js +20 -0
- package/src/tooling/portable/grounding/grounding.planningContext.js +34 -0
- package/src/tooling/portable/grounding/grounding.readiness.authority.js +17 -0
- package/src/tooling/portable/grounding/grounding.readiness.js +316 -0
- package/src/tooling/portable/grounding/grounding.readiness.support.js +245 -0
- package/src/tooling/portable/grounding/grounding.sourceEvidence.js +71 -0
- package/src/tooling/portable/grounding/grounding.workContext.js +72 -0
- package/src/tooling/portable/grounding/grounding.workProvenance.js +153 -0
- package/src/tooling/portable/handoff/carrierLineage.js +214 -0
- package/src/tooling/portable/handoff/carrierProfile.js +54 -0
- package/src/tooling/portable/handoff/carrierProjection.js +193 -0
- package/src/tooling/portable/handoff/carrierProjection.routeQualification.js +228 -0
- package/src/tooling/portable/handoff/carrierProjection.shared.js +7 -0
- package/src/tooling/portable/handoff/carrierProjection.workspaces.js +54 -0
- package/src/tooling/portable/handoff/coldConsumerEntrypoint.js +185 -0
- package/src/tooling/portable/handoff/coldStartQualification.contract.js +184 -0
- package/src/tooling/portable/handoff/coldStartQualification.grounding.js +392 -0
- package/src/tooling/portable/handoff/coldStartQualification.js +22 -0
- package/src/tooling/portable/handoff/coldStartQualification.materials.js +364 -0
- package/src/tooling/portable/handoff/coldStartQualification.observation.js +220 -0
- package/src/tooling/portable/handoff/coldStartQualification.run.js +81 -0
- package/src/tooling/portable/handoff/coldStartQualification.shared.js +57 -0
- package/src/tooling/portable/handoff/coldStartRolePointers.js +39 -0
- package/src/tooling/portable/handoff/contextAudit.js +247 -0
- package/src/tooling/portable/handoff/contracts/tiinex.handoff.package.v1.schema.md +409 -0
- package/src/tooling/portable/handoff/handoffAuthoringPlan.js +35 -0
- package/src/tooling/portable/handoff/handoffEndpointProjection.js +61 -0
- package/src/tooling/portable/handoff/handoffLeafProjection.js +91 -0
- package/src/tooling/portable/handoff/humanOutputPresentation.js +21 -0
- package/src/tooling/portable/handoff/manufacture.js +84 -0
- package/src/tooling/portable/handoff/materialClosure.archiveV2.binding.js +72 -0
- package/src/tooling/portable/handoff/materialClosure.archiveV2.direct.js +160 -0
- package/src/tooling/portable/handoff/materialClosure.archiveV2.indexes.js +36 -0
- package/src/tooling/portable/handoff/materialClosure.archiveV2.js +247 -0
- package/src/tooling/portable/handoff/materialClosure.archiveV2.projectionProvider.js +44 -0
- package/src/tooling/portable/handoff/materialClosure.archiveV2.workspace.js +226 -0
- package/src/tooling/portable/handoff/materialClosure.descriptor.js +169 -0
- package/src/tooling/portable/handoff/materialClosure.inputBinding.js +372 -0
- package/src/tooling/portable/handoff/materialClosure.inputBinding.support.js +62 -0
- package/src/tooling/portable/handoff/materialClosure.materialized.js +143 -0
- package/src/tooling/portable/handoff/materialClosure.materials.js +116 -0
- package/src/tooling/portable/handoff/materialClosure.package.js +181 -0
- package/src/tooling/portable/handoff/materialClosure.plan.js +204 -0
- package/src/tooling/portable/handoff/materialClosure.readiness.js +36 -0
- package/src/tooling/portable/handoff/materialClosure.requirements.js +137 -0
- package/src/tooling/portable/handoff/operatorContextProjection.js +105 -0
- package/src/tooling/portable/handoff/pointerEntrypoint.js +138 -0
- package/src/tooling/portable/handoff/qualifiedHandoffFixture.js +34 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.build.js +321 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.closure.js +126 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.inspect.js +194 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.materials.js +207 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.projection.js +69 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.roles.js +166 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.routes.js +113 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.shared.js +87 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirst.workspaces.js +160 -0
- package/src/tooling/portable/handoff/recipientV2.artifactFirstPhase1.js +44 -0
- package/src/tooling/portable/handoff/recipientV2.artifactInspection.js +55 -0
- package/src/tooling/portable/handoff/recipientV2.artifacts.js +174 -0
- package/src/tooling/portable/handoff/recipientV2.coldProjection.js +24 -0
- package/src/tooling/portable/handoff/recipientV2.delivery.js +48 -0
- package/src/tooling/portable/handoff/recipientV2.endpointRolePointers.js +179 -0
- package/src/tooling/portable/handoff/recipientV2.entryContract.js +28 -0
- package/src/tooling/portable/handoff/recipientV2.humanOutput.js +78 -0
- package/src/tooling/portable/handoff/recipientV2.inspect.helpers.js +218 -0
- package/src/tooling/portable/handoff/recipientV2.inspect.js +194 -0
- package/src/tooling/portable/handoff/recipientV2.inspect.pathToken.js +9 -0
- package/src/tooling/portable/handoff/recipientV2.inspect.projection.js +58 -0
- package/src/tooling/portable/handoff/recipientV2.inspect.workspaces.js +177 -0
- package/src/tooling/portable/handoff/recipientV2.lineage.js +142 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.build.js +147 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.constants.js +4 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.contract.js +101 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.inspect.helpers.js +126 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.inspect.js +185 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.js +12 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.shared.js +24 -0
- package/src/tooling/portable/handoff/recipientV2.packageV1.workspaceProjection.js +22 -0
- package/src/tooling/portable/handoff/recipientV2.pointer.js +40 -0
- package/src/tooling/portable/handoff/recipientV2.routeSelection.js +16 -0
- package/src/tooling/portable/handoff/recipientV2.topology.helpers.js +20 -0
- package/src/tooling/portable/handoff/recipientV2.topology.js +320 -0
- package/src/tooling/portable/handoff/recipientV2.topology.materials.js +70 -0
- package/src/tooling/portable/handoff/recipientV2.topology.workspaces.js +193 -0
- package/src/tooling/portable/handoff/recipientV2.transportManifest.js +123 -0
- package/src/tooling/portable/handoff/recipientV2.workspaceRepresentation.js +163 -0
- package/src/tooling/portable/handoff/routeArtifactConformance.js +130 -0
- package/src/tooling/portable/handoff/toolingBootstrap.js +67 -0
- package/src/tooling/portable/handoff/transportCompanion.js +175 -0
- package/src/tooling/portable/handoff/workspaceByteProvider.archive.js +95 -0
- package/src/tooling/portable/handoff/workspaceByteProvider.js +271 -0
- package/src/tooling/portable/handoff/workspaceCarrier.manufacture.js +93 -0
- package/src/tooling/portable/handoff/workspaceLandingPlan.js +142 -0
- package/src/tooling/portable/handoff/workspacePackageSources.js +105 -0
- package/src/tooling/portable/handoff/workspaceQualifiedReference.js +10 -0
- package/src/tooling/portable/handoff/workspaceSourceIdentity.js +52 -0
- package/src/tooling/portable/handoff/workspaceTargetConformance.js +134 -0
- package/src/tooling/portable/host/host.capabilities.js +181 -0
- package/src/tooling/portable/host/tool.bindings.js +357 -0
- package/src/tooling/portable/host/tool.receiptNormalization.js +141 -0
- package/src/tooling/portable/index.js +52 -0
- package/src/tooling/portable/input/node.input.js +184 -0
- package/src/tooling/portable/input/portable.input.js +249 -0
- package/src/tooling/portable/lifecycle/lifecycle.action.js +11 -0
- package/src/tooling/portable/lifecycle/lifecycle.material.js +173 -0
- package/src/tooling/portable/lifecycle/lifecycle.operations.js +34 -0
- package/src/tooling/portable/lifecycle/lifecycle.readiness.js +247 -0
- package/src/tooling/portable/lineage/lineage.integrity.apply.audit.js +22 -0
- package/src/tooling/portable/lineage/lineage.integrity.apply.evidence.js +36 -0
- package/src/tooling/portable/lineage/lineage.integrity.apply.js +306 -0
- package/src/tooling/portable/lineage/lineage.integrity.apply.structure.js +178 -0
- package/src/tooling/portable/lineage/lineage.integrity.plan.js +377 -0
- package/src/tooling/portable/lineage/lineage.integrity.projection.human.js +82 -0
- package/src/tooling/portable/lineage/lineage.integrity.projection.js +349 -0
- package/src/tooling/portable/lineage/lineage.operations.js +32 -0
- package/src/tooling/portable/lineage/lineage.print.js +398 -0
- package/src/tooling/portable/lineage/lineage.print.render.js +88 -0
- package/src/tooling/portable/lineage/lineage.print.utils.js +58 -0
- package/src/tooling/portable/lineage/lineage.publicationProviderReceipts.js +141 -0
- package/src/tooling/portable/lineage/lineage.publicationQualification.js +183 -0
- package/src/tooling/portable/lineage/lineage.search.js +301 -0
- package/src/tooling/portable/live/live.artifact.js +192 -0
- package/src/tooling/portable/live/live.export.js +107 -0
- package/src/tooling/portable/live/live.lineage.closure.js +71 -0
- package/src/tooling/portable/live/live.lineage.js +338 -0
- package/src/tooling/portable/live/live.protocol.js +181 -0
- package/src/tooling/portable/materialization/durable.materialize.js +162 -0
- package/src/tooling/portable/materialization/epistemic.plan.js +239 -0
- package/src/tooling/portable/materialization/loaded.parent.js +54 -0
- package/src/tooling/portable/materialization/materialization.facade.js +30 -0
- package/src/tooling/portable/operation.catalog.js +393 -0
- package/src/tooling/portable/operation.catalog.package.js +183 -0
- package/src/tooling/portable/operation.result.js +25 -0
- package/src/tooling/portable/orchestration/task.prepare.js +191 -0
- package/src/tooling/portable/output/artifact.result.package.js +308 -0
- package/src/tooling/portable/output/deterministic.zip.js +88 -0
- package/src/tooling/portable/output/node.artifact-set.js +223 -0
- package/src/tooling/portable/output/node.draft.js +41 -0
- package/src/tooling/portable/output/node.zip.js +39 -0
- package/src/tooling/portable/output/recipientV2.zip.js +59 -0
- package/src/tooling/portable/overview/blockingCue.js +16 -0
- package/src/tooling/portable/overview/operatingOverview.js +413 -0
- package/src/tooling/portable/package/generation.binding.js +314 -0
- package/src/tooling/portable/package/generation.binding.projection.js +128 -0
- package/src/tooling/portable/package/material.graph.js +236 -0
- package/src/tooling/portable/package/runtime.package.js +321 -0
- package/src/tooling/portable/package/schema.transition.companion.js +196 -0
- package/src/tooling/portable/package/semantic.package.graph.js +272 -0
- package/src/tooling/portable/package/semantic.package.js +203 -0
- package/src/tooling/portable/package/semantic.package.schema-resolution.js +158 -0
- package/src/tooling/portable/package/semantic.package.transition-registry.js +189 -0
- package/src/tooling/portable/package/semantic.package.types.js +18 -0
- package/src/tooling/portable/providers/schema.bootstrap.provenance.js +10 -0
- package/src/tooling/portable/providers/schema.provider.qualification.js +52 -0
- package/src/tooling/portable/providers/schema.providers.js +458 -0
- package/src/tooling/portable/publication/runtime.publication.js +53 -0
- package/src/tooling/portable/qualification.js +150 -0
- package/src/tooling/portable/reduction/reduction.composition.js +229 -0
- package/src/tooling/portable/reduction/reduction.eligibility.helpers.js +258 -0
- package/src/tooling/portable/reduction/reduction.eligibility.js +191 -0
- package/src/tooling/portable/reduction/reduction.operations.js +30 -0
- package/src/tooling/portable/reduction/reduction.preflight.js +85 -0
- package/src/tooling/portable/reduction/reduction.shared.js +173 -0
- package/src/tooling/portable/schema/bootstrap/canonical.pack.js +24 -0
- package/src/tooling/portable/schema/bootstrap/docs-3988951208eb9a8926e84ab42625d4b42fa00c2d/party/role/tiinex.party.role.v1.schema.md +289 -0
- package/src/tooling/portable/schema/bootstrap/docs-3988951208eb9a8926e84ab42625d4b42fa00c2d/validation/report/tiinex.validation.report.v1.schema.md +300 -0
- package/src/tooling/portable/schema/bootstrap/qualified-local-root/tiinex.root.v1.runtime-projection.json +48 -0
- package/src/tooling/portable/schema/bootstrap/qualified-local-root/tiinex.root.v1.schema.md +865 -0
- package/src/tooling/portable/schema/contract.compile.js +406 -0
- package/src/tooling/portable/schema/contract.compile.utils.js +9 -0
- package/src/tooling/portable/schema/contract.constraints.js +117 -0
- package/src/tooling/portable/schema/contract.envelope.validate.js +177 -0
- package/src/tooling/portable/schema/contract.field-domain.compile.js +399 -0
- package/src/tooling/portable/schema/contract.field-domain.js +247 -0
- package/src/tooling/portable/schema/contract.field-shape.compile.js +34 -0
- package/src/tooling/portable/schema/contract.inheritance.inline.js +103 -0
- package/src/tooling/portable/schema/contract.inheritance.js +210 -0
- package/src/tooling/portable/schema/contract.inheritance.record.js +76 -0
- package/src/tooling/portable/schema/contract.machine-shape.js +309 -0
- package/src/tooling/portable/schema/contract.project.js +81 -0
- package/src/tooling/portable/schema/contract.semantic-resolution.js +82 -0
- package/src/tooling/portable/schema/contract.validate.js +0 -0
- package/src/tooling/portable/schema/lexical.shape.v1.js +338 -0
- package/src/tooling/portable/schema/llm.companion.js +108 -0
- package/src/tooling/portable/schema/named.declarations.js +162 -0
- package/src/tooling/portable/schema/ordinary.contract.js +193 -0
- package/src/tooling/portable/schema/ordinary.fields.js +205 -0
- package/src/tooling/portable/schema/qualifiedLocalRoot.projection.js +70 -0
- package/src/tooling/portable/schema/qualifiedLocalRoot.runtime.js +170 -0
- package/src/tooling/portable/schema/schema.contract.js +465 -0
- package/src/tooling/portable/schema/schema.guide.js +326 -0
- package/src/tooling/portable/schema/schema.snapshot.js +119 -0
- package/src/tooling/portable/session/portable.session.js +145 -0
- package/src/tooling/portable/transfer/transfer.plan.js +102 -0
- package/src/transitions/record.transitions.js +484 -0
- package/src/transitions/transition.validate.js +129 -0
- package/src/validation/findings.js +76 -0
- package/src/validation/validateArtifact.js +216 -0
- package/src/workspaces/workspace.entrypointCapability.js +44 -0
- package/src/workspaces/workspace.materialRole.js +242 -0
- package/src/workspaces/workspace.recordPaths.js +426 -0
- package/tools/tiinex-portable.mjs +6 -0
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
import { discoverPortableHostCapabilities } from '../host/host.capabilities.js';
|
|
2
|
+
import { portableFinding, summarizePortableFindings } from '../findings.js';
|
|
3
|
+
import { orientColdConsumerFromHandoffPackage } from './coldConsumerEntrypoint.js';
|
|
4
|
+
import { resolveColdStartRolePointerMaterial } from './coldStartRolePointers.js';
|
|
5
|
+
import {
|
|
6
|
+
COLD_START_INGRESS_KINDS,
|
|
7
|
+
PORTABLE_COLD_CONSUMER_GROUNDING_SCHEMA_ID,
|
|
8
|
+
capabilityDiscoveryInput,
|
|
9
|
+
normalizeIngressKind
|
|
10
|
+
} from './coldStartQualification.contract.js';
|
|
11
|
+
import {
|
|
12
|
+
collectPackageRoleMaterials,
|
|
13
|
+
createColdStartMaterialContext,
|
|
14
|
+
dedupeRoleMaterials,
|
|
15
|
+
emptyHandoffGrounding,
|
|
16
|
+
normalizeRoleMaterials,
|
|
17
|
+
parseHandoffGrounding,
|
|
18
|
+
parseRoleMaterial,
|
|
19
|
+
resolveGroundingRouteMarkdown,
|
|
20
|
+
recipientFactsIndexForColdStart,
|
|
21
|
+
resolveReferencedRoleMaterial,
|
|
22
|
+
selectGroundingRoute
|
|
23
|
+
} from './coldStartQualification.materials.js';
|
|
24
|
+
import {
|
|
25
|
+
NON_EXECUTION_MODES,
|
|
26
|
+
deepFreeze,
|
|
27
|
+
findFile,
|
|
28
|
+
normalizeAttribution,
|
|
29
|
+
normalizeComparable,
|
|
30
|
+
normalizeInteractionMode,
|
|
31
|
+
normalizeStringList,
|
|
32
|
+
normalizeToken
|
|
33
|
+
} from './coldStartQualification.shared.js';
|
|
34
|
+
|
|
35
|
+
export function groundPortableColdConsumer(input = {}, options = {}) {
|
|
36
|
+
const ingressKind = normalizeIngressKind(input.ingressKind || input.kind || (input.toolingAvailable === false ? COLD_START_INGRESS_KINDS.DEGRADED_CAPTURE : COLD_START_INGRESS_KINDS.HANDOFF));
|
|
37
|
+
const findings = [];
|
|
38
|
+
const materialContext = options.coldStartMaterialContext || createColdStartMaterialContext();
|
|
39
|
+
const degradedCapture = projectDegradedCapture(input);
|
|
40
|
+
const discovery = discoverPortableHostCapabilities(capabilityDiscoveryInput(input), options);
|
|
41
|
+
let orientation = null;
|
|
42
|
+
let selectedRoute = null;
|
|
43
|
+
let handoff = emptyHandoffGrounding();
|
|
44
|
+
|
|
45
|
+
if (ingressKind === COLD_START_INGRESS_KINDS.HANDOFF) {
|
|
46
|
+
const bundle = input.bundle || input.package || input;
|
|
47
|
+
orientation = orientColdConsumerFromHandoffPackage({ bundle });
|
|
48
|
+
if (orientation.status !== 'ready') findings.push(portableFinding('error', 'portable.cold-start.handoff.orientation.unqualified', 'Recipient grounding requires a qualified routed Handoff package orientation.'));
|
|
49
|
+
const selected = selectGroundingRoute(orientation, input.route || input.routeId || input.routePath || '');
|
|
50
|
+
selectedRoute = selected.route;
|
|
51
|
+
if (selected.state !== 'qualified') findings.push(portableFinding('error', `portable.cold-start.handoff.route.${selected.state}`, selected.state === 'selection-required' ? 'Recipient grounding requires explicit route selection when multiple Handoff routes are qualified.' : 'Recipient grounding could not resolve exactly one qualified Handoff route.'));
|
|
52
|
+
if (selectedRoute) {
|
|
53
|
+
const markdown = resolveGroundingRouteMarkdown(bundle, selectedRoute, findings, materialContext);
|
|
54
|
+
if (markdown) handoff = parseHandoffGrounding(markdown, selectedRoute);
|
|
55
|
+
}
|
|
56
|
+
} else if (input.handoffMarkdown || input.handoff?.markdown) {
|
|
57
|
+
handoff = parseHandoffGrounding(input.handoffMarkdown || input.handoff?.markdown || '', null);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const bundle = input.bundle || input.package || input;
|
|
61
|
+
const role = groundRecipientRole(input, handoff, bundle, orientation, selectedRoute, findings, materialContext);
|
|
62
|
+
const holderBinding = groundHolderBinding(input, handoff, findings);
|
|
63
|
+
const participation = groundParticipation(input, handoff, bundle, orientation, selectedRoute, findings, materialContext);
|
|
64
|
+
const interaction = groundInteraction(input, handoff);
|
|
65
|
+
|
|
66
|
+
if (degradedCapture.active) {
|
|
67
|
+
findings.push(portableFinding('info', 'portable.cold-start.degraded-capture.active', 'This grounding describes a Tooling-unavailable capture boundary; Tooling-dependent mutation and durable semantic claims remain prohibited until later qualification.'));
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const blocked = findings.some((finding) => finding.severity === 'error');
|
|
71
|
+
const degraded = degradedCapture.active || role.state === 'degraded' || holderBinding.state === 'unresolved' || interaction.modeState === 'unresolved' || participation.participantState === 'unresolved';
|
|
72
|
+
return deepFreeze({
|
|
73
|
+
schema: PORTABLE_COLD_CONSUMER_GROUNDING_SCHEMA_ID,
|
|
74
|
+
version: 1,
|
|
75
|
+
status: blocked ? 'blocked' : degraded ? 'degraded' : 'ready',
|
|
76
|
+
ingressKind,
|
|
77
|
+
orientation,
|
|
78
|
+
selectedRoute,
|
|
79
|
+
handoff,
|
|
80
|
+
role,
|
|
81
|
+
holderBinding,
|
|
82
|
+
participation,
|
|
83
|
+
interaction,
|
|
84
|
+
capabilities: Object.freeze({
|
|
85
|
+
discovery,
|
|
86
|
+
instance: discovery.profile?.capabilityInstance || null,
|
|
87
|
+
providerNameGrantsCapability: false,
|
|
88
|
+
advertisementIsExerciseEvidence: false
|
|
89
|
+
}),
|
|
90
|
+
degradedCapture,
|
|
91
|
+
mutationBoundary: Object.freeze({
|
|
92
|
+
sourceMutation: false,
|
|
93
|
+
remoteWrite: false,
|
|
94
|
+
authentication: 'request-capability-only; never inferred from provider identity',
|
|
95
|
+
trustSensitiveExerciseRequiresAcceptedReceipt: true
|
|
96
|
+
}),
|
|
97
|
+
next: Object.freeze({
|
|
98
|
+
qualification: Object.freeze({
|
|
99
|
+
operation: 'qualify-cold-start',
|
|
100
|
+
mode: 'one-shot-package',
|
|
101
|
+
eligible: !blocked,
|
|
102
|
+
groundingStatus: blocked ? 'blocked' : degraded ? 'degraded' : 'ready',
|
|
103
|
+
degradedGroundingBlocksPreferredPath: false,
|
|
104
|
+
cli: 'qualify-cold-start <same-handoff-package.zip> --route <same-Continue-from> --pre-takeover minimal-bootstrap-only|none|native-archaeology',
|
|
105
|
+
externalQualificationSchemaRequired: false,
|
|
106
|
+
separateGroundingCallRequired: false,
|
|
107
|
+
hostEvidenceBoundary: 'Choose the pre-takeover value from the behavior actually observed; portable Tooling does not independently observe native-host actions that happened before Tooling takeover.',
|
|
108
|
+
missingDataBoundary: 'Do not invent host capabilities, interaction mode, participant identity, or Role material merely to remove a degraded grounding state; qualification may proceed whenever grounding is not blocked.'
|
|
109
|
+
})
|
|
110
|
+
}),
|
|
111
|
+
findings: Object.freeze(findings),
|
|
112
|
+
findingSummary: summarizePortableFindings(findings),
|
|
113
|
+
boundary: 'Portable consumer grounding only. Handoff and Role artifacts remain semantic authority; participant identity is never inferred from one transport channel; host/provider projections do not create authority.'
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function groundRecipientRole(input, handoff, bundle, orientation, selectedRoute, findings, materialContext) {
|
|
118
|
+
const toKind = normalizeToken(handoff.toKind);
|
|
119
|
+
if (toKind && toKind !== 'role') return deepFreeze({
|
|
120
|
+
state: 'not-applicable',
|
|
121
|
+
endpoint: Object.freeze({ label: handoff.to || '', kind: handoff.toKind || '', bounded: Boolean(handoff.to) }),
|
|
122
|
+
material: Object.freeze({ state: 'not-required', artifact: null }),
|
|
123
|
+
transition: Object.freeze({ state: 'not-applicable', id: '' }),
|
|
124
|
+
predecessor: Object.freeze({ state: 'not-applicable', target: '' }),
|
|
125
|
+
compatibility: 'not-applicable',
|
|
126
|
+
exactBoundaryLoaded: null,
|
|
127
|
+
boundary: 'Recipient endpoint is not declared as Role; no Role artifact is invented.'
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
const explicitMaterials = normalizeRoleMaterials(input.roleMaterials || input.roleMaterial || []);
|
|
131
|
+
const packageMaterials = collectPackageRoleMaterials(bundle);
|
|
132
|
+
const referencedMaterial = handoff.toReference ? resolveReferencedRoleMaterial(bundle, handoff, orientation, selectedRoute, findings, materialContext) : null;
|
|
133
|
+
const all = dedupeRoleMaterials([...(referencedMaterial ? [referencedMaterial] : []), ...explicitMaterials, ...packageMaterials]);
|
|
134
|
+
const parsed = all.map((entry) => parseRoleMaterial(entry)).filter(Boolean);
|
|
135
|
+
const target = normalizeComparable(handoff.to || input.recipientRole || input.roleLabel || '');
|
|
136
|
+
const exactReferenced = referencedMaterial ? parseRoleMaterial(referencedMaterial) : null;
|
|
137
|
+
const matches = target ? parsed.filter((entry) => normalizeComparable(entry.label) === target) : [];
|
|
138
|
+
const explicitParsed = parsed.filter((entry) => entry.explicit);
|
|
139
|
+
const explicitMismatch = explicitParsed.length === 1 && target && normalizeComparable(explicitParsed[0].label) !== target;
|
|
140
|
+
let state = 'degraded';
|
|
141
|
+
let compatibility = 'degraded-missing-material';
|
|
142
|
+
let selected = null;
|
|
143
|
+
if (explicitMismatch) {
|
|
144
|
+
state = 'blocked';
|
|
145
|
+
compatibility = 'mismatch';
|
|
146
|
+
findings.push(portableFinding('error', 'portable.cold-start.role.explicit-material.mismatch', 'Explicit recipient Role material does not match the Handoff recipient Role label.', { handoffTo: handoff.to || '', roleLabel: explicitParsed[0].label || '' }));
|
|
147
|
+
} else if (exactReferenced && target && normalizeComparable(exactReferenced.label) !== target) {
|
|
148
|
+
state = 'blocked';
|
|
149
|
+
compatibility = 'mismatch';
|
|
150
|
+
findings.push(portableFinding('error', 'portable.cold-start.role.reference-material.mismatch', 'The exact Handoff To Reference resolved to a Role artifact whose Role Label contradicts the Handoff To endpoint.', { handoffTo: handoff.to || '', roleLabel: exactReferenced.label || '', reference: handoff.toReference || '' }));
|
|
151
|
+
} else if (exactReferenced) {
|
|
152
|
+
selected = exactReferenced;
|
|
153
|
+
state = 'qualified';
|
|
154
|
+
compatibility = 'compatible-exact-reference';
|
|
155
|
+
} else if (matches.length === 1) {
|
|
156
|
+
selected = matches[0];
|
|
157
|
+
state = 'qualified';
|
|
158
|
+
compatibility = 'compatible';
|
|
159
|
+
} else if (matches.length > 1) {
|
|
160
|
+
state = 'blocked';
|
|
161
|
+
compatibility = 'ambiguous';
|
|
162
|
+
findings.push(portableFinding('error', 'portable.cold-start.role.material.ambiguous', 'More than one Role artifact matches the Handoff recipient Role; current Role material is ambiguous.', { role: handoff.to || '', candidates: matches.map((entry) => entry.path) }));
|
|
163
|
+
} else if (toKind === 'role' || (!toKind && handoff.to)) {
|
|
164
|
+
findings.push(portableFinding('warning', handoff.toReference ? 'portable.cold-start.role.reference-material.missing' : 'portable.cold-start.role.material.missing', 'Handoff declares a bounded recipient Role endpoint but current Role material is not resolvable; grounding is degraded rather than silently invalidated.', { role: handoff.to || '' }));
|
|
165
|
+
}
|
|
166
|
+
const transitionInput = input.roleTransition || input.role?.transition || {};
|
|
167
|
+
const transitionId = String(transitionInput.id || transitionInput.transitionId || transitionInput.path || '').trim();
|
|
168
|
+
return deepFreeze({
|
|
169
|
+
state,
|
|
170
|
+
endpoint: Object.freeze({ label: handoff.to || input.recipientRole || '', kind: handoff.toKind || (handoff.to ? 'role' : ''), bounded: Boolean(handoff.to) }),
|
|
171
|
+
material: Object.freeze({
|
|
172
|
+
state: selected ? 'qualified' : state === 'blocked' ? compatibility : 'missing',
|
|
173
|
+
artifact: selected ? Object.freeze({ path: selected.path, sha256: selected.sha256, schemaId: selected.schemaId, title: selected.title, roleLabel: selected.label, roleKind: selected.roleKind, reference: handoff.toReference || '' }) : null,
|
|
174
|
+
candidatesInspected: parsed.length
|
|
175
|
+
}),
|
|
176
|
+
transition: Object.freeze({ state: transitionId ? 'declared' : 'unresolved', id: transitionId, predecessor: String(transitionInput.predecessor || transitionInput.predecessorId || '') }),
|
|
177
|
+
predecessor: Object.freeze({ state: selected?.parentTrace ? 'declared' : 'unresolved', target: selected?.parentTrace || '', schemaId: selected?.parentSchemaId || '' }),
|
|
178
|
+
compatibility,
|
|
179
|
+
exactBoundaryLoaded: selected ? selected.boundary : null,
|
|
180
|
+
authorityBoundaryLoaded: selected ? selected.authorityBoundary : null,
|
|
181
|
+
interpretationLimitsLoaded: selected ? selected.interpretationLimits : null,
|
|
182
|
+
boundary: 'A Handoff `To Kind: role` endpoint remains bounded even when current Role material is missing. Matching Role material qualifies the loaded boundary but does not prove a human holder, consent, or authority beyond the Role artifact itself.'
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
function groundHolderBinding(input, handoff, findings) {
|
|
188
|
+
const raw = input.holderBinding || input.sessionHolderBinding || input.sessionRoleBinding || {};
|
|
189
|
+
const explicit = typeof raw === 'string' ? { roleLabel: raw } : (raw && typeof raw === 'object' ? raw : {});
|
|
190
|
+
const roleLabel = String(explicit.roleLabel || explicit.role || input.holderRole || input.sessionRole || '').trim();
|
|
191
|
+
const holderId = String(explicit.holderId || explicit.sessionId || explicit.id || input.holderId || '').trim();
|
|
192
|
+
const recipientRoleLabel = String(handoff.to || '').trim();
|
|
193
|
+
const recipientRoleKind = normalizeToken(handoff.toKind || (recipientRoleLabel ? 'role' : ''));
|
|
194
|
+
const roleRecipient = recipientRoleKind === 'role';
|
|
195
|
+
const explicitlySupplied = Boolean(roleLabel || holderId);
|
|
196
|
+
|
|
197
|
+
if (!roleRecipient) return deepFreeze({
|
|
198
|
+
state: 'not-applicable',
|
|
199
|
+
holderId,
|
|
200
|
+
roleLabel,
|
|
201
|
+
recipientRoleLabel,
|
|
202
|
+
recipientCompatibility: 'not-applicable',
|
|
203
|
+
source: explicitlySupplied ? 'explicit-input' : 'none',
|
|
204
|
+
explicit: explicitlySupplied,
|
|
205
|
+
inferredFromTransport: false,
|
|
206
|
+
boundary: 'The selected Handoff recipient is not a Role endpoint, so no consuming-session Role holder binding is required or inferred.'
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
if (!roleLabel) {
|
|
210
|
+
if (holderId) findings.push(portableFinding('warning', 'portable.cold-start.holder-binding.role-missing', 'A consuming-session holder identifier was supplied without an explicit Role capacity; the holder binding remains unresolved.', { holderId, recipientRole: recipientRoleLabel }));
|
|
211
|
+
return deepFreeze({
|
|
212
|
+
state: 'unresolved',
|
|
213
|
+
holderId,
|
|
214
|
+
roleLabel: '',
|
|
215
|
+
recipientRoleLabel,
|
|
216
|
+
recipientCompatibility: 'unresolved',
|
|
217
|
+
source: explicitlySupplied ? 'explicit-input' : 'none',
|
|
218
|
+
explicit: explicitlySupplied,
|
|
219
|
+
inferredFromTransport: false,
|
|
220
|
+
boundary: 'Recipient Role and consuming-session holder are separate. No holder Role is inferred from route selection, transport identity, provider identity, assistant/user position, or participant declarations.'
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
if (recipientRoleLabel && normalizeComparable(roleLabel) !== normalizeComparable(recipientRoleLabel)) {
|
|
225
|
+
findings.push(portableFinding('error', 'portable.cold-start.holder-binding.role-mismatch', 'Explicit consuming-session holder Role does not match the selected Handoff recipient Role.', { holderRole: roleLabel, recipientRole: recipientRoleLabel }));
|
|
226
|
+
return deepFreeze({
|
|
227
|
+
state: 'blocked',
|
|
228
|
+
holderId,
|
|
229
|
+
roleLabel,
|
|
230
|
+
recipientRoleLabel,
|
|
231
|
+
recipientCompatibility: 'mismatch',
|
|
232
|
+
source: 'explicit-input',
|
|
233
|
+
explicit: true,
|
|
234
|
+
inferredFromTransport: false,
|
|
235
|
+
boundary: 'An explicit holder Role mismatch is contradictory and blocks act-ready grounding. Tooling does not relabel the session to make the route fit.'
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
return deepFreeze({
|
|
240
|
+
state: 'qualified',
|
|
241
|
+
holderId,
|
|
242
|
+
roleLabel,
|
|
243
|
+
recipientRoleLabel,
|
|
244
|
+
recipientCompatibility: 'matched',
|
|
245
|
+
source: 'explicit-input',
|
|
246
|
+
explicit: true,
|
|
247
|
+
inferredFromTransport: false,
|
|
248
|
+
boundary: 'Explicit consuming-session Role-capacity binding only. This binds the current Tooling invocation/session to the selected recipient Role capacity; it does not prove a human identity, consent, or authority beyond the qualified Handoff/Role/Task boundaries.'
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
function groundParticipation(input, handoff, bundle, orientation, selectedRoute, findings, materialContext) {
|
|
253
|
+
const explicitParticipants = normalizeParticipants(input.participants || input.interaction?.participants || []);
|
|
254
|
+
const packageRoleGrounding = resolvePackageParticipantRoles(bundle, orientation, selectedRoute, findings);
|
|
255
|
+
const participants = dedupeGroundedParticipants(explicitParticipants);
|
|
256
|
+
const contributions = normalizeContributions(input.contributions || input.interaction?.contributions || []);
|
|
257
|
+
const currentContributionId = String(input.currentContributionId || input.interaction?.currentContributionId || '').trim();
|
|
258
|
+
const current = currentContributionId ? contributions.find((entry) => entry.id === currentContributionId) || null : null;
|
|
259
|
+
return deepFreeze({
|
|
260
|
+
participantState: participants.length ? 'declared' : 'unresolved',
|
|
261
|
+
participants: Object.freeze(participants),
|
|
262
|
+
packageRoleParticipants: Object.freeze(packageRoleGrounding),
|
|
263
|
+
packageRoleGrounding: Object.freeze(packageRoleGrounding),
|
|
264
|
+
contributions: Object.freeze(contributions),
|
|
265
|
+
currentContribution: Object.freeze({
|
|
266
|
+
state: current ? (current.attribution === 'verified' ? 'verified' : 'declared-unverified') : currentContributionId ? 'unresolved' : 'not-declared',
|
|
267
|
+
id: current?.id || currentContributionId,
|
|
268
|
+
speakerId: current?.speakerId || '',
|
|
269
|
+
speakerLabel: current?.speakerLabel || '',
|
|
270
|
+
attribution: current?.attribution || 'unknown'
|
|
271
|
+
}),
|
|
272
|
+
handoffCapacities: Object.freeze([
|
|
273
|
+
...(handoff.from ? [Object.freeze({ direction: 'from', label: handoff.from, kind: handoff.fromKind || '', semanticClass: 'handoff-capacity', humanIdentityProof: false })] : []),
|
|
274
|
+
...(handoff.to ? [Object.freeze({ direction: 'to', label: handoff.to, kind: handoff.toKind || '', semanticClass: 'handoff-capacity', humanIdentityProof: false })] : [])
|
|
275
|
+
]),
|
|
276
|
+
transportIdentityAssumption: false,
|
|
277
|
+
cardinality: Object.freeze({ participants: participants.length, contributions: contributions.length, oneHumanOneLlmRequired: false }),
|
|
278
|
+
boundary: 'Participants and speakers are explicit semantic declarations. Package-local Role Pointer ancestry is recipient discovery/grounding only and never declares semantic participation. Participation meaning must come from authoritative Handoff/Relation/context authority. One chat/account/transport channel is not treated as one human identity.'
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
function resolvePackageParticipantRoles(bundle = {}, orientation = null, selectedRoute = null, findings = [], materialContext = null) {
|
|
283
|
+
const pointerPaths = selectedRoute?.participantRolePointers || [];
|
|
284
|
+
const out = [];
|
|
285
|
+
for (let index = 0; index < pointerPaths.length; index += 1) {
|
|
286
|
+
const pointerPath = String(pointerPaths[index] || '');
|
|
287
|
+
const pointerFile = findFile(bundle, pointerPath);
|
|
288
|
+
if (!pointerFile) { findings.push(portableFinding('error', 'portable.cold-start.participant-role.pointer.missing', 'Selected Handoff route declares Role grounding Pointer ancestry that is not carried.', { pointerPath })); continue; }
|
|
289
|
+
const compatibilityFacts = recipientV2FactsIndex(bundle).map.get(pointerPath) || null;
|
|
290
|
+
const projectedFacts = (orientation?.participantRoles || []).find((item) => String(item.pointerPath || '') === pointerPath) || null;
|
|
291
|
+
const facts = compatibilityFacts?.role === 'participant-role'
|
|
292
|
+
? compatibilityFacts
|
|
293
|
+
: projectedFacts
|
|
294
|
+
? { role: 'participant-role', ...projectedFacts }
|
|
295
|
+
: {};
|
|
296
|
+
if (facts.role !== 'participant-role') { findings.push(portableFinding('error', 'portable.cold-start.participant-role.pointer.invalid', 'Selected route ancestor is not a qualified package-local Role grounding Pointer.', { pointerPath })); continue; }
|
|
297
|
+
const material = resolveParticipantRolePointerMaterial(bundle, facts, findings, pointerPath);
|
|
298
|
+
if (!material) continue;
|
|
299
|
+
const parsed = parseRoleMaterial({ path: material.path, markdown: material.markdown, explicit: false });
|
|
300
|
+
if (!parsed) { findings.push(portableFinding('error', 'portable.cold-start.participant-role.material.invalid', 'Role grounding Pointer target is not one exact tiinex.party.role.v1 artifact.', { pointerPath, target: material.path })); continue; }
|
|
301
|
+
const hint = String(facts.roleLabelHint || '').trim();
|
|
302
|
+
if (hint && parsed.label && normalizeToken(hint) !== normalizeToken(parsed.label)) { findings.push(portableFinding('error', 'portable.cold-start.participant-role.label-mismatch', 'Role grounding Pointer label hint conflicts with the exact carried Role artifact.', { pointerPath, hint, roleLabel: parsed.label })); continue; }
|
|
303
|
+
out.push(deepFreeze({
|
|
304
|
+
id: `package-role-${index + 1}`,
|
|
305
|
+
label: parsed.label || hint || parsed.title,
|
|
306
|
+
identities: Object.freeze([]),
|
|
307
|
+
roles: Object.freeze([parsed.label || hint || parsed.title].filter(Boolean)),
|
|
308
|
+
verification: 'declared',
|
|
309
|
+
transportChannel: '',
|
|
310
|
+
transportChannelIsIdentityProof: false,
|
|
311
|
+
packageDeclared: true,
|
|
312
|
+
groundingOnly: true,
|
|
313
|
+
semanticParticipant: false,
|
|
314
|
+
roleArtifact: Object.freeze({ path: parsed.path, sha256: parsed.sha256, schemaId: parsed.schemaId, roleLabel: parsed.label, roleKind: parsed.roleKind }),
|
|
315
|
+
pointerPath
|
|
316
|
+
}));
|
|
317
|
+
}
|
|
318
|
+
return Object.freeze(out);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
function resolveParticipantRolePointerMaterial(bundle, facts, findings, pointerPath) {
|
|
322
|
+
return resolveColdStartRolePointerMaterial(bundle, facts, findings, pointerPath, 'participant-role');
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
function dedupeGroundedParticipants(items = []) {
|
|
326
|
+
const map = new Map();
|
|
327
|
+
for (const item of items) {
|
|
328
|
+
const key = item.roleArtifact?.sha256 ? `role:${item.roleArtifact.sha256}` : `participant:${item.id || ''}:${item.label || ''}`;
|
|
329
|
+
if (!map.has(key)) map.set(key, item);
|
|
330
|
+
}
|
|
331
|
+
return Object.freeze([...map.values()]);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function groundInteraction(input, handoff) {
|
|
335
|
+
const interaction = input.interaction || {};
|
|
336
|
+
const mode = normalizeInteractionMode(interaction.mode || input.interactionMode || '');
|
|
337
|
+
const currentPurpose = String(interaction.purpose || input.interactionPurpose || handoff.purpose || '').trim();
|
|
338
|
+
return deepFreeze({
|
|
339
|
+
handoffPurpose: handoff.purpose || '',
|
|
340
|
+
currentPurpose,
|
|
341
|
+
purposeState: currentPurpose ? 'declared' : 'unresolved',
|
|
342
|
+
mode,
|
|
343
|
+
modeState: mode ? 'declared' : 'unresolved',
|
|
344
|
+
executionExpected: mode ? mode === 'execution' : null,
|
|
345
|
+
nonExecutionMode: Boolean(mode && NON_EXECUTION_MODES.has(mode)),
|
|
346
|
+
continuingDialoguePermitted: interaction.continuingDialogue === false ? false : true,
|
|
347
|
+
oneShotAssumed: false,
|
|
348
|
+
boundary: 'Handoff purpose and current interaction mode are separate. Execution is not assumed from Handoff existence, and review/explanation/design/orientation/dialogue modes remain valid continuing interactions.'
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
function projectDegradedCapture(input) {
|
|
353
|
+
const capture = input.capture || input.degradedCapture || {};
|
|
354
|
+
const active = input.toolingAvailable === false || capture.toolingAvailable === false || capture.mode === 'degraded-capture' || capture.toolingState === 'unavailable';
|
|
355
|
+
return deepFreeze({
|
|
356
|
+
active,
|
|
357
|
+
mode: active ? 'degraded-capture' : 'inactive',
|
|
358
|
+
preserveContributions: active,
|
|
359
|
+
preserveSpeakerAttribution: active,
|
|
360
|
+
toolingDependentMutationAllowed: false,
|
|
361
|
+
toolingDependentClaimsAllowed: false,
|
|
362
|
+
hiddenNetworkAccessAllowed: false,
|
|
363
|
+
laterToolingCapableCondensationRequired: active,
|
|
364
|
+
durableArtifactQualificationRequiredLater: active,
|
|
365
|
+
reason: String(capture.reason || (active ? 'Tooling unavailable in capture environment.' : '')).trim()
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
function normalizeParticipants(value) {
|
|
370
|
+
const list = Array.isArray(value) ? value : value ? [value] : [];
|
|
371
|
+
return list.map((entry, index) => deepFreeze({
|
|
372
|
+
id: String(entry?.id || `participant-${index + 1}`),
|
|
373
|
+
label: String(entry?.label || entry?.name || '').trim(),
|
|
374
|
+
identities: Object.freeze(normalizeStringList(entry?.identities || entry?.identity)),
|
|
375
|
+
roles: Object.freeze(normalizeStringList(entry?.roles || entry?.capacities || entry?.role)),
|
|
376
|
+
verification: normalizeAttribution(entry?.verification || entry?.attribution || 'unverified'),
|
|
377
|
+
transportChannel: String(entry?.transportChannel || entry?.channel || '').trim(),
|
|
378
|
+
transportChannelIsIdentityProof: false
|
|
379
|
+
}));
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
function normalizeContributions(value) {
|
|
383
|
+
const list = Array.isArray(value) ? value : value ? [value] : [];
|
|
384
|
+
return list.map((entry, index) => deepFreeze({
|
|
385
|
+
id: String(entry?.id || `contribution-${index + 1}`),
|
|
386
|
+
speakerId: String(entry?.speakerId || entry?.participantId || '').trim(),
|
|
387
|
+
speakerLabel: String(entry?.speakerLabel || entry?.speaker || '').trim(),
|
|
388
|
+
attribution: normalizeAttribution(entry?.attribution || entry?.verification || 'unverified'),
|
|
389
|
+
contentReference: String(entry?.contentReference || entry?.reference || '').trim(),
|
|
390
|
+
contributionKind: String(entry?.kind || entry?.type || 'message').trim()
|
|
391
|
+
}));
|
|
392
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { qualifyPortableColdStartTrace } from './coldStartQualification.observation.js';
|
|
2
|
+
import {
|
|
3
|
+
isOneShotColdStartQualificationInput,
|
|
4
|
+
qualifyPortableColdStartRun
|
|
5
|
+
} from './coldStartQualification.run.js';
|
|
6
|
+
|
|
7
|
+
export {
|
|
8
|
+
COLD_START_INGRESS_KINDS,
|
|
9
|
+
PORTABLE_COLD_CONSUMER_GROUNDING_SCHEMA_ID,
|
|
10
|
+
PORTABLE_COLD_START_HOST_PROJECTION_SCHEMA_ID,
|
|
11
|
+
PORTABLE_COLD_START_INGRESS_CONTRACT_SCHEMA_ID,
|
|
12
|
+
PORTABLE_COLD_START_QUALIFICATION_SCHEMA_ID,
|
|
13
|
+
describePortableColdStartIngress,
|
|
14
|
+
projectPortableColdStartHostGuidance
|
|
15
|
+
} from './coldStartQualification.contract.js';
|
|
16
|
+
export { groundPortableColdConsumer } from './coldStartQualification.grounding.js';
|
|
17
|
+
export { qualifyPortableColdStartRun } from './coldStartQualification.run.js';
|
|
18
|
+
|
|
19
|
+
export function qualifyPortableColdStart(input = {}, options = {}) {
|
|
20
|
+
if (isOneShotColdStartQualificationInput(input)) return qualifyPortableColdStartRun(input, options);
|
|
21
|
+
return qualifyPortableColdStartTrace(input, options);
|
|
22
|
+
}
|