cacti
cacti copied to clipboard
docs(packages): backfill stub READMEs for keychain and common packages
Closes #4303
Summary
Backfills three stub READMEs that previously contained only `TO-DO`/`TODO` placeholders, and corrects a misleading `description` field.
- `packages/cactus-plugin-keychain-azure-kv/README.md` — was 2 lines (`# TO-DO`)
- `packages/cactus-plugin-keychain-google-sm/README.md` — was 2 lines (`# TO-DO`)
- `packages/cactus-common/README.md` — was 9 lines of `TODO` placeholders
- `packages/cactus-plugin-keychain-google-sm/package.json` — `description` referenced Azure key vault instead of Google Cloud Secret Manager
Each new README documents Summary, Installation, Usage, Options, Web service endpoints (where applicable), Running tests, and References. The contents are derived from the existing source (`public-api.ts`, plugin classes, web-service folders) so they match the actual surface today.
`cactus-common` is depended on by virtually every other package, so the lack of any documented surface was the most impactful gap of the three.
Why this matters
Aligns with the Cacti Cleanup Initiative goals around documentation and contributor onboarding.
Validation
- Linked source paths and methods all exist on `main` (e.g. `Strings.dropNonPrintable`, `PluginKeychainAzureKv`, `AzureCredentialType`, `PluginKeychainGoogleSm`, `createRuntimeErrorWithCause`/`newRex`).
- No code changes outside docs and the one corrected `description` field; no test impact.
Out of scope
- Other test-only packages with short READMEs (`cactus-test-*`).
- A repo-wide README lint / CI gate — possible follow-up once a canonical structure is settled.
Pull Request Requirements
- [x] Rebased onto `upstream/main` and squashed into a single commit.
- [x] Signed off (`git commit -s`).
- [x] Conventional commit format. Title ≤ 80 chars; body lines ≤ 102 chars.