Skip to content

LLM orchestration, AI-native framework, Tree-of-Thought, agentic workflows, dual-scientist debate, reproducible R&D, SBOM, provenance, continuous evaluation, risk tiers, Spark Structured Streaming, Delta Lake, MLOps, evaluation gates.

License

Notifications You must be signed in to change notification settings

lazyxeon/Genesis-Code-Protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genesis Code Protocol (GCP) — V50 Flagship

GCP V50 Flagship — the next‑generation AI‑native invention protocol. This release supersedes the V49 Flagship edition, integrating autonomous spark generation and refined governance & compliance frameworks. A capable LLM can follow these steps to transform a vague "spark" into a reproducible, auditable invention package with provenance and a verifiable exit wizard.

Auto-merge Dependabot PRs Auto Release Build and Push GHCR Image CodeQL Dependency Review Dependency Submission Docs Build Docker Build Docker Debug Build Generate Changelog Generate SBOM Markdown Lint Matrix CI OpenSSF Scorecard pre-commit Python CI Release Bundle Release Drafter Sign Release Artifacts Security Scan Trigger All Workflows Update Repo Structure Update TOC File Validate Notebooks EthicalCheck-Workflow

License: MIT Python Stars Forks Issues Pull Requests Last Commit Code Size Contributors

Codacy Security Scan Fortify AST Scan

Code Style: black Type Checking: mypy Tests: pytest Docs Container OpenSSF Scorecard Release Ruff

Quick nav: What’s NewDocument LinksQuick StartPhase MapRunners & CartridgesArtifactsSecurityLimitationsLicenseRepo StructureGCP Wiki


What’s New

  • Autonomous spark generation (I‑1): V50 introduces an optional I‑1 phase for collaborative brainstorming. When no problem spark is provided, the protocol generates a high‑value problem based on a domain interest and returns a brief for user approval. Architect‑led (spark_provided) flows remain supported.
  • Unified bootstrap: The bootstrap phase clarifies mode, startup_mode, run_id and workdir parameters. Hard rules enforce phase order and gate cards.
  • Governance & compliance mapping: V50 maps directly to NIST AI RMF, ISO/IEC 42001, the EU AI Act and FinOps/Sustainability standards.
  • Extended runners & phases: Additional runners support privacy & DP evaluation, MITRE ATLAS threat modelling, FinOps, SBOM & ML‑BOM generation, C2PA credentials and EU AI Act technical documentation.
  • Backward compatibility: All additions are additive; existing V49 runners and cartridges remain valid and forward‑compatible.

Important Updates

  • Large models (e.g. ChatGPT5 and Gemini 2.5) run V50 seamlessly; earlier models may struggle as gating complexity increases.
  • Data rights, privacy budgets and SBOM/AI‑BOM generation are mandatory for R2+ risk tiers.

Quick Links to Full Documents


Quick Start

Initiate GCP V50 for Spark: <your idea> or leave empty to use autonomous brainstorming.
Mode: <auto | full | manual> ; Startup: <spark_provided | autonomous> ; Risk: <r1 | r2 | r3>
Cartridges: <optional domain packs> ; Runners: <optional>
Objective: <clear success criteria> ; Constraints: <hard/soft> ; License: MIT ; No PII in logs.
Deliverables: <explicit artifacts>.

Universal commands remain unchanged from V49: proceed 1, branch Phase <n>, return C#.#, end & export, switch to Full Run, switch to Auto, set auto_gate_verbosity=full|brief, set auto_gate_preview=on|off.


Phase Map

See Charts.md for a visual phase map and gate decision flow. In summary, V50 adds an initial I‑1 Autonomous Spark Generation phase ahead of the C‑0 ambiguity‑to‑brief phase and retains phases up to 15 Archival/Export with minor refinements.


Runners & Cartridges

Attach domain Runners (e.g., Code, Hardware, LifeSci) and Cartridges (e.g., Code, Legal, SynBio) when needed. Runners implement deterministic modules with defined inputs, steps, gates and telemetry. Cartridges provide embeddings, indexes, lexicons, tools and governance notes for a domain. They extend retrieval and reasoning capabilities but are optional.

For detailed definitions and specifications, see the GCP V50 supplemental documents:

  • Master Runners Codex — the library of standard runners, including contracts, steps, gates and telemetry: GCP V50 Master Runners Codex
  • Cartridges Pack — modular domain knowledge packages with schemas, lexicons, index configurations and tool contracts: GCP V50 Cartridges Pack

These links provide the full runner and cartridge specifications for V50.


Artifacts & Ledgers

  • Evidence & Claims: Evidence_Index.jsonl, ClaimGraph.json, Source_Reliability.csv
  • Reproducibility: REPRO_PROTOCOL.md, REPRO_RESULTS.csv, ENV_LOCKFILE.yml
  • Provenance: SBOM/ML‑BOM, signatures, attestations
  • Gate signals: Gate_Signals.json (allow | deny | needs‑human)
  • Indexes: INDEX.md, MANIFEST.json
  • Export: XW/ (ZIP/PDF‑A package with receipts)

Security & Provenance

See SECURITY.md for the security policy and supply‑chain controls. V50 continues to publish SBOMs and C2PA manifests to guarantee provenance and reproducibility.


Limitations

  • LLM validation environments: Existing evaluation harnesses are minimal and primarily offline. They do not yet provide comprehensive adversarial coverage or deterministic scoring, so human review remains essential.
  • Real‑time toolset constraints: Tool integrations favor deterministic, batch-style runners. Access to live external APIs, hardware or streaming data is tightly restricted, which can introduce latency and coverage gaps for time‑sensitive tasks.
  • Token and reasoning budgets: GCP flows inherit the context limits of the host model. Long chains of thought or large artifacts can exceed the available window, requiring aggressive summarization or manual intervention.
  • Ecosystem maturity: Runners, cartridges and governance mappings are expanding but still do not cover every domain or regulatory regime; gaps may require custom extensions or manual processes.

Docs


Version Matrix (Historic Highlights)

See CHANGELOG for details: v45.6D → V46 → V46.5 → V47 → V47.1 → V47.2 → V48V49V50.


License

MIT — see License.md .


About

See About.md for core principles and additional context.


GCP Wiki

  • Quick‑Start – how to initiate a GCP run (LLM‑only or via the CLI).
  • Phase‑Map‑and‑Gates – overview of phases and the gate decision flow.
  • Gate‑Decision‑Card – fields and options for gate decisions.
  • Runners‑and‑Cartridges – how to attach deterministic runners and knowledge cartridges.
  • Artifacts‑and‑Ledgers – description of evidence, reproducibility, provenance and export artifacts.
  • Evidence‑and‑Claims – managing evidence indexes and claim graphs.
  • Reproducibility‑and‑Rehydration – ensuring experiments are repeatable and re‑hydratable.
  • Exit‑Wizard – final export and closure.
  • Security‑and‑Provenance – security practices and provenance (SBOM/signing) guidelines.
  • Templates – contribution templates for feature requests, issues and pull requests.
  • Glossary – definitions of key terms.
  • FAQ – frequently asked questions.
  • GCP‑V50 – information on the latest flagship edition.
  • Master‑Runners‑Codex‑V50 – summary of V50 runner contracts.
  • Cartridges‑Pack‑V50 – summary of V50 cartridge modules.
  • GCP V49 Flagship Edition – Details of V49 Flagship Edition.
  • GCP V49 ‐ Summarized – Summary of V49 Flagship Edition

Repository Structure

Overview Of Entire Repo, Auto Generated by Workflow.

``` ├── .devcontainer/ │ └── devcontainer.json ├── .dockerignore ├── .flake8 ├── .gitattributes ├── .gitignore ├── .markdownlint.yml ├── .markdownlintignore ├── .pre-commit-config.yaml ├── .ruff_cache/ │ ├── .gitignore │ ├── 0.12.11/ │ │ ├── 7368832208071753625 │ │ └── 8263045760477670012 │ └── CACHEDIR.TAG ├── About.md ├── CHANGELOG.md ├── CITATION.cff ├── Charts.md ├── Code of Conduct.md ├── Contributing.md ├── Dockerfile ├── Documents/ │ ├── A Documents Readme.md │ ├── AI ChatGPT Critical Analysis Flagship GCP V49.md │ ├── AI ChatGPT Critical Analysis GCP V45.6D.md │ ├── AI ChatGPT Critical Analysis GCP V46.md │ ├── AI ChatGPT Critical Analysis V47 Full Run EV issue.md │ ├── AI Claude Critical Analysis Flagship GCP V49.md │ ├── AI Claude Critical Analysis GCP V45.6d.md │ ├── AI Claude Critical Analysis GCP V46.md │ ├── AI Claude Critical Analysis V47 full run EV issue.md │ ├── AI Grok Critical Analysis Flagship GCPV49.md │ ├── AI Grok Critical Analysis GCP V45.6D.md │ ├── AI Grok Critical Analysis GCP V46 .md │ ├── AI Grok Critical Analysis V47 Full Run EV issue.md │ ├── Feature Requests.md │ ├── Issue Template.md │ ├── Operations Manual.md │ ├── Pull Request Template.md │ ├── Requirements.md │ ├── Security.md │ ├── Theoretical Soundness Analysis.md │ ├── index.md │ ├── releases.md │ └── security_report.md ├── EXIT_WIZARD.txt ├── GCP Current Version(V50 Flagship Edition).md ├── GCP Runners/ │ ├── A V49.0 Master Runners Codex: Flagship Edition.md │ ├── Agriculture & Environmental MVR Runner.md │ ├── Archaeology_History Runner.md │ ├── Code Runner.md │ ├── Culinary Cartridge.md │ ├── Cybersecurity Runner.md │ ├── Deep Sea Runner.md │ ├── Education Runner.md │ ├── Energy_Power Runner.md │ ├── Entertainment Cartridge.md │ ├── Exotics Runner.md │ ├── Finance & FinTech Runner.md │ ├── GCP V50 Supplemental Docs/ │ │ ├── GCP V50 Cartridges Pack.md │ │ └── GCP V50 Master Runners Codex.md │ ├── Humanitarian_Disaster Relief Cartridge.md │ ├── Industrial & Utilities OT Runner.md │ ├── Infrastructure Runner.md │ ├── Legal Cartridge.md │ ├── Life Sciences Runner.md │ ├── Physical Runner.md │ ├── Political Systems Runner.md │ ├── Public Programs_Policy Runner.md │ ├── Spaceflight_Aerospace Runner.md │ ├── Sports_Athletics Cartridge.md │ └── Theology Runner.md ├── GCP-All-Variants/ │ ├── Changelog.md │ ├── Changelog_P2.md │ ├── V09.md │ ├── V11.md │ ├── V20.md │ ├── V22.md │ ├── V23.md │ ├── V30.md │ ├── V34.md │ ├── V35.md │ ├── V36.md │ ├── V40.md │ ├── V41.md │ ├── V42.md │ ├── V43.0.md │ ├── V43.6.md │ ├── V43.7.md │ ├── V44.1.md │ ├── V44.7.md │ ├── V44.8.md │ ├── V44.9b.md │ ├── V44.9d.md │ ├── V45.0.md │ ├── V45.1.md │ ├── V45.2.md │ ├── V45.3.md │ ├── V45.4A.md │ ├── V45.5.md │ ├── V45.6.md │ ├── V46.0.md │ ├── V46.5.md │ ├── V47.0.md │ ├── V47.1.md │ ├── V47.2.md │ ├── V48.0.md │ ├── V49.0.md │ ├── V49.1 Flagship Edition.md │ └── V50.md ├── LICENSE.md ├── Makefile ├── Notebooks/ │ ├── A Notebook Readme.md │ ├── Adaptive QoS Allocator.ipynb │ ├── Alloy Perceptual Loss.py │ ├── Alloyscript.py │ ├── Audio Processing.md │ ├── Duality Unzipped Ouput/ │ │ ├── BENCHMARK_LEDGER.md │ │ ├── DECISION_LEDGER.md │ │ ├── ENV_LOCKFILE.yml │ │ ├── Makefile │ │ ├── README.md │ │ ├── S49_6_Param_Sweep.csv │ │ ├── S49_extended_details (1).csv │ │ ├── S49_extended_summary (1).csv │ │ ├── __init__.py │ │ ├── adaptive_controller.py │ │ ├── api_server.py │ │ ├── dataplane.py │ │ ├── default_policy.yml │ │ ├── duality-agent.service │ │ ├── flow_classifier.py │ │ ├── main.py │ │ ├── masque_placeholder.py │ │ ├── openapi.yaml │ │ ├── policy.py │ │ ├── requirements.txt │ │ ├── setup_duality.sh │ │ ├── sim_duality.py │ │ └── sqm_duality.conf │ ├── Full Runs/ │ │ ├── A FR Readme.md │ │ ├── Flagship Full Runs/ │ │ ├── GCP V50 Full Runs/ │ │ ├── High Speed Internet Issue V49 Full Run.md │ │ ├── Known EV issue Full Run, GCPv47.md │ │ ├── Latch Full run.md │ │ ├── Quantum Mechanics Full Run.md │ │ ├── Solar Energy Full Run.md │ │ └── V48 Full Run.md │ ├── JACCO.ipynb │ ├── Latch LCH.md │ ├── MOSAIC.ipynb │ └── Modulift Unzipped Output/ │ ├── CMakeLists.txt │ ├── README_MODULIFT_v0.1.md │ ├── REFERENCES.md │ ├── S48_-0.5A_CK_Drift.md │ ├── S48_-0.8_TRIZ_Contradictions.md │ ├── S48_-1_WorthIt_Report.md │ ├── S48_10.0_Simplicity_Audit.md │ ├── S48_10.5_Optimization_Ledger.md │ ├── S48_1_Context_Dossier.md │ ├── S48_2_Influence_Matrix.md │ ├── S48_3_Design_Envelope.md │ ├── S48_4_BranchTree.md │ ├── S48_5_Architecture_Blueprint.md │ ├── S48_6_FunctionalPlan.md │ ├── S48_8.9_RedTeam_Findings.md │ ├── S48_9_Validation_Template.md │ ├── bench_build.ps1 │ ├── bench_build.sh │ ├── enable-named-modules.cmake │ ├── headers.cmake │ ├── hu-clang-gcc.cmake │ ├── hu-msvc.cmake │ ├── lib.cpp │ ├── main.cpp │ ├── math.hpp │ ├── modulift-bench.yml │ ├── modulift_explain.py │ ├── modulift_explain_rules.json │ └── util.hpp ├── README.md ├── Roadmap.md ├── SECURITY.md ├── Table Of Contents.md ├── cli_bundle/ │ ├── Readme.md │ ├── __init__.py │ ├── audit_utils.py │ ├── full_run.py │ ├── gcp_cli.py │ ├── phase1.py │ ├── phase6_7.py │ ├── prompt_utils.py │ └── requirements.txt ├── cost_model.md ├── docker/ │ ├── .dockerignore │ ├── Dockerfile │ └── requirements.txt ├── docs/ │ ├── RELEASE_WORKFLOW.md │ ├── WORKFLOW_FIXES_SUMMARY.md │ ├── ci-workflow-diagnoser-runbook.md │ ├── dependency-review-workflow.md │ ├── index.md │ ├── roadmap.md │ └── runbook.md ├── governance.yaml ├── integration_contract.md ├── mkdocs.yml ├── mypy.ini ├── observability.yaml ├── pyproject.toml ├── pytest.ini ├── requirements-dev.txt ├── requirements.txt ├── scripts/ │ ├── __init__.py │ ├── fix_md_spacing.py │ ├── generate_changelog.py │ ├── generate_repo_toc.py │ ├── generate_sbom.py │ ├── make_exit_bundle.sh │ ├── update_repo_structure.py │ ├── validate_dependencies.py │ ├── validate_precommit.sh │ └── validate_workflows.py ├── security.md ├── setup.py ├── src/ │ ├── __init__.py │ ├── automerge.py │ ├── codacy.py │ ├── config.py │ ├── errors.py │ ├── ethicalcheck.py │ ├── fortify.py │ ├── fuzz.py │ ├── ingest.py │ ├── logging_utils.py │ ├── main.py │ ├── matrix_ci/ │ │ ├── __init__.py │ │ └── pipeline.py │ ├── remediate.py │ ├── report.py │ ├── rollback.py │ ├── scan.py │ └── utils.py ├── tests/ │ ├── automerge_skip_test.py │ ├── conftest.py │ ├── contract_test.py │ ├── e2e_smoke_test.py │ ├── ethicalcheck_test.py │ ├── perf_test.py │ ├── rollback_test.py │ ├── security_test.py │ ├── spec_validation_test.py │ ├── test_release_bundle.py │ ├── test_release_workflows.py │ └── test_workflow_validation.py ├── tools/ │ └── audit-workflows.sh └── workflow_manifest.json ```

About

LLM orchestration, AI-native framework, Tree-of-Thought, agentic workflows, dual-scientist debate, reproducible R&D, SBOM, provenance, continuous evaluation, risk tiers, Spark Structured Streaming, Delta Lake, MLOps, evaluation gates.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 8