Teaching Eido

How a correction becomes a rule every later run follows. Lessons from rejections, Teach Eido, /lesson and votes.

What a lesson is#

A rule Eido should follow on every change, not just this one. The same mistake again is a vote for the lesson, not a new one. A project admin approves the ones that matter into the project’s standards, and every later run reads them.

Four ways to raise one#

WhereHow
Rejecting a stageTick Also teach Eido. See Approvals.
A work item’s Eido tabPress Teach Eido.
A pull requestReply /lesson in a thread, or choose Teach Eido on its … menu.
The agentA stage set to May suggest lessons raises them itself.

Teach Eido on a work item#

  1. Press Teach Eido

    At the top of the Eido tab, once Eido has worked on the item.

  2. Say what Eido should do, every time

    In What should Eido do, every time?. For example: “When you change an EF model, add its migration in the same change.”

  3. Vote instead, if it is there already

    As you type, Already raised? Vote instead lists lessons that look the same. Press Vote on the one that says it.

  4. Press Raise lesson

    If it applies beyond this project, tick I think this applies to every project in the organization first.

In a pull request#

Reply /lesson to a comment that says the rule, and that comment becomes the lesson. Or write the rule after it, such as /lesson Add a migration with every model change. Eido replies in the thread, such as “Raised as lesson 12”.

Teach Eido on a pull request, from a reviewer’s comment.
Teach Eido on a pull request, from a reviewer’s comment.

Or choose Teach Eido on the pull request’s … menu. Teach Eido from this pull request lists the review comments. Press Teach Eido this on one, or Write my own, edit it into a rule, and press Raise lesson.

What happens to a lesson#

StatusMeans
OpenWaiting for a decision. Anyone can Vote for it in Project settings > Eido > Standards > Lessons.
ApprovedIn a standards pack. Every later run reads it.
RejectedTurned down, with a reason.
MergedIt said the same as another lesson. Its votes moved there.
Not followedAlready approved, but it came up again, so its rule needs rewording.

Project Administrators decide lessons in Project settings > Eido > Standards > Lessons. See Project standards. Lessons sent to the organization are decided in Organization settings > Eido > Standards > Lessons. See Standards.

Lessons from agents#

A stage set to May suggest lessons raises a lesson when it finds a mistake a written rule would have prevented, and votes rather than repeating an open one. In the workflows Eido ships, the Fix, Self-review, Code review, Review and Test stages do this.

Popular

Your first work itemSend one work item to Eido and follow it to the pull request.Get startedGiving Eido workThe five ways a work item reaches Eido. Send to Eido, assign it to Eido, a board, a child item or a pull request.Using EidoApprovalsWhen Eido stops for a person to decide, who may approve, and how to approve or reject.Using EidoCode reviewEido reviews pull requests in the pull request itself, one comment per finding, with suggested changes you can apply or decline.Using EidoAlways-on agentsWhat an always-on agent raises on your board, and how to triage it.Using EidoModelsDeploying the Foundry models agents think with, setting their prices and hosting, and choosing the default.Set upWorkflowsA workflow's settings: what starts it, where it works, and where a person approves.Set upLicensing and billingThe 30-day trial, the price, who counts as a user, paying through the Azure Marketplace, and when Eido locks.Install and licence