Skip to content

docs: extract ADRs and knowledge from 6 completed specs - #10103

Open
polmichel wants to merge 7 commits into
developfrom
pmi-20260731-speckit-extract
Open

docs: extract ADRs and knowledge from 6 completed specs#10103
polmichel wants to merge 7 commits into
developfrom
pmi-20260731-speckit-extract

Conversation

@polmichel

@polmichel polmichel commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

What

Runs speckit.opsmill.extract over 6 completed spec directories, promoting durable decisions and reference material into dev/adr/, dev/knowledge/, and dev/guidelines/, then archiving each spec under dev/specs/archive/. One commit per spec, plus an index update.

Most feature mechanics were already documented by the implementations; extraction filled the remaining gaps (chiefly the decision records) and moved the specs out of the active area.

Added ADRs

# Title Source spec
0011 Inline evaluation of local Jinja2 computed attributes during update mutations ifc-2273
0012 Selective post-merge regeneration driven by the captured merge diff ifc-2704
0013 Webhook deliveries as retention-bounded Prefect-run objects ifc-2755
0014 Generic per-task recovery actions with polymorphic task typing ifc-2755
0015 Uniform bounded fixed-delay auto-retry for webhook deliveries ifc-2755

Knowledge / guideline changes

  • knowledge/backend/async-tasks.md — new "Task typing (polymorphic)" section (TaskNodeInterface, TASK_TYPES, resolve_type).
  • knowledge/backend/webhooks.md — corrected the retry paragraph, which described a transient classifier flag no longer present in the code, to the uniform bounded retry that landed.
  • knowledge/backend/schema-definitions.md — new "Read-only and Display Tier" section (read_only, display=SchemaAttributeDisplay.EXTRA).
  • guidelines/backend/python.md — new "Best-effort side effects degrade to a safe fallback" rule under Exception Handling.

Archived (no new content — already documented)

  • infp-445-webhook-headers and infp-460-local-computed-attributes have no research.md; their behavior already lives in webhooks.md / computed-attributes.md. Recorded and archived.
  • infp-556-auto-create-groups — the decision is already ADR 0005; only the reusable schema-flag knowledge was new.

All 6 specs moved to dev/specs/archive/, each with an EXTRACTED.md and Status: Extracted; the inbound doc links were repointed to the archive path.

Notes

  • ifc-2437-merge-failure-recovery was intentionally left out of this PR and remains an active spec.
  • Every new ADR/knowledge claim was checked against shipped code before writing.
  • The .specify/ extension reinstall (opsmill-speckit v1.1.0) is not part of this branch; it stayed in the working tree as an unrelated tooling change.

🤖 Generated with Claude Code

polmichel and others added 6 commits July 31, 2026 14:35
Extract ADR 0011 from ifc-2273-local-computation-jinja2 and archive the
spec. The feature's mechanics were already documented in
computed-attributes.md by the implementation; only the architectural
decision (inline evaluation for local changes, background tasks for
remote) was missing as a record.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Extract ADR 0012 from ifc-2704-incremental-merge-regen and archive the
spec. Add a best-effort-side-effect broad-catch rule to the Python
exception-handling guideline, generalized from the merge-diff capture.
The runtime flow was already documented in selective-merge-regeneration.md;
update its two spec references to the archive path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Extract ADRs 0013-0015 from ifc-2755-webhook-delivery-operability and
archive the spec: deliveries as Prefect-run objects, generic per-task
recovery actions with polymorphic task typing, and uniform bounded retry.
Document the polymorphic task typing in async-tasks.md, and correct the
webhooks.md retry paragraph, which described a transient flag no longer
present in the code, to the uniform retry that landed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Custom webhook headers are already documented in webhooks.md by the
landed implementation; this early draft has no research.md and yields no
new content. Record and archive it, and fix the webhooks.md See Also link
to the archived path (and its inaccurate label).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…mented)

The inline local computed-attribute behavior is already documented in
computed-attributes.md, and the decision is recorded in ADR 0011 (from
the sibling ifc-2273 spec). This early draft has no research.md and
yields no new content; record and archive it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Extract the reusable read_only and display=EXTRA schema-flag semantics
into schema-definitions.md and archive infp-556-auto-create-groups. The
origin attribute decision is already recorded in ADR 0005, and the SSO
pipeline in authentication.md; update their spec references to the
archive path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the type/spec A specification for an upcoming change to the project label Jul 31, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 81 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Shadow auto-approve: would auto-approve. Archives completed specs and extracts decisions into ADRs/knowledge. Purely documentation change with no code, configuration, or operational impact.

Re-trigger cubic

Add the five ADRs extracted from the archived specs to the Current ADRs
list.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@polmichel
polmichel force-pushed the pmi-20260731-speckit-extract branch from 714778d to ad33a4e Compare July 31, 2026 13:41
@polmichel polmichel changed the title docs: extract ADRs and knowledge from 7 completed specs docs: extract ADRs and knowledge from 6 completed specs Jul 31, 2026
@polmichel
polmichel marked this pull request as ready for review July 31, 2026 13:52
@polmichel
polmichel requested a review from a team as a code owner July 31, 2026 13:52

### Best-effort side effects degrade to a safe fallback

<!-- Extracted from specs/ifc-2704-incremental-merge-regen on 2026-07-31 -->

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.

I don't know if these are valuable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/spec A specification for an upcoming change to the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants