Skip to content

Discovery mode

From a described problem to tickets ready for implementation

You describe a problem or an idea in a ticket. Forge reads the code, tickets and documentation, asks about what it cannot find there, and proposes two or three solution options. Once you approve one, Forge splits it into tickets. It does not change the code, and the decisions stay with you.

  • Requester

    Describes the problem in a ticket and adds the label that starts discovery.

  • Business and technical owner

    Answer the questions Forge addresses to them. If no business owner is set, the requester gets their questions.

  • Approver

    Picks one of the options. The project settings decide which roles approve; by default it is the technical owner.

  • Forge operator

    Turns discovery on in the project settings and records who holds which role.

How discovery works

Seven steps in which you and Forge take turns.

Discovery flow: people and Forge take turns over seven steps

Steps 2 and 3 can repeat. By default, a discovery has at most three rounds. In the last round Forge stops asking and proposes the options straight away.

Step by step

  1. Requester

    Step 1: Describe the problem and add the label

    In the ticket, write what does not work or what you want to change, who it affects and why it matters. You do not have to come up with a solution. That is Forge's job.

    Then add the discovery label to the ticket. The ticket status does not matter.

    TicketPRJ-128

    Customers want to update their billing details in the portal

    Today, support changes the details by hand after the customer sends an email. We want customers to edit them on their own.

    Labels
    portal discovery
  2. Forge

    Step 2: Forge researches the project

    Forge reads the code, change history, tickets, documentation and data of the project. It works out what exists today, what would have to change and what would have to be added. It sorts every finding into verified facts, hypotheses or open questions and notes the source.

    You do not need to do anything yet. Forge will not ask you about anything it can find out from the code or the data.

    What Forge reads

    Sources

    • Code
    • Change history
    • Tickets
    • Documentation
    • Data

    Findings

    • VerifiedThe code stores billing details in two places.
    • HypothesisA changed address probably shows up in the accounting export too.
    • Open questionShould the change apply to invoices already issued?
  3. Business and technical owner

    Step 3: Answer the questions in the ticket

    Forge posts the questions it should not decide for you as a comment in the ticket. Each question goes to a role and mentions a specific person, so you get a notification. If the role has no person in the settings, the question goes to the ticket's requester.

    Answer with a comment in the ticket. For a question with options, the question number and a letter are enough, for example Q1.1: A. You can also write your own answer.

    The next round starts once everyone asked has answered, and no later than 24 hours after the first answer.

    CommentsPRJ-128
    Forge2 hours ago

    🧭 Discovery · round 1 of 3

    Q1.1 (blocking) @Jane Novak, business owner
    Should the change apply to invoices already issued?
    Why: Issued invoices have already gone to accounting.

    • A new invoices only (suggested)
    • B issued invoices too
    Jane Novakbusiness owner

    Q1.1: A Let's leave issued invoices as they are.

  4. Forge

    Step 4: Forge proposes solution options

    When Forge has no more questions or the last round is running, it posts a comment with two or three options. It starts by saying which one it recommends and why.

    For each option you see what it changes, how it affects data, its risks, its open points and what it leaves out. The proposal also says what happens if nothing changes and which assumptions it rests on.

    The size of an option tells you how many tickets it turns into: S is one, M two or three, L four to eight, XL more than eight, the scope of an epic.

    ProposalPRJ-128
    • ACustomers edit details, support confirms the change RecommendedSizeM
    • BCustomers edit details on their ownSizeS
    • CSelf-service for companies with several billing addressesSizeL
  5. Approver

    Step 5: Approve one option

    Write Approve: and the letter of the option on a line of its own in a comment, for example Approve: A. Forge also accepts the Czech Schvaluji: A and Schvaluji variantu A. If the project requires more than one approver, all of them have to approve the same option.

    Only comments written after the proposal count. Forge treats any other comment from you as feedback and prepares another round. If the approvers pick different options, Forge points out the conflict and posts the proposal again.

    Approver's comment

    Counts as approval

    • Approve: A
    • Schvaluji: A
    • Schvaluji variantu A

    Forge takes it as feedback

    • ok, A I guess
    • I agree with A
  6. Forge

    Step 6: Forge creates the tickets

    Within a few minutes of the approval, Forge splits the work into tickets, creates them and lists them in the original ticket.

    Each new ticket has a goal, a description of the change, acceptance criteria in the "given, when, then" form, and a description of the tests. It is small enough for Forge to finish in a single implementation run. The tickets are linked to each other in the order they should be done. If discovery runs on an epic, the new tickets go under it. Otherwise they are linked to the original ticket.

    Anything a person has to do, such as settling an open point or running a production migration, gets its own ticket marked as a manual step.

    Tickets created from PRJ-128
    1. PRJ-131Decide who in support may confirm changesManual step
    2. PRJ-132Form for changing billing details
    3. PRJ-133Support confirms the change
  7. Requester or development team

    Step 7: Send the tickets to implementation

    Review the new tickets. Add your project's implementation label to the ones Forge should implement. Forge does not add it to any of them by itself.

    You can add the label to all tickets at once. Forge does not start a ticket that waits for another unfinished ticket until the blocking one is done, and it writes in the ticket what it is waiting for.

    Forge does not implement a manual step, even with the implementation label on it. If you decide Forge can handle it, create a regular ticket for it.

    Tickets with the implementation label
    1. PRJ-131Decide who in support may confirm changesManual step
    2. PRJ-132Form for changing billing details forge
    3. PRJ-133Support confirms the change Waiting for PRJ-131 forge

Labels Forge adds

The label on the ticket tells you which phase discovery is in.

  • ai-awaiting-input

    Forge is waiting for answers.

  • ai-awaiting-approval

    Forge is waiting for an option to be approved.

  • ai-discovered

    The tickets have been created. Remove the label to start discovery again.

  • ai-discovery-expired

    Nobody answered or approved within the configured time, 30 days by default. Remove the label to run another round.

  • ai-needs-human

    Discovery failed, stopped or ran out of its limits. A person takes over the ticket.

When something gets stuck

  • What if nobody answers?

    After five working days of waiting for an answer or an approval, Forge sends one reminder comment to the people it is waiting for. To go on without an answer, remove the ai-awaiting-input or ai-awaiting-approval label and Forge starts the next round.

  • How do I start over?

    Remove the ai-discovered label from the ticket. The new discovery knows which tickets the previous one created and does not create them again.

  • What if the problem cannot be solved in code?

    If the request does not lead to a change in the project's repositories, for example because it is about a process, a purchase or an organizational decision, discovery stops and explains why. It does not invent a software workaround.

  • Why did Forge not create the tickets?

    The breakdown needed more tickets than the size of the approved option allows, even with the reserve. Forge therefore created none and added the ai-needs-human label. Remove the label to have Forge plan the breakdown again, or approve a larger option.

  • Where can I see how discovery is going?

    In the Forge client portal, the ticket detail has a Discovery card. It shows the status, the questions with who they went to and whether they were answered, the proposal, who approved which option and the created tickets. The full text of questions and answers stays in the ticket.

What needs to be set up

Your Forge operator turns discovery on in the project settings. Agree on the following with them.

Project details

  • the label that starts discovery,
  • the technical owner (required) and the business owner; without a business owner, the business questions go to the ticket's requester,
  • the roles that approve an option; by default the technical owner approves,
  • the type of tickets discovery creates and two link types: one between the original and a new ticket, one for the order.

The account Forge uses to write in the issue tracker must not hold any of the roles. Otherwise Forge would answer its own questions or approve its own proposal.

Connection test

Before saving the settings, the operator runs a connection test. It checks that:

  • Forge may create, link, edit and comment on tickets in the project and attach files to them,
  • the form for the selected ticket type has every field Forge fills in and no other required field,
  • both link types exist,
  • the people in the roles can see the project and are active users, not apps.

Points Forge cannot verify are marked with a question mark, and the operator checks them by hand.

Technical details

For those who set up discovery or need to know exactly how Forge reads comments.

Comments and answers

  • Every Forge comment starts with 🧭 Discovery. Forge never counts its own comments as answers.
  • Questions are numbered by round, for example Q2.1, and have a priority: blocking, important or minor.
  • A question with a choice offers two to five options marked with letters and suggests one of them.
  • Forge does not read comments visible only to a certain role or group, because everyone on the ticket sees its output.
  • An answer written into the ticket by the Forge account, for example from a chat, does not count as an answer or an approval.

Approval rules

  • The approval has to be on a line of its own or a list item of its own.
  • Only the approver's own text counts. Someone else's approval in a quote does not, and an edited comment counts as feedback.
  • If someone edits or deletes the proposal comment after the approval, the approval no longer counts and Forge posts the proposal again.
  • If an approver changes their mind while the tickets are being created, Forge creates none and waits for a new approval.

Created tickets

  • Each ticket except manual steps delivers a change you can verify, from the data to the screen, including tests and documentation. Work is not split by layer.
  • The description starts with the repositories the ticket changes. Whoever implements the ticket does not have to go through the other repositories.
  • Forge does not decide for you what users get or who owns what. If it can no longer ask, it creates a manual step for such a decision, and the tickets waiting on it name it along with the options.
  • The breakdown tries to fit the option size. If it cannot, it may go slightly over (for M, by one ticket at most) and says so under the list. Forge does not create a plan that goes over even this reserve and hands the ticket to a person.

What Forge does not do in discovery

  • It does not change the code, status or description of the original ticket, even when it stops.
  • It only reads data and does not copy personal data into comments.
  • While discovery runs, it does not start the requirements review or implementation on the ticket, even if someone adds the implementation label. Only incident investigation takes priority over discovery.

Default limits

Limit in the project settingsDefault
Rounds3, Forge stops asking in the last one
Runs in total, including the ticket breakdown8
Budget for the whole discoverythree times the budget of one run
Waiting for an answer or approval30 days

When the runs or the budget run out, Forge stops discovery, says so in a ticket comment and hands the ticket to a person.