Skip to content

Add module-import example script; gather example files under examples/#36

Merged
marcleblanc2 merged 6 commits into
mainfrom
example-import-script
Jun 13, 2026
Merged

Add module-import example script; gather example files under examples/#36
marcleblanc2 merged 6 commits into
mainfrom
example-import-script

Conversation

@marcleblanc2

Copy link
Copy Markdown
Collaborator

Adds a customer-facing example of consuming src-auth-perms-sync as a Python
module, and gathers the example files into one examples/ directory.

  • examples/import.py: minimal import-API script (uv inline metadata, env-var
    config, Get discovery, Set from in-memory mapping rules, dry run by
    default). Verified end-to-end against the released PyPI package and the
    live test instance via the import API.
  • .env.example and maps-example.yaml move to examples/ (.env.example,
    maps.yaml); README and code comments updated to the new paths.

marcleblanc2 and others added 6 commits June 12, 2026 18:11
The examples/ move surfaced that nothing validates relative links.
markdownlint-rule-relative-links now runs as a markdownlint-cli2 custom
rule (locally, in AGENTS.md commands, and in CI), and the sweep it
enables found four pre-existing broken links from when the memory
analysis files moved into dev/memory-analysis/ — plus one stale script
path in a code fence the rule cannot see.

Amp-Thread-ID: https://ampcode.com/threads/T-019eba67-c19d-7166-9690-dcb2f0eed165
Co-authored-by: Amp <amp@ampcode.com>
Aligns the Python config field and function names with the
sync-saml-orgs command, flag, and env var, so all three surfaces use
one name. AGENTS.md now lists org/orgs as an accepted domain
abbreviation so naming sweeps don't expand it back.
@marcleblanc2 marcleblanc2 force-pushed the example-import-script branch from 266bc19 to b55c105 Compare June 13, 2026 00:23
@marcleblanc2 marcleblanc2 merged commit 438beb9 into main Jun 13, 2026
6 checks passed
@marcleblanc2 marcleblanc2 deleted the example-import-script branch June 13, 2026 00:25
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.

1 participant