> For the complete documentation index, see [llms.txt](https://docs.giize.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giize.com/product-docs/feature-guides/ts-ticket-notes.md).

# TS Ticket Notes

## Purpose

This page is the implementation-focused companion to the OpenVPN guide.

It explains:

* script flow
* output contracts
* state files
* where TS/OpenVPN logic lives in the codebase

## Main Entry Point

* `scripts/openvpn-sync.mjs`

## Core Steps

1. validate session availability
2. scrape SDP and TS states
3. check ACL status
4. build matches
5. build pipeline decisions
6. write JSON outputs

## When To Read This

* before changing TS/OpenVPN code
* when pipeline output looks inconsistent
* when adding new matching or creation rules
