Skip to content

chore(release): prepare v1.7.0 - #380

Merged
dkstack-release[bot] merged 1 commit into
mainfrom
release/v1.7.0
Nov 25, 2026
Merged

dkstack-release[bot] merged 1 commit into
mainfrom
release/v1.7.0

Conversation

@dkstack-release

Copy link
Copy Markdown
Contributor

The Release workflow opened this pull request for v1.7.0.
It merges the pull request when validate passes.

Run: https://github.com/daniel-kindl/dkstack/actions/runs/45656405171

Changed

  • workflow/review-and-merge.md "After the merge": the author removes each worktree that it or its subagents made for the pull request, with the same checks (docs(workflow): author removes its worktrees #369). Before, only the agent that merged cleaned up, so the author's worktrees stayed.
  • coding/quality.md owns two rules that were only smells in review-standards (docs(coding): own literal value and complexity rules #365). "Literal values": give a literal with a meaning a named constant, with a short list of values that need no name. "Complexity": a cyclomatic complexity limit of 10 by default in the linter, run in CI as an error. The two smell rows link the sections.
  • writing/comments.md has a section for a comment as a signal (feat(skills): adapt the no-comments skill idea #199). A comment that explains a workaround shows a cause to fix. A comment that guards a constraint becomes a type, a check, a test or a lint rule, and then the comment goes. The section lists the comments that stay. review-standards has a matching smell row.
  • coding/security.md says that push protection of the code host meets the secret scan rule. setup-quality-gates and setup-repo-protection tell a consumer which option applies (ci: add a secret scan gate or clarify the rule #335).

Added

  • coding/types.md (docs(coding): add the type safety rule #362). Do not turn off the type check with any, dynamic, Any or @ts-ignore. Use the safe top type and check the value at the boundary. Write explicit types for public signatures and local variables. The page names the exceptions where a language cannot name a type, and the strict settings for TypeScript, JavaScript, C# and Python. review-standards has a smell row and setup-quality-gates links the page. CONTRIBUTING.md records the dkstack exception: the scripts are plain JavaScript, and a test fails on var.
  • skills/improve-agents (feat(skills): adapt the retro skill idea #198). The owner starts it after a session, a pull request or an issue. It finds changes to the agents' environment in six categories and grades each finding with the verify-claim levels. A finding with no event is a hypothesis. The report goes to the owner. A finding about dkstack becomes a draft issue, not an edit. The idea comes from the retro skill by Matt Pocock.
  • coding/absent-values.md (docs(coding): add the absent values rule #368). A value that can be absent says so in its type. The null check of the language is on. No special value stands for "no value". Input is converted once at the boundary. An absent value does not report a failure, and an empty collection means "no items".
  • scripts/check-consumer.mjs checks a consumer: the AGENTS.md pointer, CLAUDE.md, .editorconfig, .gitattributes, the lockfile, the CI audit steps and Dependabot. It also checks each copied dkstack script against scripts/dkstack-hashes.json for its tag, with no network. setup-quality-gates step 4 copies both (feat(scripts): add check-consumer #305).
  • scripts/check-links.mjs has an option --dkstack-root <dir> (feat(scripts): let consumers check dkstack links #332). Without it, a run in a consumer
    checks only the local links and skips each dkstack URL. With it, the run checks each dkstack file and
    anchor against a clone of the dkstack branch. The run in dkstack does not change. setup-quality-gates
    copies the script and documents both forms.
  • coding/immutability.md (docs(coding): add the immutability rule #364). Declare a variable so that it cannot be reassigned, do not change an argument, and make value objects immutable. A change in place needs a measurement and stays inside one function or type.
  • scripts/check-diagrams.mjs (feat(scripts): add check-diagrams #316). It checks the format rules of make-diagram. A mermaid
    block with no paragraph directly above it fails. A tracked .png or .svg file in docs/
    fails. A diagram with more than 12 nodes gives a warning only. npm run check and validate
    run it. The file has no dependencies, so a consumer can copy it.
  • coding/feature-flags.md (docs(coding): add the feature flags rule #377). Each temporary flag has an owner and a linked issue that removes it. Tests cover each state that can reach production. A flag has a safe default, is not nested, and is not configuration or a permission.
  • setup-quality-gates copies check-title, check-dashes and check-writing to a consumer, with
    markdown-files.mjs and pr-event.mjs that they import (feat(skills): copy more checks to consumers #304). Step 4 gives the title steps of
    validate as the CI example. A test pins the list and runs each script alone.
  • coding/time.md (docs(coding): add the time and dates rule #366). Store an instant in UTC as RFC 3339 text. Store a future civil time with its IANA time zone ID. Domain code gets a clock, a duration uses a monotonic clock, and calendar arithmetic uses the platform library.
  • scripts/check-maps.mjs --diff (feat(scripts): add a diff mode to check-maps #317). A change to docs/maps/ fails when it also changes a
    file outside docs/maps/, docs/adr/ and CONTEXT.md, or when it deletes a map. The
    validate workflow runs it.
  • The first tips in tips/index.md (docs(tips): add the first tips #367): check the exit code of each step, check for a breaking change before you push, and find worktrees and branches that are left. AGENTS.md "Sections", the README and the triage section map list tips/index.md.
  • A test fails for a page in a section folder that no file in test/ names (test: require a test for each page #314). The 41 pages
    that had no test get one in test/section-pages.test.mjs.
  • .gitignore ignores .claude/worktrees/, so git add -A does not add an agent worktree (chore: ignore agent worktrees #363). A test checks that .claude/settings.json is not ignored.
  • A test checks the example progress block in learning/progress.md (test: check the example progress block #315). It parses the block
    with no dependency and checks the keys, schema_version, the levels, the assistance values,
    the dates and the empty evidence of an unknown level.
  • scripts/check-todos.mjs (feat(scripts): require an issue on each TODO #313). It fails when a TODO in scripts/ or test/ has no
    #NNN issue reference. npm run check and validate run it.
  • check-dashes checks the .mjs, .yml and .yaml files, in addition to Markdown (feat(scripts): check dashes in script comments #312). An em
    dash or an en dash in a script or in a workflow fails.
  • check-context checks CONTEXT-MAP.md and each context file that it lists (feat(scripts): check multi-context glossaries #342). The glossary
    rules and domain-glossary describe a project with two or more contexts.
  • skills/model-domain (feat(skills): add model-domain #341). The skill finds the bounded contexts first, then the aggregates,
    value objects and events, and writes a Domain model block in the issue. triage,
    clarify-intent, plan-work and skills/index.md link it.
  • setup-repo-protection covers an owner who uses one code host account with the agents (docs(skills): cover a single-account owner #334).
    It gives the safe settings and a sample exception for AGENTS.md. The step says that the
    independent review still applies.
  • architecture/domain-modeling.md (docs: add the domain modeling rule page #340). The page has rules for bounded contexts, the
    context map, aggregates, value objects and domain events, and says when not to model.
  • check-title gives a warning when the first word of the description ends in -ed, -ing or
    -s (feat(scripts): warn on a non-imperative title #311). The exit code does not change. Some imperative verbs, for example pass, focus
    and embed, give no warning.
  • scripts/check-pr-body.mjs and a validate step (feat(scripts): add check-pr-body #301). The step checks the PR body for an
    issue link, an Evidence section, one Observability line and a valid Visual verification line.
  • check-adrs checks the ADR file names and amendments (feat(scripts): check ADR names and amendments #307). A new ADR is named NNNN-short-title.md, and no two ADRs share a number. A change to an Accepted ADR only adds lines under a ### Amendment YYYY-MM-DD heading. A new --diff <file> option gives the diff without git.
  • scripts/check-suppressions.mjs (feat(scripts): add check-suppressions #306). It reads the added lines of the diff against the
    merge base. It fails on a blanket suppression and on a suppression with a rule ID but no
    reason. A NoWarn in one project file needs rule IDs and a reason. It gives a warning, not a
    failure, for a lowered number after a known coverage gate key or a raised max-warnings
    number. It skips Markdown and plain text (.txt) files (feat(scripts): add check-review #309). npm run check and validate
    run it.
  • scripts/audit-settings.mjs and npm run audit:settings (feat(scripts): audit the repository settings #302). It reads the settings of a
    repository with gh api and compares them with setup-repo-protection. It changes nothing.
    The owner runs it. validate does not run it.
  • check-workflows checks more CI workflow rules (feat(scripts): extend check-workflows #303). Each job sets timeout-minutes. A
    release or deploy job needs an environment:, and its workflow starts only by
    workflow_dispatch, sets concurrency and checks that the ref is main. The allowed secrets
    are in .github/check-workflows.json, not in the code. dkstack keeps the release app exception.
    The check now fails closed. Jobs must be at 2 spaces under jobs:, and job keys at 4 spaces.
    Triggers must be on the on: line or at 2 spaces under it. Another form fails, also when the
    workflow does not release.
    Consumer action: before you copy the new check-workflows.mjs, write each job at 2 spaces under
    jobs: with its keys at 4 spaces, and each trigger on the on: line or at 2 spaces under it.
  • A --diff mode in scripts/check-changelog.mjs. A change that adds a page or a skill must also change ## [Unreleased]. The validate workflow runs it (feat(scripts): add a diff mode to check-changelog #310).
  • scripts/audit-issues.mjs and npm run audit:issues (feat(scripts): audit issues and labels #308). The tool reads the open issues and the labels of a repository with gh. It lists an issue with no type label, more than one, or one that dkstack does not name. It lists an issue with no Goal or Acceptance criteria heading. It lists a relation in text that the tracker does not have. It lists a missing type or priority label. It writes nothing.
  • scripts/check-breaking.mjs (feat(scripts): add check-breaking #300). On a pull request, it lists each removed page, removed
    skill and removed anchor that a skill or AGENTS.md links. If it finds one, the title must
    have ! and ## [Unreleased] must have a new "Consumer action:" line. An anchor that the
    page keeps as a heading, or as an HTML id or name attribute, is not removed.
  • scripts/check-review.mjs (feat(scripts): add check-review #309). A reviewer runs it on the review file before posting. It
    checks the verdict, the head SHA, the file:line of each finding and open findings. The merge
    rule names gh pr merge --squash --match-head-commit <sha>.

Changed

Fixed

  • scripts/check-pr-body.mjs reads links and inline code (fix(scripts): read links and code in check-pr-body #330). A closing reference in inline
    code or in the label of a link does not count. A link counts only when its destination is an
    issue URL, for example Closes [#19](https://github.com/o/r/issues/19). A removed link or code
    span does not join the text on each side of it into a new reference.
  • scripts/markdown-files.mjs lists the files that Git sees (fix(scripts): skip ignored files in md checks #333). In a Git work tree, it
    lists the tracked files and the untracked files that .gitignore does not ignore. So
    check-dashes, check-writing and check-links read the same files locally and in CI.
    Outside a Git work tree, or in a folder that .gitignore ignores, it reads the folder as
    before.

@dkstack-release
dkstack-release Bot merged commit 74490ed into main Nov 25, 2026
1 check passed
@dkstack-release
dkstack-release Bot deleted the release/v1.7.0 branch November 25, 2026 16:42
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.

0 participants