Skip to content

docs: consolidate docs/ into mkdocs site (PER-190)#150

Merged
Shadowsong27 merged 7 commits into
mainfrom
feat/per-190-docs-sweep
May 18, 2026
Merged

docs: consolidate docs/ into mkdocs site (PER-190)#150
Shadowsong27 merged 7 commits into
mainfrom
feat/per-190-docs-sweep

Conversation

@Shadowsong27
Copy link
Copy Markdown
Owner

@Shadowsong27 Shadowsong27 commented May 18, 2026

Summary

Consolidates the legacy docs/ directory into the published mkdocs site at https://shadowsong27.github.io/agentic-beacon/. Implements PER-190 in seven phased commits.

Net result on site-docs/: 27 pages → 22 pages, ~4,534 → ~3,668 lines (-19%) since the post-restructure baseline. Across the whole PR, ~5,800 lines of duplicate/stale markdown removed from docs/, the mkdocs site reorganised into a Concepts / Guides / Design / Reference structure, and the root CONTRIBUTING.md reduced to a thin entry point.

Linear: PER-190

Commits

# Commit Scope
1 affafe7 Phase A — tier 1 deletes + small migrations
2 8bccffa Phase B — tier 2 conceptual migrations
3 a9b1edf Phase C — tier 3 audit (archive opencode-centric design notes)
4 0de0d27 Phase D — contributing docs reshuffle
5 a88226a Cross-reference sweep (README, CHANGELOG, source, tests, openspec)
6 aa6272c Restructure: split out Design section, merge adoption pages
7 6d13c31 Audit pass — trim duplication, fix stale paths, scrub ticket refs

Phase highlights

Phases A–D (commits 1–4)

  • Phase A — delete pure duplicates (docs/README.md, docs/cli-reference.md, docs/artifact-type-matrix.md); migrate docs/no-project-overrides.mdconcepts/design-decisions.md (later trimmed); migrate docs/understanding-agent-skills.mdconcepts/what-is-a-skill.md (later merged into design/skills.md).
  • Phase B — extract "three questions" + two-tier framing into concepts/philosophy.md (later moved to design/philosophy.md); migrate docs/specs-vs-artifacts.md (later trimmed); delete docs/agentic-warehouse-design.md.
  • Phase C — archive four opencode-centric boot-context-design docs + two migration records under docs/archive/ rather than deep-extract from ~3,300 lines that predate the current artifact model.
  • Phase D — move all 12 docs/contributing/*.md files into the site (later moved back to docs/contributing/ as agent-facing material); rewrite root CONTRIBUTING.md as a thin entry point.

Phase E — cross-reference sweep (commit 5)

  • README.md: 7 broken docs/ links repointed; Documentation section restructured into Concepts / Guides / Reference.
  • CHANGELOG.md migration links repointed to docs/archive/migrations/.
  • libs/beacon/src/beacon/{core/dependencies,domains/distribution}/...py MIGRATION_DOC_URL constants updated; tests updated.
  • openspec/specs/{agent-requires-manifest,artifact-dependency-resolution}/spec.md updated.

Phase F — restructure (commit 6)

Iterative review pass on top of Phases A–D:

  • New top-level Design sectionphilosophy (moved from concepts/) + skills (merged what-is-a-skill + bundled-skills framing, reframed as 'thin skills, fat tools' / intermediate state).
  • Adopting Artifacts mergeinteractive-adoption.md + syncing.md consolidated into a single adopting-artifacts.md presenting interactive vs declarative paths.
  • Contributing Back parent — three new sub-pages: creating-skills, creating-knowledge-and-contexts, creating-agents.
  • contribute-warehouse moved to reference/ (it is reference, not a flow guide).
  • Deletedteam-collaboration.md (covered by symlink/sync/adoption pages), spec-driven-development.md (out of scope; openspec mentioned where relevant).
  • Knowledge / context two-tier framing rewritten: context is a curated collection of knowledge; progressive disclosure is an optimisation, not the definition.

Phase G — audit pass (commit 7)

Critical-read audit of the post-restructure site, then targeted trimming:

  • 5 page deletionsconcepts/specs-vs-artifacts.md (205-line essay), concepts/design-decisions.md (one-decision stub), guides/connecting-projects.md (covered by Quickstart), guides/advanced-patterns.md (duplicates cli.md and beacon-yaml.md), tutorials/first-contribution.md (80% duplicated day-to-day-workflow.md; unique 'stray edit' beat folded into the discard section). Tutorials nav section gone.
  • Bug fixes — wrong knowledge path (artifacts/contexts/knowledge/...artifacts/knowledge/...); broken Python-standards link in warehouse-lint/github-actions.md.
  • Internal-ticket scrub — removed PER-150 / PER-151 / PER-159 / PER-179 references from public docs.
  • CLI reference gaps — added abc sync --yes and abc warehouse contribute --paths (both in code, undocumented).
  • Section-level cuts — bundled-skills warehouse-template section + duplicated walkthrough; artifact-types matrix-shapes-commands + Summary; index.md 'Compared to Similar Tools' table; installation.md 'What Gets Installed' filler; quickstart.md mini-workflow + Next Steps cap; day-to-day-workflow Quick Reference table; creating-skills Full Template; beacon-yaml Related Commands.
  • Nav reorder — Guides moved before Design (Guides is the entry point; Design is rationale for advanced readers).
  • README cleanup — dead specs-vs-artifacts and design-decisions links removed.

What stays in docs/ after this PR

  • docs/archive/ — historical design notes + migration records (preserved for external link resolution).
  • docs/contributing/ — agent-facing contribution material (moved back from site-docs/contributing/ so AGENTS.md flows can reference it).
  • docs/screenshots/ — in-use UI assets.

Site structure (after merge)

Home → Installation → Quick Start
  ↓
Concepts (How It Works, Bundled Skills, Pending & Adoption, Artifact Types)
  ↓
Guides (Creating a Warehouse, Adopting Artifacts, Day-to-Day Workflow,
        Contributing Back [parent + 3 children], Warehouse Lint [2 children])
  ↓
Design (Philosophy, Skills)
  ↓
Reference (beacon.yaml, CLI Reference, contribute-warehouse Skill)
  ↓
Troubleshooting

Test plan

  • mkdocs build green throughout all phases (smoke-tested locally on :8765 between every commit)
  • All 19 live pages return 200; all 6 deleted pages return 404
  • No PER-XXX leaks in site-docs/ (rg 'PER-[0-9]' site-docs/ empty)
  • No stale inbound refs to deleted pages in site-docs/, mkdocs.yml, or README.md
  • uv run pytest libs/beacon/tests/unit -q → green at Phase E baseline (commits 6–7 are docs-only; no Python touched)
  • Reviewer: skim design/philosophy.md against the legacy agentic-warehouse-design.md in git history — confirm no important framing was dropped
  • Reviewer: confirm the rewritten root CONTRIBUTING.md still works as a standalone GitHub-rendered onboarding doc
  • After merge: verify deployed site at https://shadowsong27.github.io/agentic-beacon/ reflects the new nav structure

Part of PER-190 docs consolidation. Removes pure duplicates already
covered by the mkdocs site and migrates two small conceptual pages.

- delete docs/README.md (superseded by mkdocs nav)
- delete docs/cli-reference.md (stub; site-docs/reference/cli.md canonical)
- delete docs/artifact-type-matrix.md (covered by concepts/artifact-types.md)
- migrate docs/no-project-overrides.md → concepts/design-decisions.md
- migrate docs/understanding-agent-skills.md → concepts/what-is-a-skill.md
- nav: add What Is a Skill + Design Decisions under Concepts

Refs PER-190
Part of PER-190. Migrates the larger conceptual docs into the mkdocs
site as new pages, extracting still-valid framing from the legacy
agentic-warehouse-design.md without re-adding operational detail that
how-it-works.md intentionally drops.

- new concepts/philosophy.md — three-questions framing + two-tier model
- migrate docs/specs-vs-artifacts.md → concepts/specs-vs-artifacts.md
- migrate docs/spec-driven-development.md → guides/spec-driven-development.md
- delete docs/agentic-warehouse-design.md (framing extracted into philosophy.md;
  bulk already covered in how-it-works.md and artifact-types.md)
- nav: add Philosophy + Specs vs. Artifacts under Concepts;
  add Spec-Driven Development under Guides

Refs PER-190
Part of PER-190. Moves the legacy boot-context-design notes and
historical migration records into docs/archive/. These predate the
current artifact model (contexts + skills + knowledge + agents) and
are opencode-centric. Still-valid framing (two-tier information model,
three-tier context concept) was already extracted into the new
concepts/philosophy.md during Phase B.

The archive directory is kept in-repo so external references in older
commits and write-ups continue to resolve. A new docs/archive/README.md
explicitly redirects readers to the live mkdocs site.

- move docs/boot-context-design/ → docs/archive/boot-context-design/
- move docs/migrations/         → docs/archive/migrations/
- add docs/archive/README.md with status table + mkdocs pointers

Refs PER-190
Part of PER-190. Moves the 12-file contributor guide into a Contributing
section of the mkdocs site so it gets search and proper navigation, and
rewrites the root CONTRIBUTING.md as a thin entry point covering only
environment setup (the part GitHub renders natively for PR authors).

- move docs/contributing/*.md → site-docs/contributing/*.md
- new site-docs/contributing/index.md as section overview
- strip `← Back to CONTRIBUTING.md` headers (don't make sense in mkdocs)
- fix internal references: contribution-workflow, documentation
- nav: add Contributing section under Reference + Troubleshooting
- rewrite CONTRIBUTING.md as thin entry point linking to mkdocs site

Refs PER-190
Part of PER-190. Updates every live reference to a docs/ path that
moved or was archived during the consolidation. Working documents
under openspec/changes/ are left untouched — they describe historical
fix-ups and reference paths that were correct at the time.

- README.md: replace 7 broken docs/ links with mkdocs-site equivalents;
  restructure Documentation section into Concepts / Guides / Reference
- CHANGELOG.md: repoint migration guide link to docs/archive/migrations/
- guides/creating-skills.md: point at the new What Is a Skill mkdocs page
- guides/{getting-started,beacon-yaml-reference}.md: repoint migration links
- libs/beacon/src/beacon/{core/dependencies/{resolver,manifest,frontmatter},
  domains/distribution/orchestrator}.py: MIGRATION_DOC_URL constants now
  point at docs/archive/migrations/artifact-dependencies-frontmatter.md
- libs/beacon/tests/{unit,integration}: update test assertions to match
- openspec/specs/{agent-requires-manifest,artifact-dependency-resolution}/
  spec.md: update spec text to reference the archive path

Verified: pytest unit suite (1047 passed) and `mkdocs build --strict` both
green.

Refs PER-190
@github-actions
Copy link
Copy Markdown
Contributor

OpenCode Review

Model: openai/gpt-5.5
Reviewed commit: a88226afdb5d9aace596aa35ad0f2a2b5834aa24
Workflow run: https://github.com/Shadowsong27/agentic-beacon/actions/runs/26027196077

I’ll inspect the remainder of the attached diff and focus only on regressions introduced by these documentation/archive changes.
I’m checking the requested project context files now so the review output matches the repository’s local guidance.

Findings

No findings.

Open Questions

None.

Notes

  • Review limited to the attached diff. The changes are primarily documentation relocation/link updates plus matching test expectations for the migration-doc path.

Token Usage

Input tokens: 47125
Output tokens: 314
Reasoning tokens: 1308
Cache read tokens: 164352
Cache write tokens: 0
Total tokens: 213099

…ges (PER-190)

Iterative restructuring pass on top of phases A-D:

- New top-level Design section: philosophy and skills (moved from concepts/)
- design/skills.md: merged what-is-a-skill + bundled-skills framing,
  reframed as 'thin skills, fat tools' / intermediate state perspective
- guides/adopting-artifacts.md: merged interactive-adoption + syncing
  into a single page presenting interactive vs declarative adoption paths
- New Contributing Back parent guide with three sub-pages:
  creating-skills, creating-knowledge-and-contexts, creating-agents
- guides/contribute-warehouse.md moved to reference/ (it is reference,
  not a flow guide)
- Deleted: team-collaboration.md (covered by symlink/sync/adoption pages),
  spec-driven-development.md (out of scope; openspec mentioned where
  relevant)
- contributing/ docs reshuffled: site-docs/contributing/* moved to
  docs/contributing/ (agent-facing); top-level user-facing
  site-docs/contributing.md added as the public entry point
- Knowledge / context two-tier framing rewritten: context is a curated
  collection of knowledge; progressive disclosure is an optimisation,
  not the definition

Note: mkdocs.yml is left at the post-audit state (commit 2). This commit
alone will not build a coherent nav; the branch endpoint does.
…fs (PER-190)

Critical-read audit of the post-restructure site, then trimming.

Page deletions (5 pages, -625 lines):
- concepts/specs-vs-artifacts.md: 205-line essay; kernel idea fits in
  one bullet elsewhere
- concepts/design-decisions.md: one-decision stub with unkept promise
  of more
- guides/connecting-projects.md: covered by Quickstart Scenario B
- guides/advanced-patterns.md: duplicated cli.md and beacon-yaml.md
- tutorials/first-contribution.md: 80% duplicated day-to-day-workflow;
  unique 'stray edit' beat folded into the discard section

Bug fixes:
- artifacts/contexts/knowledge/error-handling.md → artifacts/knowledge/...
  in day-to-day-workflow.md (wrong path; would error on copy-paste)
- warehouse-lint/github-actions.md: removed broken Python-standards link
  pointing to how-it-works.md; removed internal AGENTS.md reference

Internal-ticket leak scrub (no PER-XXX in public docs):
- bundled-skills.md (PER-150, PER-151)
- contributing-back.md (PER-159)
- reference/contribute-warehouse.md (PER-179)

CLI reference gaps:
- abc sync --yes flag added (auto-accept agent-required skills)
- abc warehouse contribute --paths flag added (per-file commits)

Section-level cuts:
- bundled-skills.md: 'Bundled Skills in the Warehouse Template' (~25
  lines) and duplicated record-skill walkthrough (~40 lines, already
  in pending-and-adoption.md)
- artifact-types.md: 'How the Matrix Shapes Command Behavior' table
  + 'Summary' filler — content lives in cli.md and adopting-artifacts.md
- index.md: removed 'Compared to Similar Tools' table per direction;
  collapsed wiki-vs-beacon paragraph into the multiplayer admonition
- installation.md: 'What Gets Installed' single-row filler
- quickstart.md: 'Day-to-Day Workflow' mini-block; capped Next Steps to 3
- day-to-day-workflow.md: 'Quick Reference' command table (duplicates
  cli.md and prose above it)
- creating-skills.md: 'Full Template' YAML (Minimal Template above is
  enough)
- beacon-yaml.md: 'Related Commands' duplicate of cli.md

Nav reorder (mkdocs.yml):
- Guides moved before Design (Guides is the entry point; Design is
  rationale for advanced readers)
- Removed dead nav entries: specs-vs-artifacts, design-decisions,
  connecting-projects, advanced-patterns, tutorials section,
  top-level contributing.md page

README cleanup: removed dead specs-vs-artifacts and design-decisions
links from the Concepts section.

Net result: 27 → 22 pages, ~4534 → ~3668 lines (-19%). All 19 live
pages return 200; all deleted pages return 404. Build green.
@github-actions
Copy link
Copy Markdown
Contributor

OpenCode Review

Model: openai/gpt-5.5
Reviewed commit: 6d13c316989fdaa41d975d3a872fc47af6115778
Workflow run: https://github.com/Shadowsong27/agentic-beacon/actions/runs/26039822339

I’ll review only the provided PR diff, plus the repository instructions/context needed to apply the review rules.
The PR is mostly documentation restructuring, but it also changes user-facing references and runtime migration-doc strings. I’m checking those doc claims against the diff for regressions and broken guidance.

Findings

  • [Low] Unsupported requires.skills documented - site-docs/guides/creating-skills.md:104
    The guide says skill frontmatter may include requires.skills, but the code rejects skill-to-skill dependencies with “Skill-to-skill dependencies are not supported.” Following this doc will produce invalid skills; remove the row or state that skill dependencies are not supported.

  • [Low] Archive links point to the wrong Philosophy URL - docs/archive/README.md:11
    The new Philosophy page is published under design/philosophy, but this archive index links to concepts/philosophy. Update both Philosophy links in this file to avoid broken references.

  • [Low] Test-only env var listed as CLI setting - CONTRIBUTING.md:83
    The section says the CLI reads these variables via pydantic-settings, but BEACON_OFFLINE is for skipping integration tests, not CLI runtime configuration. Split it into a testing note or adjust the intro text so contributors do not expect the CLI to consume it.

Open Questions

None.

Notes

Review limited to the attached diff.

Token Usage

Input tokens: 81858
Output tokens: 1154
Reasoning tokens: 1151
Cache read tokens: 763392
Cache write tokens: 0
Total tokens: 847555

@Shadowsong27 Shadowsong27 merged commit 83b1fbf into main May 18, 2026
6 checks passed
@Shadowsong27 Shadowsong27 deleted the feat/per-190-docs-sweep branch May 18, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant