{"id":51197837,"url":"https://github.com/samuraiwriter7/origin-structure-market","last_synced_at":"2026-06-27T22:02:39.089Z","repository":{"id":366469329,"uuid":"1276418353","full_name":"SamuraiWriter7/origin-structure-market","owner":"SamuraiWriter7","description":"A protocol-oriented framework for registering AI-era ideas, structures, prompts, schemas, and conceptual systems as origin assets, tracing derivatives, and enabling royalty allocation back to the source.","archived":false,"fork":false,"pushed_at":"2026-06-22T02:22:50.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-22T02:29:59.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamuraiWriter7.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-22T00:38:45.000Z","updated_at":"2026-06-22T02:22:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/SamuraiWriter7/origin-structure-market","commit_stats":null,"previous_names":["samuraiwriter7/origin-structure-market"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SamuraiWriter7/origin-structure-market","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuraiWriter7%2Forigin-structure-market","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuraiWriter7%2Forigin-structure-market/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuraiWriter7%2Forigin-structure-market/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuraiWriter7%2Forigin-structure-market/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuraiWriter7","download_url":"https://codeload.github.com/SamuraiWriter7/origin-structure-market/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuraiWriter7%2Forigin-structure-market/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34869004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-27T22:02:38.312Z","updated_at":"2026-06-27T22:02:39.076Z","avatar_url":"https://github.com/SamuraiWriter7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Origin Structure Market\n\n**Origin Structure Market** is a protocol-oriented framework for registering AI-era ideas, structures, prompts, schemas, workflows, and conceptual systems as **Origin Assets**, tracing their derivatives, auditing derivative claims, allocating royalties, and preparing them for marketplace listing.\n\nIt is designed as an experimental standard for the AI creator economy, where value should not only accumulate at the final product or platform layer, but also flow back to the structural origin.\n\n---\n\n## Core Principle\n\n\u003e Value should flow back to the structural origin.\n\nIn the AI era, ideas are no longer consumed only as finished content.\nThey are transformed into prompts, workflows, GPT instructions, schemas, agents, articles, applications, business models, and new intellectual systems.\n\nOrigin Structure Market provides a machine-readable way to record:\n\n* who created an origin structure\n* when it was registered\n* what canonical form it had\n* how it may be reused\n* what derivative assets were created from it\n* how derivative claims can be audited\n* how revenue can be allocated back to contributors\n* how assets can be listed, licensed, discovered, and monetized\n\nThis project does **not** attempt to claim ownership over abstract ideas themselves.\n\nInstead, it records **structured origin expressions**, their fingerprints, permissions, lineage, audit evidence, allocation paths, and marketplace listing metadata.\n\n---\n\n## Problem\n\nModern AI and platform ecosystems have a broken value loop:\n\n* Original ideas are reused without attribution\n* AI-generated derivatives obscure upstream contributors\n* Platforms capture most of the value\n* Creators lose traceability once their work is transformed\n* Conceptual frameworks are difficult to register, compare, audit, reward, and list\n* Revenue distribution rarely reaches the structural origin\n* Marketplace listings often hide upstream lineage and royalty obligations\n\nIn short:\n\n\u003e Creation does not reliably lead to traceable compensation.\n\nOrigin Structure Market addresses this by treating reusable structures, derivative lineage, audit records, allocation graphs, and marketplace listings as first-class protocol objects.\n\n---\n\n## What Is an Origin Asset?\n\nAn **Origin Asset** is a structured registration record for an upstream intellectual structure.\n\nExamples include:\n\n* GPT instructions\n* Prompt architecture\n* AI workflow schemas\n* Trace receipt schemas\n* Royalty allocation templates\n* Origin audit rubrics\n* Article frameworks\n* Book frameworks\n* Business models\n* Conceptual frameworks\n* AI structure frameworks\n\nAn Origin Asset is not merely raw text.\nIt is a structured record containing:\n\n* title\n* creator\n* asset type\n* description\n* canonical hash\n* timestamp\n* permission policy\n* royalty policy\n* trace links\n* supporting evidence hashes\n\n---\n\n## What Is a Derivative Asset?\n\nA **Derivative Asset** is a downstream asset derived from one or more upstream Origin Assets or Derivative Assets.\n\nIt records:\n\n* upstream asset ID\n* upstream asset role\n* contribution claim\n* transformation type\n* shared concepts\n* shared structure\n* evidence hashes\n* output metadata\n* proposed royalty split\n* human review status\n\nThis allows a downstream asset to declare:\n\n\u003e This asset was created from these upstream structures, through these transformations, with this claimed contribution weight.\n\n---\n\n## What Is an Origin Audit Record?\n\nAn **Origin Audit Record** is a structured audit record for evaluating whether a derivative claim is credible.\n\nIt records:\n\n* target asset ID\n* target asset type\n* auditor\n* audit method\n* audit scope\n* compared upstream assets\n* structural similarity\n* conceptual similarity\n* lineage similarity\n* workflow similarity\n* overall similarity\n* contribution scores\n* royalty relevance\n* audit judgment\n* supporting evidence\n* human review boundary\n\nThis layer does not make AI the final judge.\nIt records structured audit evidence and preserves a human review boundary.\n\n---\n\n## What Is a Royalty Allocation Graph?\n\nA **Royalty Allocation Graph** is a structured record for converting a revenue event, audited lineage, contribution scores, and allocation policy into a proposed distribution of value.\n\nIt records:\n\n* revenue event ID\n* revenue-generating product or derivative asset\n* gross revenue\n* net revenue\n* revenue source\n* allocation basis\n* audit record references\n* contribution scores\n* allocation policy\n* recipient allocation entries\n* settlement mechanism\n* human review status\n* trace links and evidence hashes\n\nThis layer does not execute payment by itself.\n\nInstead, it provides a machine-readable allocation graph that can be used by:\n\n* off-chain accounting systems\n* marketplace logic\n* royalty OS layers\n* smart contracts\n* human reviewers\n* future settlement systems\n\n---\n\n## What Is a Marketplace Listing?\n\nA **Marketplace Listing** is a structured record for preparing an Origin Asset, Derivative Asset, final product, royalty bundle, or related structural asset for discovery, licensing, pricing, and monetization.\n\nIt records:\n\n* listing ID\n* listed asset ID\n* listing type\n* marketplace-facing summary\n* long description\n* listing status\n* pricing model\n* license terms\n* royalty requirements\n* Royalty Allocation Graph reference\n* discovery metadata\n* quality signals\n* human review status\n* trace links\n\nThis layer does not create a full marketplace by itself.\n\nInstead, it defines the listing metadata that a marketplace, registry, agent, or external platform can consume.\n\nIn short:\n\n\u003e v0.5 turns traceable structures into listable market records.\n\n---\n\n## Repository Status\n\n**Version:** v0.5.0-candidate\n**Stage:** Experimental protocol\n**Current scope:** Origin Asset registration + Derivative Asset registration + Origin Audit Record + Royalty Allocation Graph + Marketplace Listing\n\nThe current version implements five core layers:\n\n```text\nOrigin Asset\n    ↓\nDerivative Asset\n    ↓\nOrigin Audit Record\n    ↓\nRoyalty Allocation Graph\n    ↓\nMarketplace Listing\n```\n\nv0.1 established the origin registration layer.\nv0.2 added the derivative lineage layer.\nv0.3 added the origin audit layer.\nv0.4 added the royalty allocation layer.\nv0.5 adds the marketplace listing layer, allowing assets and their trace, audit, license, pricing, and royalty metadata to be prepared for discovery and monetization.\n\n---\n\n## Current Features\n\n* JSON Schema for Origin Asset registration\n* YAML example for an Origin Asset record\n* JSON Schema for Derivative Asset registration\n* YAML example for a Derivative Asset record\n* JSON Schema for Origin Audit Record\n* YAML example for an Origin Audit Record\n* JSON Schema for Royalty Allocation Graph\n* YAML example for a Royalty Allocation Graph\n* JSON Schema for Marketplace Listing\n* YAML example for a Marketplace Listing\n* Python validation script\n* GitHub Actions workflow for CI validation\n* Protocol overview document\n* Derivative Asset registration documentation\n* Origin Audit Record documentation\n* Royalty Allocation Graph documentation\n* Marketplace Listing documentation\n\n---\n\n## Directory Structure\n\n```text\norigin-structure-market/\n├── .github/\n│   └── workflows/\n│       └── validate.yml\n├── docs/\n│   ├── origin-structure-market-overview.md\n│   ├── derivative-asset-registration.md\n│   ├── origin-audit-record.md\n│   ├── royalty-allocation-graph.md\n│   └── marketplace-listing.md\n├── examples/\n│   ├── origin-asset.example.yaml\n│   ├── derivative-asset.example.yaml\n│   ├── origin-audit-record.example.yaml\n│   ├── royalty-allocation-graph.example.yaml\n│   └── marketplace-listing.example.yaml\n├── schemas/\n│   ├── origin-asset.schema.json\n│   ├── derivative-asset.schema.json\n│   ├── origin-audit-record.schema.json\n│   ├── royalty-allocation-graph.schema.json\n│   └── marketplace-listing.schema.json\n├── scripts/\n│   └── validate_examples.py\n├── CHANGELOG.md\n└── README.md\n```\n\n---\n\n## Origin Asset Schema\n\nThe Origin Asset schema is located at:\n\n```text\nschemas/origin-asset.schema.json\n```\n\nIt defines the structure of an upstream origin registration record.\n\nA valid Origin Asset record must include:\n\n* `id`\n* `title`\n* `creator`\n* `asset_type`\n* `description`\n* `canonical_hash`\n* `timestamp`\n* `permission`\n* `royalty_policy`\n* `trace`\n\n---\n\n## Derivative Asset Schema\n\nThe Derivative Asset schema is located at:\n\n```text\nschemas/derivative-asset.schema.json\n```\n\nIt defines the structure of a downstream asset derived from one or more upstream Origin Assets or Derivative Assets.\n\nA valid Derivative Asset record must include:\n\n* `id`\n* `title`\n* `creator`\n* `asset_type`\n* `description`\n* `timestamp`\n* `derived_from`\n* `output`\n* `proposed_royalty_split`\n* `trace`\n\nThe `derived_from` section records:\n\n* upstream asset ID\n* upstream asset role\n* contribution claim\n* transformation type\n* optional evidence\n\n---\n\n## Origin Audit Record Schema\n\nThe Origin Audit Record schema is located at:\n\n```text\nschemas/origin-audit-record.schema.json\n```\n\nIt defines the structure of an audit record used to evaluate a derivative claim.\n\nA valid Origin Audit Record must include:\n\n* `id`\n* `target_asset_id`\n* `target_asset_type`\n* `auditor`\n* `timestamp`\n* `audit_scope`\n* `compared_assets`\n* `similarity`\n* `judgment`\n* `evidence`\n* `human_review`\n\nThe Origin Audit Record layer allows the protocol to record:\n\n* compared upstream assets\n* structural similarity\n* conceptual similarity\n* lineage similarity\n* workflow similarity\n* contribution scores\n* royalty relevance\n* audit judgment status\n* evidence\n* human review boundary\n\n---\n\n## Royalty Allocation Graph Schema\n\nThe Royalty Allocation Graph schema is located at:\n\n```text\nschemas/royalty-allocation-graph.schema.json\n```\n\nIt defines the structure of a proposed revenue allocation graph.\n\nA valid Royalty Allocation Graph must include:\n\n* `id`\n* `revenue_event_id`\n* `product_id`\n* `timestamp`\n* `currency`\n* `gross_revenue`\n* `allocation_basis`\n* `allocations`\n* `settlement`\n* `human_review`\n* `trace`\n\nThe Royalty Allocation Graph layer allows the protocol to record:\n\n* revenue events\n* revenue-generating products\n* gross and net revenue\n* audit-based allocation basis\n* contribution scores\n* allocation policy\n* recipient roles\n* allocation rates\n* allocation amounts\n* settlement status\n* human review boundary\n\nThis transforms audited lineage into a proposed economic distribution.\n\n---\n\n## Marketplace Listing Schema\n\nThe Marketplace Listing schema is located at:\n\n```text\nschemas/marketplace-listing.schema.json\n```\n\nIt defines the structure of a marketplace-facing listing record.\n\nA valid Marketplace Listing must include:\n\n* `id`\n* `title`\n* `listing_type`\n* `listed_asset`\n* `summary`\n* `timestamp`\n* `status`\n* `pricing`\n* `license`\n* `royalty`\n* `discovery`\n* `human_review`\n* `trace`\n\nThe Marketplace Listing layer allows the protocol to record:\n\n* listed asset metadata\n* pricing model\n* license terms\n* royalty requirements\n* Royalty Allocation Graph references\n* discovery categories\n* search tags\n* target users\n* quality signals\n* human review status\n* marketplace trace links\n\nThis transforms traceable structures into discoverable and licensable market records.\n\n---\n\n## Validation\n\nInstall dependencies:\n\n```bash\npip install jsonschema PyYAML\n```\n\nRun validation:\n\n```bash\npython scripts/validate_examples.py\n```\n\nExpected output:\n\n```text\n[validate] Origin Asset\n  schema : schemas/origin-asset.schema.json\n  example: examples/origin-asset.example.yaml\n[ok] Origin Asset example is valid\n[validate] Derivative Asset\n  schema : schemas/derivative-asset.schema.json\n  example: examples/derivative-asset.example.yaml\n[ok] Derivative Asset example is valid\n[validate] Origin Audit Record\n  schema : schemas/origin-audit-record.schema.json\n  example: examples/origin-audit-record.example.yaml\n[ok] Origin Audit Record example is valid\n[validate] Royalty Allocation Graph\n  schema : schemas/royalty-allocation-graph.schema.json\n  example: examples/royalty-allocation-graph.example.yaml\n[ok] Royalty Allocation Graph example is valid\n[validate] Marketplace Listing\n  schema : schemas/marketplace-listing.schema.json\n  example: examples/marketplace-listing.example.yaml\n[ok] Marketplace Listing example is valid\n[done] all examples are valid\n```\n\n---\n\n## GitHub Actions\n\nThis repository includes a validation workflow:\n\n```text\n.github/workflows/validate.yml\n```\n\nThe workflow runs on:\n\n* push to `main`\n* pull requests to `main`\n* manual workflow dispatch\n\nIt validates YAML examples against the JSON Schemas.\n\n---\n\n## Conceptual Architecture\n\n```text\nOrigin Asset\n    ↓\nDerivative Asset\n    ↓\nOrigin Audit Record\n    ↓\nRoyalty Allocation Graph\n    ↓\nMarketplace Listing\n    ↓\nValue Returned to Origin\n```\n\nv0.1 implements:\n\n```text\nOrigin Asset Registration\n```\n\nv0.2 implements:\n\n```text\nDerivative Asset Registration\n```\n\nv0.3 implements:\n\n```text\nOrigin Audit Record\n```\n\nv0.4 implements:\n\n```text\nRoyalty Allocation Graph\n```\n\nv0.5 implements:\n\n```text\nMarketplace Listing\n```\n\nTogether, v0.1 to v0.5 establish the first verifiable market lineage stack:\n\n```text\nsource structure → downstream derivative → audit record → allocation graph → marketplace listing\n```\n\n---\n\n## Design Philosophy\n\nOrigin Structure Market is based on five principles.\n\n### 1. Structure over content\n\nThe important unit is not only the finished text or product, but the reusable structure that generates future work.\n\n### 2. Trace over ownership\n\nThe protocol focuses on traceable contribution rather than absolute ownership claims over abstract ideas.\n\n### 3. Audit before allocation\n\nDerivative claims should be evaluated before they influence economic distribution.\n\n### 4. Allocation before settlement\n\nRevenue should be mapped before payment systems execute settlement.\n\n### 5. Listing before market automation\n\nMarketplace records should preserve trace, license, pricing, royalty, and review metadata before automated discovery or monetization.\n\n---\n\n## Relation to Other Protocols\n\nOrigin Structure Market is designed to connect with related Kazene ecosystem projects:\n\n* AI Search Trace Receipt Standard\n* Synchronization Audit Protocol\n* Compute Access Royalty OS\n* OKF Royalty OS Bridge\n* Kazene Trace Receipt Protocol\n* Structural Rumination Layer\n* Multi-Wing Architecture\n\nTogether, these projects form a broader stack for:\n\n```text\ntraceability → origin audit → contribution scoring → royalty allocation → marketplace listing\n```\n\n---\n\n## Roadmap\n\n### v0.1 — Origin Asset Registration\n\nImplemented:\n\n* Define `origin-asset.schema.json`\n* Add example YAML\n* Add validation script\n* Add GitHub Actions workflow\n\n### v0.2 — Derivative Asset Registration\n\nImplemented:\n\n* Define `derivative-asset.schema.json`\n* Add derivative asset example YAML\n* Track upstream origin or derivative assets\n* Record transformation types\n* Record contribution claims\n* Record trace evidence\n* Declare proposed royalty splits\n* Add Derivative Asset validation to CI\n\n### v0.3 — Origin Audit Record\n\nImplemented:\n\n* Define `origin-audit-record.schema.json`\n* Add origin audit record example YAML\n* Compare target assets with upstream assets\n* Record structural, conceptual, lineage, workflow, and overall similarity\n* Record contribution scores\n* Record royalty relevance\n* Record audit evidence\n* Preserve human review boundary\n* Add Origin Audit Record validation to CI\n\n### v0.4 — Royalty Allocation Graph\n\nImplemented:\n\n* Define `royalty-allocation-graph.schema.json`\n* Add royalty allocation graph example YAML\n* Record revenue events\n* Reference audit records\n* Use contribution scores as allocation inputs\n* Define allocation policy\n* Record recipient roles, rates, amounts, and settlement status\n* Preserve human review boundary\n* Add Royalty Allocation Graph validation to CI\n\n### v0.5 — Marketplace Listing\n\nImplemented:\n\n* Define `marketplace-listing.schema.json`\n* Add marketplace listing example YAML\n* Record listed asset metadata\n* Record pricing and commercial access model\n* Record license and usage terms\n* Reference royalty allocation graph\n* Record discovery categories, tags, keywords, language, and target users\n* Record quality signals\n* Preserve human review boundary\n* Add Marketplace Listing validation to CI\n\n### v0.6 — License Template Registry\n\nPlanned additions:\n\n* Define reusable license template records\n* Connect license templates to Marketplace Listings\n* Add license compatibility metadata\n* Add attribution requirements\n* Add downstream commercial use rules\n* Prepare for external license registry integration\n\n---\n\n## Non-Goals\n\nThis project does not attempt to:\n\n* enforce legal ownership over all abstract ideas\n* replace copyright law\n* act as a court or final dispute resolver\n* guarantee automatic royalty enforcement by itself\n* execute payments directly\n* run a full marketplace by itself\n* require blockchain usage in early versions\n\nInstead, it provides a structured protocol foundation for future trace, audit, allocation, listing, licensing, and settlement systems.\n\n---\n\n## License\n\nLicense information will be defined in a future version.\n\nSuggested initial direction:\n\n```text\nKazene-Origin-Market-License-0.5\n```\n\nor a compatible open license for experimental protocol development.\n\n---\n\n## Summary\n\nOrigin Structure Market is an experimental protocol for the AI era.\n\nIt asks a simple question:\n\n\u003e What if the origin of an idea could remain traceable after AI transforms it, audits it, monetizes it, and lists it on a marketplace?\n\nThe answer is a new kind of market:\n\n```text\nnot only a market for finished products,\nbut a market for reusable structures,\nderivative lineage,\naudit evidence,\nroyalty allocation,\nand marketplace listing metadata.\n```\n\nA system where:\n\n* ideas become structured Origin Assets\n* derivatives preserve lineage\n* audits evaluate contribution\n* revenue events generate allocation graphs\n* listings preserve license, pricing, discovery, and royalty metadata\n* value can flow back upstream\n* creators are recognized as structural sources\n\nIn short:\n\n\u003e A market where value returns to the origin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraiwriter7%2Forigin-structure-market","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuraiwriter7%2Forigin-structure-market","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraiwriter7%2Forigin-structure-market/lists"}