Reviewing Milestone Planning

In this post, I intend to initiate a discussion about the planning and scheduling of work. My goal is to gain a deeper understanding of the expectations related to project management in Logos overall. Additionally, I seek to determine whether the approach I am suggesting for Waku is both practical and aligned with these expectations.

I also plan to dive into topics raised by the Waku team, such as distinguishing between critical and non-critical work, milestone completion, and the relationship with multi-client implementation.

Milestone Concept

Regarding the Milestone Concept, following discussions with various leadership and program members of Logos, it has become clear that the introduction of a more rigorous milestone and budget-per-milestone approach is aimed at establishing a tighter link between spending and delivery.

Here’s a summary of how this approach was presented to me:

  • We define a milestone to deliver feature X.
  • Work is planned and executed across all functions (e.g., research, development, QA, Docs) to deliver an MVP of feature X.
  • This work is still broken down into Epics.
  • After delivering the MVP of feature X, the impact of the feature is measured across various metrics (user adoption, user feedback, etc.).
  • Based on cost and metrics, stakeholders can make informed decisions on whether to:
    • Continue investing in feature X beyond MVP and start adding more functionality.
    • Abandon feature X due to poor ROI.

From my perspective, this approach resembles the Shape Up process from Basecamp, where feature building is viewed as a “bet” with a specified “appetite.”

The advantages of this approach include:

  • Clearly defining the appetite (time and effort) for a deliverable in relation to possible ROI, rather than working within an unbounded time limit.
  • Explicitly reviewing a bet (deliverable, MVP/PoC, small feature set) and evaluating whether it’s a win (build more) or a loss (drop the feature), instead of risking a large bet (full feature set unpopular with users).

However, it does come with downsides:

  • The overall delivery time for a full feature set may be extended, as checkpoints are necessary to evaluate the impact/ROI of each bet/deliverable. This means the next deliverable should not be started until the previous one is evaluated.
  • There is an increased project management overhead; each milestone needs to be estimated and planned to enable measuring ROI and appetite.

Defining a Milestone

Regarding the definition of a Milestone, I suggest the following criteria:

  1. Clear User Benefit: The milestone should aim to provide a distinct benefit or feature to the user, whether they are end users, operators, developers, etc.
  2. Minimal Scope: The milestone should be trimmed to a minimal scope, encompassing only what is “just enough” to assess the potential impact of these features on the project’s metrics (e.g. number of users, revenue).
  3. Attached Estimate: An estimate should be associated with the milestone to facilitate the measurement of potential ROI. Additionally, tracking the estimate versus the actual progress is crucial for identifying any deviation and making informed decisions (e.g., deciding whether to continue if the estimate doubles as work progresses).

Implementation in Waku

Regarding the current Waku milestones, they collectively represent a set of work and features aimed at achieving specific outcomes, such as ensuring scalability, launching a network with built-in DOS protection and autoscaling.

These milestones are further divided into epics. For The Waku Network Gen0, epics are organized into tracks.

However, when considering the outlined Milestone Concept, it becomes apparent that the defined milestones are notably extensive:

  • The appetite spans over 6 months for the entire team.
  • Encompasses a multitude of features.

This structure lacks the proposed granularity. Conversely, some of the bets/scopes in the milestones were abandoned or added as the team gained more insights, including certain sub-epics. This means a lack of control on a specific, well scoped output. As larger the work is, more likely the scope may change (whether it’s creep or cut) and ROI difficult to measure (which specific feature drives the ROI up?).

Waku Work Cycle

The work cycles observed in Waku can be broadly categorized into two main streams:

Research (add/edit protocol):

  1. Establishing the problem statement.
  2. Gathering potential solutions.
  3. Defining the chosen solution.
  4. Implementing a Proof of Concept (PoC) in nwaku.
  5. Running simulations to confirm behavior.
  6. Drafting a RFC.
  7. Engaging in review cycles.
  8. Merging the RFC and nwaku PoC.
  9. Refining/optimizing nwaku code.
  10. Implementing the solution in go-waku.
  11. Implementing the solution in js-waku.
  12. Considering possible protocol/RFC revisions.
  13. Updating documentation if necessary

(pure) Engineering:

  1. Defining the problem statement.
  2. Exploring possible solutions.
  3. Implementing the engineered solution via a PR.
  4. Participating in a review cycle for the PR.
  5. Merging the PR.
  6. Updating documentation if necessary.

Presently, the QA effort operates independently and is not strictly integrated into the development loop, catching up on existing protocols.

It’s important to note that the eco dev work cycle is more intricate and involves:

  • Identifying opportunities (talks, events, workshops).
  • Organizing events, negotiating with organizers, or co-funding side events.
  • Managing the Business Development (BD) pipeline, generating and converting leads.
  • Providing support to existing users.
  • Handling social media coverage and content strategy.

Eco dev work is considered outside of the scope of this discussion.

Considerations

Minimal Scope for Research

An open question is what can qualify as a minimal scope when research is needed.

Research can take several months in itself and often, would be larger bet than pure engineering.

It would make sense to aim for research milestones to stop at step 8: RFC merged, nwaku PoC merged.

In this instance, we can attempt to measure the RFC with:

  • operator adoption
  • developer/project interested best of the RFC.

However, this might provide only light feedback. Strong relations with stakeholder are needed to ensure feedback is collected regarding the properties of the delivered protocol.

Only once the PoC is available in js-waku (and bindings) do we get true feedback from developers (e.g. bounties, hackathons). Adding both js-waku (and bindings) and docs steps to the milestone.

Moreover, having separate milestone for research (PoC), operators (nwaku productionized) and hackers (js-waku) is likely to lead in an explosion of milestones.

Finally, do we really want to advertise a feature if it is not documented and available to both developers and operators?

Implementation Across Clients

This brings the consideration of implementation across the various clients, and whether none, some or all milestone (whether it is research or engineers) must include the implementation across all clients as pat of the deliverable.
Do note that each clients have a specific scope. For example, discv5 is not implemented in js-waku on purpose. In any case, careful consideration on whether work is to be done in a client should be done (as highlighted in this post and this comment).

Epics vs Milestone

Finally, if a milestone is a the minimal amount of work needed to have a PoC or MVP level feature, then how can epics further subdivide the work?

One way do it on a team/activity basis, e.g.:

  • research
  • nwaku
  • js-waku
  • docs
  • QA
  • etc

Pros and cons:

  • pro: research is likely to apply across repos (nwaku, research, Vac/RFC), a common epic label can help track the work across repos. Same for QA
  • con: However, docs and client implementation are mono repo, making a specific epic label not as useful.
  • pro: Force to think about client implementation and QA component for each milestone.
  • con: One milestone may take several months to complete, but each sub-team can have a feeling of completion once their epic is done.
  • pro: A milestone is considered done once implemented across relevant clients, meaning getting true feedback and limiting number of milestones.

Proposed implementation

Proposal to organise Waku work:

Milestones delivers MVP feature ready for operators and developers to use

Epics are subteam related:

  • E:Research ... research to design protocol + RFC changes + PoC in nwaku + simulations (should we separate?). May not be relevant if engineering only epic.
  • E:nwaku ... may not be relevant if no handover to nwaku engineer is needed
  • E:go-waku ...
  • E:js-waku ...
  • E:QA ... Forces to plan for QA work
  • E:Docs ... include dev, operator docs and potential examples, video tutorial, etc

A review of the milestone can be done once RFC is done. Close collaboration with stakeholders should be done before full delivery of milestone. For example, if the protocol’s properties, when defined and measured, are not satisfactory then the bet could be considered lost before work in js-waku/go-waku is done.

Because of the size of the work, then each epic is likely to need a start and due date, to ensure we are on track on budget and timeline.

Strict PM process are needed, with review cycles to ensure that epics and milestones are on schedule, deliverables’ impact are assessed, estimation are done and retrospect’d and work is schedule in the pipeline.
This also needs to happen with the flexibility of being able to drop, shelf, and re-prioritize milestones, according to the expected or actual impact and ROI.

Finally, each subteam has a clear start/end and closure for their epic. Meaning that even if the milestone per se is still open, a subteam can keep a clean slate and only track their ongoing epics. BU Lead and PM own the milestones.

Case Studies

Research to MVP

Using # Waku Research - Post Gen 0 Milestones and Epics as a (simplified) research study case:

Milestone: TWN Store Upgrade (SU)
Goal: After this upgrade, the network will provide distributed and synchronised store services

The milestone would be implementation of propose protocols in all clients.

Some clarification maybe required in terms of distributed store vs store synchronization and whether can one happen without the other and what is the appetite/priority of either.

Should there be 2 milestones? one for distributed store and one for store synchronization? Assuming 2 milestones does not make sense, we have one milestone for this work.

Milestone: Distributed and synchronized store services

Epics:

  • E:Research store message hashes

  • E:Reserarch store synchronization

  • E:nwaku store message hashes (assuming possible index/DB optimization needed)

  • E:nwaku store synchronization (ditto)

  • E:go-waku store message hashes

  • E:go-waku store synchronization

  • E:js-waku store message hashes

  • E:js-waku store synchronization

  • E:QA store message hashes

  • E:QA store synchronization

  • E:Docs store message hashes (maybe only one epic for docs? this could contain a blogpost about the feature and how to use it for both operators and developers)

  • E:Docs store synchronization

  • Should QA be its own epic? Seems fair as done by a different team

  • Do we need the dupe everywhere? Should we have one epic per subteam? Depends on level of granularity

  • Should we estimate work per epic?

Small Engineering

Now, # [Epic] 4.1: Basic front end for node operator, as an engineering case study:

Provide a simple and non-technical means for users to interact with Waku nodes, enhancing usability, especially for workshops and new users.

Output is clear. A MVP FE to enable interacting with a locally running nwaku node. This seems to land itself well to define a milestone instead of an epic.

The work of this milestone would be:

  • developing the front end
  • adjusting nwaku REST API end points to enable the front end
  • incorporating FE in nwaku-compose

1 js-waku engineer would need to spend most time on this, with the assistance of a nwaku engineer if REST APi endpoints need to be updated.

It does not really seem worth splitting this work in an epic.

Could this then be a “milestone-epic”?

Do we want?

  • E:nwaku basic operator front end
  • E:web basic operator front end (not js-waku per se but we are using js-waku’s engineers skills)
  • E:QA basic operator front end Good point here in terms of defining QA work.

Or are we overengineering the project management in terms?

Mix Research/Engineering

RLN in resource-restricted clients

This is a mix research and engineering issue.

It would land itself well in terms of milestone: making RLN usable in the browser.

Scope could be limited to browser, handling mobile in a different milestone.

In terms of epic split, because there are a number of proposed mitigations. Each mitigation could be its own epic:

  1. E:js-waku optimize download of RLN WASM file
  2. i. E:Research storing RLN tree onchain ii. E:js-waku storing RLN tree onchain
  3. i. E:nwaku enabling RLN tree download from a service ii. E:js-waku enabling RLN tree download from a service

However, the milestone may be complete with only (1) and (3). With the concept of bet, we may want to bet on one approach first (1) + (3) before starting work on a different approach (2).

In this instance, the epic concept seems unnecessary.

Engineering

[Epic] Enhance light push protocol

This is a potential “follow-up” milestone. The light push protocol was released and proven useful to web and mobile application, with frequent usage by any web developers and recent integration in Status Mobile.

Developers have reported that the error handling is not ideal and more guidance is necessary, hence enhancing the protocol seems a safe bet. Cost is low as error handling can be inspired from filter.

Epic break out:

  • E:nwaku enhance light push protocol assuming this includes the RFC work and proto file update
  • E:go-waku enhance light push protocol
  • E:js-waku enhance light push protocol
  • E:QA enhance light push protocol
  • E:Docs enhance light push protocol

The work for this change is quite minimal but we do end up with one Epic per CC (assuming only one CC per subteam need to do the work).

Each activity is likely to be tracked with a single issue each, and a few PRs.
Again, the usage of several an epic labels seems to be overkill in this instance.

Critical Work and Closure

This approach addresses the concerns of identifying critical vs non-critical work.
Only critical work should be included for a milestone. Non-critical features should be left for future milestones, if we decide to continue investing on a specific functionality.

The other topic was around closure. Currently with Gen 0 milestone, some epics remain open even if the feature is available to the network (implemented in nwaku) because it’s not yet in js-waku.

With the proposed approach, the completion per subteam matches an epic: once the epic’s subteam is done, the subteam can have a sense of completion even if the milestone is still open.

Conclusion

From the case studies, it seems that the proposed approach for milestone split works for larger work of body that includes research and needs to happen across all/most clients.
However, for simpler features, the concept of epic seems useless and unnecesseraly increasing project management with a high number of milestone.

An alternative is to bundle work in milestones, as done for Gen 0. But this defeat the purpose of having budget per milestone are bundled milestones are likely to experience several scope change over time.

I am keen to hear from Logos leadership and other BU from their experience and insight to better understand the expectations and practices.

2 Likes

Thanks for the detailed summary, @fryorcraken. I agree with your main points.

Generally the milestones + epics approach makes sense to me when roadmapping significant new features or maintenance projects with clear goals.
It gets a bit more complicated to structure less cohesive/open-ended efforts (“fixing bugs”, “making things better”, “working off technical debt”) in this way without falling into a bit of artificial overengineering. The same goes for ad-hoc efforts with a shorter time frame and that can be finished with minimal coordination. You’ve illustrated this well with the examples.

1 Like

Regarding bug fixes, developers/operator experience and small enhancements in general.

I do not think they can fit in the model above. It would be best to have specific budget line around:

  • maintenance
  • small enhancement (mainly steaming from developer, project or operator feedback).

However, for both there is still benefit in going through the proper check list in terms of QA and Docs work. With a milestone that as QA and Doc epics, we ensure that docs are updated and proper QA is done.

For a bug fix or enhancement, I do not think epics are necessary to track this work. However, using an issue template could be a way to ensure that it does happen.

1 Like

Thank you @fryorcraken for initiating this discussion. Lots to unpack and analyze here. These are some of my initial thoughts, I anticipate writing a follow up after further discussion and analysis.

Milestone Concept

The shift towards a value-based Milestone definition system and incorporating the Shape Up “Betting” system feels like a strategic move. Although this might include increased project management overhead, it should result in better estimation, delivery, and evaluation of the key Milestones.

The criteria proposed for Milestone definition feels appropriate, focusing on minimal scope will be crucial to eliminate the non-critical scoped work conundrum we have faced in the Gen 0 Milestone, where a number of issues and epics were de-prioritized leading up to the final delivery date.

A key challenge I’d like to focus on is how to best approach defining all the milestones for the year, especially with variables like node operator incentives still being researched.

Waku Work Cycle and Proposed Implementation

Referencing the image embedded here, there are a few unknowns highlighted within the process diagram I’d like to focus on. Particularly the Initial Research phase (research conducted before a milestone is defined), and the estimation requirements after POC work is completed, before reaching the sub-team epics and QA/Devrel epics.

Re: Betting, should we be placing two bets? One at the initial stage of working towards the POC and a second as we move beyond the POC/MVP phase? Would the bet be part of the review process post poc delivery?

I support organizing epics by subteam, this will provide more clarity on the content and ownership of each Epic. I agree the scattered kickoff dates might create a sense of distance with subteams as the work will be shipped at different times.

Preparing specific epics for QA and DevRel focuses will be vital for wider product adoption.

Research to MVP Case Study

In regard to splitting the example Milestone into two distinct Milestones, with all the descending Epics, I favor the the sense of progress and refined tracking views this approach will provide, albeit a great amount of issues required to create as a result.

I also need clarity on estimating work per epic, this likely should be done internally in teams for organizing work breakdowns, but how might we approach estimating by Epic if this is required in the definition of each Milestone?

Small Engineering Case Study

For the example given, I agree its best not to overengineer here. I would advocate to name this type of epic something like a Major-Epic rather than a Milestone-Epic to avoid confusion. Where a Major-Epic is a standalone peice of work, and a standard Epic is one under a normally defined Milestone.

Mix Research/Engineering Case Study

Would it still be useful to define the work under the epics to clearly outline the options available, to better inform the bets being placed?

Engineering

For the example given, one cc per Epic is not a negative outcome from my perspective, the Epic continues to serve its purpose of categorizing specific work as it relates to the Milestone.

Bug Fixes and DevEx/OperatorEx

I agree that an issue template for this category of issues with the accompanying docs is the right approach here.

Would it be appropriate to budget X% of the annual budget e.g. 10%, toward a Maintenance/Enhancement “catch-all” Milestone, that can serve to track and analyze the work in this category. This particular epic would probably be filled with “Major-Epic’s” as described above.

Looking forward to our collobarative effort in refining our Milestone approach, and feedback from leadership as we shape the final structure, definitions, and pm processes to ensure we’re aligned with broader objectives.

There needs to be clarity around the expected precision for estimations.
If we go t-shirt sizes (S, M, L, or even XS, M, L, XL) then the question becomes easier and only when research found major roadblocks or miracle solution would estimate of dev epics change.

We need to understand the requirements from Logos program here. I am assuming that only milestones gets budget and value Hence, by going with a Major-Epic we are not able to secure budget for it.

So instead, we may need to go Solo-Milestone or Small-Milestone where there is only one matching epic/issue for this XS milestone.

Yes, I think the best approach here would be to select 1 approach and bet on it, and attempt it.
We could decide to make a bigger bet and bet on 2 approaches at the same time. But this seems to be against the philosophy of the whole process.

Noted and I think we just need to leverage the tools to ensure we are able to batch edit, and get organized across all repos/milestones.

Yes, this is also my question to the Logos program.

1 Like

In terms of roadmap and potential milestones, I think we can adopt a product-like approach.

We have already identified tracks for research (link tbd). The idea would be to extend these tracks across the Waku project.

For each track, we can have a laundry list of potential work. This could be a bunch of issues in waku-org/pm repo with the right track and unplanned labels. Or we could have some roadmap issue that list potential work for a given track (but without commitment).

This gives us a base to understand what can be done next and evaluate the value of items to then create a milestone out of it, scope it, estimate and plan it.

Today, the aim is to provide a clear view of what work we are prioritizing (over what other work).
Tomorrow, it can be a basis to discuss with stakeholder the future work and better understand the value of said work to them.

We are still in a phase we are building foundation to Waku, hence I believe it is fine for most of 2024 for us to define our own priorities, with input from Status app, hackathon feedback etc.

Beyond 2024, we should have a community large enough and a foundation solid enough across all tracks so that we get more external input on the what is considered valuable.
The ultimate goal will be of course a DAO system where work is selected purely based on community feedback.

Next for this:

  • get feedback from leadership
  • define tracks for Waku project (e.g. research tracks + some extra)
  • propose milestone for 2024 to start discussing value and priorities.
1 Like

Waku Research Track definitions: https://www.notion.so/Waku-Research-ac7941c0ece84dc6b2948ec02b3cb695

Track will be added to public pm repo: Define tracks by fryorcraken · Pull Request #106 · waku-org/pm · GitHub