Skip to content

docs: close the language-first layout plan - #61

Merged
albertospelta merged 18 commits into
masterfrom
docs/close-layout-plan
Nov 19, 2026
Merged

albertospelta merged 18 commits into
masterfrom
docs/close-layout-plan

Conversation

@albertospelta

Copy link
Copy Markdown
Member

Closes docs/plans/language-first-layout.md (step "PR 5, closing"): accepts ADR-0003, moves what lasts from the plan to its one home, and deletes the plan. Documentation only: no workflow, code, package or version file changes.
d Latest flags.

- Accept ADR-0003 by the maintainers' decision of 2026-11-19: dotnet/
  keeps one solution with src/, tests/ and samples/, and a second
  NuGet package puts its version.json in its project folder.
- Point its references to the rule "each package has one NBGV
  version.json at its toolchain root" at ADR-0004, which supersedes
  ADR-0002 and states that rule word for word.
- Word its consequence for an accepted record: a second NuGet
  package needs a record that supersedes that rule of ADR-0004.
- AGENTS.md: the rule for a new package's version.json no longer
  calls the question open; it names both records.
- Architecture: say why the release workflows read the version from
  the NBGV copy that stamps the package. Two NBGV versions can count
  different heights for the same commit, so another copy, such as
  the nbgv action, could push or tag a version other than the packed
  one.
- Architecture: a continuous integration section says when the CI
  workflows run and why their job ids carry the language, and that a
  required check of a workflow skipped by its path filter blocks
  merging; a check can be required only if its job runs on every
  pull request, as a gate job in a workflow without path filters
  does.
- Release guide: the tag ruleset a maintainer sets up once, with
  its rules and why "Restrict creations" is left out.
- Release guide: what to do if the MCP release fails at npm ci
  because setup-node v7 no longer sets a placeholder NODE_AUTH_TOKEN.
- AGENTS.md: the rule on CI job ids links its reason in the
  architecture instead of restating it.
- These lived only in the language-first layout plan, which closes.
- AGENTS.md: workflows follow GitHub's secure use reference, as all
  four already do: actions pinned to full commit SHAs with the
  version in a comment, which Dependabot updates; contents: read at
  the top and write permissions on the job; expressions reach
  scripts through env. Every checkout sets persist-credentials:
  false.
- AGENTS.md: the .snk path in dotnet/Directory.Build.props and the
  path where the release workflow writes the key change together,
  because the build signs only when the file exists and a mismatch
  builds an unsigned package without an error. The rule is at the
  root, because it spans dotnet/ and .github/workflows/.
- dotnet/AGENTS.md: never delete samples/Directory.Build.props or
  .targets, which keep the samples off the build settings of
  dotnet/; an empty file fails with MSB4024.
- These rules lived only in the language-first layout plan, which
  closes.
- Next, first: run the MCP server's workflows on a supported Node.js
  LTS, since both set Node.js 20, which reached end of life on
  2026-04-30; npm trusted publishing needs Node.js 22.14 or later, so
  it comes after.
- Later: a timeout for the dotnet-ci job, which runs up to GitHub's
  default of 360 minutes against the live service, and a concurrency
  group that cancels superseded pull request runs in both CI
  workflows.
- Known debt: releases are tied to master only by the branch guard
  in each workflow file, and the nuget.org policy for the pre-move
  release.yml, which no workflow on master uses any more, is to be
  removed; a GitHub environment limited to master, named in the
  nuget.org policy, repays the rest.
- Known debt: the .NET files whose byte order mark, final newline,
  trailing whitespace or indentation contradicts .editorconfig,
  listed so that one commit can normalize them.
- Also: the npm trusted publishing item names its dependency on the
  Node.js item, and the null formatted item drops a clause that
  restated its cost.
- docs/decisions/README.md said that an accepted record is not
  rewritten, with no exception, while this pull request fixes the
  links of ADR-0001, ADR-0002 and ADR-0004 to the deleted plan.
- A typo or a broken link fixed is not a change of decision, so it
  is allowed in any record and leaves its status and date as they
  are: MADR's date is when the decision was last updated.
- Delete docs/plans/language-first-layout.md: the work it planned is
  merged, and what lasts now lives in the records, the architecture,
  the release guide, the AGENTS.md files and the backlog.
- Backlog: Now says no plan is open; drop the phrases that pointed at
  the plan or at the move as future work.
- ADR-0001, ADR-0002 and ADR-0004 link the plan at its last version,
  commit 4928eac, so the link keeps working; only the URL changes,
  not the decisions or their dates.
- Delete docs/guides/release.md: the release workflows hold the steps,
  and ADR-0004 and the workflows hold the tags, titles and flags.
- Add to dotnet/AGENTS.md and typescript/AGENTS.md the one-line command
  that prints the version a release would publish, noting that only an
  up-to-date master gives the release version.
- Drop the links to the guide from the root AGENTS.md,
  dotnet/AGENTS.md, the architecture, CONTRIBUTING.md, docs/README.md
  and the backlog's MCP registry item.
- Delete docs/README.md and give the root AGENTS.md a Documentation
  section with one line per home in use, design, decisions and
  backlog, saying when to read it: agents load AGENTS.md in every
  session, so docs/ needs no index of its own.
- Point the root AGENTS.md and CONTRIBUTING.md to that section, and
  the contributors line of README.md to CONTRIBUTING.md.
- Add the boundary "Never: add docs/plans/": the state of work in
  progress stays outside this repository, so drop the rule that kept a
  plan's Progress current.
- Tighten the wording of the workflow, AI client and secure-use rules
  without dropping any of them; the sections already follow the
  template order, with no Pitfalls at the root.
- dotnet/AGENTS.md takes from CONTRIBUTING.md why the commands run
  from dotnet/, that net472 tests run only on Windows, and that local
  builds are not strong-named, stated once with the condition in
  Directory.Build.props.
- The .snk path rule moves from the root AGENTS.md to dotnet/AGENTS.md
  and refers to that condition instead of restating it.
- The NBGV rule on dotnet/version.json becomes a Pitfall of
  dotnet/AGENTS.md, without the versions tried, and leaves the
  architecture, so it has one home; the version.json update rule
  points to it.
- typescript/AGENTS.md names the Node.js major of typescript-ci.yml
  and why, instead of linking CONTRIBUTING.md.
- CONTRIBUTING.md keeps one line on build and test that links both
  files.
- ADR-0003 links the NBGV caveat through a permalink to the
  architecture that held it, a link fix its README allows.
- Follow the sections of the design template: Context, Building
  blocks, Cross-cutting rules, Deployment; drop Key flows, which the
  code shows, and both Mermaid diagrams.
- Turn the version table into one bullet per package with its version
  file, path filter, stamping, release workflow and registry, and
  merge Versions and releases with Continuous integration into
  Deployment.
- Keep why the release workflows read the version from the NBGV copy
  that stamps the package, and why a path-filtered check can't be
  required, without the versions tried on a simulated move.
- Say in docs/design/README.md when to read each document, and point
  the root and typescript AGENTS.md to the Deployment section.
- Drop the Now section: nothing is in progress, and plans no longer
  live in this repository.
- Keep every item, each cut to its outcome, why and done-when, or for
  known debt to what, cost and repay; the .editorconfig item names the
  kinds of mismatch instead of every file.
- Name release.yml by the move commit 6df1bf0 instead of linking the
  history section of CONTRIBUTING.md, and drop the clause on
  CONTRIBUTING.md from the Node.js item.
- Keep the intro, Issues, a one-line Build and test that links the
  language AGENTS.md files, the commit and pull request conventions,
  and the license.
- Remove Where code goes, Versions, tags and releases, and Reading
  history across the move: the layout shows itself, ADR-0004 and the
  workflows hold the release conventions, and git log --follow shows
  the history.
- Drop the commit bullets that restated AGENTS.md: CI scope, document
  updates and the REST contract.
- The caveat on dotnet/version.json now lives in the Pitfalls of
  dotnet/AGENTS.md, so ADR-0003 links it there with a relative link
  instead of a permalink to the old architecture.
- ADR-0003 is accepted in this same pull request and still proposed
  on master, so it can still be edited.
- The Documentation list linked CONTRIBUTING.md for contributors and
  maintainers, as the Contributing section already does; keep the
  section.
- The rule listed the release guide, which held the command that
  prints the version a release would publish; that command now lives
  in each language folder's AGENTS.md, so a new package adds its own
  there.
- On Node.js 20, npm ci in the release workflow may fail without a
  placeholder NODE_AUTH_TOKEN, which setup-node v7 no longer sets; the
  workaround was in the deleted release guide, so the item now says to
  land before the next MCP release.
- Number the items in their current order, from B-1 to B-16, across
  Next, Later and Known debt, and add the Next ID line, B-17, so plans,
  pull requests and commit footers can cite an item by its ID.
- Replace the references that relied on an item's place ("the Node.js
  item above", "the enums above") with B-1 and B-10.
- The Documentation line of AGENTS.md says that a new item takes the
  Next ID and that IDs are never reused, since agents on this
  repository may not have the documentation guidelines.
@albertospelta
albertospelta marked this pull request as ready for review November 19, 2026 14:02
@albertospelta
albertospelta merged commit 2ab697f into master Nov 19, 2026
2 checks passed
@albertospelta
albertospelta deleted the docs/close-layout-plan branch November 19, 2026 14:04
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.

1 participant