Skip to content

Shared working agreement guides humans and agents - #306

Merged
Marius Storhaug (MariusStorhaug) merged 3 commits into
mainfrom
msx-working-agreement
Dec 3, 2026
Merged

Marius Storhaug (MariusStorhaug) merged 3 commits into
mainfrom
msx-working-agreement

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Contributors and agents now have one shared working agreement for task scope, communication, exploration, evidence, and completion. Existing entry routes reach it without copied policy in agent files.

Existing technical contracts, required checks, independent review, and approval gates remain in force. Existing agent routers need no configuration migration.

New: Shared development guidance has one source

The Working Agreement covers answers, experiments, and lasting repository changes. It keeps work proportional to the request, preserves unrelated work, and requires verified outcomes and saved deliverables.

Dependent procedures now open drafts at an early coherent checkpoint, use authorized follow-up routes, and distinguish Copilot app Agent merge from GitHub auto-merge. Readiness does not authorize merging.

Context mismatches use the owner-selected diagnosis rule: correct wrong implementation, confirm and correct wrong intent, or obtain evidence and a decision before changing an unresolved contract. Correct documents and tests remain unchanged.

Technical details

The canonical page is src/docs/Ways-of-Working/Working-Agreement.md. README, the contribution guide, the documentation indexes, and site navigation reach it. Plugin 0.3.2 adds the eight-line msx-ways-of-working-working-agreement pointer skill. Root AGENTS.md and both client pointers remain unchanged.

The evaluation read all 178 tracked Markdown files at 6518e5e1213f40f942586619da1d54d76ae56378, plus ten supporting configuration files. Both new Markdown files were reviewed after creation. Baseline findings distinguish agreement (105 files), legitimate domain detail (57), missing guidance (10), and direct instruction conflicts (6).

The alignment pass covers every changed surface below. Unprefixed page names are under src/docs/Ways-of-Working/.

Changed surface Standards checked Framework documentation checked Result
Working Agreement, README, root and Ways of Working indexes, src/zensical.toml Markdown, Natural Language, Writing Guide, Documentation Model Agentic Development discovery and page model Fixed in this PR
Edited delivery, follow-up, and handoff clauses in .github/CONTRIBUTING.md, Contribution Workflow, Workflow, Definition of Ready and Done, Evolutionary Development, Review Etiquette, Session Interactions, and Workflow Stages Implement/Review Working Agreement, contribution workflow, readiness and review contracts Canonical Workflow and stage ownership Fixed in this PR
Diagnosis clauses in Principles AI-first Development and Engineering Practices Evidence-based diagnosis, context-first and test-first requirements Existing intent-versus-implementation contract and the recorded three-case owner decision Fixed in this PR
Pointer clauses in Organization Standard and Agentic Development design/conformance One fact per canonical owner; no copied agent policy Agentic Development spec and AGENTS template Fixed in this PR
New plugin skill and the two matching package manifests Pointer-only skills and synchronized plugin versions Plugin Distribution and Plugin Marketplaces Fixed in this PR
Nine other generated indexes under Capabilities, Coding Standards, and Initiatives Front matter and generated navigation Documentation Model and existing index generator Aligned

The existing generator also refreshes eleven tables that were stale before this change. Two are the root and Ways of Working indexes listed above. Remaining generated differences come from existing page descriptions, not new policy edits.

Local validation passes: index drift check; relative links in 131 site files; Markdown lint across all 180 current Markdown files, including hidden guidance; all 49 in-scope cross-repository links; all 66 Pester tests in six suites with no skips; and a clean build with the unchanged Zensical 0.0.59 requirement. Static discovery checks cover both clients, all router destinations, human entries, navigation, the skill, and thin-router example/conformance. CI and automated-review evidence are recorded in this pull request's checks and review threads.

The scoped convergence sweep searched open issues for working agreement, context-first, and agent instructions, and inspected #281, #284, and #123. The owner-approved diagnosis cases satisfy #281. The independent self-review and review-instruction trust questions in #284 and #123 remain unchanged. Other retained proposals concern linter/standard precedence, runtime freshness, sensitive reporting, and principle-link direction; they do not require exceptions to the edited clauses.

Reference standards: Documentation Model, Markdown, Natural Language, Agentic Development spec, and AGENTS template.

Related links

Closes #305.

Resolves #281.

Diagnosis-first decision and all three cases.

Link the canonical agreement from human and agent discovery routes. Add a thin plugin skill and refresh generated navigation from existing page metadata.
Keep early drafts, scoped follow-ups, required gates, and thin agent routes consistent. Reconcile context-first guidance with evidence-based diagnosis while preserving already-correct artifacts.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Workflow and readiness instructions still omit the new authorization checks for filing follow-up issues and enabling auto-merge, leaving conflicting contributor guidance.

2 open issues
What changed in this PR

Introduces a canonical Working Agreement for MSX contributors and agents, supporting issue #305 while preserving existing delivery and approval requirements.

Changes:

  • Defines shared expectations for scope, communication, exploration, evidence, and completion.
  • Aligns related guidance on follow-ups, authorization, and context-first development.
  • Adds discovery links and a plugin skill, synchronizes plugin versions, and refreshes generated indexes.
File Description
src/​zensical.toml Adds agreement navigation.
src/​docs/​Ways-of-Working/​Working-Agreement.md Defines shared task guidance.
src/​docs/​Ways-of-Working/​Workflow-Stages/​Review.md Routes out-of-scope review proposals.
src/​docs/​Ways-of-Working/​Workflow-Stages/​Implement.md Clarifies follow-ups and merge authorization.
src/​docs/​Ways-of-Working/​Session-Interactions.md Preserves authorization and durable-record requirements.
src/​docs/​Ways-of-Working/​Review-Etiquette.md Distinguishes follow-ups from blocking concerns.
src/​docs/​Ways-of-Working/​Principles/​AI-First-Development.md Aligns updates with intended contracts.
src/​docs/​Ways-of-Working/​Organization-Standard.md Keeps agent files pointer-only.
src/​docs/​Ways-of-Working/​index.md Adds agreement discovery and refreshes descriptions.
src/​docs/​Ways-of-Working/​Evolutionary-Development.md Makes instruction corrections scope-aware.
src/​docs/​Ways-of-Working/​Contribution-Workflow.md Aligns draft timing, follow-ups, and authorization.
src/​docs/​Initiatives/​index.md Refreshes a generated description.
src/​docs/​index.md Adds agreement entry point and refreshes descriptions.
src/​docs/​Coding-Standards/​PowerShell/​index.md Refreshes a generated description.
src/​docs/​Coding-Standards/​index.md Refreshes a generated description.
src/​docs/​Capabilities/​repository-governance/​index.md Refreshes a generated description.
src/​docs/​Capabilities/​powershell-on-github/​index.md Refreshes a generated description.
src/​docs/​Capabilities/​merge-automation/​index.md Refreshes generated descriptions.
src/​docs/​Capabilities/​index.md Refreshes generated capability descriptions.
src/​docs/​Capabilities/​dependency-updates/​index.md Refreshes a generated description.
src/​docs/​Capabilities/​agentic-development/​index.md Refreshes generated descriptions.
src/​docs/​Capabilities/​agentic-development/​design.md Removes copied policy from the router example.
src/​docs/​Capabilities/​agentic-development/​conformance.md References canonical precedence guidance.
README.md Links to the shared agreement.
.github/​plugin/​msx/​skills/​msx-ways-of-working-working-agreement/​SKILL.md Adds a thin agreement pointer skill.
.github/​plugin/​msx/​plugin.json Bumps plugin version to 0.3.2.
.github/​plugin/​marketplace.json Synchronizes marketplace version.
.github/​CONTRIBUTING.md Links shared guidance and updates draft timing.

Review effort: Balanced

Define the three mismatch cases in Engineering Practices and link context-first guidance to them. Route workflow follow-ups and merge handoffs through the shared authorization rules.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Changes to canonical agent guidance and a review-loadable skill require independent human assessment because those instructions can influence their own automated review.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

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

Labels

None yet

Projects

None yet

2 participants