Specification 03

Compare
Status
Canonical brief
Application
Work Activity Tracker

Implementation C · declared agent fleet.

Compare Project#

Implementation C: Agent Fleet and Final Analysis#

Deadline: submit implementation C before lecture 9.

Development setup: agent fleet with approved small, large, or mixed-model assignments. The common project specification applies throughout. Follow the staged submission process, including your private individual portfolio.

What to do and submit#

Organize one evidence index into the four sections below. Link each artifact once and refer to it wherever it supports another requirement. These are sections of the existing submission, not four new reports or repositories.

Implementation#

Build and validate fresh C through the declared fleet workflow. Submit the accepted C revision and common bundle, including the engineering session, independent audit, and author response. Link the already-submitted A and B revisions and evidence.

Fleet evidence#

Include the fleet plan, coordination measurements and a compact redacted record of the actual fleet run with at least two debugging findings. Add the B–C case comparison, supplied matched-trace analysis, and one workflow-level formal-model analysis. Trace transformation and import into C, and running your own matched pair, are optional extensions. Select evidence that explains delegation, validation, integration, failure, and correction; an uncurated transcript is not the analysis.

Scaling and deployment experiment#

Include a separate application-level formal-model analysis, implemented scaling response with before-and-after evidence and its new failure or recovery obligation, and realistic deployment with a rerun workload. Identify the selected A, B, or C revisions, environments, and measurement limits.

Final decision#

Provide the A–B–C evidence matrix and one decision narrative with the target architecture and scaling trade-offs. Link the other sections and earlier phase evidence instead of repeating their measurements.


Purpose#

Compare creates a third fresh implementation of the Work Activity Tracker through an agent fleet and then analyzes all three implementations and development workflows.

A fleet is an orchestration strategy, not a model category. The central question is whether decomposition, specialization, and parallelism improve the result enough to justify coordination, duplicated work, integration, review, and resource cost.

The public discussion and brief recap during lecture 9 use the fleet debugging findings and final comparisons as evidence.


Starting Conditions#

Begin in a new repository or clean implementation directory.

Use:

  • the same common specification and acceptance scenarios;
  • the transfer policy in the common specification;
  • a declared model set and assignment policy: the Challenge small model is the reference configuration, and an approved fleet may use small models, large models, or a mixture;
  • normally the same primary stack used for Challenge.

With the Challenge model held constant, B–C foregrounds orchestration while practice and architecture still differ. A mixed-model fleet also changes model assignment, so B–C compares complete development systems rather than isolating either effect. Declare the model assigned to each role or task, any routing or fallback rule, and the hypothesis about accepted quality, time, and cost. Record the actual models used and any stack or configuration differences as interpretation limits.


What Counts as a Fleet#

For this project, a fleet must include:

  • at least two independently operating agent instances or delegated agent executions;
  • explicit responsibility or task boundaries;
  • a defined output from each delegated task;
  • at least one handoff, integration point, or parallel branch;
  • human or agent review before the integrated result is accepted.

Asking one agent to write from several fictional perspectives does not count as a fleet.

More agents are not automatically better. Use the smallest fleet that allows the group to study a real coordination question.


Fleet Plan#

Before implementation, record:

  • the task graph or workflow;
  • each role or delegated responsibility;
  • permitted models, their role or task assignments, routing and fallback rules, and the quality, time, or cost hypothesis behind the assignment;
  • allowed tools, files, or modules where relevant;
  • shared state that can survive between delegated runs, including who can write and later read it, how writes are attributed, how long it persists, and how it is cleared;
  • when session orchestration and resource access are separate, their policy ownership and precedence, bypass paths, and the authenticated identity, scoped delegated authority, and task, budget, policy, and trace identifiers passed across the boundary;
  • expected output and validation for each task;
  • dependencies and possible parallel work;
  • who or what owns integration;
  • where human approval is required;
  • the conditions for reducing or stopping the fleet.

Role names such as scout, planner, implementer, and reviewer are examples, not requirements.

The plan may change. Preserve important changes and explain why they were made.


Required Work#

Implement the common core again#

Complete implementation C through the documented fleet workflow.

Evaluate coordination#

In addition to the common evidence, record where possible:

  • number and purpose of delegated tasks;
  • work performed in parallel;
  • duplicated exploration or implementation;
  • handoffs and integration failures;
  • conflicts or incompatible assumptions;
  • idle time or blocked tasks;
  • total model usage across the fleet;
  • the model and route actually used for each task or attempt, including substitutions and fallback;
  • total cost or resource use across all workers, retries, and failed attempts, with a declared cost basis for departmental inference and unavailable measurements marked;
  • active human integration and review time;
  • defects found after individual agents considered their work complete.

Analyze the actual fleet run#

Keep a compact redacted execution record from the actual fleet run; a curated log excerpt or table is sufficient. Identify relevant tasks and actors, handoffs, validation, integration, correction and human intervention, linking the observations that support at least two debugging findings. Explain what the evidence establishes and what remains uncertain; unavailable measurements must remain visible. Use questions such as where work stalled, which handoff delayed progress, where validation rejected apparently completed work, or why a human intervened. Machine-readable normalization, trace import and application-based views are not required for full credit.

Optional: import the trace into C#

Transform actual-run evidence into a documented portable trace and load it into C for debugging. JSON is recommended, but another portable format is acceptable. Use the downloadable portable fleet-trace example to study the minimum schema, application mapping, redaction record, and repeat-import contract. It is a transformation target rather than a required internal storage schema or a universal export format.

Map the fleet workflow to the application concepts:

  • the project or fleet run becomes a workspace;
  • delegated tasks become work items;
  • agents and human participants become actors;
  • task status maps to the documented lifecycle stages;
  • delegation, start, completion, handoff, review, failure, retry, validation, and human intervention become activity events where the source trace supports them.

The trace format may contain additional relationships and metadata, such as parent tasks, dependencies, model information, duration, token use, cost, tool calls, validation results, or error details.

Provide a repeatable way to load the transformed trace into implementation C without creating duplicates on repeat import. Use the application to inspect the run and answer at least two debugging questions, such as:

  • Where did work stall, fail, or require a retry?
  • Which handoff or dependency delayed progress?
  • Where did agents duplicate work or make incompatible assumptions?
  • Where did validation or review reject apparently completed work?
  • Where and why did a human intervene?
  • What became the bottleneck as concurrent work increased?
  • Can every physical model or tool attempt, including denied, failed, retried, and cancelled attempts, be linked to its delegated run, actor, policy result, and usage or cost provenance, and can that run be assigned an explicit outcome?

Present the findings through the application's existing feed, filters, summaries, and any small additional view needed to make the evidence understandable. Preserve model assignments in actor records and any per-attempt substitutions in event metadata or linked execution evidence; the portable example's model names and costs are synthetic teaching data. A real-time integration, generic adapter for every agent tool, polished graph editor, and interactive step debugger are not required.

Treat imported traces as potentially sensitive. Remove secrets and unnecessary prompt or source-code content before submission.

Compare one agent with the fleet#

Treat implementations A, B, and C as comparative engineering cases, not estimates of the causal effects of model capability or orchestration. Compare the recorded B and C workflows:

  • Which observations suggest a benefit from delegation, and what else could explain them?
  • Which tasks were too coupled, ambiguous, or small to delegate?
  • Where did accepted throughput differ, under what conditions?
  • Where did sequential work or review capacity become the bottleneck?
  • Would one careful agent or a human have been preferable for any task?

Apply at least one relevant scalability law or formal model to the workflow. Amdahl's Law, Little's Law, queueing, backpressure, or the Universal Scalability Law may be appropriate.

Supplied matched single-agent/fleet analysis#

Analyze instructor-supplied matched single-agent/fleet traces in the existing Compare activity and reuse the analysis in this evidence index. The supplied package must identify provenance, the task brief, configurations, acceptance checks, outcomes, resource observations and accounting gaps. Identify what was held constant, what changed, whether checks support the recorded outcomes, and how elapsed time, human effort, model resources and correction work compare. Explain missing observations and limits; supplied observations are not results from your own workflow, and one pair does not establish a general orchestration effect. Synthetic teaching data must be labeled and cannot establish an empirical effect. This required analysis supports full credit, including grade 5, while fresh C still requires a real fleet and actual-run evidence.

Optional: run a matched single-agent/fleet probe#

Within the existing rehearsal budget, you may run your own bounded paired task:

  1. Freeze one accepted repository revision and a small change brief with independent acceptance checks before either attempt. Use two fresh copies of that revision and fresh agent sessions; this probe may reuse B and does not become the starting code for C.
  2. Run one single-agent attempt and one bounded fleet attempt using the same small-model version, harness, available tools and permissions, environment, brief, and acceptance checks. Declare the fleet size and decomposition as the treatment being examined. This matched pair may use the Challenge model even when C's main implementation uses a mixed-model fleet; keep routing and fallback fixed so the pair examines orchestration.
  3. Give both attempts the same predeclared wall-time limit, no more than 20 minutes each, and the same aggregate model-resource limit using the tool's supported token, cost, or request accounting. Count every fleet worker and retry against that limit; record which limit stops each attempt and any accounting gaps.
  4. Hold the human-intervention policy constant, preserve failed and partial outcomes, and include integration and independent review in the recorded effort. Rotate condition order across groups where practical; do not transfer solutions or feedback from the first attempt to the second.
  5. Compare accepted behavior, elapsed time, human effort, resource use, and correction work. Report one pair as one exploratory contrast; agents within the fleet are not independent trials. Human familiarity and stochastic variation can still affect the result.

This is a small task, not a fourth application or a requirement to repeat a whole build. An unmatched pair may still be analyzed descriptively, but cannot establish an orchestration effect. Link the pair and its limits in the fleet evidence bundle rather than adding a separate report. This extension has no separate point allocation and cannot replace the required supplied-trace analysis or actual fleet-build evidence.

Optional: compare model assignments#

An optional model-assignment comparison can use two fresh copies of the same frozen revision with the same brief, task graph, tools, checks, intervention policy, and predeclared limits. Compare a small-only fleet with the same fleet assigning a large model to one named role or task; preserve actual routes and usage for all attempts. Assess accepted behavior and defects, time through integration and human acceptance, and total cost under the declared cost basis. Use this within the remaining rehearsal budget; it requires no fourth application or additional submission, and a useful result may show no benefit from the larger model. To investigate unfinished work or routing decisions further, choose an optional Compare exploration starting point.

Analyze the three applications#

Repeat the primary pressure against implementation C using the same workload and procedure where practical. Compare A, B, and C under that shared pressure. Further scenarios from the broader pressure catalog are optional explorations within the phase budget. Identify required and optional findings and their conditions separately in the final matrix.

Use these results in the final comparison.

Apply at least one scalability law or formal model to an application-architecture decision raised by the primary or selected pressures. Name the variables and assumptions, show the calculation or reasoning, connect the result to runtime evidence or a stated pressure, and explain what the model does not capture. This application analysis is separate from the workflow model.

Implement and evaluate one scaling response#

Select implementation A, B, or C and one pressure supported by runtime evidence or a credibly projected limit that the available environment can exercise. Preserve the accepted revision and its baseline evidence, then implement the smallest justified response to that limit. The response may be an index, bounded cache, idempotency boundary, admission control, queue with an explicit pending state, tenant isolation mechanism, or another technique justified by the evidence. Distributed infrastructure is not required.

Keep the relevant fixture, workload, correctness checks, and measurement procedure unchanged. Rerun the common acceptance scenarios and the selected pressure, report every repetition, and compare latency, throughput, errors, correctness, and the chosen resource-efficiency proxy before and after. Exercise one failure or recovery obligation introduced by the response. State whether the result supported, challenged, or left the original hypothesis unresolved, and preserve an unsuccessful result instead of silently replacing it with a more elaborate design.

Validate one realistic deployment#

Select implementation A, B, or C based on the evidence collected so far. Deploy the revision selected after the scaling-response experiment in an instructor-approved realistic environment outside the author's development process and rerun the shared baseline workload. Record the environment and configuration, operational steps, result, difference from the local run, first observed constraint, and what the run does not prove about larger scale.


Final Comparison#

Combine the final evidence matrix with one conditional engineering argument in the final decision section of your evidence index. The matrix compares accepted behavior, architecture, pressure, measurement and recovery, development friction, human–agent workflow, and resource use. Use it to judge scalability, reliability, maintainability, simplicity, and resource efficiency, linking earlier evidence and explicitly marking missing measurements. Include the target architecture and scaling trade-off table, distinguishing implemented results from remaining proposals.

Build the decision narrative around four steps:

  1. Establish the comparison. State what the common specification kept stable and what differed across A, B, and C, including optional scope and measurement gaps.
  2. Explain the consequential results. Compare application architecture under the shared and selected pressures and development effort through acceptance; use the fleet debugging findings to show what final code or a raw transcript concealed.
  3. Bound the explanation. Separate A–B–C observations from hypotheses about model capability, practice, architecture, and orchestration. Use the required supplied matched-trace analysis and, if completed, the optional live pair for the narrower workflow contrast, stating what was controlled and what remains unresolved; neither one pair nor the three builds establishes a general effect.
  4. Choose and set a revisit condition. For stated project constraints, choose an architecture and a large-model single agent, small-model single agent, or declared fleet configuration; explain rejected alternatives, responsibilities that remained human across the phases, ownership of operations and correction, and the next saturation signal or measurement that would change the decision.

Label important claims as observed, inferred, or proposed. The recap chapter shows how to connect the matrix to this argument.


Evaluation Emphasis#

This phase emphasizes:

  • a bounded and inspectable fleet;
  • successful integration and validation;
  • a compact actual-run record and at least two supported fleet debugging findings, with trace import and application-based views optional;
  • evidence about coordination cost as well as throughput;
  • application of scalability concepts to both software and workflow;
  • causal humility in the three-way comparison;
  • a defensible conditional decision rather than a tool ranking.

Fleet size, transcript length, generated code volume, and architectural complexity do not earn credit by themselves.

Solo route#

A single student may orchestrate the declared agent fleet; the fleet requirement concerns agents rather than the number of human teammates. Use the smallest fleet that exposes a real delegation, handoff or integration question, retaining the published fleet, trace, correction and acceptance evidence. Build fresh C, analyze the supplied matched traces, and distinguish agent coordination from human teamwork. Your own matched pair and trace import into C are optional, with the required analysis sufficient for full credit. Keep the three-way comparison, workflow-model analysis, measured scaling response, realistic deployment, final evidence matrix and conditional engineering decision. Reference the already-frozen A and B records.

For the engineering session, predict the selected scaling response's effect and a new failure it could introduce, test it and defend the acceptance decision in the instructor discussion. Receive an independent audit of C, perform the assigned reference or cross-group audit, and respond to findings without rewriting frozen source. Complete the solo portfolio equivalents and ordinary lecture activities. Record the solo operator's review and integration effort; agents within one fleet are not independent experimental trials or human peers.