Skip to content

docs: app-baseline-kit dependency patterns across the fleet - #2206

Merged
stranske merged 1 commit into
mainfrom
docs/baseline-kit-dependency-patterns
Jun 1, 2026
Merged

docs: app-baseline-kit dependency patterns across the fleet#2206
stranske merged 1 commit into
mainfrom
docs/baseline-kit-dependency-patterns

Conversation

@stranske

@stranske stranske commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

Adds docs/guides/BASELINE_KIT_DEPENDENCY.md — the catalog of accepted patterns for pulling in the shared app-baseline-kit package (the baseline_kit import) across stranske/* consumer repos.

The guide documents:

  • Policy: Pattern A is the default; multiple patterns are acceptable; Pattern C (frozen SHA) is deprecated.
  • Pattern A (default): unpinned @main in pyproject.toml + [tool.uv.pip] no-emit-package, with the Pension-Data lock-SHA variant.
  • Pattern B: lock-only / requirements-baseline.txt for custom build backends (TPP).
  • Pattern C: frozen SHA in pyproject.toml — deprecated, with step-by-step migration to Pattern A.
  • Vendoring: special case for tiny zero-dependency harnesses (Inv-Man-Intake).
  • Per-repo mapping table and a decision-order checklist.

It complements the operational walkthrough in ops/CONSUMER_REPO_MAINTENANCE.md → Monorepo Package Dependencies (the conflict mechanics and no-emit fix) — that doc is for debugging install failures; this guide is for choosing a pattern.

Also

  • One-line link added from the INTEGRATION_GUIDE.md monorepo-dependency callout to the new pattern catalog.

🤖 Generated with Claude Code

Add docs/guides/BASELINE_KIT_DEPENDENCY.md as the catalog of accepted
patterns for the shared app-baseline-kit dependency, plus a one-line
link from the INTEGRATION_GUIDE monorepo-dependency callout.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@stranske
stranske temporarily deployed to agent-standard June 1, 2026 01:42 — with GitHub Actions Inactive
@stranske-keepalive

Copy link
Copy Markdown
Contributor

Workflow source needed

PR #2206 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely.

Please do one of:

  • Add <!-- meta:issue:123 --> or a normal Closes #123 / Related to #123 line.
  • Check one Workflow Source option in the PR body.
  • Add a hidden marker such as <!-- workflow-source:local_request -->, <!-- workflow-source:manual_remote -->, <!-- workflow-source:review_followup -->, <!-- workflow-source:sync_campaign -->, or <!-- workflow-source:dependabot -->.
  • Add a workflow source label such as workflow:source-direct-pr, workflow:source-local-request, workflow:source-review-followup, workflow:source-sync, or workflow:no-automation.

Once a valid source is present, this warning will not be reposted.

@agents-workflows-bot

Copy link
Copy Markdown
Contributor

Gate fast-pass: docs-only change detected; heavy checks skipped.

@stranske-keepalive

stranske-keepalive Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: 5832745
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / guard
Required: core tests (3.12): ⏳ pending, core tests (3.13): ⏳ pending, docker smoke: ⏳ pending, gate: ⏳ pending

Workflow / Job Result Logs
(no jobs reported) ⏳ pending

Updated automatically; will refresh on subsequent CI/Docker completions.


Keepalive checklist

Scope

No scope information available

Tasks

  • No tasks defined

Acceptance criteria

  • No acceptance criteria defined

@stranske
stranske marked this pull request as ready for review June 1, 2026 01:49
Copilot AI review requested due to automatic review settings June 1, 2026 01:49
@stranske
stranske merged commit 2ca5103 into main Jun 1, 2026
28 checks passed
@stranske
stranske deleted the docs/baseline-kit-dependency-patterns branch June 1, 2026 01:49
@stranske
stranske temporarily deployed to agent-standard June 1, 2026 01:49 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new documentation guide that defines accepted app-baseline-kit dependency patterns for consumer repos and links it from the integration guide.

Changes:

  • Adds docs/guides/BASELINE_KIT_DEPENDENCY.md with Pattern A/B/C/vendoring guidance and migration steps.
  • Adds an INTEGRATION_GUIDE.md cross-reference to the new dependency-pattern catalog.
  • Documents per-repo pattern mapping and decision order for future consumers.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
docs/INTEGRATION_GUIDE.md Adds a link from the monorepo dependency callout to the new guide.
docs/guides/BASELINE_KIT_DEPENDENCY.md New reference catalog for app-baseline-kit dependency declaration patterns.

@@ -0,0 +1,203 @@
# Declaring the `app-baseline-kit` Dependency
Comment on lines +30 to +33
- **Pattern C (frozen SHA) is deprecated.** A `pyproject.toml` that pins
`app-baseline-kit @ git+...@<sha>#...` is a stopgap, not a target state. Any
repo on Pattern C must migrate to Pattern A (it tracks Workflows `main` and
removes the SHA from the loop). See [Fixing a Pattern C repo](#fixing-a-pattern-c-repo-frozen-sha--pattern-a).
Comment thread docs/INTEGRATION_GUIDE.md
Comment on lines 373 to +378
> Exclude it from `requirements.lock` with `[tool.uv.pip] no-emit-package` so a
> frozen SHA in the lock cannot conflict with the unpinned `@main` URL when
> Workflows `main` advances. See
> [Monorepo Package Dependencies](ops/CONSUMER_REPO_MAINTENANCE.md#monorepo-package-dependencies-app-baseline-kit).
> [Monorepo Package Dependencies](ops/CONSUMER_REPO_MAINTENANCE.md#monorepo-package-dependencies-app-baseline-kit),
> and [Declaring the `app-baseline-kit` Dependency](guides/BASELINE_KIT_DEPENDENCY.md)
> for the catalog of accepted patterns and how to choose one.
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.

2 participants