> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valar.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Phasing

> Save a fixed phase objective, compute finite chemical or electric corrections, and review orbit, drift and resource achievement.

Phasing changes one spacecraft's position along its orbit relative to a saved reference.
It accounts for the entry maneuver, drift, recovery and measurement coast together.
The result must meet the phase target, terminal orbit and residual relative drift on
the same assessed trajectory.

## Create and save an objective

In **Planner → New Plan**, select a spacecraft and thruster, choose
**Phasing**, then follow **Overview → Initial State → Time Range → Parameters → Review**.
Initial State selects the operational TLE/state vector and mass. Time Range chooses
the earliest start and optional complete-by date using literal UTC controls. Completion
is flexible by default; complete time includes waiting, recovery and assessment.
Flight Plan retains its phase-authoring workflow.

Choose a reference mode:

| Mode | Meaning |
| - | - |
| Current trajectory | Choose Advance or Delay and an angle compared with where this spacecraft would be without the maneuver. Complete relative laps are retained: 390° is different from 30°. |
| Target orbital slot (OPM) | Upload one nominal OPM. The target follows its unmanoeuvred trajectory under the selected spacecraft model and mass. An additional signed offset is optional in Advanced restrictions. |

Positive phase is ahead in the direction of travel. It does not prescribe the first
burn direction. The authoritative observable is mean phase in degrees, not true anomaly,
ground-track longitude or three-dimensional separation.

**Compensate plane drift** defaults On for a new acquisition and reveals its prefilled
plane accuracy. Off reports actual mismatch while retaining binding mission limits.
Phasing reuses configured criteria and defaults. **Accuracy settings (optional)** and
**Advanced restrictions (optional)** start collapsed. Optional path, fuel and duration
bounds are under **Advanced restrictions**; blank adds no extra restriction. Mean SMA
and osculating perigee/apogee conditions are distinct requirements. The common numerical
assessment interval is resolved automatically and counts in complete time.

The existing spacecraft/device and selected state supply thrust, Isp, dry mass, initial
mass and maximum continuous firing duration. There is no supplemental command-resource
setup. Modeled consumption cannot exceed mass above dry mass, accounting for existing
approved recovery holds. This model ceiling is not independently measured usable tank
inventory. Retired precision, ignition, inventory, reserve and review-lead settings do
not constrain new computations.

**Continue to Review** saves and resolves the target/reference and effective inputs.
Four compact cards summarize Overview, Initial State, Time Range and Parameters.
Use their edit icons to make changes; changed inputs require a fresh saved Review.
**Create Plan** compares complete Min-fuel and Fastest alternatives under that same
reviewed problem. It does not approve or execute commands.

**Maintain target afterward** directly selects the existing maintenance policy, with
its own deviation and duration after full completion. New compensation choices are
hidden while maintenance uses its existing plane-restoration rules. New plans propose
acquisition commands only; later maintenance is planning-only and requires reassessment
and approval. Existing saved commitments are retained.

## Retained target meaning

A saved 10° correction with 4° already gained still targets 10°, leaving 6° to achieve.
It does not request another 10° from the updated state.

Existing updated-state corrections retain continuous unwrapped phase history,
the matching epoch and its evidence source. A wrapped state alone cannot
prove completed relative laps, and a proposed burn is not evidence that it executed.
Operations retains its existing future, whole-second planning-window requirement;
history must be resolved to the selected planned-start state. Finite commands retain
their exact producing numerical timing precision.

A changed reference is explicit and versioned. Older proposals remain tied to their
producing snapshots. Standalone saved-result review has no Modify/Replan action.

## References and terminal orbit

The default is an unmanoeuvred reference from the resolved selected state. The controlled
spacecraft enters a composed phase with the preceding phase's achieved state,
epoch and remaining mass.

Advanced reference records use GCRF/UTC state data, source/version, model/data identity,
coverage and maneuver assumptions. A leader ephemeris needs ordered knots, an
interpolation-gap limit and declared thrust-free coverage of the measurement interval.
Missing coverage is not extrapolated, and unknown future leader burns are not assumed.
An unavailable saved model/data revision is reported rather than silently replaced.

The nominal target's required terminal mean orbit follows the same saved trajectory
at each alternative's actual completion. A separately retained historical terminal
reference remains inspectable. Phase, size/shape, plane and residual-drift requirements
apply together.

## Review the result

The review leads with **Overview** beside **Analysis**, followed by **Maneuvers**,
Initial State and propulsion summaries. Compact Overview readouts show requested and
achieved phase, and the producing plane policy, achieved mismatch and applicable limit.
Duration includes waiting, recovery and the assessment interval. Min-fuel/Fastest
viewing selects one complete saved result for all displayed quantities without
creating a proposal. Proposal creation and approval remain separate actions.

In the plan **Overview**, **ΔMass (spacecraft)** is signed (negative for fuel spent),
while **Fuel consumed** is the positive amount spent. Both use kg for values at
least 1 kg and g for smaller values, with three decimal places; these come from
the producing Phasing run, not a rounded command aggregate. **Initial State** shows
the selected source/display ID and mass source retained with that plan, alongside
the run-frozen epoch, mass and saved reference source. The reference source identifies
the target anchor; after replanning it may differ from the selected initial state.

**Older-plan limitation:** plans computed before initial-state selection was retained
can still show their frozen physical state and fuel evidence, but the selected source,
mass source and State Vector display N/A when the original selection is absent.
This update does not backfill that historical ID from the reference anchor, plan
metadata or the spacecraft's current state. A new computation records its own
selection; it cannot recover which record an older run selected. **Latest state
vector (at run time)** means a retained latest-state selection policy, not a known
record ID. N/A for a
missing or unfinished result is not a measured zero; an actual zero is shown as
0.000 g.

Analysis offers **Phase, SMA, Inclination and Eccentricity**, initially Phase, with
expansion and exact recorded sample inspection. Phase retains the unwrapped branch
and target; orbital quantities use the producing mean convention. Missing historical
channels display unavailable instead of being reconstructed from another result.
Maneuver cards show saved identifiers where available, UTC dates, Duration and signed
ΔV components in their declared RTN frame. Alternatives have candidate-only identities;
future maintenance and diagnostic commands remain visibly distinct from releasable burns.

Outcomes distinguish unsupported input/capability, conflicting requirements, an
unsuccessful bounded search and insufficient numerical qualification. A verified
candidate can remain usable when further optimization reaches its budget. Minimum
propellant is the objective, not a promise of a global optimum.

Operations approval uses the retained finite commands through the existing review
lifecycle. Changed or unqualified proposals cannot be approved/exported. A coast-only
achievement creates no artificial burns.

### Historical OCM export recovery

An older proposal with an absent or unsupported integrity signature cannot establish
that its retained commands match its producing inputs. OCM download returns HTTP 400
JSON (also for text-only clients), with no attachment and error
`PHASING_LEGACY_INTEGRITY_UNVERIFIABLE`. The diagnostic includes retained producing
configuration, initial state, selected-source provenance when present, model/reference
identities and commands. `snapshotVerified: false` means these are historical records
for investigation, **not verified inputs or executable replacement commands**. Missing
values remain missing; current spacecraft settings are not substituted.

Preserve the original plan. Review its retained objective/reference, physical state,
force/data revision and hardware inputs before computing a **separate new proposal**.
Restore the producing model/data revision where available; if required inputs or that
revision cannot be recovered, contact support with the plan ID rather than repeatedly
retrying export or silently re-anchoring the target. Saved-result review has no
Modify/Replan shortcut. Any intentionally changed inputs require explicit review as a
new intent; they are not a reproduction of the old proposal. A replacement must pass
normal finite qualification, integrity checks and operational review before use.
Export does not recompute, change, approve or re-sign the historical commands.

Initial and terminal mean orbits cover near-circular Earth LEO through 2,000 km
mean-SMA altitude and eccentricity 0.01. Temporary excursions have separate authored
bounds and model-applicability checks. Numerical achievement is modeled evidence;
it does not establish indefinite spacing, rendezvous or conjunction clearance.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.