added
This commit is contained in:
1 parent
240a2d56a5
commit
8d3e7e57d2
22 files changed
+3587
No files matched your search
@@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Documentation correction
|
||||
about: Correct a roadmap guide or supporting document
|
||||
---
|
||||
Document path or URL
|
||||
|
||||
Suggested correction and supporting source
|
||||
@@ -0,0 +1,5 @@
|
||||
## Documents changed
|
||||
|
||||
## Sources and attribution
|
||||
|
||||
## Catalog validation
|
||||
@@ -0,0 +1,5 @@
|
||||
# Using the B2C Startup Roadmap
|
||||
|
||||
Start with README.md for the reading order. Use repository.json for collection metadata and content-index.json to select individual documents by topic, title or path. Read the linked Markdown and its cited sources before answering. The core guides give the framework. Supporting documents add examples, articles and working material. Preserve quotations, credits, image paths and WordPress source references when editing.
|
||||
|
||||
After document changes, run the catalog commands in README.md. Preserve content IDs when moving documents by updating the path in the index first. New records start as drafts until public availability is verified. Check LICENSE for the collection's recorded rights status.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Attribution
|
||||
|
||||
Eddie Soehnel maintains and publishes the B2C Startup Roadmap collection. Cite individual authors, contributors and source publications as credited in each document. The collection citation is provided in CITATION.cff.
|
||||
@@ -0,0 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.0 · 2026-11-17
|
||||
|
||||
Initial structured edition of the B2C Startup Roadmap. Added repository metadata, citation, topic catalog and validation.
|
||||
@@ -0,0 +1,8 @@
|
||||
cff-version: 1.2.0
|
||||
message: "Cite this collection and credit the authors of individual documents used."
|
||||
title: "B2C Startup Roadmap"
|
||||
authors:
|
||||
- family-names: Soehnel
|
||||
given-names: Eddie
|
||||
version: 1.0.0
|
||||
repository-code: "https://projects.eddiesoehnel.com/adminprojects/b2c-framework-OPEN"
|
||||
@@ -0,0 +1,3 @@
|
||||
# Contributing
|
||||
|
||||
Use a Gitea issue to identify the document, the requested correction and a source. For a pull request, preserve attribution and relative links, regenerate the catalog, and run the checks in README.md.
|
||||
@@ -0,0 +1 @@
|
||||
Repository-wide reuse terms are unspecified. This notice records the current metadata status and grants no additional license. Consult the individual documents for applicable notices and third-party credits. Direct permission requests to Eddie Soehnel.
|
||||
@@ -28,3 +28,9 @@ Browse [supporting documents](supporting-docs/) for related articles, examples,
|
||||
## Questions and feedback
|
||||
|
||||
Please use the feedback forms on the website.
|
||||
|
||||
## Repository and document catalog
|
||||
|
||||
Browse [the document catalog](content-index.json) for individual guides and supporting material. [Repository metadata](repository.json), [agent instructions](AGENTS.md), [attribution](AUTHOR.md) and [reuse terms](LICENSE) describe the collection.
|
||||
|
||||
After adding or editing a document, run `python scripts/catalog.py`. Review its index entry and source credits. To validate the catalog, install the Python dependency with `python -m pip install -r scripts/requirements.txt` and run `python scripts/catalog.py --check`.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Reporting sensitive material
|
||||
|
||||
For accidental disclosure of private information or credentials, contact Eddie Soehnel privately through his website. Include the affected path and revision. Keep sensitive values out of public issues.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Maintenance notes
|
||||
|
||||
Record future editorial changes here. For each structured release, update VERSION, CITATION.cff, repository.json and CHANGELOG.md together.
|
||||
+2590
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "./schemas/repository-variables.schema.json",
|
||||
"schema_version": "1.0",
|
||||
"purpose": "Stable inputs for maintaining the B2C documentation collection.",
|
||||
"repository_profile": "documentation-guide",
|
||||
"identity": {
|
||||
"authors": [
|
||||
{
|
||||
"name": "Eddie Soehnel"
|
||||
}
|
||||
],
|
||||
"publisher": {
|
||||
"name": "Eddie Soehnel"
|
||||
},
|
||||
"maintainer": {
|
||||
"name": "Eddie Soehnel"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"repository_id": "adminprojects-b2c-framework-open",
|
||||
"name": "b2c-framework-open",
|
||||
"title": "B2C Startup Roadmap",
|
||||
"canonical_url": "https://projects.eddiesoehnel.com/adminprojects/b2c-framework-OPEN"
|
||||
},
|
||||
"rights": {
|
||||
"license": "NOASSERTION",
|
||||
"license_file": "LICENSE"
|
||||
},
|
||||
"skill_defaults": {
|
||||
"task_id": "structure-ai-ready-repository",
|
||||
"require_plan_approval": true,
|
||||
"preserve_existing_content": true,
|
||||
"use_smallest_fitting_profile": true
|
||||
},
|
||||
"verified_by": "Owner-approved repository structure plan and anonymous Gitea repository metadata",
|
||||
"verified_at": "2026-11-17"
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"$schema": "./schemas/repository.schema.json",
|
||||
"schema_version": "1.0",
|
||||
"repository_id": "adminprojects-b2c-framework-open",
|
||||
"name": "b2c-framework-open",
|
||||
"title": "B2C Startup Roadmap",
|
||||
"canonical_url": "https://projects.eddiesoehnel.com/adminprojects/b2c-framework-OPEN",
|
||||
"description": "The Growth Stack and Lean & Agile Framework for launching and growing consumer brands, with supporting documents across eight business functions.",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Eddie Soehnel"
|
||||
}
|
||||
],
|
||||
"publisher": {
|
||||
"name": "Eddie Soehnel"
|
||||
},
|
||||
"repository_status": "active",
|
||||
"visibility": "public",
|
||||
"maturity": "stable",
|
||||
"version": "1.0.0",
|
||||
"resource_types": [
|
||||
"documentation",
|
||||
"framework"
|
||||
],
|
||||
"entrypoints": {
|
||||
"human": "README.md",
|
||||
"ai": "AGENTS.md",
|
||||
"primary_script": "scripts/catalog.py"
|
||||
},
|
||||
"contents": [
|
||||
{
|
||||
"path": "core-docs/",
|
||||
"title": "Core roadmap",
|
||||
"type": "guide",
|
||||
"description": "Core roadmap",
|
||||
"required_for_use": true
|
||||
},
|
||||
{
|
||||
"path": "supporting-docs/",
|
||||
"title": "Supporting documents",
|
||||
"type": "collection",
|
||||
"description": "Supporting documents",
|
||||
"required_for_use": true
|
||||
},
|
||||
{
|
||||
"path": "content-index.json",
|
||||
"title": "Document catalog",
|
||||
"type": "index",
|
||||
"description": "Document catalog",
|
||||
"required_for_use": true
|
||||
}
|
||||
],
|
||||
"rights": {
|
||||
"license": "NOASSERTION",
|
||||
"license_file": "LICENSE"
|
||||
},
|
||||
"maintenance": {
|
||||
"maintainer": "Eddie Soehnel",
|
||||
"review_frequency": "as-needed",
|
||||
"deprecated": false,
|
||||
"archived": false
|
||||
},
|
||||
"ai_retrieval": {
|
||||
"read_first": [
|
||||
"README.md",
|
||||
"AGENTS.md",
|
||||
"content-index.json"
|
||||
],
|
||||
"retrieve_as_needed": [
|
||||
"core-docs/",
|
||||
"supporting-docs/",
|
||||
"AUTHOR.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"exclude_by_default": [
|
||||
"tasks/"
|
||||
],
|
||||
"instructions": "Select documents from the index and cite the original file and source credits."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://projects.eddiesoehnel.com/adminprojects/repo-template/schemas/content-index.schema.json",
|
||||
"title": "Repository Content Index",
|
||||
"description": "Compact machine-readable catalog of individual documents in a content-heavy repository.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"collection_id",
|
||||
"title",
|
||||
"description",
|
||||
"updated_at",
|
||||
"items"
|
||||
],
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+$"
|
||||
},
|
||||
"collection_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/contentItem"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$defs": {
|
||||
"stringArray": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"contentItem": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content_id",
|
||||
"title",
|
||||
"description",
|
||||
"content_type",
|
||||
"path",
|
||||
"status"
|
||||
],
|
||||
"properties": {
|
||||
"content_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"content_type": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"path": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"published_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"draft",
|
||||
"published",
|
||||
"deprecated",
|
||||
"archived",
|
||||
"superseded"
|
||||
]
|
||||
},
|
||||
"author": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"topics": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"related_content_ids": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://projects.eddiesoehnel.com/adminprojects/repo-template/schemas/repository-variables.schema.json",
|
||||
"title": "Repository Structure Skill Variables",
|
||||
"description": "Verified stable identity, repository, rights, profile, and workflow inputs reused by repository-structure skills.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"purpose",
|
||||
"repository_profile",
|
||||
"identity",
|
||||
"repository",
|
||||
"rights",
|
||||
"skill_defaults",
|
||||
"verified_by",
|
||||
"verified_at"
|
||||
],
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+$"
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"repository_profile": {
|
||||
"enum": [
|
||||
"documentation-guide",
|
||||
"skill-workflow",
|
||||
"software-automation",
|
||||
"dataset",
|
||||
"custom"
|
||||
]
|
||||
},
|
||||
"identity": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"authors",
|
||||
"publisher",
|
||||
"maintainer"
|
||||
],
|
||||
"properties": {
|
||||
"authors": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
}
|
||||
},
|
||||
"publisher": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
"maintainer": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"repository": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"repository_id",
|
||||
"name",
|
||||
"title",
|
||||
"canonical_url"
|
||||
],
|
||||
"properties": {
|
||||
"repository_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "uri"
|
||||
},
|
||||
"organization": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"rights": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"license",
|
||||
"license_file"
|
||||
],
|
||||
"properties": {
|
||||
"license": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"license_file": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"skill_defaults": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"task_id",
|
||||
"require_plan_approval",
|
||||
"preserve_existing_content",
|
||||
"use_smallest_fitting_profile"
|
||||
],
|
||||
"properties": {
|
||||
"task_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"require_plan_approval": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"preserve_existing_content": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"use_smallest_fitting_profile": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"verified_by": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"verified_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"namedEntity": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,397 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://projects.eddiesoehnel.com/adminprojects/repo-template/schemas/repository.schema.json",
|
||||
"title": "AI-Ready Repository Manifest",
|
||||
"description": "Machine-readable identity, discovery, rights, provenance, maintenance, and AI retrieval metadata for an AI-ready repository.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"repository_id",
|
||||
"name",
|
||||
"title",
|
||||
"description",
|
||||
"authors",
|
||||
"publisher",
|
||||
"repository_status",
|
||||
"visibility",
|
||||
"maturity",
|
||||
"version",
|
||||
"resource_types",
|
||||
"entrypoints",
|
||||
"rights",
|
||||
"maintenance",
|
||||
"ai_retrieval"
|
||||
],
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+$"
|
||||
},
|
||||
"repository_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "uri"
|
||||
},
|
||||
"organization": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
}
|
||||
},
|
||||
"publisher": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
"repository_status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"active",
|
||||
"deprecated",
|
||||
"archived",
|
||||
"superseded"
|
||||
]
|
||||
},
|
||||
"visibility": {
|
||||
"enum": [
|
||||
"public",
|
||||
"restricted",
|
||||
"private"
|
||||
]
|
||||
},
|
||||
"maturity": {
|
||||
"enum": [
|
||||
"concept",
|
||||
"experimental",
|
||||
"prototype",
|
||||
"beta",
|
||||
"stable",
|
||||
"production"
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"resource_types": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"topics": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
}
|
||||
},
|
||||
"audiences": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"problems_solved": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"capabilities": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"use_cases": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"required_inputs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"description",
|
||||
"required",
|
||||
"sensitivity"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"required": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"sensitivity": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"expected_outputs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"description",
|
||||
"format"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"entrypoints": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"human",
|
||||
"ai"
|
||||
],
|
||||
"properties": {
|
||||
"human": {
|
||||
"type": "string"
|
||||
},
|
||||
"ai": {
|
||||
"type": "string"
|
||||
},
|
||||
"primary_skill": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"primary_agent": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"primary_script": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"primary_template": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"contents": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"path",
|
||||
"type",
|
||||
"title",
|
||||
"description",
|
||||
"required_for_use"
|
||||
],
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"required_for_use": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
}
|
||||
},
|
||||
"access": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"rights": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"license",
|
||||
"license_file"
|
||||
],
|
||||
"properties": {
|
||||
"license": {
|
||||
"type": "string"
|
||||
},
|
||||
"license_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"usage_guidance": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"provenance": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"origin_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"creation_method": {
|
||||
"type": "string"
|
||||
},
|
||||
"contributors": {
|
||||
"type": "array"
|
||||
},
|
||||
"source_references": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"maintenance": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"maintainer",
|
||||
"review_frequency",
|
||||
"deprecated",
|
||||
"archived"
|
||||
],
|
||||
"properties": {
|
||||
"maintainer": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"review_frequency": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_reviewed_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"archived": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ai_retrieval": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"read_first",
|
||||
"retrieve_as_needed",
|
||||
"exclude_by_default",
|
||||
"instructions"
|
||||
],
|
||||
"properties": {
|
||||
"read_first": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"retrieve_as_needed": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"exclude_by_default": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"instructions": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"stringArray": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"namedEntity": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
"""Refresh the document index; validate metadata with --check."""
|
||||
import argparse
|
||||
import hashlib
|
||||
import json
|
||||
import re
|
||||
from datetime import date
|
||||
from pathlib import Path
|
||||
from urllib.parse import quote
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
INDEX = ROOT / "content-index.json"
|
||||
|
||||
|
||||
def read(path):
|
||||
return json.loads(path.read_text(encoding="utf-8"))
|
||||
|
||||
|
||||
def documents():
|
||||
return sorted(f for folder in ("core-docs", "supporting-docs")
|
||||
for f in (ROOT / folder).rglob("*.md"))
|
||||
|
||||
|
||||
def record(f, previous, origin):
|
||||
path = f.relative_to(ROOT).as_posix()
|
||||
raw = f.read_text(encoding="utf-8-sig")
|
||||
heading = re.search(r"^#\s+(.+)$", raw, re.M)
|
||||
title = heading[1].replace("**", "").strip() if heading else f.stem.replace("_", " ")
|
||||
core = path.startswith("core-docs/")
|
||||
topic = "growth-stack" if core else path.split("/")[1]
|
||||
slug = re.sub(r"[^a-z0-9]+", "-", f.stem.lower()).strip("-")[:70].rstrip("-")
|
||||
key = "b2c-" + slug + "-" + hashlib.sha256(path.encode()).hexdigest()[:8]
|
||||
item = dict(previous)
|
||||
item.setdefault("content_id", key)
|
||||
item.setdefault("description", f"{'Core roadmap guide' if core else 'Supporting document for ' + topic.replace('-', ' ')} — {title}.")
|
||||
item.setdefault("topics", [topic])
|
||||
item.setdefault("status", "draft")
|
||||
item.update(title=title, path=path, content_type="guide" if core else "supporting-document",
|
||||
canonical_url=origin + "/src/branch/main/" + quote(path))
|
||||
return item
|
||||
|
||||
|
||||
def check(index, manifest, variables):
|
||||
from jsonschema import Draft202012Validator, FormatChecker
|
||||
|
||||
for name, data in [("repository", manifest), ("repository-variables", variables), ("content-index", index)]:
|
||||
schema = read(ROOT / "schemas" / (name + ".schema.json"))
|
||||
Draft202012Validator(schema, format_checker=FormatChecker()).validate(data)
|
||||
items = index["items"]
|
||||
ids = {i["content_id"] for i in items}
|
||||
if len(ids) != len(items) or any(set(i.get("related_content_ids", [])) - ids for i in items):
|
||||
raise ValueError("Duplicate or unresolved content IDs")
|
||||
version = (ROOT / "VERSION").read_text().strip()
|
||||
if manifest["version"] != version or f"version: {version}" not in (ROOT / "CITATION.cff").read_text():
|
||||
raise ValueError("Version mismatch")
|
||||
if manifest["rights"] != variables["rights"]:
|
||||
raise ValueError("Rights mismatch")
|
||||
for path in [*manifest["entrypoints"].values(), *manifest["ai_retrieval"]["read_first"],
|
||||
*manifest["ai_retrieval"]["retrieve_as_needed"], manifest["rights"]["license_file"]]:
|
||||
if not (ROOT / path).exists():
|
||||
raise ValueError(f"Missing repository reference: {path}")
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("--check", action="store_true")
|
||||
args = parser.parse_args()
|
||||
index = read(INDEX)
|
||||
manifest = read(ROOT / "repository.json")
|
||||
previous = {i["path"]: i for i in index["items"]}
|
||||
items = [record(f, previous.get(f.relative_to(ROOT).as_posix(), {}), manifest["canonical_url"])
|
||||
for f in documents()]
|
||||
if args.check:
|
||||
if index["items"] != items:
|
||||
raise ValueError("Index is stale. Run python scripts/catalog.py and review the diff.")
|
||||
check(index, manifest, read(ROOT / "repository-variables.json"))
|
||||
print(f"Validated 3 schemas and {len(items)} indexed documents.")
|
||||
elif items != index["items"]:
|
||||
index.update(items=items, updated_at=date.today().isoformat())
|
||||
tmp = INDEX.with_suffix(".json.tmp")
|
||||
tmp.write_text(json.dumps(index, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
||||
tmp.replace(INDEX)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1 @@
|
||||
jsonschema[format]>=4.18,<5
|
||||
@@ -0,0 +1,28 @@
|
||||
# B2C Startup Roadmap repository structure plan
|
||||
|
||||
Revision 1, 2026-11-17. Existing Gitea repository. Approved by the owner and implemented locally.
|
||||
|
||||
## Scope and evidence
|
||||
|
||||
Use the documentation-guide profile. The current README introduces the Growth Stack and the Lean & Agile Framework and links to the authoritative material. Inventory found 10 core Markdown files, 205 supporting Markdown files across eight subject folders, and 30 PNG assets. The working tree was clean on main at inspection. The configured origin is https://projects.eddiesoehnel.com/adminprojects/b2c-framework-OPEN.
|
||||
|
||||
## File actions
|
||||
|
||||
| Paths | Action |
|
||||
| --- | --- |
|
||||
| README.md | Preserve the action plan and navigation. Append links to the content catalog, citation and maintenance instructions. |
|
||||
| core-docs/, supporting-docs/ | Preserve all paths, original text, credits and image references. |
|
||||
| repository.json, repository-variables.json | Describe the documentation collection, identity, host, version, rights, topic areas, human and AI entry points and retrieval order. |
|
||||
| content-index.json | Catalog one record per source Markdown file. Use stable IDs, repository-relative paths, titles, descriptions, topics and supported status. Verify actual publication before labeling content published. |
|
||||
| AGENTS.md, AUTHOR.md, CITATION.cff, VERSION, CHANGELOG.md, UPDATES.md | Provide retrieval guidance, distinguish collection attribution from individual credits, and record the initial structured release. |
|
||||
| LICENSE | Record the owner's selected terms and scope, preserving third-party notices. |
|
||||
| CONTRIBUTING.md, SECURITY.md, .gitea/ | Adapt contribution, correction and reporting guidance to this documentation project. |
|
||||
| schemas/, scripts/ | Include the applicable template schemas and a collection validator supporting repeatable index updates. |
|
||||
|
||||
## Publication decisions
|
||||
|
||||
Eddie Soehnel is the proposed collection author, publisher and maintainer based on the project context and Git history. Preserve per-document attribution. There is no license file in the current checkout. Confirm intended reuse terms before writing the rights declaration. Confirm anonymous visibility separately before marking the repository public or adding it to the website.
|
||||
|
||||
## Validation and delivery
|
||||
|
||||
Validate the manifest, variables and index against their schemas. Check index coverage against both document trees, uniqueness, existing paths, entry points, local links, version consistency and attribution. Compare the source-document diff to the starting revision. Report pre-existing link problems separately. Deliver as local repository changes. The website rollup is a separate publication step.
|
||||
@@ -0,0 +1,7 @@
|
||||
# Structure validation
|
||||
|
||||
Approved and implemented on 2026-11-17. All three template schemas passed. The index covers 215 distinct Markdown documents. Anonymous Gitea main matched local HEAD 240a2d5. Git confirmed no edits to the core or supporting collections. Collection reuse terms are unspecified.
|
||||
|
||||
Relative Markdown link scan found 1 unresolved link occurrences in the original collections and zero in the new or updated documentation.
|
||||
|
||||
- supporting-docs/strategy/Running into doors.md → %20http://sethgodin.typepad.com/seths_blog/2012/11/how-i-broke-my-nose-for-the-second-time.html
|
||||
Reference in new issue
Block a user