# Task Lifecycle Deep-dive

<figure><img src="/files/lFncrIfw8jLLOTsg9mcd" alt=""><figcaption><p>Overview of the workflow of a FLock FL task.</p></figcaption></figure>

FLock's FL Alliance is adopted from our [previous work](https://arxiv.org/pdf/2307.00543). During each round, FL clients are randomly selected to act as proposers or voters. Their staked amount can be either rewarded or slashed based on the outcome of the majority voting results. Malicious clients will ultimately be removed from the FL system.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flock.io/flock-products/fl-alliance/task-lifecycle-deep-dive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
