Skip to content

Rename almanac to slack-knowledge-bot + retrofit chart onto tenant-chart-base#5

Merged
stxkxs merged 1 commit into
mainfrom
rename/almanac-to-slack-knowledge-bot
Jun 7, 2026
Merged

Rename almanac to slack-knowledge-bot + retrofit chart onto tenant-chart-base#5
stxkxs merged 1 commit into
mainfrom
rename/almanac-to-slack-knowledge-bot

Conversation

@stxkxs

@stxkxs stxkxs commented Jun 7, 2026

Copy link
Copy Markdown
Member

Full codename shed for the Slack knowledge bot tenant plus a Helm chart retrofit onto the shared tenant-chart-base library. Never deployed — clean greenfield rename.

Codename rename

  • Identity: npm package + the slack-knowledge-bot-oauth sub-package, OTel service.name / agents.platform, the /slack-knowledge-bot slash command, class + factory names (SlackKnowledgeBotOAuth, createSlackKnowledgeBotOAuth), Platform CR, ApplicationSet entry, image repo, docs.
  • Metrics: METER_NAME is the kebab service name; the OTLP→Prometheus collector snake-cases the scope into the metric prefix, so the PrometheusRule + dashboard PromQL use slack_knowledge_bot_* and alert names use the PascalCase form. Dashboard renamed to chart/dashboards/slack-knowledge-bot.json.
  • Substrate refs realigned to the renamed landing-zone slack-knowledge-bot-platform component: DynamoDB tables follow the component's ${prefix}-<resource> convention (slack-knowledge-bot-<env>-{tokens,audit,identity-cache}), Secrets Manager paths (slack-knowledge-bot/<env>/*), and the RDS DB name uses the snake form (slack_knowledge_bot).

Chart retrofit (chart/charts/tenant-chart-base)

  • Vendored the library + added it as a file:// dependency. serviceaccount / networkpolicy / grafana-dashboard are one-line includes of the library's named templates; deployments, service, ingress, externalsecret, prometheusrule, scaledobject use the library helpers. Dropped the per-chart _helpers.tpl.
  • Added otel.resourceAttributes so the library labels resolve. The audit-consumer keeps its own slack-knowledge-bot.io/service selector label.

Paired with nanohype/landing-zone#41 (the substrate rename). Build, typecheck, lint, prettier, and 126 tests pass; helm lint + helm template (base + per-env) render and the rendered substrate references match the landing-zone component outputs.

…art-base

Full codename shed for the Slack knowledge bot tenant and a chart retrofit
onto the shared library chart. Never deployed, so this is a clean rename.

─── Codename rename ───
- Identity renamed everywhere: npm package + the slack-knowledge-bot-oauth
  sub-package, OTel service.name / agents.platform, the /slack-knowledge-bot
  slash command, class + factory names (SlackKnowledgeBotOAuth,
  createSlackKnowledgeBotOAuth), Platform CR, ApplicationSet entry, image
  repo, docs.
- Metrics: METER_NAME is the kebab service name (slack-knowledge-bot); the
  collector snake-cases the scope into the Prometheus prefix, so the
  PrometheusRule + dashboard PromQL use slack_knowledge_bot_* and the alert
  names use the PascalCase form (SlackKnowledgeBot…). Dashboard file renamed
  to chart/dashboards/slack-knowledge-bot.json.
- Substrate references realigned to the renamed landing-zone
  slack-knowledge-bot-platform component: DynamoDB table names now follow
  the component's ${prefix}-<resource> convention
  (slack-knowledge-bot-<env>-{tokens,audit,identity-cache}), Secrets Manager
  paths (slack-knowledge-bot/<env>/*), and the RDS DB name uses the snake
  form (slack_knowledge_bot) since it's a SQL identifier.

─── Chart retrofit (chart/charts/tenant-chart-base) ───
- Vendored the tenant-chart-base library and added it as a file://
  dependency. serviceaccount / networkpolicy / grafana-dashboard are now
  one-line includes of the library's named templates; the deployments,
  service, ingress, externalsecret, prometheusrule, and scaledobject use the
  library's name/label/selector/serviceAccountName helpers. Dropped the
  per-chart _helpers.tpl.
- Added otel.resourceAttributes (agents.tenant/agents.platform) so the
  library labels resolve. The audit-consumer keeps its own
  slack-knowledge-bot.io/service selector label.

Build, typecheck, lint, prettier, and 126 tests pass; helm lint + template
(base + per-env) render and the rendered substrate references match the
landing-zone component outputs.
@stxkxs stxkxs merged commit dc550b1 into main Jun 7, 2026
6 checks passed
@stxkxs stxkxs deleted the rename/almanac-to-slack-knowledge-bot branch June 7, 2026 05:01
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