Large-Scale Scrum
=================

Notes from "Large-Scale Scrum" by Craig Larman & Bas Vodde
Addison-Wesley, 2017


Multi-Site Teams: Terms & Tips
------------------------------

Distinguishes between different types of multi-site teams:

* __dispersed team__: one team (e.g. 7 people) spread out across different
locations, whethere rooms, buildings or cities
* __co-located team__: one team working at the same table
* __multi-site teams__: multiple co-located teams working at different sites

Quote from p47:

> A dispersed team is rarely a _real team_; it is much more likely a loosely
> connected groups [_sic_] of individuals . The communication and coordination
> frictions are higher, and they seldom _jell as a team_.
>
> When your product group is 50 or 500 people, _dispersed teams aren't
> necessary_. Each team of seven-ish people can easily be co-located. However,
> some teams may be in different sites, so that the product group has
> _multi-site teams_. Dispersed teams are usually the result of bad
> organizational decisions and ignorance about the cost of not having
> co-located teams.

Quote from sidebar p47:

> Rule: Each team is:
> (1) self-managing
> (2) cross-functional
> (3) co-located, and
> (4) long-lived.


Management and Training p57
---------------------------

> Neither do you need management support from managers who do not yet have a
> deep understanding of LeSS and its impact. We are frequently requested to
> summarize a 3-day in-depth training in a 1-hour presentation because those
> managers "are too busy" for a 3-day course. So far, we've not been able to
> squeeze 3-day's worth of understanding into a 1-hour presentation. Our bad.


Larman's Laws of Organizational Behavior p65
--------------------------------------------

> 1. Organizations are implicitly optimized to avoid changing the status quo
>    middle- and first-level manager and single-specialist positions & power
>    sturctures.
> 2. As ar corollary to (1), any change initiative will be reduced to
>    redefining or overloading the new terminology to mean basically the same
>    as the status quo.
> 3. As a corollary to (1), any change initiative will be derided as "purist",
>    "theoretical", "revolutionary", and "needing pragmatic customization for
>    local concerns" -- which deflects from addressing weaknesses and
>    manager/specialist status quo.
> 4. Culture follow structure.


Job Safety but not Role Safety p66
----------------------------------

Section stresses that change is hard because people worry that it will cause
them to lose their jobs. The Lean concept of job saftey without role safety
applies.


Perfection Vision p67
---------------------

> A perfection vision is different from a vision. The goal of a vision is to
> achieve it, wherease the gaol of a perfection vision is to channel
> improvements. When you achieve a vision, you celebrate, but when you achieve
> a perfection vision, you are sad as it just became useless.

Larman's perfection vision for LeSS is:

> Create organizations able to deliver or change direction without additional
> cost.


Guide: Continuous Improvement p69-71
------------------------------------

Tips on continuous improvement: 

1. Focus: "Not doing any improvements because everyone is too busy thinking up
   new improvement ideas is the greatest failure to continuous improvement". 

2. Use retrospectives. 

3. Focus on true improvements: "Not all of the improvements are real
   improvemenbts. Some are local optimizations ... Two common local
   optimizations are (1) functional local optimizations, and (2)
   unchallenged-assumption-based local optimizations. __Functional local
   optimizations__ are improvements from one functional-specialization
   perspective that are often harmful from the system-output perspective. ...
   __Unchallenged-assumption-based local optimizations__ are improvements
   based on assumptions about "how things work" that are probably false.

4. Avoid quality, process, transformation or improvement people

5. Avoid improvement teams; use normal teams

6. Avoid improvement projects, use the backlog


Management p115-7
-----------------

"Management is an invented concept."

Frederick Taylor created "scientific management" in the late 1800s. Introduced
two concepts that are still common: 1) There is one best way to do a job which
once discovered should be pushed throughout an organization, 2) Planning and
improvement work should be separated from normal work.

From Taylor: "There is no question that the cost of production is lowered by
separating the work of planning and the brain work as much as possible from
the manual labor" (_Shop Management_ by Frederick Winslow Taylor, 1903)

Henri Fayol created 14 principles of management 1) including division of
labour, 2) authority, 3) unity of direction, and 4) chain of command. Also
defined five responsibilities of a manager: planning, organizing,
coordinating, commanding, and controlling.

Taylor and Fayol were optimizing for mostly manual work, but yet this thinking
has been transferred to the white collar world. Taylor wanted to maximize
productivity of an uneducated workforce. Fayol focused on communication
improvements -- back when communication was done via post. His hierarchies
were to improve communication flow in large organizations where communication
was expensive.

This ties back to Theory Y and Theory X management practices.


Product Owner Relationships p140
--------------------------------

Scrum Master often focuses just on the PO-team relationship. Should also think
about PO-customer & PO-management relationships. This includes if the PO isn't
an acceptable PO, the SM should help the org get the right kind of person in
the role.


Products vs Projects p168-9
---------------------------

> People are so accustomed to projects that they forget to notice that the
> usage of many projects in companies is to build and extend products.

Project focus instead of product focus tends to result in short-term
thinking, "frequent fantastical budget proccesses", overhead from ramping up a
project, and temporary teams or employees.

> Don't manage products using projects or programs!


Systems Thinking p172
---------------------

> __ Large-Scale Scrum is Scrum; Systems Thinking __ -- Real Scrum implies the
> end of the _ contract game _, the traditional model where a fixed scope and
> date internal "contract" is first negotiated between business and
> development, and then development executes a project to deliver the
> contract. ... Scrum is not a more efficient mechanism for delivering an
> internal contract ... In large scale traditional development this contract
> game is _ baked _ into the organizational design, with a program-management
> office responsible for the internal contract and myriad related positions,
> policies, and processes.


Product Owner Team p180, p195
-----------------------------

(p180)

Larman isn't very clear about the single PO for multiple teams idea. It is
unclear from his writing how you keep on top of stories for 7-8 teams with a
single person. He does talk about _LeSS Huge_ to deal with more than 8 teams
and this involves a "PO Team" approach, with application areas each having
their own Area PO who then work together for the overall product.

> No analysts, specification writers, UI/UX designers, or architects in a
> "Product Owner Team". That would maintain the status quo problems and
> structures under a new label. Specialists join normal feature teams.


(p195)

PO Team should have its own SM who focuses on how to improve the PO Team. PO
Team should have retros to help this process.


Defect Management p207
----------------------

If you already have a bug tracking tool and it has a lot of bugs in it, don't
put these in the backlog, the noise overcomes the signal. Put a single story
that says "There are 712 defects" and put it at the top of the backlog, using
the existing defect tool to track them. Do this until the number is reduced
enough that bugs can be tracked in the backlog.


Outcome vs Output p213-4
-------------------------

Stories should be written as outcomes or goals, not solutions.  Example:

> Show all the shipping option details on one webpage.

vs

> Shippers can find all top-quartile shipping options in less than 1 second.


Perfect Definition of Done p232, p235, p243
-------------------------------------------

(p232)

When dealing with Agile-to-SIT situations, have the team create an
aspirational DoD. Ignore what stands in the way, just what they want. Then
discuss what can't be done in the sprint and call that "Undone work"

> Mathematics of Done
>
> Potentially Shippable = Definition of Done + Undone Work
> Work in Sprint = Product Backlog Items x Definition of Done

A DoD is weak when it is a small subset of the Perfect DoD and is strong when
it is close to potentially shippable.


(p235)

Outlines an example where each sprint results in undone work due to a sprint
not actually producing a potentially shippable product. Each sprint that goes
by increases the amount of undone work without it being addressed. The longer
that goes by the bigger the hurdle once the business wants to actually ship.
Furthermore, a false sense of progress is happening along the way.


(p243)

> Expand the Defintion of Done beyond potentially shippable, and include
> market success ... an item is not done until you have a measurement about
> how customers are using it. The _ Lean Startup _ framework refers to this as
> _ validated learning _


LeSS Huge Overall Product Backlog Refinement p252
-------------------------------------------------

LeSS Huge has an Overall Product Backlog. This drives the pieces in the Area
Product Backlogs. Refinement meetings for the Overal B/L include the typical
things in refinement (but at an epic level) as well as identifying which teams
need to do in-depth refinement.

> Recurring advice in LeSS is that when there are representatives at any
> meeting, _ rotate these over time _. This increases perspectives,
> strengthens multiple skills in team members, and reduces the "special
> people" weakness.


Multi-Team Product Backlog Refinement p252-3
--------------------------------------------

LeSS has a single B/L for all teams. Refinement becomes a very large meeting.
Different techniques for handling this:

1. __ Team Mixing __  -- start with groups formed from different teams, e.g. 2
   teams becoming 2+ groups. Mix differently each meeting

2. __ Rotate Refinement __ -- each group refines a piece (or the same pieces)
   and then after 30 minutes passes their work onto another group. A member of
   the group travels with the original work to ensure consistency and history
   of conversation.

3. __ Diverge-merge cycles __ -- groups work apart for a while then come
   together to present to each other and finish the conversation.


Story Split on Failure Mode p268
--------------------------------

A different way of splitting a story is to focus on failure modes rather than
the healthy path. Start with the simplest possible failure scenario and build
on that until a viable success scenario emerges.


Split Sprint Planning p276
--------------------------

LeSS has a single backlog, this means sprint planning patterns need to change.
LeSS splits the planning into two parts, the first is done with the whole
group at a high-level, the second is done within each team. Each team then
does their own task breakdown on their portion and has their own sprint
backlog.


Communities of Practice p298-9
-------------------------------

Cautions against "Fake Communities" which are groups that existed before that
renamed a community to continue to exist.

> Most organizations are implicitly _ optimized to avoid changing the status
> quo _ manager and specialist positions and power structures. Consequently,
> we've see [sic] _ fake communities _ that are just the old single-function
> teams relabeled ... giving the superficial impression that something has
> changed.


Component Mentor p304-5
-----------------------

A __ Component Mentor __ is a member of a feature team who knows a particular
component area better than others. They allocate some amount of their time to
help mentor. Can be done through pair or mob programming, reserved time in a
sprint for mentoring, a component community, workshops, code reviews,
monitoring of the long-term health of the component, evangelizing quality
changes in the component and finally finding/building other component mentors.

It is important to note that this person is not responsible for component bugs
--  the bugs will get fixed faster but your mentor won't be available to
mentor.


Travellers p306
---------------

This is the idea of someone with a lot of domain knowledge joining a team for
a single sprint then moving onto another team. During the sprint they are not
to work on the features -- they're there to do knowledge transfer and help the
teams to not need the traveller to come back.

Travellers are a bandaid and are not meant as a structural component -- long
lived teams should be the rule, travellers the exception.


LeSS Rules p314
---------------

* There is one sprint review, all teams attend, may use a bell-ringer style
  show-and-tell instead of traditional presentations

* Each team has its own retrospective

* An overall retro is held after the team retros to discuss cross-team
  improvements or experiments; overall retro includes representatives from the
  teams, not necessarily everybody (as mentioned above, it is a good idea to
  rotate these representatives)


Maybe Don't Do Scrum of Scrums p308
-----------------------------------

> Scrum of Scrums is a formal centralized meeting and _ thus not preferred _.
>
> sometimes SoS works really well and then ... keep it! ... teams new to
> scaling feel they _ must _ do it woing to misinformation about scaling, and
> they keep doing it even though it isn't really useful.


Review Bazaar p316-7
--------------------

Science fair style sprint review with stations showing off different pieces
which the stakeholders travel between. The bazaar should not be the whole
review but only the first part, in the second part everyone merges together
and dicsusses what to tackle next.

Example steps:

1. Science fair stations with a short timer for rotation

2. Noteworthy comments are recorded (on stickies) while people visit the
   stations

3. Preference towards hands-on rather than show-and-tell

4. After rotations are done, merge group together 

5. Comments from above are sorted by groups and presented in priority order to
   the PO

6. PO leads discussion of comments

7. PO leads discussion on market and customers, up-coming business, market
   feedback on product

