fluid-core/cmd/fluid
tegwick 3407b9cf85
Some checks failed
ci / build (push) Has been cancelled
Add science control APIs and the hypothesis, experiment and promote CLI
Completes FLUID-WP-0006. The loop now runs end to end from the command
line: two competing presentation hypotheses, an experiment that issues a
routing policy rather than touching traffic, an amendment, a stop that
returns traffic to the default, a confirmed outcome, a resolved
competition, and a promotion the gate can refuse.

Starting or stopping an experiment returns the routing policy for the
operator to install rather than installing it. Blueprint 17 keeps the
controller out of the traffic path, and installing from the handler
would put it straight back in; emitting the document keeps the
separation visible instead of implied.

`fluid audit trace` now answers the section 25 questions from events
rather than summary records, and names the rivals a hypothesis beat: an
audit asking which hypotheses were considered is not answered by naming
only the winner.

Two fixes found by driving the CLI rather than only the tests. Go's flag
package stops at the first positional, so ids given after flags silently
swallowed them; ids are now taken before parsing. And there was no way
to attach a revision to the hypothesis that produced it, which left
`audit trace` unable to say why a revision existed -- `hypothesis attach`
closes that.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014KmVxhJ35tCo7rE7UnLwWu

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 1116572@bnt-lap001
Assistant-Session: 8ba9bb93-a72a-4883-b189-2499cce5c400
2026-09-04 06:44:47 +02:00
..
commands.go Add science control APIs and the hypothesis, experiment and promote CLI 2026-09-04 06:44:47 +02:00
flags.go Add control APIs, control-plane binary, and close the CLI gate bypass 2026-09-04 03:00:17 +02:00
insight.go Add science control APIs and the hypothesis, experiment and promote CLI 2026-09-04 06:44:47 +02:00
main.go Add science control APIs and the hypothesis, experiment and promote CLI 2026-09-04 06:44:47 +02:00
science.go Add science control APIs and the hypothesis, experiment and promote CLI 2026-09-04 06:44:47 +02:00