Skip to content

Full framework overhaul: 100% parity with dev-archaeology#6

Merged
simongonzalezdc merged 6 commits into
mainfrom
feat/full-framework-overhaul
May 5, 2026
Merged

Full framework overhaul: 100% parity with dev-archaeology#6
simongonzalezdc merged 6 commits into
mainfrom
feat/full-framework-overhaul

Conversation

@simongonzalezdc
Copy link
Copy Markdown
Member

@simongonzalezdc simongonzalezdc commented May 5, 2026

Summary

  • JSON API with 11 endpoints (health, projects, insights, SWOT, Wardley, Value Chain, BCG, Ansoff, Blue Ocean, bridge, health-trend)
  • 6 strategic framework generators (SWOT, Wardley, Value Chain, BCG Matrix, Ansoff Matrix, Blue Ocean Strategy) — deterministic, no LLM
  • Full parity sync: all archaeology package, scripts, hooks, templates, and tests
  • Pre-push hooks: audit + parity checks, adapted for framework (audits demo-archaeology)
  • 67 tests passing, clean audit

Changes (113 files, +29K/-975)

  • archaeology/api.py — new JSON API module
  • archaeology/cli.py — serve command routes /api/* to API handler
  • archaeology/report.py — markdown + HTML export with subdirectory support
  • archaeology/analysis_runner.py — outputs to analysis/ subdirectory
  • archaeology/templates/md-viewer.html — markdown viewer template
  • scripts/data/generate_template_deliverables.py — 24 template generators
  • scripts/sync/generate-bridge.py — Factory bridge generation
  • All hooks, scripts, tests updated for new structure

Test plan

  • 67 pytest tests pass
  • python3 -m archaeology.cli audit demo-archaeology — clean
  • python3 -m archaeology.cli demo --project demo --build-db — generates demo project
  • python3 scripts/sync/check_parity.py — 100% parity with dev-archaeology

🤖 Generated with Claude Code


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

simongonzalezdc and others added 6 commits May 3, 2026 12:42
Mirror dev-archaeology dashboard redesign into framework:
- Rewrite generate_master_dashboard() with hero stats, featured project card,
  mined projects grid, global viz cards, collapsible API repos with filters
- Add _load_git_metrics() CSV fallback for projects without JSON metrics
- Fix visualization links (flat href matching serve symlink structure)
- Remove all PostHog analytics references
- Add API repo deduplication in serve and publish-static commands
- Reorganize analyze output to analysis/ subdirectory
- Copy global deliverables in publish-static

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New archaeology.api module serves /api/insights, /api/swot, /api/wardley,
/api/value-chain, /api/bridge endpoints. CLI serve command routes /api/*
to the API handler. Bridge file generation syncs to Factory every pipeline run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tests were stale after analysis output moved to deliverables/analysis/
and HTML export default changed to deliverables/visuals/report.html.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sync from dev-archaeology: three new strategy generators and /api/bcg,
/api/ansoff, /api/blue-ocean endpoints. 100% parity verified.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sync everything from dev-archaeology restructure:
- archaeology/: pipeline_ingest, local_pipeline, report, agent_benchmark,
  dashboard, templates/md-viewer.html
- scripts/: content generators, data generators, pipeline, integrations,
  hooks (pre-commit, pre-push, install)
- tests: updated paths for reports/ subdirectory

67 tests passing. 100% parity with dev-archaeology.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Framework audits its own demo project, not liminal.
Parity check removed — framework is the downstream, not the source.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simongonzalezdc simongonzalezdc merged commit f00e0b5 into main May 5, 2026
10 checks passed
@simongonzalezdc simongonzalezdc deleted the feat/full-framework-overhaul branch May 5, 2026 06:41
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