Skip to content

Architect round 8: services return data, not flags - #30

Merged
toaditi merged 2 commits into
mainfrom
coach/architect-round-8
Sep 2, 2026
Merged

toaditi merged 2 commits into
mainfrom
coach/architect-round-8

Conversation

@patelanil

@patelanil patelanil commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

What

Three rules the sponsor set in a coding session on 2026-09-02, recorded in docs/architect-skill-spec.md as round 8 (D1 to D3) and folded into agents/moqui-architect.md under Rules. Plugin version bumped to 0.14.0 in .claude-plugin/plugin.json (main is 0.11.0; open PRs #23 and #25 already claim 0.12.0 and 0.13.0).

  • D1. Services return data, never a flag that steers the caller. Control coupling versus data coupling (Yourdon and Constantine).
  • D2. Derived facts are queried, never stored or passed. Derived attributes (Chen) and normalization (Codd).
  • D3. A view is the rule; a row in it is the fact. The caller processes what the view returns; a guard before the call is the same flag in a new place. Relations as predicates (Date).

Conclusion recorded with them: a service is a step between two database states; anything it holds in memory dies with the call.

Wording

Generic. No client, project, or system names. The sponsor's own words are quoted as evidence.

Not included

The engagement record and code evidence stay in the private coach repo. No eval fixture is added in this PR; the architect fixtures AEC1 and AEC2 remain owed, as the coach pack already records.

Note on the first commit

Its message says "0.13.0 -> 0.13.1". That edit matched nothing; the second commit carries the real bump.

Three rules from a sponsor coding session, recorded generic in the skill
spec (D1-D3) and folded into the architect agent definition: services
return data and never a flag that steers the caller; derived facts are
queried, never stored or passed; a view is the rule and a row in it is
the fact. Plugin version 0.13.0 -> 0.13.1.
main is 0.11.0; open PRs #23 and #25 already claim 0.12.0 and 0.13.0, so
this fold-in takes the next free number. The previous commit message says
0.13.0 -> 0.13.1; that was wrong and edited nothing.
@toaditi
toaditi self-requested a review September 2, 2026 14:23
@toaditi
toaditi merged commit b304922 into main Sep 2, 2026
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