Skip to content

Add generated graph visualizations and timelines - #21

Merged
kmosoti merged 1 commit into
mainfrom
generated-graph-visualizations
Jun 7, 2026
Merged

Add generated graph visualizations and timelines#21
kmosoti merged 1 commit into
mainfrom
generated-graph-visualizations

Conversation

@kmosoti

@kmosoti kmosoti commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add created and updated frontmatter dates to graph source nodes and export them through nodes, chunks, concepts, and timeline artifacts.
  • Generate README-linked SVG visualizations for the repo system, research support map, and knowledge base growth timeline.
  • Generate timeline artifacts: graph/generated/timeline.jsonl, graph/generated/reports/timeline.md, and per-major-concept SVG timelines.
  • Add tea-kb viz all plus focused timeline, system, and research visualization commands.
  • Document the date/timeline/visualization standards and add a regression assertion for timeline export.

Validation

  • uv run ruff check
  • uv run ruff format --check
  • uv run pyright
  • uv run pytest
  • uv run tea-kb validate
  • uv run tea-kb build --check

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5421c7ab81

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/tea_kb/viz/svg.py
timeline_overview_svg_artifact(graph),
]
artifacts.extend(
concept_timeline_svg_artifact(graph, concept) for concept, _ in major_concepts(graph)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Prune concept timeline SVGs that fall out of the top set

When concept counts change so a previously generated major concept is no longer returned by major_concepts(graph), this dynamic artifact list stops including its concept-timeline-*.svg, but normal tea-kb build only writes the current artifacts and CI's .github/workflows/ci.yml runs tea-kb build --check, whose writer check only compares expected artifacts. That lets obsolete generated SVGs remain committed and still pass the build check; either generate a stable set or delete/check stale concept-timeline-*.svg files that are no longer expected.

Useful? React with 👍 / 👎.

@kmosoti
kmosoti merged commit 2e1b2c6 into main Jun 7, 2026
1 check passed
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