Skip to content

[uss_qualifier/astm/utm] Detect op intent details outside reference#1389

Merged
BenjaminPelletier merged 3 commits intointeruss:mainfrom
BenjaminPelletier:op-intent-ref-details-agreement
Mar 11, 2026
Merged

[uss_qualifier/astm/utm] Detect op intent details outside reference#1389
BenjaminPelletier merged 3 commits intointeruss:mainfrom
BenjaminPelletier:op-intent-ref-details-agreement

Conversation

@BenjaminPelletier
Copy link
Member

This PR hopefully resolves #1377 by checking whether op intent detailed volumes exceed the bounds of the reference whenever a shared op intent is validated.

Note: this PR was generated primarily by an AI agent.

@BenjaminPelletier BenjaminPelletier marked this pull request as ready for review March 10, 2026 17:11
Copy link
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some suggestions


## 🛑 Details 4D extents are within reference extents check

If the 4D extents (start time, end time, and altitude if specified) of any of the detailed operational intent volumes are not fully contained within the 4D extents of the operational intent reference, this check will fail per **[astm.f3548.v21.USS0105,1](../../../requirements/astm/f3548/v21.md)**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If the 4D extents (start time, end time, and altitude if specified) of any of the detailed operational intent volumes are not fully contained within the 4D extents of the operational intent reference, this check will fail per **[astm.f3548.v21.USS0105,1](../../../requirements/astm/f3548/v21.md)**.
If the 4D extents (start time, end time, and altitude if specified) of any of the operational intent details volumes are not fully contained within the 4D extents of the reference, this check will fail per **[astm.f3548.v21.USS0105,1](../../../requirements/astm/f3548/v21.md)**.


If the operational intent details reported by the USS do not match the user's flight intent, this check will fail per **[interuss.automated_testing.flight_planning.ExpectedBehavior](../../../requirements/interuss/automated_testing/flight_planning.md)** and **[astm.f3548.v21.OPIN0025](../../../requirements/astm/f3548/v21.md)**.

## 🛑 Details 4D extents are within reference extents check
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## 🛑 Details 4D extents are within reference extents check
## 🛑 Operational intent details extents are contained within reference extents check

all_volumes = oi_full.details.get("volumes", []) + oi_full.details.get(
"off_nominal_volumes", []
)
for v in all_volumes:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could make sense using Volume4DCollection instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah, that's probably the better approach -- will change.

@BenjaminPelletier BenjaminPelletier merged commit fac44b3 into interuss:main Mar 11, 2026
22 checks passed
@BenjaminPelletier BenjaminPelletier deleted the op-intent-ref-details-agreement branch March 11, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify op intent details volumes contained in reference

2 participants