docs(dev): extract infrahub-collect knowledge (ADRs, knowledge, guidelines)#142
Merged
fatih-acar merged 1 commit intoJul 10, 2026
Merged
Conversation
…uidelines Bootstrap the dev/ documentation system (adr/, knowledge/, guidelines/, README index) and extract durable decisions from the completed infrahub-collect spec: - 7 ADRs (CLI shell-out, non-fatal timeout-bounded collectors, read-only collection, key-name masking choke-point, uniform bundle+manifest, --include-backup reuse, offline-by-default/opt-in benchmark) - knowledge/infrahub-collect.md (CLI, bundle layout, manifest, backend seam) - guidelines/collectors.md (conventions for future collectors) Archive specs/003-collect-tool under specs/archive/ and mark it Extracted. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Deploying infrahub-ops-cli with
|
| Latest commit: |
64cfae2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d27af8b0.infrahub-ops-cli.pages.dev |
| Branch Preview URL: | https://fac-collect-tool-extract.infrahub-ops-cli.pages.dev |
There was a problem hiding this comment.
1 issue found across 23 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="specs/archive/003-collect-tool/EXTRACTED.md">
<violation number="1" location="specs/archive/003-collect-tool/EXTRACTED.md:1">
P3: This is a pure docs/archive change (no product code), which per branch policy belongs on stable, not develop. The PR description acknowledges the potential need to retarget to main, so this is likely already tracked — confirming it's intentional before merge avoids a retarget delay later.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| @@ -0,0 +1,26 @@ | |||
| # Extraction Record | |||
There was a problem hiding this comment.
P3: This is a pure docs/archive change (no product code), which per branch policy belongs on stable, not develop. The PR description acknowledges the potential need to retarget to main, so this is likely already tracked — confirming it's intentional before merge avoids a retarget delay later.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At specs/archive/003-collect-tool/EXTRACTED.md, line 1:
<comment>This is a pure docs/archive change (no product code), which per branch policy belongs on stable, not develop. The PR description acknowledges the potential need to retarget to main, so this is likely already tracked — confirming it's intentional before merge avoids a retarget delay later.</comment>
<file context>
@@ -0,0 +1,26 @@
+# Extraction Record
+
+**Extracted on**: 2026-07-09
</file context>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extracts durable engineering knowledge from the completed
003-collect-toolspec into a newdev/documentation system, and archives the spec. Produced by/speckit.opsmill.extract.What's here
Bootstraps
dev/(this repo had nodev/docs system) with a Go/ops-CLI-adapted layout:dev/adr/,dev/knowledge/,dev/guidelines/, and adev/README.mdindex.7 ADRs capturing the load-bearing decisions and the alternatives rejected:
docker/kubectlinstead of client libraries.tar.gzbundle + manifest, uniform across Docker/Kubernetes--include-backupreusesCreateBackupnon-interactively (force=true) as a standalone artifactKnowledge —
dev/knowledge/infrahub-collect.md: how the tool works today (CLI surface, bundle layout, manifest schema, thecollectBackendseam, and the "services log to stderr → combined pipe" gotcha).Guidelines —
dev/guidelines/collectors.md: prescriptive conventions for future collectors (bound every subprocess; failures non-fatal; distinguish absent-vs-failed; route sensitive dumps through the masking choke-point; stay read-only; add bounded variants of shared backend helpers rather than mutating them; non-interactive paths must not gate on unbounded waits).Archive —
specs/003-collect-tool/→specs/archive/003-collect-tool/(history preserved viagit mv), spec markedStatus: Extracted, with anEXTRACTED.mdrecord.Notes
rumdlmarkdown lint passes on all new files.force=truedecision that fixed the Enterprise-edition--include-backupCI failure.🤖 Generated with Claude Code
Summary by cubic
Extracts durable engineering knowledge for
infrahub-collectinto a newdev/docs system (ADRs, knowledge, guidelines) and archives the003-collect-toolspec. Improves clarity and future maintenance with no code changes.dev/docs (adr/,knowledge/,guidelines/) with an index.--include-backupreuse, offline-by-default benchmark).knowledge/infrahub-collect.md(CLI, bundle layout, manifest, backend seam, gotchas) andguidelines/collectors.md(timeouts, non-fatal errors, masking, read-only, bounded helpers, testing).specs/003-collect-tool/tospecs/archive/003-collect-tool/with an extraction record; no source code changes.Written for commit 64cfae2. Summary will update on new commits.