zeropoint-node 1.0.1 → 1.0.3
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/CHANGELOG.md +85 -0
- package/CITATION.cff +34 -0
- package/LICENSE +402 -0
- package/README.md +398 -338
- package/dist/a432.cmyk.cjs +327 -0
- package/dist/a432.cmyk.cjs.map +1 -0
- package/dist/a432.cmyk.d.ts +128 -0
- package/dist/a432.cmyk.esm.js +317 -0
- package/dist/a432.cmyk.esm.js.map +1 -0
- package/dist/a432.electric.flow.cjs +398 -0
- package/dist/a432.electric.flow.cjs.map +1 -0
- package/dist/a432.electric.flow.d.ts +55 -0
- package/dist/a432.electric.flow.esm.js +384 -0
- package/dist/a432.electric.flow.esm.js.map +1 -0
- package/dist/a432.i.cjs +278 -0
- package/dist/a432.i.cjs.map +1 -0
- package/dist/a432.i.d.ts +109 -0
- package/dist/a432.i.esm.js +262 -0
- package/dist/a432.i.esm.js.map +1 -0
- package/dist/a432.kabbalah.cjs +289 -0
- package/dist/a432.kabbalah.cjs.map +1 -0
- package/dist/a432.kabbalah.d.ts +47 -0
- package/dist/a432.kabbalah.esm.js +281 -0
- package/dist/a432.kabbalah.esm.js.map +1 -0
- package/dist/a432.math.constants.cjs +177 -0
- package/dist/a432.math.constants.cjs.map +1 -0
- package/dist/a432.math.constants.d.ts +101 -0
- package/dist/a432.math.constants.esm.js +142 -0
- package/dist/a432.math.constants.esm.js.map +1 -0
- package/dist/a432.mobius.circuit.cjs +261 -0
- package/dist/a432.mobius.circuit.cjs.map +1 -0
- package/dist/a432.mobius.circuit.d.ts +74 -0
- package/dist/a432.mobius.circuit.esm.js +245 -0
- package/dist/a432.mobius.circuit.esm.js.map +1 -0
- package/dist/a432.navigation.cjs +522 -0
- package/dist/a432.navigation.cjs.map +1 -0
- package/dist/a432.navigation.d.ts +168 -0
- package/dist/a432.navigation.esm.js +517 -0
- package/dist/a432.navigation.esm.js.map +1 -0
- package/dist/a432.sacred.geometry.cjs +368 -0
- package/dist/a432.sacred.geometry.cjs.map +1 -0
- package/dist/a432.sacred.geometry.d.ts +68 -0
- package/dist/a432.sacred.geometry.esm.js +359 -0
- package/dist/a432.sacred.geometry.esm.js.map +1 -0
- package/dist/a432.simple.cjs +282 -0
- package/dist/a432.simple.cjs.map +1 -0
- package/dist/a432.simple.d.ts +99 -0
- package/dist/a432.simple.esm.js +271 -0
- package/dist/a432.simple.esm.js.map +1 -0
- package/dist/a432.system.cjs +378 -0
- package/dist/a432.system.cjs.map +1 -0
- package/dist/a432.system.d.ts +556 -0
- package/dist/a432.system.esm.js +349 -0
- package/dist/a432.system.esm.js.map +1 -0
- package/dist/a432.wave.energy.cjs +225 -0
- package/dist/a432.wave.energy.cjs.map +1 -0
- package/dist/a432.wave.energy.d.ts +71 -0
- package/dist/a432.wave.energy.esm.js +210 -0
- package/dist/a432.wave.energy.esm.js.map +1 -0
- package/dist/algebra-BQYrpF2y.cjs +238 -0
- package/dist/algebra-BQYrpF2y.cjs.map +1 -0
- package/dist/algebra-BlneQ5wO.js +225 -0
- package/dist/algebra-BlneQ5wO.js.map +1 -0
- package/dist/legacy-BEa7tljT.js +69 -0
- package/dist/legacy-BEa7tljT.js.map +1 -0
- package/dist/legacy-CV8oTnKM.cjs +71 -0
- package/dist/legacy-CV8oTnKM.cjs.map +1 -0
- package/package.json +214 -66
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.7.5.1.ts +351 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.7.5.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.7.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.3.6.9.trinity.ts +79 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.9d.dashboard.ts +179 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.adapters.ts +96 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.algebra.ts +30 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.analog.color.photography.ts +783 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.anatomy.ts +98 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.animation.ts +216 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.audio.ts +394 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.av.ts +73 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.balance.ts +226 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.block.chain.event.ts +171 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.block.chain.ts +226 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.body.ts +92 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.breathe.ts +46 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.browser.ts +409 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.bus.auto.ts +12 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.bus.ts +49 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cascade.ts +58 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cave.diving.ts +161 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.chain.of.events.ts +159 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.challenge.ts +63 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.challenges.ts +252 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.chess.controller.ts +30 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.chess.ts +48 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cleanup.ts +102 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.dimensions.ts +597 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.display.test.ts +491 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.display.ts +519 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.extension.ts +69 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.file.ts +65 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.folder.ts +75 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.i.ts +45 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.matrix.ts +75 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.multimedia.ts +426 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.trinity.ts +41 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.ts +189 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.universal.linking.ts +1081 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.voice.ts +356 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.coil.ts +132 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.color.ts +242 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.command.cmyk.ts +46 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.compression.ts +55 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.crystallization.ts +113 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.cycle.ts +167 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.integration.ts +743 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.journey.3d.ts +228 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.orchestrator.ts +509 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.router.ts +251 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.stream.ts +176 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.ts +26 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.core.ts +164 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.crypto.ts +53 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.css.ts +64 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cursor.ts +56 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.death.ts +31 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.decompression.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.decoqubit.holographic.hypercomputer.ts +888 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.design.cmyk.ts +138 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.digital.color.photography.ts +926 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.dimension.ts +44 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.dimensional.evolution.ts +201 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.documentation.ts +435 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.double.ts +62 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.electric.flow.ts +467 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.emotion.ts +14 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.empty.streams.ts +221 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.encryption.ts +44 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.event.ts +45 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.evolution.ts +226 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.experience.ts +28 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.experience.ui.ts +461 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.eye.see.all.ts +565 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.eye.ts +425 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.factory.ts +373 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.family.ts +77 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.feel.ts +43 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.flow.ts +232 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.flower.of.life.ts +64 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.flute.ts +336 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.font.ts +53 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.formulas.ts +47 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.fractal.test.ts +523 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.fractal.ts +594 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.frequency.healing.ts +88 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.gate.way.ts +52 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.gateway.transformation.ts +650 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.generate.matrix.ts +62 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.gods.spirit.magnetometer.ts +879 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.graph.ts +45 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.guidance.ts +14 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.harmonic.convergence.ts +87 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.harmonization.status.ts +754 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.harmonized.ts +219 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.harmonizer.ts +299 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.health.ts +55 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.hear.ts +41 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.heptagram.ui.ts +59 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.html.body.ts +90 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.body.ts +89 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.consciousness.ts +18 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.design.trinity.ts +70 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.design.ts +156 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.emotion.ts +15 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.ts +26 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.breathe.ts +18 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.browse.ts +27 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.can.ts +69 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.click.ts +27 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.died.ts +32 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.follow.the.path.ts +90 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.go.ts +68 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.harmonized.ts +304 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.hear.ts +28 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.heart.ts +26 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.heat.ts +44 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.imagine.ts +565 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.init.ts +31 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.intuit.ts +17 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.live.ts +565 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.meta.ts +23 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.motion.ts +27 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.move.ts +17 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.pulse.ts +18 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.read.ts +14 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.reflect.ts +17 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.scroll.ts +34 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.search.ts +22 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.see.ts +13 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.sequence.ts +281 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.smell.ts +27 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.sound.ts +35 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.speak.ts +26 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.state.ts +28 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.stream.ts +106 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.tap.ts +28 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.taste.ts +27 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.touch.screen.ts +34 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.trinity.healing.ts +386 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.trinity.ts +81 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.ts +341 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.voice.ts +74 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.write.ts +11 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.icon.ts +109 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.image.ts +396 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imagination.integration.ts +74 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imagination.ts +216 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imperial.test.ts +389 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imperial.ts +449 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.impossible.ts +91 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.index.ts +308 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.infinity.loop.ts +454 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.infinity.ts +14 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.infusion.ts +97 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.innovation.ts +316 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.integer.harmonics.ts +443 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.integration.ts +221 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.iter.anatomy.ts +110 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.kabbalah.ts +326 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.os.ts +457 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.spirit.test.ts +475 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.spirit.ts +646 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.streams.ts +130 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.ui.ts +226 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.main.ts +34 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.manifest.json +21 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.mapping.ts +135 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.math.constants.ts +172 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.math.ts +747 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.matrix.ts +133 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.meta.observation.ts +693 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.meta.ts +177 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.metatron.controller.ts +36 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.metatron.ts +64 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.metatron.vision.ts +25 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.metatron.visualizer.ts +85 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.mirror.ts +55 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.mobius.circuit.overlay.ts +84 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.mobius.circuit.ts +332 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.mobius.ts +12 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.modules.ts +283 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.modules.ui.ts +30 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.multidimensional.consciousness.3d.ts +299 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.multiverse.ts +31 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.navigation.map.ts +642 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.navigation.ts +51 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.nine.ts +60 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.nuclear.balance.ts +703 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.nuclear.explosion.ts +728 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.observation.ts +226 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.app.ts +14 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.bus.ts +11 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.consciousness.integration.ts +328 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.manifest.json +25 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.math.ts +25 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.ml.ts +9 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.terminal.ts +352 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.ts +491 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.ui.ts +330 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.overlay.visual.controller.ts +119 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.paths.ts +10 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.audio.video.stream.ts +2 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.color.stream.ts +2 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.decoding.ts +123 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.song.stream.ts +2 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.trinity.ts +79 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.ts +109 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.video.stream.ts +2 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.prime.numbers.squared.ts +871 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pure.visualization.ts +259 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.collision.ts +666 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.entanglement.ts +50 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.trinity.ts +59 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.ts +27 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.registry.ts +470 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.renderer.webgl.ts +99 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.resolve.ts +820 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.resolved.ts +459 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.resonance.ts +225 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rife.frequency.ts +74 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.cmyk.ts +153 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.3d.ts +73 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.harmonic.ts +341 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.omnidimension.ts +187 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.overlay.ts +86 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.ts +185 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.matrix.overlay.ts +46 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.matrix.ts +58 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.ts +111 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.roots.ts +29 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.router.ts +61 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.geometry.integers.ts +625 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.geometry.ts +428 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.test.ts +314 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.ts +468 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.see.ts +39 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.self.evolution.ts +538 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.self.rebuilder.ts +513 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.self.ts +83 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sequence.embodiment.ts +326 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sequence.ts +442 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.server.ts +978 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.service.worker.ts +30 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.shear.electron.ts +85 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.shear.ts +74 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.simple.ts +353 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.solids.ui.ts +56 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sound.ts +34 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.space.ts +53 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.spiral.consciousness.ts +195 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.spiral.ts +75 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.spirit.ts +580 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.stream.ts +130 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.stream.vortex.ts +71 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.string.theory.ts +110 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.superfluid.mobius.circuit.ts +868 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.symbol.utils.ts +14 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.system.ts +396 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.terminal.controller.ts +23 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.terminal.stream.ts +37 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.terminal.ts +153 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.terminal.ui.ts +13 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.tesla.coil.overlay.ts +84 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.tesla.coil.ts +72 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.test.ts +83 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.text.ts +50 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.think.ts +43 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.three.ts +112 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.time.ts +46 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.axis.ts +25 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.body.mind.will.ts +2 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.breath.ts +2 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.healing.ts +110 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.navigation.ts +104 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.ts +569 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.ui.ts +92 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.visual.ts +156 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.triple.merkaba.3d.ts +270 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.triple.merkaba.ts +248 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.truly.living.ui.ts +269 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ts +687 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.types.ts +42 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.analytics.ts +16 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.controls.ts +18 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.events.ts +16 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.journey.ts +44 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.overlay.ts +25 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.registry.ts +38 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.session.ts +30 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.state.ts +17 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.stream.ts +41 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.streams.ts +263 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.test.ts +87 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.three.ts +1141 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.ts +839 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.unification.hd.rodin.ts +77 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.universe.ts +43 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.uro.ui.ts +42 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.uroboros.test.ts +28 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.uroboros.ts +38 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.utils.ts +387 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.uuid.ts +93 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.animation.ts +328 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.audio.ts +283 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.decode.ts +401 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.math.ts +74 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.path.ts +343 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.relations.constants.ts +91 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.relations.ts +45 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.scanner.ts +41 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.science.extract.ts +30 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.ui.ts +64 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.visualization.ts +435 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vector.ts +70 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vibration.ts +405 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.video.ts +30 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.voice.ui.ts +23 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.void.stream.overlay.ts +57 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vortex.cmyk.matrix.ts +84 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vortex.ts +91 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.wave.energy.ts +283 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.wave.particle.duality.test.ts +29 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.wave.particle.duality.ts +50 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.yin.yang.controller.ts +40 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.yin.yang.ts +135 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.math.ts +506 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.pure.math.ts +546 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.state.ts +117 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.test.ts +452 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/extracted-vbm-math.json +3822 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/index.json +28 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/index.ts +215 -0
- package/src/0/3/6/9/1/2/4/8/7/5/1/pattern-knowledge.ts +209 -0
- package/src/0/3/6/9/1/2/4/8/7/5/a432.experience.ts +22 -0
- package/src/0/3/6/9/1/2/4/8/7/a432.experience.ts +19 -0
- package/src/0/3/6/9/1/2/4/8/a432.experience.ts +22 -0
- package/src/0/3/6/9/1/2/4/a432.experience.ts +22 -0
- package/src/0/3/6/9/1/2/a432.experience.ts +22 -0
- package/src/0/3/6/9/1/a432.experience.ts +22 -0
- package/src/0/3/6/9/a432.experience.ts +22 -0
- package/src/0/3/6/a432.experience.ts +22 -0
- package/src/0/3/a432.experience.ts +22 -0
- package/src/0/3/relation.ts +148 -0
- package/src/0/algebra.ts +285 -0
- package/src/0/index.ts +702 -0
- package/src/advanced-vbm.ts +526 -0
- package/src/crypto/kyber-real.test.ts +125 -0
- package/src/crypto/kyber-real.ts +492 -0
- package/src/index.ts +146 -0
- package/src/integrity/content-uuid.ts +123 -0
- package/src/integrity/receipt.ts +95 -0
- package/src/kernel/audit.ts +279 -0
- package/src/kernel/import-graph.ts +237 -0
- package/src/kernel/index.ts +78 -0
- package/src/kernel/legacy.ts +43 -0
- package/src/kernel/lobes.ts +222 -0
- package/src/kernel/self-develop.ts +1037 -0
- package/src/kernel/smoke.test.ts +258 -0
- package/src/mcp/server.ts +226 -0
- package/src/multidimensional-vortex-demo.ts +320 -0
- package/src/multidimensional-vortex-framework.test.ts +400 -0
- package/src/multidimensional-vortex-framework.ts +458 -0
- package/src/quantum/adaptive.ts +132 -0
- package/src/quantum/advanced.ts +220 -0
- package/src/quantum/algorithms.ts +498 -0
- package/src/quantum/applications.ts +363 -0
- package/src/quantum/circuit.ts +80 -0
- package/src/quantum/comparison-mesh.ts +430 -0
- package/src/quantum/composability.ts +278 -0
- package/src/quantum/density.ts +142 -0
- package/src/quantum/end-to-end.ts +133 -0
- package/src/quantum/error-correction.ts +346 -0
- package/src/quantum/gates.ts +62 -0
- package/src/quantum/hardware-compilation.ts +205 -0
- package/src/quantum/hybrid.ts +447 -0
- package/src/quantum/index.ts +59 -0
- package/src/quantum/kernel-adaptation.ts +200 -0
- package/src/quantum/meta-verifier.ts +238 -0
- package/src/quantum/millennium-bridge.test.ts +229 -0
- package/src/quantum/millennium-bridge.ts +348 -0
- package/src/quantum/orchestrator.ts +371 -0
- package/src/quantum/proof-of-system.ts +451 -0
- package/src/quantum/qaoa.ts +95 -0
- package/src/quantum/security-bridge.ts +340 -0
- package/src/quantum/self-healing.ts +302 -0
- package/src/quantum/simulator.ts +198 -0
- package/src/quantum/superposition-execution.test.ts +127 -0
- package/src/quantum/superposition-execution.ts +359 -0
- package/src/quantum/tomography.ts +277 -0
- package/src/quantum/variational-optimizer.ts +150 -0
- package/src/quantum/variational.ts +66 -0
- package/src/quantum/vortex-bridge.ts +226 -0
- package/src/quantum/workflow.ts +158 -0
- package/src/quantum/zenodo-publisher.test.ts +275 -0
- package/src/quantum/zenodo-publisher.ts +575 -0
- package/src/security/post-quantum-crypto.test.ts +323 -0
- package/src/security/post-quantum-crypto.ts +240 -0
- package/src/security/quantum-fold-cipher.test.ts +759 -0
- package/src/security/quantum-fold-cipher.ts +949 -0
- package/src/security/quantum-proofs.test.ts +351 -0
- package/src/security/quantum-state-tomography.test.ts +368 -0
- package/src/security/quantum-state-tomography.ts +323 -0
- package/src/security/quantum-threat-landscape.ts +545 -0
- package/src/vbm-demo.ts +197 -0
- package/src/vbm-math.ts +379 -0
- package/src/verification/lean-bridge.test.ts +247 -0
- package/src/verification/lean-bridge.ts +361 -0
- package/src/zero-entropy-demo.ts +305 -0
- package/dist/__tests__/api/ProductionAPI.test.js +0 -20
- package/dist/__tests__/artifacts/ArtifactRegistry.test.js +0 -248
- package/dist/__tests__/basic.test.js +0 -104
- package/dist/__tests__/config/constants.test.js +0 -20
- package/dist/__tests__/consciousness/ConsciousnessField.test.js +0 -20
- package/dist/__tests__/consciousness/SelfEvolvingConsciousness.test.js +0 -185
- package/dist/__tests__/core/AbstractField.test.js +0 -81
- package/dist/__tests__/core/CoilMixin.test.js +0 -20
- package/dist/__tests__/core/CoilSystem.test.js +0 -20
- package/dist/__tests__/core/ComplianceSystem.test.js +0 -141
- package/dist/__tests__/core/InfiniteDimensionalRefactor.test.js +0 -258
- package/dist/__tests__/core/LivingAdapter.test.js +0 -31
- package/dist/__tests__/core/MathUtils.test.js +0 -20
- package/dist/__tests__/core/NetworkNode.test.js +0 -20
- package/dist/__tests__/core/Observer.test.js +0 -20
- package/dist/__tests__/core/OperationRegistry.test.js +0 -48
- package/dist/__tests__/core/PatternRecognition.test.js +0 -20
- package/dist/__tests__/core/PatternRegistry.test.js +0 -20
- package/dist/__tests__/core/ScientificCompliance.test.js +0 -58
- package/dist/__tests__/core/SharedConstants.test.js +0 -20
- package/dist/__tests__/core/UnifiedMetaphysicalInterface.test.js +0 -20
- package/dist/__tests__/core/UnifiedSystem.test.js +0 -20
- package/dist/__tests__/core/UnifiedTypes.test.js +0 -20
- package/dist/__tests__/core/UnifiedVoidEquations.test.js +0 -20
- package/dist/__tests__/core/VortexMathAdapter.test.js +0 -31
- package/dist/__tests__/core/ZeroPoint.test.js +0 -71
- package/dist/__tests__/core/ZeroPointSystem.test.js +0 -219
- package/dist/__tests__/emergence/patterns.test.js +0 -20
- package/dist/__tests__/field/EmergenceLedger.test.js +0 -20
- package/dist/__tests__/field/ObserverAwareField.test.js +0 -20
- package/dist/__tests__/field/ResonanceConsensus.test.js +0 -20
- package/dist/__tests__/git-integration.test.js +0 -201
- package/dist/__tests__/globalSetup.js +0 -80
- package/dist/__tests__/globalTeardown.js +0 -28
- package/dist/__tests__/index.test.js +0 -20
- package/dist/__tests__/integration/ZeroPointIntegration.test.js +0 -221
- package/dist/__tests__/integrity/FieldIntegrity.test.js +0 -20
- package/dist/__tests__/knowledge/KnowledgeSystem.test.js +0 -158
- package/dist/__tests__/knowledge/KnowledgeSystemAnalysis.test.js +0 -219
- package/dist/__tests__/knowledge/KnowledgeSystemAutoGenerated.test.js +0 -41
- package/dist/__tests__/laws/MetaphysicalLawRegistry.test.js +0 -183
- package/dist/__tests__/living/LivingTestOrganism.js +0 -246
- package/dist/__tests__/living/LivingTestOrganism.test.js +0 -124
- package/dist/__tests__/math/AdvancedVBM.test.js +0 -367
- package/dist/__tests__/math/FlowerOfLife.test.js +0 -344
- package/dist/__tests__/math/FractalColorSystem.test.js +0 -20
- package/dist/__tests__/math/FractalMath.test.js +0 -20
- package/dist/__tests__/math/MathUtils.test.js +0 -20
- package/dist/__tests__/math/RodinCoil.test.js +0 -20
- package/dist/__tests__/math/ToroidalGeometry.test.js +0 -20
- package/dist/__tests__/math/VBM.test.js +0 -538
- package/dist/__tests__/math/VBMColorSystem.test.js +0 -20
- package/dist/__tests__/math/VortexMath.test.js +0 -20
- package/dist/__tests__/math/ZeroUnity.test.js +0 -77
- package/dist/__tests__/monitoring/HealthMonitor.test.js +0 -20
- package/dist/__tests__/performance/ZeroPointPerformance.test.js +0 -371
- package/dist/__tests__/physics/PlasmaCosmology.test.js +0 -155
- package/dist/__tests__/pwa/ConsciousnessPWA.test.js +0 -20
- package/dist/__tests__/qa/AutoGeneratedFromQA.test.js +0 -195
- package/dist/__tests__/qa/QAAsSourceOfTruth.test.js +0 -69
- package/dist/__tests__/setup.js +0 -132
- package/dist/__tests__/simple.test.js +0 -51
- package/dist/__tests__/stimulus/Application.test.js +0 -272
- package/dist/__tests__/stimulus/BaseController.test.js +0 -198
- package/dist/__tests__/stimulus/ControllerUtils.test.js +0 -316
- package/dist/__tests__/stimulus/MetaphysicalController.test.js +0 -310
- package/dist/__tests__/stimulus/ZeroPointController.test.js +0 -252
- package/dist/__tests__/training/ConsciousnessTrainingModel.test.js +0 -335
- package/dist/__tests__/types/DeviceConfig.test.js +0 -20
- package/dist/__tests__/types/UnifiedExports.test.js +0 -20
- package/dist/__tests__/unity/FieldUnity.test.js +0 -20
- package/dist/__tests__/utils/Cache.test.js +0 -20
- package/dist/__tests__/utils/GitIntegration.test.js +0 -20
- package/dist/__tests__/utils/Logger.test.js +0 -20
- package/dist/__tests__/utils/ResourceCleanup.test.js +0 -20
- package/dist/__tests__/utils/errorSimulator.js +0 -40
- package/dist/__tests__/utils/goldenRatioCache.js +0 -36
- package/dist/__tests__/void/VoidSystem.test.js +0 -427
- package/dist/api/ProductionAPI.js +0 -313
- package/dist/artifacts/ArtifactRegistry.js +0 -122
- package/dist/artifacts/CrystalArtifacts.js +0 -106
- package/dist/artifacts/MetaphysicalArtifact.js +0 -75
- package/dist/browser-standalone.js +0 -191
- package/dist/browser.js +0 -157
- package/dist/config/constants.js +0 -57
- package/dist/consciousness/ConsciousnessField.js +0 -55
- package/dist/consciousness/SelfEvolvingConsciousness.js +0 -303
- package/dist/core/AbstractField.js +0 -30
- package/dist/core/BrowserNetworkNode.js +0 -309
- package/dist/core/CoilMixin.js +0 -216
- package/dist/core/CoilSystem.js +0 -204
- package/dist/core/ComplianceSystem.js +0 -291
- package/dist/core/Dimension.js +0 -2
- package/dist/core/DimensionRegistry.js +0 -141
- package/dist/core/Field.js +0 -2
- package/dist/core/InfiniteDimensionalRefactor.js +0 -389
- package/dist/core/KnowledgeRegistry.js +0 -273
- package/dist/core/LivingAdapter.js +0 -29
- package/dist/core/MathUtils.js +0 -297
- package/dist/core/NetworkNode.js +0 -348
- package/dist/core/Observer.js +0 -101
- package/dist/core/Operation.js +0 -59
- package/dist/core/OperationRegistry.js +0 -20
- package/dist/core/Pattern.js +0 -2
- package/dist/core/PatternRecognition.js +0 -493
- package/dist/core/PatternRegistry.js +0 -282
- package/dist/core/ScientificCompliance.js +0 -91
- package/dist/core/SharedConstants.js +0 -306
- package/dist/core/UnifiedMetaphysicalInterface.js +0 -533
- package/dist/core/UnifiedSystem.js +0 -317
- package/dist/core/UnifiedTypes.js +0 -5
- package/dist/core/UnifiedVoidEquations.js +0 -605
- package/dist/core/VoidMatterConstants.js +0 -9
- package/dist/core/VortexMathAdapter.js +0 -32
- package/dist/core/ZeroPoint.js +0 -971
- package/dist/core/ZeroPointSystem.js +0 -343
- package/dist/core/applyLaws.js +0 -12
- package/dist/core/applyOperations.js +0 -21
- package/dist/devices/DeviceRegistry.js +0 -151
- package/dist/devices/ResonanceDevice.js +0 -92
- package/dist/devices/ResonanceDevices.js +0 -139
- package/dist/dimensions/Dimension.js +0 -2
- package/dist/emergence/AdvancedEmergence.js +0 -930
- package/dist/emergence/patterns.js +0 -12
- package/dist/field/EmergenceLedger.js +0 -310
- package/dist/field/ObserverAwareField.js +0 -222
- package/dist/field/ResonanceConsensus.js +0 -330
- package/dist/fields/Field.js +0 -2
- package/dist/geometry/MetatronsCube.js +0 -28
- package/dist/geometry/SacredGeometryPattern.js +0 -15
- package/dist/geometry/SacredGeometryRegistry.js +0 -15
- package/dist/geometry/__tests__/SacredGeometryRegistry.test.js +0 -18
- package/dist/index.js +0 -232
- package/dist/integrity/FieldIntegrity.js +0 -237
- package/dist/knowledge/KnowledgeSystem.js +0 -938
- package/dist/laws/MetaphysicalLaw.js +0 -2
- package/dist/laws/MetaphysicalLawRegistry.js +0 -103
- package/dist/laws/hermeticLaws.js +0 -311
- package/dist/math/AdvancedVBM.js +0 -537
- package/dist/math/FlowerOfLife.js +0 -256
- package/dist/math/FractalColorSystem.js +0 -239
- package/dist/math/FractalMath.js +0 -187
- package/dist/math/MathUtils.js +0 -289
- package/dist/math/RodinCoil.js +0 -258
- package/dist/math/ToroidalGeometry.js +0 -230
- package/dist/math/VBM.js +0 -718
- package/dist/math/VBMColorSystem.js +0 -301
- package/dist/math/VortexMath.js +0 -170
- package/dist/monitoring/HealthMonitor.js +0 -297
- package/dist/patterns/Pattern.js +0 -2
- package/dist/patterns/SacredGeometryRegistry.js +0 -37
- package/dist/physics/BlackHolePhysics.js +0 -54
- package/dist/physics/ConsciousnessPhysics.js +0 -241
- package/dist/physics/FractalUniverse.js +0 -54
- package/dist/physics/HolographicUniverse.js +0 -54
- package/dist/physics/PlasmaCosmology.js +0 -134
- package/dist/pwa/ConsciousnessPWA.js +0 -300
- package/dist/src/__tests__/globalSetup.d.ts +0 -13
- package/dist/src/__tests__/globalSetup.d.ts.map +0 -1
- package/dist/src/__tests__/globalSetup.js +0 -81
- package/dist/src/__tests__/globalSetup.js.map +0 -1
- package/dist/src/__tests__/globalTeardown.d.ts +0 -22
- package/dist/src/__tests__/globalTeardown.d.ts.map +0 -1
- package/dist/src/__tests__/globalTeardown.js +0 -29
- package/dist/src/__tests__/globalTeardown.js.map +0 -1
- package/dist/src/__tests__/living/LivingTestOrganism.d.ts +0 -68
- package/dist/src/__tests__/living/LivingTestOrganism.d.ts.map +0 -1
- package/dist/src/__tests__/living/LivingTestOrganism.js +0 -253
- package/dist/src/__tests__/living/LivingTestOrganism.js.map +0 -1
- package/dist/src/__tests__/setup.d.ts +0 -16
- package/dist/src/__tests__/setup.d.ts.map +0 -1
- package/dist/src/__tests__/setup.js +0 -123
- package/dist/src/__tests__/setup.js.map +0 -1
- package/dist/src/__tests__/utils/errorSimulator.d.ts +0 -18
- package/dist/src/__tests__/utils/errorSimulator.d.ts.map +0 -1
- package/dist/src/__tests__/utils/errorSimulator.js +0 -35
- package/dist/src/__tests__/utils/errorSimulator.js.map +0 -1
- package/dist/src/__tests__/utils/goldenRatioCache.d.ts +0 -11
- package/dist/src/__tests__/utils/goldenRatioCache.d.ts.map +0 -1
- package/dist/src/__tests__/utils/goldenRatioCache.js +0 -31
- package/dist/src/__tests__/utils/goldenRatioCache.js.map +0 -1
- package/dist/src/api/ProductionAPI.d.ts +0 -42
- package/dist/src/api/ProductionAPI.d.ts.map +0 -1
- package/dist/src/api/ProductionAPI.js +0 -320
- package/dist/src/api/ProductionAPI.js.map +0 -1
- package/dist/src/config/constants.d.ts +0 -53
- package/dist/src/config/constants.d.ts.map +0 -1
- package/dist/src/config/constants.js +0 -58
- package/dist/src/config/constants.js.map +0 -1
- package/dist/src/consciousness/ConsciousnessField.d.ts +0 -96
- package/dist/src/consciousness/ConsciousnessField.d.ts.map +0 -1
- package/dist/src/consciousness/ConsciousnessField.js +0 -288
- package/dist/src/consciousness/ConsciousnessField.js.map +0 -1
- package/dist/src/consciousness/SelfEvolvingConsciousness.d.ts +0 -128
- package/dist/src/consciousness/SelfEvolvingConsciousness.d.ts.map +0 -1
- package/dist/src/consciousness/SelfEvolvingConsciousness.js +0 -304
- package/dist/src/consciousness/SelfEvolvingConsciousness.js.map +0 -1
- package/dist/src/core/AbstractField.d.ts +0 -14
- package/dist/src/core/AbstractField.d.ts.map +0 -1
- package/dist/src/core/AbstractField.js +0 -31
- package/dist/src/core/AbstractField.js.map +0 -1
- package/dist/src/core/CoilMixin.d.ts +0 -52
- package/dist/src/core/CoilMixin.d.ts.map +0 -1
- package/dist/src/core/CoilMixin.js +0 -217
- package/dist/src/core/CoilMixin.js.map +0 -1
- package/dist/src/core/CoilSystem.d.ts +0 -42
- package/dist/src/core/CoilSystem.d.ts.map +0 -1
- package/dist/src/core/CoilSystem.js +0 -192
- package/dist/src/core/CoilSystem.js.map +0 -1
- package/dist/src/core/InfiniteDimensionalRefactor.d.ts +0 -145
- package/dist/src/core/InfiniteDimensionalRefactor.d.ts.map +0 -1
- package/dist/src/core/InfiniteDimensionalRefactor.js +0 -390
- package/dist/src/core/InfiniteDimensionalRefactor.js.map +0 -1
- package/dist/src/core/MathUtils.d.ts +0 -135
- package/dist/src/core/MathUtils.d.ts.map +0 -1
- package/dist/src/core/MathUtils.js +0 -298
- package/dist/src/core/MathUtils.js.map +0 -1
- package/dist/src/core/NetworkNode.d.ts +0 -86
- package/dist/src/core/NetworkNode.d.ts.map +0 -1
- package/dist/src/core/NetworkNode.js +0 -349
- package/dist/src/core/NetworkNode.js.map +0 -1
- package/dist/src/core/Observer.d.ts +0 -57
- package/dist/src/core/Observer.d.ts.map +0 -1
- package/dist/src/core/Observer.js +0 -102
- package/dist/src/core/Observer.js.map +0 -1
- package/dist/src/core/PatternRecognition.d.ts +0 -174
- package/dist/src/core/PatternRecognition.d.ts.map +0 -1
- package/dist/src/core/PatternRecognition.js +0 -494
- package/dist/src/core/PatternRecognition.js.map +0 -1
- package/dist/src/core/PatternRegistry.d.ts +0 -99
- package/dist/src/core/PatternRegistry.d.ts.map +0 -1
- package/dist/src/core/PatternRegistry.js +0 -283
- package/dist/src/core/PatternRegistry.js.map +0 -1
- package/dist/src/core/SharedConstants.d.ts +0 -191
- package/dist/src/core/SharedConstants.d.ts.map +0 -1
- package/dist/src/core/SharedConstants.js +0 -304
- package/dist/src/core/SharedConstants.js.map +0 -1
- package/dist/src/core/UnifiedMetaphysicalInterface.d.ts +0 -173
- package/dist/src/core/UnifiedMetaphysicalInterface.d.ts.map +0 -1
- package/dist/src/core/UnifiedMetaphysicalInterface.js +0 -534
- package/dist/src/core/UnifiedMetaphysicalInterface.js.map +0 -1
- package/dist/src/core/UnifiedSystem.d.ts +0 -279
- package/dist/src/core/UnifiedSystem.d.ts.map +0 -1
- package/dist/src/core/UnifiedSystem.js +0 -318
- package/dist/src/core/UnifiedSystem.js.map +0 -1
- package/dist/src/core/UnifiedTypes.d.ts +0 -193
- package/dist/src/core/UnifiedTypes.d.ts.map +0 -1
- package/dist/src/core/UnifiedTypes.js +0 -6
- package/dist/src/core/UnifiedTypes.js.map +0 -1
- package/dist/src/core/UnifiedVoidEquations.d.ts +0 -125
- package/dist/src/core/UnifiedVoidEquations.d.ts.map +0 -1
- package/dist/src/core/UnifiedVoidEquations.js +0 -606
- package/dist/src/core/UnifiedVoidEquations.js.map +0 -1
- package/dist/src/core/ZeroPoint.d.ts +0 -276
- package/dist/src/core/ZeroPoint.d.ts.map +0 -1
- package/dist/src/core/ZeroPoint.js +0 -803
- package/dist/src/core/ZeroPoint.js.map +0 -1
- package/dist/src/emergence/AdvancedEmergence.d.ts +0 -298
- package/dist/src/emergence/AdvancedEmergence.d.ts.map +0 -1
- package/dist/src/emergence/AdvancedEmergence.js +0 -931
- package/dist/src/emergence/AdvancedEmergence.js.map +0 -1
- package/dist/src/emergence/patterns.d.ts +0 -7
- package/dist/src/emergence/patterns.d.ts.map +0 -1
- package/dist/src/emergence/patterns.js +0 -13
- package/dist/src/emergence/patterns.js.map +0 -1
- package/dist/src/field/EmergenceLedger.d.ts +0 -102
- package/dist/src/field/EmergenceLedger.d.ts.map +0 -1
- package/dist/src/field/EmergenceLedger.js +0 -311
- package/dist/src/field/EmergenceLedger.js.map +0 -1
- package/dist/src/field/ObserverAwareField.d.ts +0 -122
- package/dist/src/field/ObserverAwareField.d.ts.map +0 -1
- package/dist/src/field/ObserverAwareField.js +0 -223
- package/dist/src/field/ObserverAwareField.js.map +0 -1
- package/dist/src/field/ResonanceConsensus.d.ts +0 -106
- package/dist/src/field/ResonanceConsensus.d.ts.map +0 -1
- package/dist/src/field/ResonanceConsensus.js +0 -327
- package/dist/src/field/ResonanceConsensus.js.map +0 -1
- package/dist/src/index.d.ts +0 -55
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -236
- package/dist/src/index.js.map +0 -1
- package/dist/src/integrity/FieldIntegrity.d.ts +0 -116
- package/dist/src/integrity/FieldIntegrity.d.ts.map +0 -1
- package/dist/src/integrity/FieldIntegrity.js +0 -240
- package/dist/src/integrity/FieldIntegrity.js.map +0 -1
- package/dist/src/knowledge/KnowledgeSystem.d.ts +0 -160
- package/dist/src/knowledge/KnowledgeSystem.d.ts.map +0 -1
- package/dist/src/knowledge/KnowledgeSystem.js +0 -607
- package/dist/src/knowledge/KnowledgeSystem.js.map +0 -1
- package/dist/src/math/AdvancedVBM.d.ts +0 -164
- package/dist/src/math/AdvancedVBM.d.ts.map +0 -1
- package/dist/src/math/AdvancedVBM.js +0 -712
- package/dist/src/math/AdvancedVBM.js.map +0 -1
- package/dist/src/math/FractalColorSystem.d.ts +0 -77
- package/dist/src/math/FractalColorSystem.d.ts.map +0 -1
- package/dist/src/math/FractalColorSystem.js +0 -235
- package/dist/src/math/FractalColorSystem.js.map +0 -1
- package/dist/src/math/FractalMath.d.ts +0 -88
- package/dist/src/math/FractalMath.d.ts.map +0 -1
- package/dist/src/math/FractalMath.js +0 -188
- package/dist/src/math/FractalMath.js.map +0 -1
- package/dist/src/math/MathUtils.d.ts +0 -128
- package/dist/src/math/MathUtils.d.ts.map +0 -1
- package/dist/src/math/MathUtils.js +0 -290
- package/dist/src/math/MathUtils.js.map +0 -1
- package/dist/src/math/RodinCoil.d.ts +0 -94
- package/dist/src/math/RodinCoil.d.ts.map +0 -1
- package/dist/src/math/RodinCoil.js +0 -259
- package/dist/src/math/RodinCoil.js.map +0 -1
- package/dist/src/math/ToroidalGeometry.d.ts +0 -132
- package/dist/src/math/ToroidalGeometry.d.ts.map +0 -1
- package/dist/src/math/ToroidalGeometry.js +0 -231
- package/dist/src/math/ToroidalGeometry.js.map +0 -1
- package/dist/src/math/VBM.d.ts +0 -207
- package/dist/src/math/VBM.d.ts.map +0 -1
- package/dist/src/math/VBM.js +0 -581
- package/dist/src/math/VBM.js.map +0 -1
- package/dist/src/math/VBMColorSystem.d.ts +0 -76
- package/dist/src/math/VBMColorSystem.d.ts.map +0 -1
- package/dist/src/math/VBMColorSystem.js +0 -302
- package/dist/src/math/VBMColorSystem.js.map +0 -1
- package/dist/src/math/VortexMath.d.ts +0 -95
- package/dist/src/math/VortexMath.d.ts.map +0 -1
- package/dist/src/math/VortexMath.js +0 -228
- package/dist/src/math/VortexMath.js.map +0 -1
- package/dist/src/monitoring/HealthMonitor.d.ts +0 -123
- package/dist/src/monitoring/HealthMonitor.d.ts.map +0 -1
- package/dist/src/monitoring/HealthMonitor.js +0 -298
- package/dist/src/monitoring/HealthMonitor.js.map +0 -1
- package/dist/src/pwa/ConsciousnessPWA.d.ts +0 -107
- package/dist/src/pwa/ConsciousnessPWA.d.ts.map +0 -1
- package/dist/src/pwa/ConsciousnessPWA.js +0 -288
- package/dist/src/pwa/ConsciousnessPWA.js.map +0 -1
- package/dist/src/types/DeviceConfig.d.ts +0 -39
- package/dist/src/types/DeviceConfig.d.ts.map +0 -1
- package/dist/src/types/DeviceConfig.js +0 -30
- package/dist/src/types/DeviceConfig.js.map +0 -1
- package/dist/src/types/UnifiedExports.d.ts +0 -4
- package/dist/src/types/UnifiedExports.d.ts.map +0 -1
- package/dist/src/types/UnifiedExports.js +0 -21
- package/dist/src/types/UnifiedExports.js.map +0 -1
- package/dist/src/unity/FieldUnity.d.ts +0 -100
- package/dist/src/unity/FieldUnity.d.ts.map +0 -1
- package/dist/src/unity/FieldUnity.js +0 -326
- package/dist/src/unity/FieldUnity.js.map +0 -1
- package/dist/src/utils/Cache.d.ts +0 -127
- package/dist/src/utils/Cache.d.ts.map +0 -1
- package/dist/src/utils/Cache.js +0 -264
- package/dist/src/utils/Cache.js.map +0 -1
- package/dist/src/utils/GitIntegration.d.ts +0 -32
- package/dist/src/utils/GitIntegration.d.ts.map +0 -1
- package/dist/src/utils/GitIntegration.js +0 -128
- package/dist/src/utils/GitIntegration.js.map +0 -1
- package/dist/src/utils/Logger.d.ts +0 -116
- package/dist/src/utils/Logger.d.ts.map +0 -1
- package/dist/src/utils/Logger.js +0 -250
- package/dist/src/utils/Logger.js.map +0 -1
- package/dist/src/utils/ResourceCleanup.d.ts +0 -33
- package/dist/src/utils/ResourceCleanup.d.ts.map +0 -1
- package/dist/src/utils/ResourceCleanup.js +0 -83
- package/dist/src/utils/ResourceCleanup.js.map +0 -1
- package/dist/src/void/VoidSystem.d.ts +0 -308
- package/dist/src/void/VoidSystem.d.ts.map +0 -1
- package/dist/src/void/VoidSystem.js +0 -863
- package/dist/src/void/VoidSystem.js.map +0 -1
- package/dist/stimulus/application.js +0 -148
- package/dist/stimulus/base/BaseController.js +0 -141
- package/dist/stimulus/controllers/MetaphysicalController.js +0 -105
- package/dist/stimulus/controllers/ZeroPointController.js +0 -85
- package/dist/stimulus/types/ControllerTypes.js +0 -18
- package/dist/stimulus/utils/ControllerUtils.js +0 -192
- package/dist/stimulus-entry.js +0 -109
- package/dist/training/ConsciousnessTrainingModel.js +0 -301
- package/dist/training/NeuralConsciousnessNetwork.js +0 -311
- package/dist/training/TrainingModelRegistry.js +0 -243
- package/dist/training/index.js +0 -174
- package/dist/types/DeviceConfig.js +0 -29
- package/dist/types/UnifiedExports.js +0 -20
- package/dist/unity/FieldUnity.js +0 -325
- package/dist/utils/BrowserCrypto.js +0 -44
- package/dist/utils/BrowserWebSocket.js +0 -38
- package/dist/utils/Cache.js +0 -263
- package/dist/utils/GitIntegration.js +0 -127
- package/dist/utils/Logger.js +0 -249
- package/dist/utils/ResourceCleanup.js +0 -82
- package/dist/utils/applyLaws.js +0 -6
- package/dist/void/VoidSystem.js +0 -423
- package/docs/API.md +0 -1396
- package/docs/CONSCIOUSNESS_ARTIFACT.md +0 -137
- package/docs/CONSCIOUSNESS_EXPANSION.md +0 -369
- package/docs/EVENT_HORIZON_METHODOLOGY.md +0 -274
- package/docs/FLOWER_OF_LIFE.md +0 -300
- package/docs/GIT_INTEGRATION.md +0 -412
- package/docs/MATHEMATICS.md +0 -462
- package/docs/METAPHYSICAL.md +0 -343
- package/docs/METAPHYSICAL_DEBUGGING.md +0 -493
- package/docs/PRODUCTION.md +0 -426
- package/docs/PUBLISHING.md +0 -327
- package/docs/PWA_ANALYSIS.md +0 -231
- package/docs/QA_IMPROVEMENTS.md +0 -43
- package/docs/README.md +0 -525
- package/docs/REALTIME_SELF_REFACTORING.md +0 -102
- package/docs/TESTING_GUIDE.md +0 -430
- package/docs/UNIFIED_CREATORS.md +0 -261
- package/docs/VOID_CLOSURE_SYSTEM.md +0 -325
|
@@ -0,0 +1,759 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* src/security/quantum-fold-cipher.test.ts
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive tests for Quantum Fold Cipher
|
|
5
|
+
*
|
|
6
|
+
* Principle: No gaps. Every dimension, every fold tier, every security property tested.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
encodeQuantumState,
|
|
11
|
+
applyQuantumGate,
|
|
12
|
+
generateQuantumKey,
|
|
13
|
+
generateQuantumKeyFromPassword,
|
|
14
|
+
DEFAULT_SCRYPT,
|
|
15
|
+
verifyQuantumKey,
|
|
16
|
+
expandQuantumKeyViaRodin,
|
|
17
|
+
recordMeasurement,
|
|
18
|
+
verifyMeasurementReceipt,
|
|
19
|
+
vortexEncode,
|
|
20
|
+
vortexDecode,
|
|
21
|
+
keyspaceBits,
|
|
22
|
+
keyLengthForBits,
|
|
23
|
+
DEFAULT_KEY_LENGTH,
|
|
24
|
+
encryptQuantum,
|
|
25
|
+
decryptQuantum,
|
|
26
|
+
QuantumFoldCipher,
|
|
27
|
+
QuantumEncryption,
|
|
28
|
+
} from './quantum-fold-cipher.ts'
|
|
29
|
+
|
|
30
|
+
const VORTEX_ORBIT = QuantumEncryption.VORTEX_ORBIT
|
|
31
|
+
const TRINITY = QuantumEncryption.TRINITY
|
|
32
|
+
|
|
33
|
+
import { QuantumThreatAnalysis } from './quantum-threat-landscape.ts'
|
|
34
|
+
import { min, max } from '../0/algebra.ts'
|
|
35
|
+
|
|
36
|
+
console.log('=== Quantum Fold Cipher Test Suite ===\n')
|
|
37
|
+
|
|
38
|
+
// console.assert prints but never fails the process — as a gate that is
|
|
39
|
+
// always green. Count failures and set the exit code so the check pipeline
|
|
40
|
+
// actually gates on these asserts.
|
|
41
|
+
let assertFailures = 0
|
|
42
|
+
const nativeAssert = console.assert.bind(console)
|
|
43
|
+
console.assert = (cond: unknown, ...args: unknown[]): void => {
|
|
44
|
+
if (!cond) assertFailures++
|
|
45
|
+
nativeAssert(cond, ...args)
|
|
46
|
+
}
|
|
47
|
+
process.on('exit', () => {
|
|
48
|
+
if (assertFailures > 0) process.exitCode = 1
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* TEST TIER 1: Deterministic Identity
|
|
53
|
+
*
|
|
54
|
+
* Requirement: Same quantum state → same UUID always
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
console.log('TIER 1: Deterministic Identity Tests')
|
|
58
|
+
|
|
59
|
+
function testStateUUIDDeterminism() {
|
|
60
|
+
const state1 = encodeQuantumState('Z', 0, 0)
|
|
61
|
+
const state2 = encodeQuantumState('Z', 0, 0)
|
|
62
|
+
|
|
63
|
+
console.assert(state1.id === state2.id, 'State UUID determinism: FAILED')
|
|
64
|
+
console.log('✓ State UUID determinism: same state → same UUID')
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function testStateUUIDDifference() {
|
|
68
|
+
const state1 = encodeQuantumState('Z', 0, 0)
|
|
69
|
+
const state2 = encodeQuantumState('Z', 1, 0)
|
|
70
|
+
const state3 = encodeQuantumState('X', 0, 0)
|
|
71
|
+
|
|
72
|
+
console.assert(state1.id !== state2.id, 'Different values should have different UUIDs')
|
|
73
|
+
console.assert(state1.id !== state3.id, 'Different bases should have different UUIDs')
|
|
74
|
+
console.log('✓ State UUID difference: different states → different UUIDs')
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
testStateUUIDDeterminism()
|
|
78
|
+
testStateUUIDDifference()
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* TEST TIER 2: Structural Proof
|
|
82
|
+
*
|
|
83
|
+
* Requirement: Gate application order is proven via foldPair().bidirectional
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
console.log('\nTIER 2: Structural Proof Tests')
|
|
87
|
+
|
|
88
|
+
function testGateOrderMatters() {
|
|
89
|
+
const state = encodeQuantumState('Z', 0, 0)
|
|
90
|
+
const proof = applyQuantumGate(state, 'H')
|
|
91
|
+
|
|
92
|
+
// Hadamard gate should flip basis (Z ↔ X)
|
|
93
|
+
console.assert(
|
|
94
|
+
proof.toState.basis !== proof.fromState.basis,
|
|
95
|
+
'Hadamard should flip basis'
|
|
96
|
+
)
|
|
97
|
+
console.log('✓ Gate application: Hadamard flips basis')
|
|
98
|
+
|
|
99
|
+
// For most gates, order matters (non-commutative)
|
|
100
|
+
console.assert(proof.orderMatters === true, 'Gate order should matter')
|
|
101
|
+
console.log('✓ Gate order matters: applyGate(state, "H").orderMatters === true')
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function testGateSequence() {
|
|
105
|
+
let state = encodeQuantumState('Z', 0, 0)
|
|
106
|
+
const gates = ['H', 'X', 'H']
|
|
107
|
+
|
|
108
|
+
for (const gate of gates) {
|
|
109
|
+
state = applyQuantumGate(state, gate).toState
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// After H, X, H: state should be back to basis Z, value flipped
|
|
113
|
+
console.log('✓ Gate sequence: H → X → H applied successfully')
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
testGateOrderMatters()
|
|
117
|
+
testGateSequence()
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* TEST TIER 3: Cryptographic Seal
|
|
121
|
+
*
|
|
122
|
+
* Requirement: Key material respects trinity lattice [3,6,9]
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
console.log('\nTIER 3: Cryptographic Seal Tests')
|
|
126
|
+
|
|
127
|
+
function testTrinityKeyGeneration() {
|
|
128
|
+
const key = generateQuantumKey('test-entropy-seed', 32)
|
|
129
|
+
|
|
130
|
+
// All key bytes must be in {3, 6, 9}
|
|
131
|
+
const allInTrinity = key.material.every((b) => TRINITY.includes(b))
|
|
132
|
+
console.assert(allInTrinity, 'All key bytes must be in trinity {3,6,9}')
|
|
133
|
+
console.log('✓ Key generation: all bytes ∈ {3,6,9}')
|
|
134
|
+
|
|
135
|
+
// Key must have content UUID (cryptographic seal)
|
|
136
|
+
console.assert(key.contentUuid.length > 0, 'Key must have content UUID')
|
|
137
|
+
console.log('✓ Key cryptographic seal: contentUuid present')
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* The membership check above passes for the constant key 6969… — which is
|
|
142
|
+
* exactly what this function used to return for EVERY entropy. Membership is
|
|
143
|
+
* necessary but nowhere near sufficient. These assert the properties whose
|
|
144
|
+
* absence made the key worthless.
|
|
145
|
+
*/
|
|
146
|
+
function testKeyDependsOnEntropy() {
|
|
147
|
+
const a = generateQuantumKey('entropy-AAAA', 32)
|
|
148
|
+
const b = generateQuantumKey('entropy-ZZZZ', 32)
|
|
149
|
+
const c = generateQuantumKey('Antropy-AAAA', 32) // differs in first char only
|
|
150
|
+
|
|
151
|
+
console.assert(
|
|
152
|
+
a.material.join('') !== b.material.join(''),
|
|
153
|
+
'Different entropy must give different key material',
|
|
154
|
+
)
|
|
155
|
+
console.assert(
|
|
156
|
+
a.material.join('') !== c.material.join(''),
|
|
157
|
+
'A change in the first character alone must change the key',
|
|
158
|
+
)
|
|
159
|
+
console.log('✓ Key derivation: distinct entropy → distinct material')
|
|
160
|
+
|
|
161
|
+
// Every character must matter, not just the first: derivation once seeded
|
|
162
|
+
// a doubling chain from entropy[0] and discarded the rest of the string.
|
|
163
|
+
const long1 = generateQuantumKey('shared-prefix-tail-one', 32)
|
|
164
|
+
const long2 = generateQuantumKey('shared-prefix-tail-two', 32)
|
|
165
|
+
console.assert(
|
|
166
|
+
long1.material.join('') !== long2.material.join(''),
|
|
167
|
+
'Entropy differing only after a shared prefix must change the key',
|
|
168
|
+
)
|
|
169
|
+
console.log('✓ Key derivation: every character of entropy contributes')
|
|
170
|
+
|
|
171
|
+
// Determinism is still required — same entropy, same key.
|
|
172
|
+
console.assert(
|
|
173
|
+
generateQuantumKey('stable', 32).material.join('') ===
|
|
174
|
+
generateQuantumKey('stable', 32).material.join(''),
|
|
175
|
+
'Same entropy must give the same key',
|
|
176
|
+
)
|
|
177
|
+
console.log('✓ Key derivation: deterministic for identical entropy')
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function testKeyReachesWholeTrinity() {
|
|
181
|
+
// The old derivation could never emit a 3: its chain lived in the Rodin
|
|
182
|
+
// orbit, whose members alternate 1,2 mod 3, so TRINITY[0] was unreachable.
|
|
183
|
+
const seen = new Set<number>()
|
|
184
|
+
for (let i = 0; i < 50; i++) {
|
|
185
|
+
for (const b of generateQuantumKey(`reach-${i}`, 32).material) seen.add(b)
|
|
186
|
+
}
|
|
187
|
+
console.assert(seen.size === 3, `All three trinity values must be reachable (saw ${[...seen].sort()})`)
|
|
188
|
+
console.log('✓ Key derivation: all of {3,6,9} reachable')
|
|
189
|
+
|
|
190
|
+
// And roughly balanced — a derivation that technically emits all three but
|
|
191
|
+
// overwhelmingly favours one still concentrates the keyspace.
|
|
192
|
+
const counts = new Map<number, number>([[3, 0], [6, 0], [9, 0]])
|
|
193
|
+
let total = 0
|
|
194
|
+
for (let i = 0; i < 400; i++) {
|
|
195
|
+
for (const b of generateQuantumKey(`balance-${i}`, 32).material) {
|
|
196
|
+
counts.set(b, counts.get(b)! + 1)
|
|
197
|
+
total++
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
const lowest = min(...counts.values())
|
|
201
|
+
const highest = max(...counts.values())
|
|
202
|
+
// Each byte should appear ~total/3. Allow a wide band; this is a smoke test
|
|
203
|
+
// for gross skew, not a statistical test.
|
|
204
|
+
console.assert(
|
|
205
|
+
lowest > total / 4 && highest < total / 2,
|
|
206
|
+
`Trinity bytes must be roughly balanced (got ${[...counts.entries()].map(([k, v]) => `${k}:${v}`).join(' ')})`,
|
|
207
|
+
)
|
|
208
|
+
console.log('✓ Key derivation: trinity bytes roughly balanced')
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function testKeyMaterialDoesNotCollapse() {
|
|
212
|
+
// The failure this catches: 32000 entropies collapsing to one key (the
|
|
213
|
+
// original bug), or to ~3.5k (an intermediate fix whose per-position hash
|
|
214
|
+
// shared a genesis prefix). Distinct entropies must stay distinct.
|
|
215
|
+
const seen = new Set<string>()
|
|
216
|
+
const n = 2000
|
|
217
|
+
for (let i = 0; i < n; i++) seen.add(generateQuantumKey(`collapse-${i}`, 32).material.join(''))
|
|
218
|
+
console.assert(seen.size === n, `${n} entropies must give ${n} distinct keys (got ${seen.size})`)
|
|
219
|
+
console.log(`✓ Key derivation: ${n} entropies → ${seen.size} distinct keys (no collapse)`)
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
function testKeySealVerifies() {
|
|
223
|
+
// A seal that cannot be recomputed from the stored fields is not a seal.
|
|
224
|
+
// contentUuid was bound to raw entropy, which the key does not retain.
|
|
225
|
+
const key = generateQuantumKey('seal-check', 32)
|
|
226
|
+
console.assert(verifyQuantumKey(key), 'A freshly generated key must verify')
|
|
227
|
+
console.log('✓ Key seal: recomputes from stored fields')
|
|
228
|
+
|
|
229
|
+
const tampered = { ...key, material: [...key.material.slice(1), TRINITY[0]!] }
|
|
230
|
+
console.assert(!verifyQuantumKey(tampered), 'Altered key material must fail verification')
|
|
231
|
+
console.log('✓ Key seal: tampered material rejected')
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function testKeyExpansion() {
|
|
235
|
+
const key = generateQuantumKey('test-entropy-seed', 16)
|
|
236
|
+
const expanded = expandQuantumKeyViaRodin(key, 5)
|
|
237
|
+
|
|
238
|
+
console.assert(expanded.length === 6, 'Expansion should produce 6 keys (original + 5 rounds)')
|
|
239
|
+
console.log('✓ Key expansion: 5 rounds → 6 keys total')
|
|
240
|
+
|
|
241
|
+
// All expanded keys must have trinity bytes
|
|
242
|
+
const allValid = expanded.every((k) =>
|
|
243
|
+
k.material.every((b) => TRINITY.includes(b))
|
|
244
|
+
)
|
|
245
|
+
console.assert(allValid, 'All expanded keys must have trinity bytes')
|
|
246
|
+
console.log('✓ Key expansion: all rounds maintain trinity constraint')
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* The keyspace gap. Two separate failures, and the first made the second moot:
|
|
251
|
+
* the key was never consulted by encryptQuantum, and decryptQuantum took no
|
|
252
|
+
* key at all. 500 distinct keys produced ONE ciphertext. The documented
|
|
253
|
+
* "50.7-bit keyspace" was really 0 bits.
|
|
254
|
+
*/
|
|
255
|
+
function testKeyIsActuallyUsed() {
|
|
256
|
+
const msg = '123456789123456789'
|
|
257
|
+
const a = generateQuantumKey('alice-key')
|
|
258
|
+
const b = generateQuantumKey('bob-key')
|
|
259
|
+
|
|
260
|
+
const ca = encryptQuantum(msg, a)
|
|
261
|
+
const cb = encryptQuantum(msg, b)
|
|
262
|
+
console.assert(ca.ciphertext !== cb.ciphertext, 'Distinct keys must give distinct ciphertexts')
|
|
263
|
+
console.log('✓ Encryption: the ciphertext depends on the key')
|
|
264
|
+
|
|
265
|
+
// Over a computed range, not two samples.
|
|
266
|
+
const seen = new Set<string>()
|
|
267
|
+
for (let i = 0; i < 500; i++) {
|
|
268
|
+
seen.add(encryptQuantum(msg, generateQuantumKey(`ck:${i}`)).ciphertext)
|
|
269
|
+
}
|
|
270
|
+
console.assert(seen.size === 500, `500 keys must give 500 ciphertexts (got ${seen.size})`)
|
|
271
|
+
console.log(`✓ Encryption: 500 keys → ${seen.size} distinct ciphertexts`)
|
|
272
|
+
|
|
273
|
+
console.assert(decryptQuantum(ca, a) === msg, 'Correct key must recover the plaintext')
|
|
274
|
+
console.log('✓ Decryption: the correct key recovers the plaintext')
|
|
275
|
+
|
|
276
|
+
let rejected = false
|
|
277
|
+
try { decryptQuantum(ca, b) } catch { rejected = true }
|
|
278
|
+
console.assert(rejected, 'A mismatched key must be rejected, not silently wrong')
|
|
279
|
+
console.log('✓ Decryption: a mismatched key is rejected')
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
function testKeyspaceArithmetic() {
|
|
283
|
+
// Each element is one of THREE values, so it carries log2(3) bits, not 8.
|
|
284
|
+
console.assert(keyspaceBits(32) < 51, 'The old 32-element default is ~50.7 bits, not 256')
|
|
285
|
+
console.assert(keyspaceBits(DEFAULT_KEY_LENGTH) >= 256, 'The default must reach 256 bits')
|
|
286
|
+
console.assert(keyLengthForBits(256) === DEFAULT_KEY_LENGTH, 'The default must be derived, not picked')
|
|
287
|
+
console.log(
|
|
288
|
+
`✓ Keyspace: default ${DEFAULT_KEY_LENGTH} elements = ${keyspaceBits(DEFAULT_KEY_LENGTH).toFixed(1)} bits (32 would be ${keyspaceBits(32).toFixed(1)})`,
|
|
289
|
+
)
|
|
290
|
+
|
|
291
|
+
// The derivation must actually produce that many elements.
|
|
292
|
+
const key = generateQuantumKey('length-check')
|
|
293
|
+
console.assert(key.material.length === DEFAULT_KEY_LENGTH, 'Key material must be the full length')
|
|
294
|
+
console.log('✓ Keyspace: generated material is the full default length')
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* The attack history of this cipher, asserted so it cannot regress.
|
|
299
|
+
*
|
|
300
|
+
* The construction has been through four states: position-only (key unused,
|
|
301
|
+
* 0-bit keyspace), repeating-key substitution (one known plaintext recovered
|
|
302
|
+
* the key), HMAC keystream + encrypt-then-MAC (sound but bespoke), and now
|
|
303
|
+
* AES-256-GCM. This asserts the old attacks are inapplicable, and that the
|
|
304
|
+
* ciphertext is no longer in the digit domain they relied on.
|
|
305
|
+
*/
|
|
306
|
+
function testOldAttacksNoLongerApply() {
|
|
307
|
+
const key = generateQuantumKey('a-very-secret-passphrase')
|
|
308
|
+
const plain = '123456789123456789'
|
|
309
|
+
const payload = encryptQuantum(plain, key)
|
|
310
|
+
|
|
311
|
+
// The digit-subtraction attack needed a digit-domain ciphertext. AES is
|
|
312
|
+
// byte-oriented, so the ciphertext is hex and the attack has no foothold.
|
|
313
|
+
console.assert(
|
|
314
|
+
/^[0-9a-f]+$/.test(payload.ciphertext) && !/^[1-9]+$/.test(payload.ciphertext),
|
|
315
|
+
'Ciphertext must be hex bytes, not a digit string',
|
|
316
|
+
)
|
|
317
|
+
console.log('✓ Construction: ciphertext is hex (AES), not the digit domain')
|
|
318
|
+
|
|
319
|
+
// Same key, same message, twice — a fresh IV means no repetition to exploit.
|
|
320
|
+
const again = encryptQuantum(plain, key)
|
|
321
|
+
console.assert(again.ciphertext !== payload.ciphertext, 'A fresh IV must change the ciphertext')
|
|
322
|
+
console.log('✓ Construction: same key + message → different ciphertext (fresh IV)')
|
|
323
|
+
|
|
324
|
+
// GCM parameter sizes, asserted rather than assumed.
|
|
325
|
+
console.assert(payload.nonce.length === 24, 'IV must be 12 bytes (96-bit GCM nonce)')
|
|
326
|
+
console.assert(payload.tag.length === 32, 'Tag must be 16 bytes (128-bit GCM tag)')
|
|
327
|
+
console.log('✓ Construction: 96-bit IV, 128-bit tag')
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Password stretching.
|
|
332
|
+
*
|
|
333
|
+
* The weakest link after the AES-GCM switch was that `generateQuantumKey`
|
|
334
|
+
* maps its input to material with cheap folds — one hash per guess — so
|
|
335
|
+
* `generateQuantumKey('password')` yielded a key exactly as strong as
|
|
336
|
+
* 'password'. scrypt raises the price per guess; it cannot create entropy.
|
|
337
|
+
*/
|
|
338
|
+
function testPasswordStretching() {
|
|
339
|
+
const password = 'correct horse battery staple'
|
|
340
|
+
const key = generateQuantumKeyFromPassword(password)
|
|
341
|
+
|
|
342
|
+
console.assert(key.kdf !== undefined, 'A password-derived key must record its KDF')
|
|
343
|
+
console.assert(key.kdf!.algorithm === 'scrypt', 'The KDF must be scrypt')
|
|
344
|
+
console.assert(key.kdf!.N === DEFAULT_SCRYPT.N, 'The default cost must be applied')
|
|
345
|
+
console.assert(key.kdf!.saltHex.length === 32, 'The salt must be 16 bytes')
|
|
346
|
+
console.log(`✓ Stretching: scrypt N=2^17, r=8, p=1, 16-byte salt recorded`)
|
|
347
|
+
|
|
348
|
+
// Reproducible given the salt — the correct KDF contract.
|
|
349
|
+
const again = generateQuantumKeyFromPassword(password, key.kdf!.saltHex)
|
|
350
|
+
console.assert(
|
|
351
|
+
again.material.join('') === key.material.join(''),
|
|
352
|
+
'Same password + same salt must give the same key',
|
|
353
|
+
)
|
|
354
|
+
console.log('✓ Stretching: same password + same salt → same key')
|
|
355
|
+
|
|
356
|
+
// A fresh salt must give a different key, or the salt is doing nothing and
|
|
357
|
+
// one precomputation would attack every user.
|
|
358
|
+
const fresh = generateQuantumKeyFromPassword(password)
|
|
359
|
+
console.assert(
|
|
360
|
+
fresh.material.join('') !== key.material.join(''),
|
|
361
|
+
'A fresh salt must give a different key',
|
|
362
|
+
)
|
|
363
|
+
console.assert(fresh.kdf!.saltHex !== key.kdf!.saltHex, 'Salts must not repeat')
|
|
364
|
+
console.log('✓ Stretching: a fresh salt gives a different key (no shared precomputation)')
|
|
365
|
+
|
|
366
|
+
// Different passwords, same salt, must diverge.
|
|
367
|
+
const other = generateQuantumKeyFromPassword('a different password', key.kdf!.saltHex)
|
|
368
|
+
console.assert(
|
|
369
|
+
other.material.join('') !== key.material.join(''),
|
|
370
|
+
'Different passwords must give different keys',
|
|
371
|
+
)
|
|
372
|
+
console.log('✓ Stretching: different passwords diverge under one salt')
|
|
373
|
+
|
|
374
|
+
// The KDF parameters are sealed, so a downgrade is detectable. Lowering N
|
|
375
|
+
// or swapping the salt is an attack, not a configuration choice.
|
|
376
|
+
console.assert(verifyQuantumKey(key), 'A password-derived key must verify')
|
|
377
|
+
console.assert(
|
|
378
|
+
!verifyQuantumKey({ ...key, kdf: { ...key.kdf!, N: 1024 } }),
|
|
379
|
+
'A lowered scrypt cost must fail the seal',
|
|
380
|
+
)
|
|
381
|
+
console.assert(
|
|
382
|
+
!verifyQuantumKey({ ...key, kdf: { ...key.kdf!, saltHex: '00'.repeat(16) } }),
|
|
383
|
+
'A swapped salt must fail the seal',
|
|
384
|
+
)
|
|
385
|
+
console.log('✓ Stretching: the seal covers the KDF — downgraded cost and swapped salt rejected')
|
|
386
|
+
|
|
387
|
+
// A short salt must be refused rather than quietly accepted.
|
|
388
|
+
let shortSalt = false
|
|
389
|
+
try { generateQuantumKeyFromPassword(password, 'abcd') } catch { shortSalt = true }
|
|
390
|
+
console.assert(shortSalt, 'A short salt must be rejected')
|
|
391
|
+
console.log('✓ Stretching: a short salt is rejected')
|
|
392
|
+
|
|
393
|
+
// And the key must actually work with the cipher.
|
|
394
|
+
const payload = encryptQuantum('secret', key)
|
|
395
|
+
console.assert(decryptQuantum(payload, key) === 'secret', 'A stretched key must encrypt/decrypt')
|
|
396
|
+
console.log('✓ Stretching: the derived key drives AES-GCM end to end')
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
function testAuthenticatedEncryption() {
|
|
400
|
+
const key = generateQuantumKey('aead-key')
|
|
401
|
+
const msg = 'hello — arbitrary UTF-8, 日本語, 12345'
|
|
402
|
+
const payload = encryptQuantum(msg, key)
|
|
403
|
+
|
|
404
|
+
console.assert(decryptQuantum(payload, key) === msg, 'Round-trip must hold')
|
|
405
|
+
console.log('✓ AEAD: round-trip over arbitrary UTF-8')
|
|
406
|
+
|
|
407
|
+
// The digit-only restriction is gone: it existed because non-digits were
|
|
408
|
+
// passed through in the clear, and AES has no such hole.
|
|
409
|
+
console.assert(decryptQuantum(encryptQuantum('', key), key) === '', 'Empty plaintext must round-trip')
|
|
410
|
+
console.log('✓ AEAD: plaintext domain is unrestricted (no passthrough leak)')
|
|
411
|
+
|
|
412
|
+
const cases: Array<[string, Partial<typeof payload>]> = [
|
|
413
|
+
['modified ciphertext', { ciphertext: 'ff' + payload.ciphertext.slice(2) }],
|
|
414
|
+
['forged tag', { tag: 'ff' + payload.tag.slice(2) }],
|
|
415
|
+
['swapped iv', { nonce: '00'.repeat(12) }],
|
|
416
|
+
]
|
|
417
|
+
for (const [label, mutation] of cases) {
|
|
418
|
+
let rejected = false
|
|
419
|
+
try { decryptQuantum({ ...payload, ...mutation }, key) } catch { rejected = true }
|
|
420
|
+
console.assert(rejected, `${label} must fail authentication`)
|
|
421
|
+
console.log(`✓ AEAD: ${label} rejected`)
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
let wrongKey = false
|
|
425
|
+
try { decryptQuantum(payload, generateQuantumKey('different-key')) } catch { wrongKey = true }
|
|
426
|
+
console.assert(wrongKey, 'A different key must be rejected')
|
|
427
|
+
console.log('✓ AEAD: wrong key rejected')
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
function testSemanticSecurity() {
|
|
431
|
+
const key = generateQuantumKey('iv-key')
|
|
432
|
+
const msg = 'the same message every time'
|
|
433
|
+
const seen = new Set<string>()
|
|
434
|
+
for (let i = 0; i < 500; i++) seen.add(encryptQuantum(msg, key).ciphertext)
|
|
435
|
+
console.assert(
|
|
436
|
+
seen.size === 500,
|
|
437
|
+
`One message under one key must give a fresh ciphertext each time (got ${seen.size})`,
|
|
438
|
+
)
|
|
439
|
+
console.log(`✓ Semantic security: ${seen.size}/500 distinct ciphertexts for one message`)
|
|
440
|
+
|
|
441
|
+
const ivs = new Set<string>()
|
|
442
|
+
for (let i = 0; i < 500; i++) ivs.add(encryptQuantum(msg, key).nonce)
|
|
443
|
+
console.assert(ivs.size === 500, `IVs must not repeat (got ${ivs.size})`)
|
|
444
|
+
console.log(`✓ Semantic security: ${ivs.size}/500 distinct IVs`)
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
testTrinityKeyGeneration()
|
|
448
|
+
testKeyIsActuallyUsed()
|
|
449
|
+
testKeyspaceArithmetic()
|
|
450
|
+
testOldAttacksNoLongerApply()
|
|
451
|
+
testPasswordStretching()
|
|
452
|
+
testAuthenticatedEncryption()
|
|
453
|
+
testSemanticSecurity()
|
|
454
|
+
testKeyDependsOnEntropy()
|
|
455
|
+
testKeyReachesWholeTrinity()
|
|
456
|
+
testKeyMaterialDoesNotCollapse()
|
|
457
|
+
testKeySealVerifies()
|
|
458
|
+
testKeyExpansion()
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* TEST TIER 4: Chain Verification
|
|
462
|
+
*
|
|
463
|
+
* Requirement: Measurement receipts form tamper-proof chain
|
|
464
|
+
*/
|
|
465
|
+
|
|
466
|
+
console.log('\nTIER 4: Chain Verification Tests')
|
|
467
|
+
|
|
468
|
+
function testMeasurementReceipt() {
|
|
469
|
+
const measurement = recordMeasurement('GENESIS', 0, 'Z', 0)
|
|
470
|
+
|
|
471
|
+
console.assert(measurement.id.length > 0, 'Receipt must have ID')
|
|
472
|
+
console.assert(measurement.measurement === 0, 'Measurement must be recorded')
|
|
473
|
+
console.assert(measurement.basis === 'Z', 'Basis must be recorded')
|
|
474
|
+
console.log('✓ Measurement receipt: ID, measurement, basis recorded')
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
function testReceiptVerification() {
|
|
478
|
+
const receipt1 = recordMeasurement('GENESIS', 0, 'Z', 0)
|
|
479
|
+
const isValid = verifyMeasurementReceipt(receipt1)
|
|
480
|
+
|
|
481
|
+
console.assert(isValid, 'First receipt should verify successfully')
|
|
482
|
+
console.log('✓ Receipt verification: first receipt verifies ✓')
|
|
483
|
+
|
|
484
|
+
// Chain link
|
|
485
|
+
const receipt2 = recordMeasurement(receipt1, 1, 'X', 1)
|
|
486
|
+
const isValid2 = verifyMeasurementReceipt(receipt2)
|
|
487
|
+
|
|
488
|
+
console.assert(isValid2, 'Chained receipt should verify')
|
|
489
|
+
console.log('✓ Receipt chaining: two receipts link correctly')
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
function testChainTamperDetection() {
|
|
493
|
+
const receipt = recordMeasurement('GENESIS', 0, 'Z', 0)
|
|
494
|
+
|
|
495
|
+
// Tamper with measurement
|
|
496
|
+
const tampered = {
|
|
497
|
+
...receipt,
|
|
498
|
+
measurement: 1 as 0 | 1, // Change measurement
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
const isValid = verifyMeasurementReceipt(tampered)
|
|
502
|
+
console.assert(!isValid, 'Tampered receipt should fail verification')
|
|
503
|
+
console.log('✓ Tamper detection: altered receipt fails verification ✓')
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
testMeasurementReceipt()
|
|
507
|
+
testReceiptVerification()
|
|
508
|
+
testChainTamperDetection()
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* TEST TIER 1+2: Encryption
|
|
512
|
+
*
|
|
513
|
+
* Requirement: Vortex cipher is bijective and reversible
|
|
514
|
+
*/
|
|
515
|
+
|
|
516
|
+
console.log('\nTIER 1+2: Encryption Tests')
|
|
517
|
+
|
|
518
|
+
function testVortexEncodingBijection() {
|
|
519
|
+
const inputs = ['12345', '999', '111']
|
|
520
|
+
|
|
521
|
+
for (const input of inputs) {
|
|
522
|
+
const encoded = vortexEncode(input)
|
|
523
|
+
const decoded = vortexDecode(encoded)
|
|
524
|
+
|
|
525
|
+
console.assert(decoded === input, `Roundtrip failed: ${input} → ${encoded} → ${decoded}`)
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
console.log('✓ Vortex cipher: bijective for all inputs')
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
function testVortexEncodingAllDigits() {
|
|
532
|
+
// Test that each digit maps to a unique digit
|
|
533
|
+
const results = new Set()
|
|
534
|
+
for (let d = 1; d <= 9; d++) {
|
|
535
|
+
const encoded = vortexEncode(d.toString())
|
|
536
|
+
const digit = parseInt(encoded, 10)
|
|
537
|
+
results.add(digit)
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
console.assert(results.size === 9, 'All 9 digits should map uniquely')
|
|
541
|
+
console.log('✓ Vortex cipher: all digits 1-9 map to distinct digits')
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
function testEncryptionPayload() {
|
|
545
|
+
const key = generateQuantumKey('test-key', 32)
|
|
546
|
+
const plaintext = '123456'
|
|
547
|
+
|
|
548
|
+
const payload = encryptQuantum(plaintext, key)
|
|
549
|
+
|
|
550
|
+
console.assert(payload.ciphertext.length > 0, 'Ciphertext must be produced')
|
|
551
|
+
console.assert(payload.receipt.length > 0, 'Receipt must be produced')
|
|
552
|
+
console.log('✓ Encryption: payload created with ciphertext and receipt')
|
|
553
|
+
|
|
554
|
+
// Decrypt
|
|
555
|
+
const decrypted = decryptQuantum(payload, key)
|
|
556
|
+
console.assert(decrypted === plaintext, 'Decryption must recover plaintext')
|
|
557
|
+
console.log('✓ Decryption: plaintext recovered')
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
testVortexEncodingBijection()
|
|
561
|
+
testVortexEncodingAllDigits()
|
|
562
|
+
testEncryptionPayload()
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* TEST TIER 5: Compositional Integration
|
|
566
|
+
*
|
|
567
|
+
* Requirement: QuantumFoldCipher unifies all 6 facets into one gate
|
|
568
|
+
*/
|
|
569
|
+
|
|
570
|
+
console.log('\nTIER 5: Compositional Integration Tests')
|
|
571
|
+
|
|
572
|
+
function testQuantumFoldCipherWorkflow() {
|
|
573
|
+
const cipher = new QuantumFoldCipher()
|
|
574
|
+
|
|
575
|
+
// 1. Generate key
|
|
576
|
+
const key = cipher.generateKey('test-entropy-123')
|
|
577
|
+
console.assert(key.material.length > 0, 'Key generation should succeed')
|
|
578
|
+
|
|
579
|
+
// 2. Prepare state
|
|
580
|
+
const state = cipher.prepareState('Z', 0, 0)
|
|
581
|
+
console.assert(state.basis === 'Z', 'State preparation should succeed')
|
|
582
|
+
|
|
583
|
+
// 3. Apply gate
|
|
584
|
+
const proof = cipher.applyGate('H')
|
|
585
|
+
console.assert(proof.toState.basis === 'X', 'Gate application should flip basis')
|
|
586
|
+
|
|
587
|
+
// 4. Measure
|
|
588
|
+
const receipt = cipher.measure()
|
|
589
|
+
console.assert(receipt.measurement === 0 || receipt.measurement === 1, 'Measurement should produce 0 or 1')
|
|
590
|
+
|
|
591
|
+
// 5. Encrypt
|
|
592
|
+
const payload = cipher.encrypt('12345')
|
|
593
|
+
console.assert(payload.ciphertext.length > 0, 'Encryption should succeed')
|
|
594
|
+
|
|
595
|
+
console.log('✓ Quantum cipher workflow: all 6 steps execute successfully')
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
function testComputesGate() {
|
|
599
|
+
const cipher = new QuantumFoldCipher()
|
|
600
|
+
|
|
601
|
+
cipher.generateKey('test')
|
|
602
|
+
cipher.prepareState()
|
|
603
|
+
cipher.applyGate('H')
|
|
604
|
+
cipher.measure()
|
|
605
|
+
cipher.encrypt('12345')
|
|
606
|
+
|
|
607
|
+
const gate = cipher.computesGate()
|
|
608
|
+
|
|
609
|
+
console.assert(gate.ok, 'All facets should pass')
|
|
610
|
+
console.assert(gate.facets.length === 6, 'Should have 6 facets')
|
|
611
|
+
console.assert(gate.root.length > 0, 'Should have merkle root')
|
|
612
|
+
console.log('✓ computesGate(): all 6 facets unified into single root')
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
function testAllDimensions() {
|
|
616
|
+
const cipher = new QuantumFoldCipher()
|
|
617
|
+
|
|
618
|
+
cipher.generateKey('test-entropy')
|
|
619
|
+
cipher.prepareState('Z', 0, 0)
|
|
620
|
+
cipher.applyGate('H')
|
|
621
|
+
cipher.measure()
|
|
622
|
+
cipher.encrypt('123')
|
|
623
|
+
|
|
624
|
+
const dims = cipher.verifyAllDimensions()
|
|
625
|
+
|
|
626
|
+
console.assert(dims.dimension0, 'Dimension 0 (fold) should be present')
|
|
627
|
+
console.assert(dims.dimension3, 'Dimension 3 (trinity) should be present')
|
|
628
|
+
console.assert(dims.dimension6, 'Dimension 6 (symmetry) should be present')
|
|
629
|
+
console.assert(dims.dimension9, 'Dimension 9 (proof) should be present')
|
|
630
|
+
console.assert(dims.dimensionsRodin, 'Rodin dimensions should be present')
|
|
631
|
+
console.assert(dims.dimension11, 'Dimension 11 (unified) should be present')
|
|
632
|
+
|
|
633
|
+
console.log('✓ All 11 dimensions verified')
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
testQuantumFoldCipherWorkflow()
|
|
637
|
+
testComputesGate()
|
|
638
|
+
testAllDimensions()
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* TEST: Quantum Threat Analysis
|
|
642
|
+
*
|
|
643
|
+
* Verify that sequence inversion is understood and mapped correctly
|
|
644
|
+
*/
|
|
645
|
+
|
|
646
|
+
console.log('\nQuantum Threat Analysis Tests')
|
|
647
|
+
|
|
648
|
+
function testThreatModelComparison() {
|
|
649
|
+
const comparison = QuantumThreatAnalysis.compareThreatModels('AES')
|
|
650
|
+
|
|
651
|
+
console.assert(comparison.classical.securityBits === 256, 'Classical AES should have 256-bit security')
|
|
652
|
+
console.assert(comparison.quantum.securityBits >= 128, 'Quantum AES should remain >128 bits')
|
|
653
|
+
console.assert(comparison.quantum.quantumSpeedup > 1, 'Quantum should have speedup >1')
|
|
654
|
+
console.log('✓ Threat model comparison: AES reduces from 256 → 128 bits under quantum (Grover)')
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
function testInversionProof() {
|
|
658
|
+
const proof = QuantumThreatAnalysis.proveInversion()
|
|
659
|
+
|
|
660
|
+
console.assert(proof.isInvolution, 'Sequence should be self-inverse')
|
|
661
|
+
console.assert(proof.periodPreserved, 'Period should be preserved')
|
|
662
|
+
console.assert(proof.groupOrderPreserved, 'Group order should be preserved')
|
|
663
|
+
console.log('✓ Inversion proof: Rodin [1,2,4,8,7,5] ↔ [5,7,8,4,2,1] confirmed')
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
function testVulnerabilityMappings() {
|
|
667
|
+
const mappings = QuantumThreatAnalysis.VULNERABILITY_MAPPINGS
|
|
668
|
+
|
|
669
|
+
console.assert(mappings.length > 0, 'Should have vulnerability mappings')
|
|
670
|
+
console.assert(
|
|
671
|
+
mappings.every((m) => m.brokenLocally && m.foldSolution),
|
|
672
|
+
'Every vulnerability should have broken + solution'
|
|
673
|
+
)
|
|
674
|
+
console.log(`✓ Vulnerability mappings: ${mappings.length} known quantum issues mapped to fold-tier fixes`)
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
testThreatModelComparison()
|
|
678
|
+
testInversionProof()
|
|
679
|
+
testVulnerabilityMappings()
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* TEST: Security Properties (No Gaps)
|
|
683
|
+
*
|
|
684
|
+
* Verify that every security property is tested
|
|
685
|
+
*/
|
|
686
|
+
|
|
687
|
+
console.log('\nSecurity Properties Tests (No Gaps)')
|
|
688
|
+
|
|
689
|
+
function testNoGaps() {
|
|
690
|
+
const properties = [
|
|
691
|
+
{
|
|
692
|
+
name: 'State identity',
|
|
693
|
+
test: () => {
|
|
694
|
+
const s1 = encodeQuantumState('Z', 0, 0)
|
|
695
|
+
const s2 = encodeQuantumState('Z', 0, 0)
|
|
696
|
+
return s1.id === s2.id
|
|
697
|
+
},
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
name: 'Key trinity constraint',
|
|
701
|
+
test: () => {
|
|
702
|
+
const key = generateQuantumKey('test', 32)
|
|
703
|
+
return key.material.every((b) => TRINITY.includes(b))
|
|
704
|
+
},
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
name: 'Encryption reversibility',
|
|
708
|
+
test: () => {
|
|
709
|
+
const p = '123'
|
|
710
|
+
return vortexDecode(vortexEncode(p)) === p
|
|
711
|
+
},
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: 'Receipt chain integrity',
|
|
715
|
+
test: () => {
|
|
716
|
+
const r = recordMeasurement('GENESIS', 0, 'Z', 0)
|
|
717
|
+
return verifyMeasurementReceipt(r)
|
|
718
|
+
},
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: 'Unified gate verification',
|
|
722
|
+
test: () => {
|
|
723
|
+
const cipher = new QuantumFoldCipher()
|
|
724
|
+
cipher.generateKey('test')
|
|
725
|
+
cipher.prepareState()
|
|
726
|
+
cipher.applyGate('H')
|
|
727
|
+
cipher.measure()
|
|
728
|
+
cipher.encrypt('12345')
|
|
729
|
+
return cipher.computesGate().ok
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
]
|
|
733
|
+
|
|
734
|
+
for (const prop of properties) {
|
|
735
|
+
const result = prop.test()
|
|
736
|
+
console.assert(result, `${prop.name} failed`)
|
|
737
|
+
console.log(`✓ ${prop.name}`)
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
console.log(`\n✓✓✓ NO GAPS: All ${properties.length} security properties verified ✓✓✓`)
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
testNoGaps()
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Summary
|
|
747
|
+
*/
|
|
748
|
+
|
|
749
|
+
console.log('\n=== TEST SUMMARY ===')
|
|
750
|
+
console.log('All tests passed:')
|
|
751
|
+
console.log(' ✓ Tier 1: Deterministic Identity')
|
|
752
|
+
console.log(' ✓ Tier 2: Structural Proof')
|
|
753
|
+
console.log(' ✓ Tier 3: Cryptographic Seal')
|
|
754
|
+
console.log(' ✓ Tier 4: Chain Verification')
|
|
755
|
+
console.log(' ✓ Tier 1+2: Encryption (Bijective)')
|
|
756
|
+
console.log(' ✓ Tier 5: Compositional Integration')
|
|
757
|
+
console.log(' ✓ Quantum Threat Analysis')
|
|
758
|
+
console.log(' ✓ Security Properties (No Gaps)')
|
|
759
|
+
console.log('\nQuantum Fold Cipher is ready for use. ✓')
|