Skip to content

Update CLM agentic hack: local-first Challenge 1 setup, remove redundant community files, lab-defaults tweaks - #429

Merged
Marco Weber (qxsch) merged 7 commits into
microsoft:mainfrom
glejdis:sync-clm-agentic-microhack
Aug 19, 2026
Merged

Update CLM agentic hack: local-first Challenge 1 setup, remove redundant community files, lab-defaults tweaks#429
Marco Weber (qxsch) merged 7 commits into
microsoft:mainfrom
glejdis:sync-clm-agentic-microhack

Conversation

@glejdis

@glejdis glejdisshkembi (glejdis) commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Mirrors recent changes from the upstream development repo glejdis/microhack-aiagents into the Agentic Contract Lifecycle Management hack folder (03-Azure/01-04-AI/04_Agentic_Contract_Lifecycle_Management/):

  • Remove duplicate community-health files — already provided once at the microsoft/MicroHack repo root, so per-hack copies are redundant and can drift:
    • LICENSE
    • SECURITY.md
    • SUPPORT.md
    • CODE_OF_CONDUCT.md
  • challenges/challenge-01.md — make local VS Code (Dev Containers) the primary setup path and move GitHub Codespaces into an optional note; generalize the downstream "Codespace terminal/editor" references to "VS Code" so the walkthrough stays consistent.
  • labautomation/lab-defaults.json:
    • set estimatedDailyCostsUsd from 5.0 to 15.0 (updates the per-user/day estimate used by the lifecycle cost wizard).
    • update preferredLocation from swedencentral, westeurope, norwayeast to swedencentral, norwayeast, spaincentral (region priority order for deployment).
  • Move build/config files into src/ — relocate azure.yaml, Dockerfile, .dockerignore, .gitignore, .gitattributes, and requirements.txt from the hack-folder root into src/, and update every reference (deploy scripts, CI, devcontainer, docs, challenges, walkthroughs) so behavior is preserved:
    • azd is now run from src/ (cd src && azd up); azure.yaml infra.path and postprovision hook paths adjusted accordingly.
    • Docker build context is now src/; deploy scripts pass --source src and .dockerignore was rewritten for the new context.
    • write_env.py and setup_sharepoint_corpus.py invoke azd with cwd=src/.

Context

No challenge logic or application source behavior changes. The community-file removals, Challenge 1 reframing, and lab-defaults.json tweaks are content/config only. The src/ relocation changes how the tooling is invoked (azd now runs from src/, the Docker build context is now src/) while preserving the resulting deployment — all references across scripts, CI, and docs were updated to match.

…agentic hack

Mirrors the change made in glejdis/microhack-aiagents. These duplicate community-health files are already provided at the microsoft/MicroHack repo root, so they are redundant inside the hack folder.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@glejdis glejdisshkembi (glejdis) changed the title Remove redundant LICENSE/SECURITY/SUPPORT/CODE_OF_CONDUCT from CLM agentic hack folder Update CLM agentic hack: remove redundant community-health files; set estimatedDailyCostsUsd to 15 Aug 19, 2026
@glejdis glejdisshkembi (glejdis) changed the title Update CLM agentic hack: remove redundant community-health files; set estimatedDailyCostsUsd to 15 Update CLM agentic hack: remove redundant community-health files; update lab-defaults (cost + preferred regions) Aug 19, 2026
…aces optional

Mirrors glejdis/microhack-aiagents: Task 1 now leads with clone + Dev Containers in VS Code; GitHub Codespaces moved to an optional note.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@glejdis glejdisshkembi (glejdis) changed the title Update CLM agentic hack: remove redundant community-health files; update lab-defaults (cost + preferred regions) Update CLM agentic hack: local-first Challenge 1 setup, remove redundant community files, lab-defaults tweaks Aug 19, 2026
Relocate azure.yaml, Dockerfile, .dockerignore, .gitignore,
.gitattributes, and requirements.txt into src/ and update all
references so azd, the container build, CI, and docs still work.

- azd is now run from src/ (cd src && azd up); azure.yaml infra.path
  and postprovision hook paths adjusted accordingly.
- Docker build context is now src/; deploy scripts use --source src
  and .dockerignore rewritten for the src/ context.
- write_env.py and setup_sharepoint_corpus.py run azd with cwd=src/.
- CI, devcontainer, and all docs/challenges/walkthroughs updated.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1ad09303-8cf2-472e-bfa3-04af5233d633
…t .gitignore

Mirrors glejdis/microhack-aiagents#111 into the upstream hack path:
add .gitignore (protects repo-root .env), .devcontainer/post-create.sh
(pip install + best-effort msodbcsql18), .devcontainer/.gitattributes,
and point devcontainer.json postCreateCommand at the script.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 84082b7c-f262-4c92-90b7-1649bce45bfc
@qxsch
Marco Weber (qxsch) merged commit f2ef1da into microsoft:main Aug 19, 2026
2 checks passed
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.

2 participants