Skip to content

chore: Archie 2.8.4 integration#4486

Open
gbrbks wants to merge 1 commit into
openmeterio:mainfrom
gbrbks:feature/archie_integration
Open

chore: Archie 2.8.4 integration#4486
gbrbks wants to merge 1 commit into
openmeterio:mainfrom
gbrbks:feature/archie_integration

Conversation

@gbrbks

@gbrbks gbrbks commented Jun 5, 2026

Copy link
Copy Markdown

Summary

Integrates Archie architecture tooling and its generated baseline into the repository.

  • Adds the Archie architecture snapshot under .archie/ (blueprint, synthesized rules, drift/health/scan reports, per-folder enrichments) plus a small committed hook-runtime; the vendored tooling itself (Python scripts, viewer, caches) stays git-ignored via .archie/.gitignore.
  • Adds synthesized enforcement rules under .claude/rules/ and Codex agent config under .codex/.
  • Adds ~360 per-folder CLAUDE.md intent-layer files describing local patterns/anti-patterns.
  • Replaces AGENTS.md with Archie-generated architecture guidance and points CLAUDE.md at AGENTS.md as the canonical, vendor-neutral agent context.
  • Updates .gitignore (and adds .archieignore / .archiebulk) so Archie outputs are tracked while vendored tooling is ignored.

Why

Gives every agent/contributor a shared, version-controlled architecture map (decisions, trade-offs, pitfalls, per-folder patterns) and machine-checkable enforcement rules, so architectural drift can be caught on each change.

Notes for reviewers

  • This is tooling + generated docs only — no production Go code changes (584,654 insertions are almost entirely generated JSON/Markdown artifacts and per-folder CLAUDE.md files).
  • Known follow-up: the regenerated AGENTS.md dropped the previous Makefile quick-reference / testing-command tables and currently labels the project "Unknown Repository"; this should be patched (restore the command tables, set the real repo name) before relying on it as the command source of truth. Prior content is preserved in git history.
  • Suggested label: release-note/ignore (no runtime/API impact).

🤖 Generated with Claude Code

@gbrbks gbrbks requested a review from a team as a code owner June 5, 2026 17:40
@coderabbitai

coderabbitai Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 298 files, which is 148 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5be6883e-3469-4f61-8d07-0aa139cc671c

📥 Commits

Reviewing files that changed from the base of the PR and between 4bc7392 and f28634a.

⛔ Files ignored due to path filters (2)
  • .archie/enrich_state.lock is excluded by !**/*.lock, !**/*.lock
  • api/client/CLAUDE.md is excluded by !api/client/**
📒 Files selected for processing (298)
  • .archie/.gitignore
  • .archie/_common.py
  • .archie/align_check.py
  • .archie/arch_review.py
  • .archie/archie_config.json
  • .archie/blueprint.json
  • .archie/blueprint_raw.json
  • .archie/c4.json
  • .archie/deep_scan_state.json
  • .archie/dependency_graph.json
  • .archie/drift_diff.json
  • .archie/drift_history/drift_20260605_145932.json
  • .archie/drift_history/drift_20260605_171839.json
  • .archie/drift_history/latest.json
  • .archie/drift_report.json
  • .archie/enrich_batches.json
  • .archie/enrich_state.json
  • .archie/enrichments/w0.json
  • .archie/enrichments/w1.json
  • .archie/enrichments/w10.json
  • .archie/enrichments/w100.json
  • .archie/enrichments/w101.json
  • .archie/enrichments/w102.json
  • .archie/enrichments/w103.json
  • .archie/enrichments/w104.json
  • .archie/enrichments/w105.json
  • .archie/enrichments/w106.json
  • .archie/enrichments/w107.json
  • .archie/enrichments/w108.json
  • .archie/enrichments/w109.json
  • .archie/enrichments/w11.json
  • .archie/enrichments/w110.json
  • .archie/enrichments/w111.json
  • .archie/enrichments/w112.json
  • .archie/enrichments/w113.json
  • .archie/enrichments/w114.json
  • .archie/enrichments/w115.json
  • .archie/enrichments/w116.json
  • .archie/enrichments/w117.json
  • .archie/enrichments/w118.json
  • .archie/enrichments/w119.json
  • .archie/enrichments/w12.json
  • .archie/enrichments/w120.json
  • .archie/enrichments/w121.json
  • .archie/enrichments/w122.json
  • .archie/enrichments/w123.json
  • .archie/enrichments/w124.json
  • .archie/enrichments/w125.json
  • .archie/enrichments/w126.json
  • .archie/enrichments/w127.json
  • .archie/enrichments/w128.json
  • .archie/enrichments/w129.json
  • .archie/enrichments/w13.json
  • .archie/enrichments/w130.json
  • .archie/enrichments/w131.json
  • .archie/enrichments/w132.json
  • .archie/enrichments/w133.json
  • .archie/enrichments/w134.json
  • .archie/enrichments/w135.json
  • .archie/enrichments/w136.json
  • .archie/enrichments/w137.json
  • .archie/enrichments/w138.json
  • .archie/enrichments/w139.json
  • .archie/enrichments/w14.json
  • .archie/enrichments/w140.json
  • .archie/enrichments/w141.json
  • .archie/enrichments/w142.json
  • .archie/enrichments/w143.json
  • .archie/enrichments/w144.json
  • .archie/enrichments/w145.json
  • .archie/enrichments/w146.json
  • .archie/enrichments/w147.json
  • .archie/enrichments/w148.json
  • .archie/enrichments/w149.json
  • .archie/enrichments/w15.json
  • .archie/enrichments/w150.json
  • .archie/enrichments/w151.json
  • .archie/enrichments/w152.json
  • .archie/enrichments/w153.json
  • .archie/enrichments/w154.json
  • .archie/enrichments/w155.json
  • .archie/enrichments/w156.json
  • .archie/enrichments/w157.json
  • .archie/enrichments/w158.json
  • .archie/enrichments/w16.json
  • .archie/enrichments/w17.json
  • .archie/enrichments/w18.json
  • .archie/enrichments/w19.json
  • .archie/enrichments/w2.json
  • .archie/enrichments/w20.json
  • .archie/enrichments/w21.json
  • .archie/enrichments/w22.json
  • .archie/enrichments/w23.json
  • .archie/enrichments/w24.json
  • .archie/enrichments/w25.json
  • .archie/enrichments/w26.json
  • .archie/enrichments/w27.json
  • .archie/enrichments/w28.json
  • .archie/enrichments/w29.json
  • .archie/enrichments/w3.json
  • .archie/enrichments/w30.json
  • .archie/enrichments/w31.json
  • .archie/enrichments/w32.json
  • .archie/enrichments/w33.json
  • .archie/enrichments/w34.json
  • .archie/enrichments/w35.json
  • .archie/enrichments/w36.json
  • .archie/enrichments/w37.json
  • .archie/enrichments/w38.json
  • .archie/enrichments/w39.json
  • .archie/enrichments/w4.json
  • .archie/enrichments/w40.json
  • .archie/enrichments/w41.json
  • .archie/enrichments/w42.json
  • .archie/enrichments/w43.json
  • .archie/enrichments/w44.json
  • .archie/enrichments/w45.json
  • .archie/enrichments/w46.json
  • .archie/enrichments/w47.json
  • .archie/enrichments/w48.json
  • .archie/enrichments/w49.json
  • .archie/enrichments/w5.json
  • .archie/enrichments/w50.json
  • .archie/enrichments/w51.json
  • .archie/enrichments/w52.json
  • .archie/enrichments/w53.json
  • .archie/enrichments/w54.json
  • .archie/enrichments/w55.json
  • .archie/enrichments/w56.json
  • .archie/enrichments/w57.json
  • .archie/enrichments/w58.json
  • .archie/enrichments/w59.json
  • .archie/enrichments/w6.json
  • .archie/enrichments/w60.json
  • .archie/enrichments/w61.json
  • .archie/enrichments/w62.json
  • .archie/enrichments/w63.json
  • .archie/enrichments/w64.json
  • .archie/enrichments/w65.json
  • .archie/enrichments/w66.json
  • .archie/enrichments/w67.json
  • .archie/enrichments/w68.json
  • .archie/enrichments/w69.json
  • .archie/enrichments/w7.json
  • .archie/enrichments/w70.json
  • .archie/enrichments/w71.json
  • .archie/enrichments/w72.json
  • .archie/enrichments/w73.json
  • .archie/enrichments/w74.json
  • .archie/enrichments/w75.json
  • .archie/enrichments/w76.json
  • .archie/enrichments/w77.json
  • .archie/enrichments/w78.json
  • .archie/enrichments/w79.json
  • .archie/enrichments/w8.json
  • .archie/enrichments/w80.json
  • .archie/enrichments/w81.json
  • .archie/enrichments/w82.json
  • .archie/enrichments/w83.json
  • .archie/enrichments/w84.json
  • .archie/enrichments/w85.json
  • .archie/enrichments/w86.json
  • .archie/enrichments/w87.json
  • .archie/enrichments/w88.json
  • .archie/enrichments/w89.json
  • .archie/enrichments/w9.json
  • .archie/enrichments/w90.json
  • .archie/enrichments/w91.json
  • .archie/enrichments/w92.json
  • .archie/enrichments/w93.json
  • .archie/enrichments/w94.json
  • .archie/enrichments/w95.json
  • .archie/enrichments/w96.json
  • .archie/enrichments/w97.json
  • .archie/enrichments/w98.json
  • .archie/enrichments/w99.json
  • .archie/findings.json
  • .archie/health.json
  • .archie/health_history.json
  • .archie/hooks/blueprint-nudge.sh
  • .archie/hooks/post-lint.sh
  • .archie/hooks/post-plan-review.sh
  • .archie/hooks/pre-commit-review.sh
  • .archie/hooks/pre-turn.sh
  • .archie/hooks/pre-validate.sh
  • .archie/hooks/stop.sh
  • .archie/last_deep_scan.json
  • .archie/lint_gate.py
  • .archie/maintainer_guardrails.json
  • .archie/rule_index.json
  • .archie/rules.json
  • .archie/scan.json
  • .archie/scan_report.md
  • .archie/skeletons.json
  • .archie/telemetry/deep-scan_2026-06-05T172925Z.json
  • .archie/verdicts.json
  • .archiebulk
  • .archieignore
  • .claude/rules/architecture.md
  • .claude/rules/data-models.md
  • .claude/rules/dev-rules.md
  • .claude/rules/enforcement/by-topic/billing-lifecycle.md
  • .claude/rules/enforcement/by-topic/codegen.md
  • .claude/rules/enforcement/by-topic/concurrency.md
  • .claude/rules/enforcement/by-topic/data-access.md
  • .claude/rules/enforcement/by-topic/data-modeling.md
  • .claude/rules/enforcement/by-topic/dependencies.md
  • .claude/rules/enforcement/by-topic/error-handling.md
  • .claude/rules/enforcement/by-topic/layering.md
  • .claude/rules/enforcement/by-topic/mapping.md
  • .claude/rules/enforcement/by-topic/messaging.md
  • .claude/rules/enforcement/by-topic/schema-evolution.md
  • .claude/rules/enforcement/by-topic/security.md
  • .claude/rules/enforcement/by-topic/services.md
  • .claude/rules/enforcement/by-topic/testing.md
  • .claude/rules/enforcement/index.md
  • .claude/rules/enforcement/universal.md
  • .claude/rules/frontend.md
  • .claude/rules/guidelines.md
  • .claude/rules/infrastructure.md
  • .claude/rules/patterns.md
  • .claude/rules/pitfalls.md
  • .claude/rules/technology.md
  • .codex/agents/archie-analysis.toml
  • .codex/rules/archie.rules
  • .gitignore
  • AGENTS.md
  • CLAUDE.md
  • api/CLAUDE.md
  • api/spec/CLAUDE.md
  • api/spec/packages/CLAUDE.md
  • api/spec/packages/legacy/src/productcatalog/CLAUDE.md
  • api/v3/handlers/meters/query/CLAUDE.md
  • cmd/balance-worker/CLAUDE.md
  • cmd/billing-worker/CLAUDE.md
  • cmd/jobs/CLAUDE.md
  • cmd/jobs/ledger/backfillaccounts/CLAUDE.md
  • cmd/jobs/ledger/service/CLAUDE.md
  • cmd/notification-service/CLAUDE.md
  • cmd/server/CLAUDE.md
  • cmd/sink-worker/CLAUDE.md
  • collector/benthos/services/leaderelection/CLAUDE.md
  • collector/quickstart/collector/resources/CLAUDE.md
  • collector/quickstart/collector/streams/CLAUDE.md
  • collector/quickstart/seeder/CLAUDE.md
  • deploy/charts/CLAUDE.md
  • deploy/charts/benthos-collector/templates/CLAUDE.md
  • deploy/charts/openmeter/templates/CLAUDE.md
  • docs/decisions/CLAUDE.md
  • docs/migration-guides/CLAUDE.md
  • etc/seed/streams/CLAUDE.md
  • etc/wiretap/CLAUDE.md
  • openmeter/CLAUDE.md
  • openmeter/apiconverter/CLAUDE.md
  • openmeter/app/CLAUDE.md
  • openmeter/app/adapter/CLAUDE.md
  • openmeter/app/custominvoicing/adapter/CLAUDE.md
  • openmeter/app/custominvoicing/httpdriver/CLAUDE.md
  • openmeter/app/custominvoicing/service/CLAUDE.md
  • openmeter/app/httpdriver/CLAUDE.md
  • openmeter/app/sandbox/CLAUDE.md
  • openmeter/app/service/CLAUDE.md
  • openmeter/app/stripe/adapter/CLAUDE.md
  • openmeter/app/stripe/client/CLAUDE.md
  • openmeter/app/stripe/httpdriver/CLAUDE.md
  • openmeter/app/stripe/service/CLAUDE.md
  • openmeter/billing/CLAUDE.md
  • openmeter/billing/adapter/CLAUDE.md
  • openmeter/billing/charges/adapter/CLAUDE.md
  • openmeter/billing/charges/creditpurchase/CLAUDE.md
  • openmeter/billing/charges/creditpurchase/adapter/CLAUDE.md
  • openmeter/billing/charges/creditpurchase/lineengine/CLAUDE.md
  • openmeter/billing/charges/creditpurchase/service/CLAUDE.md
  • openmeter/billing/charges/flatfee/CLAUDE.md
  • openmeter/billing/charges/flatfee/adapter/CLAUDE.md
  • openmeter/billing/charges/flatfee/service/CLAUDE.md
  • openmeter/billing/charges/flatfee/service/realizations/CLAUDE.md
  • openmeter/billing/charges/invoiceupdater/CLAUDE.md
  • openmeter/billing/charges/lineage/CLAUDE.md
  • openmeter/billing/charges/lineage/adapter/CLAUDE.md
  • openmeter/billing/charges/lineage/service/CLAUDE.md
  • openmeter/billing/charges/meta/CLAUDE.md
  • openmeter/billing/charges/meta/adapter/CLAUDE.md
  • openmeter/billing/charges/models/CLAUDE.md
  • openmeter/billing/charges/models/chargemeta/CLAUDE.md
  • openmeter/billing/charges/models/creditrealization/CLAUDE.md
  • openmeter/billing/charges/models/invoicedusage/CLAUDE.md
  • openmeter/billing/charges/models/ledgertransaction/CLAUDE.md
  • openmeter/billing/charges/models/payment/CLAUDE.md
  • openmeter/billing/charges/service/CLAUDE.md
  • openmeter/billing/charges/statemachine/CLAUDE.md
  • openmeter/billing/charges/testutils/CLAUDE.md
  • openmeter/billing/charges/usagebased/CLAUDE.md
  • openmeter/billing/charges/usagebased/adapter/CLAUDE.md
  • openmeter/billing/charges/usagebased/service/CLAUDE.md
  • openmeter/billing/charges/usagebased/service/rating/CLAUDE.md
  • openmeter/billing/charges/usagebased/service/rating/delta/CLAUDE.md
  • openmeter/billing/charges/usagebased/service/rating/periodpreserving/CLAUDE.md

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gbrbks gbrbks force-pushed the feature/archie_integration branch from aac2775 to 6278ffb Compare June 5, 2026 17:44
Integrate Archie architecture tooling and its generated baseline.

- Add the Archie architecture snapshot under .archie/ (blueprint, rules,
  drift/health/scan reports, per-folder enrichments) plus the committed
  hook-runtime scripts; tool internals stay git-ignored via .archie/.gitignore.
- Add synthesized enforcement rules under .claude/rules/ and Codex agent
  config under .codex/.
- Add ~360 per-folder CLAUDE.md intent-layer files describing local patterns.
- Replace AGENTS.md with the Archie-generated architecture guidance and point
  CLAUDE.md at AGENTS.md as the canonical agent context.
- Update .gitignore (and add .archieignore/.archiebulk) to track Archie outputs
  while ignoring vendored tooling.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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