spi-parallel-verify

Verify Strong Parallelism Invariance (SPI) and GF(3) conservation for 3-way color streams with arbitrary precision.

16 stars

Best use case

spi-parallel-verify is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Verify Strong Parallelism Invariance (SPI) and GF(3) conservation for 3-way color streams with arbitrary precision.

Teams using spi-parallel-verify should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/spi-parallel-verify/SKILL.md --create-dirs "https://raw.githubusercontent.com/plurigrid/asi/main/ies/music-topos/.claude-marketplaces/topos-skills/plugins/topos-skills/skills/spi-parallel-verify/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/spi-parallel-verify/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How spi-parallel-verify Compares

Feature / Agentspi-parallel-verifyStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Verify Strong Parallelism Invariance (SPI) and GF(3) conservation for 3-way color streams with arbitrary precision.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# SPI Parallel Verify

Use when validating that parallel, shuffled, or split execution yields identical results.

## Inputs
- seed, indices, precision
- sources (optional): splitmix_ternary, xoroshiro_3color, gay_mcp

## Workflow
1. Compute ordered, reversed, shuffled results.
2. Compute parallel split if available.
3. Compare at fixed precision or via hex.
4. Validate GF(3) per triplet.
5. Emit a deterministic report.

## Commands (music-topos)
- `just spi-verify`
- `just spi-gf3-parallel`
- `ruby -I lib -r splitmix_ternary -e "require 'json'; puts JSON.pretty_generate(SplitMixTernary.prove_out_of_order)"`

## Acceptance
- ordered == reversed == shuffled
- parallel == sequential
- gf3_ok == true
- avoid float truncation of RNG state

## Report fields
- seed, indices, all_equal, parallel_ok, gf3_ok, precision

## Example prompt
"Verify SPI and GF(3) for 3-stream triads at seed 0x42D and report determinism."