Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
a40a402
chore(deploy): pin all CF modules to cflinuxfs5 stack (#3111)
jung-thomas Nov 12, 2026
d1680b2
Merge pull request #3113 from sap-tutorials/fix/cflinuxfs5-migration
jung-thomas Nov 12, 2026
d7ea8ea
feat(navigator): float selected filters to top of each column (#3112)
jung-thomas Nov 12, 2026
2003ec3
docs: design for tutorial-level AI grading context (#3090)
jung-thomas Nov 12, 2026
faf28e7
docs: implementation plan for grading context (#3090)
jung-thomas Nov 12, 2026
14696b0
feat(search): boost missions/groups in search rank so they surface (#…
jung-thomas Nov 12, 2026
86e0d1e
feat(search): apply product + isNew filter to getFacets counts (#3112)
jung-thomas Nov 12, 2026
4ea49d9
feat(db): TutorialGradingContext entity + gradingContextEnabled flag …
jung-thomas Nov 12, 2026
c272eac
test(search): prove strict > boundary in getFacets date-filter test (…
jung-thomas Nov 12, 2026
e8f7de6
feat(navigator): forward products + isNew to getFacets for count pari…
jung-thomas Nov 12, 2026
d0e47d8
feat(parser): [GRADING_CONTEXT] block → assembled string (#3090)
jung-thomas Nov 12, 2026
e34e96f
feat(publish): carry grading context on validate-answer-specs publish…
jung-thomas Nov 12, 2026
d6eeace
feat(prompt): optional gradingContext section + version bump (#3090)
jung-thomas Nov 12, 2026
d6fb780
feat(grader): grounding in validate-answer (#3090)
jung-thomas Nov 12, 2026
ea4c370
feat(grader): grounding in code-check (#3090)
jung-thomas Nov 12, 2026
9f60150
feat(grader): grounding in challenge-grade + ChatSettings read (#3090)
jung-thomas Nov 12, 2026
5beab76
test(grader): add catch-block coverage for cds.entities throw in chal…
jung-thomas Nov 12, 2026
3ad50bb
feat(admin): read-only grading-context display + settings toggle (#3090)
jung-thomas Nov 12, 2026
c91d1a5
docs: document [GRADING_CONTEXT] authoring + wiring (#3090)
jung-thomas Nov 12, 2026
8131caa
docs: fix grading-context entity link + widen flag-scope copy (#3090)
jung-thomas Nov 12, 2026
6b40db2
docs(#2810): Phase 2 design — DB-side embedding generation
jung-thomas Nov 12, 2026
94b5b79
docs(#2810): record spike #3114 result — comparability confirmed
jung-thomas Nov 12, 2026
25d4800
docs(#2810): Unit 1 implementation plan (deploy-gated, no runtime flag)
jung-thomas Nov 12, 2026
a13ac24
fix(navigator): paginate search results so counted items are reachabl…
jung-thomas Nov 12, 2026
7ac54de
fix(navigator): suppress duplicate executeSearch on filter-change-whi…
jung-thomas Nov 12, 2026
301e3de
fix(cds): stage regenerated build artifacts + author docs for grading…
jung-thomas Nov 12, 2026
09f0da0
feat(#2810): HANA stored calc element for Concepts.embeddingVec
jung-thomas Nov 12, 2026
4357241
feat(#2810): backfill stops writing embeddingVec on HANA (generated c…
jung-thomas Nov 12, 2026
31fdc9a
fix(navigator): unwrap filteredTopics/filteredProducts refs in partit…
jung-thomas Nov 12, 2026
5d63197
feat(#2810): mint path stops writing embeddingVec on HANA (generated …
jung-thomas Nov 12, 2026
4e72b8d
fix(feature-flags): register ChatSettings.gradingContextEnabled (#3090)
jung-thomas Nov 12, 2026
382dc2e
Merge pull request #3119 from sap-tutorials/worktree-grading-context-…
jung-thomas Nov 12, 2026
6712449
fix(docs): register grading-context page in sidebar
jung-thomas Nov 12, 2026
3dd9361
test(#2810): hybrid proof of DB-side Concepts embedding (run+re-embed…
jung-thomas Nov 12, 2026
2cef294
Merge pull request #3121 from sap-tutorials/worktree-fix-docs-sidebar…
jung-thomas Nov 12, 2026
c8e642d
docs(#2810): mark Concepts DB-side embedding shipped (Unit 1) + enabl…
jung-thomas Nov 12, 2026
a99805c
feat(navigator): add completed/inProgress to NavState URL sync (#3112)
jung-thomas Nov 12, 2026
80a98fa
feat(navigator): My progress filter predicate + anon scrub (#3112)
jung-thomas Nov 12, 2026
d673868
fix(#2810): drop redundant TRIM so generated expr is exactly the Node…
jung-thomas Nov 12, 2026
a666745
feat(navigator): disable server search while a progress filter is act…
jung-thomas Nov 12, 2026
1c2c66b
Merge pull request #3122 from sap-tutorials/feat/2810-unit1-concepts-…
jung-thomas Nov 12, 2026
69fd8b0
feat(navigator): My progress filter column (signed-in only) (#3112)
jung-thomas Nov 12, 2026
f2a9c0d
fix(navigator): filters-grid auto-fit for 5th My-progress column (#3112)
jung-thomas Nov 12, 2026
20a9ec4
test(e2e): navigator search & filter improvements (#3112)
jung-thomas Nov 12, 2026
e520cce
fix(e2e): correct dead selectors in G2 navigator search spec (#3112)
jung-thomas Nov 12, 2026
1d2a958
chore(navigator): fix misleading test comment + redundant optional ch…
jung-thomas Nov 12, 2026
eecd850
docs(navigator): design + plan for search & filter improvements (#3112)
jung-thomas Nov 12, 2026
b183213
Merge pull request #3123 from sap-tutorials/worktree-navigator-search…
jung-thomas Nov 12, 2026
4cc4eff
fix(deploy): adopt tutorials-credstore as existing-service
jung-thomas Nov 12, 2026
3840176
Merge pull request #3124 from sap-tutorials/fix/credstore-existing-se…
jung-thomas Nov 12, 2026
88bac9c
fix(#2810): grant object_owner EXECUTE on TUTORIALS_AICORE via kg-gra…
jung-thomas Nov 12, 2026
c21ea14
Merge pull request #3125 from sap-tutorials/fix/aicore-deploy-grant
jung-thomas Nov 12, 2026
096a623
feat(kg): journal Concepts + all KG tables for hdbmigrationtable depl…
jung-thomas Nov 12, 2026
e341c2e
revert(#2810): drop DB-side generated embeddingVec; keep Node writers…
jung-thomas Nov 12, 2026
3706465
chore(kg): undeploy legacy KG .hdbtable artifacts for journaled trans…
jung-thomas Nov 12, 2026
a372672
build(kg): regenerate baseline for journaled KG tables (#2810)
jung-thomas Nov 12, 2026
e8e0001
test(kg): hybrid test asserts embeddingVec is a plain Node-written co…
jung-thomas Nov 12, 2026
0f9ac34
docs(kg): correct embeddings appendix — DB-side generation reverted, …
jung-thomas Nov 12, 2026
c9cabf7
Merge pull request #3126 from sap-tutorials/feat/concepts-dbside-embe…
jung-thomas Nov 12, 2026
e8cdac3
fix(kg): remove orphaned TUTORIALS_AICORE EXECUTE grant (#2810)
jung-thomas Nov 12, 2026
2e4895b
Merge pull request #3127 from sap-tutorials/fix/kg-remove-orphaned-ai…
jung-thomas Nov 12, 2026
e0756fa
release 1.44.2 prep: version bump + whats-new refresh
jung-thomas Nov 12, 2026
dc95432
Merge pull request #3128 from sap-tutorials/release/dev-to-main-1.44.2
jung-thomas Nov 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .deploy/mta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ID: tutorials-ims
# Bump this on each release you deploy — it's the version shown by `cf mtas`
# and in the mtar filename (tutorials-ims_<version>.mtar). Deploy is manual:
# `cd .deploy && mbt build && cf deploy mta_archives/tutorials-ims_<version>.mtar -e ../deploy/<env>.mtaext -f`.
version: 1.44.1
version: 1.44.2

# Top-level parameters (overridable per-env via deploy/<env>.mtaext).
parameters:
Expand Down Expand Up @@ -82,6 +82,7 @@ modules:
path: ../gen/db
parameters:
buildpack: nodejs_buildpack
stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111)
properties:
# Two HDI services bound (own container + devtoberfest-planner-db grantor),
# so the HDI deployer cannot auto-detect the target — name it explicitly.
Expand All @@ -97,6 +98,7 @@ modules:
path: ../gen/db-qa
parameters:
buildpack: nodejs_buildpack
stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111)
requires:
- name: tutorials-hana-qa
- name: tutorials-cloud-logging # same as tutorials-db-deployer; mirrors the prod binding for QA forensic parity.
Expand All @@ -118,6 +120,7 @@ modules:
# so the next deploy doesn't revert it back to 1GB.
disk-quota: 2048M
buildpack: nodejs_buildpack
stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111)
# DO NOT raise instances without addressing in-process rate limiters in
# srv/developer-service.js, srv/lib/ip-rate-limit.js, srv/lib/chat-rate-limit.js.
# See docs/developers/operations/mta-deployment.md "Scaling Constraints" and TODO §22.
Expand Down Expand Up @@ -190,6 +193,7 @@ modules:
memory: 2048M
disk-quota: 1024M
buildpack: nodejs_buildpack
stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111)
instances: 1
health-check-type: http
health-check-http-endpoint: /health/ready
Expand Down Expand Up @@ -320,6 +324,7 @@ modules:
# not baseline. disk-quota already 2048M (logs stream off-container to
# stdout/stderr, so disk is not the OOM vector — 33% used at steady state).
memory: 2048M
stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111)
app-name: tutorials-approuter
instances: 1 # Lower bound; Autoscaler manages up to instance_max_count via binding-level config in requires below (#749)
properties:
Expand Down Expand Up @@ -566,11 +571,18 @@ resources:
# using the binding's encryption.client_private_key. Per-environment instance
# (DEV/QA/PROD each get their own credstore). Provisioning runbook lives in
# docs/developers/operations/runtime-config.md (Phase 2-C section).
# ADOPTED as existing-service (#2810 deploy, 2026-11-12): the credstore
# broker began rejecting the no-op `update-service` the MultiApps deployer
# issues for a managed-service on every deploy ("Illegal parameters or
# arguments used" — broker-side tightening, our params never changed). The
# instance is already provisioned (plan standard) and healthy; typing it as
# existing-service makes the deployer bind to it WITHOUT create/update, so no
# update call is made and the broker rejection disappears. Same adoption
# pattern the MCP MTA uses for shared services. The instance lifecycle
# (provisioning/rotation) is managed out-of-band per runtime-config.md.
- name: tutorials-credstore
type: org.cloudfoundry.managed-service
type: org.cloudfoundry.existing-service
parameters:
service: credstore
service-plan: standard
service-name: tutorials-credstore

# CF Application Autoscaler (#749 phase-1). Binds to tutorials-approuter
Expand Down
19 changes: 19 additions & 0 deletions app/admin-annotations.cds
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,23 @@ annotate AdminService.CodeCheckSpecs with @UI: {
}
};

// TutorialGradingContext — tutorial-level grading context persisted at
// publish time and consumed by the challenge grader to ground LLM calls.
// Read-only; the admin facet surfaces the context text for visibility.
// Joined via the `gradingContext` to-one association on the Tutorials projection.
annotate AdminService.TutorialGradingContext with {
context @Common.Label: 'Grading Context' @UI.MultiLineText;
};

annotate AdminService.TutorialGradingContext with @UI: {
FieldGroup #GradingContext: {
$Type: 'UI.FieldGroupType',
Data: [
{ Value: context, Label: 'Grading Context' }
]
}
};

// AuthorAiRequests — per-tutorial AI-author telemetry (OS variant
// generation today; future flows extend). Joined via `aiRequests`
// association (PR-3 added the tutorial FK).
Expand Down Expand Up @@ -1033,6 +1050,8 @@ annotate AdminService.Tutorials with @UI: {
Target: 'validationRules/@UI.LineItem' },
{ $Type: 'UI.ReferenceFacet', Label: 'Code-Check Specs', ID: 'CodeCheckSpecsFacet',
Target: 'codeCheckSpecs/@UI.LineItem' },
{ $Type: 'UI.ReferenceFacet', Label: 'AI Grading Context', ID: 'GradingContextFacet',
Target: 'gradingContext/@UI.FieldGroup#GradingContext' },
{ $Type: 'UI.ReferenceFacet', Label: 'AI-Author Requests', ID: 'AiRequestsFacet',
Target: 'aiRequests/@UI.LineItem' },
{ $Type: 'UI.ReferenceFacet', Label: 'Freshness Reports', ID: 'FreshnessReportsFacet', Target: 'freshnessReports/@UI.PresentationVariant' },
Expand Down
8 changes: 8 additions & 0 deletions app/admin/joule/webapp/controller/Settings.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ sap.ui.define([
// in the view makes the cost trade-off explicit.
validateAnswerEnabled: false,
codeCheckEnabled: false,
// Grading context flag (#3090). Default false to mirror schema default
// (db/schema.cds). When on, all three AI graders (validate-answer,
// code-check, challenge-grade) read each tutorial's TutorialGradingContext
// row to ground the LLM call with domain-specific context about what
// correct answers look like. No extra token cost beyond what the active graders consume.
gradingContextEnabled: false,
// Issue #172 pilot master flag. Default false to mirror the schema
// default (db/schema.cds:530). When off, the public /api/ChatConfig
// singleton reports branchingEnabled=false and the Learning
Expand Down Expand Up @@ -108,6 +114,7 @@ sap.ui.define([
embeddingMinScore: data.embeddingMinScore != null ? data.embeddingMinScore : 0.25,
validateAnswerEnabled: !!data.validateAnswerEnabled,
codeCheckEnabled: !!data.codeCheckEnabled,
gradingContextEnabled: !!data.gradingContextEnabled,
branchingEnabled: !!data.branchingEnabled,
communityPeersEnabled: !!data.communityPeersEnabled,
communityLabelLlmBudgetPerDay: data.communityLabelLlmBudgetPerDay != null ? data.communityLabelLlmBudgetPerDay : 50,
Expand Down Expand Up @@ -154,6 +161,7 @@ sap.ui.define([
embeddingMinScore: data.embeddingMinScore === "" || data.embeddingMinScore == null ? null : Number(data.embeddingMinScore),
validateAnswerEnabled: !!data.validateAnswerEnabled,
codeCheckEnabled: !!data.codeCheckEnabled,
gradingContextEnabled: !!data.gradingContextEnabled,
branchingEnabled: !!data.branchingEnabled,
communityPeersEnabled: !!data.communityPeersEnabled,
communityLabelLlmBudgetPerDay: parseInt(data.communityLabelLlmBudgetPerDay, 10) || 50,
Expand Down
2 changes: 2 additions & 0 deletions app/admin/joule/webapp/i18n/i18n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ validateAnswerEnabled=Free-text answer grading
validateAnswerEnabledHelp=When on, [VALIDATE_N] free-text questions are graded by the LLM. When off, the inline widget shows "Answer checking is temporarily unavailable" and the /api/validate-answer endpoint returns 503. Default off — flipping this on starts consuming AI Core tokens per submission.
codeCheckEnabled=AI code-check
codeCheckEnabledHelp=When on, [CODECHECK_N] blocks call the LLM grader and the checkCode tool is wired into the chat. When off, the /api/codecheck endpoint returns 503. Default off — flipping this on starts consuming AI Core tokens per submission.
gradingContextEnabled=Grading context enrichment
gradingContextEnabledHelp=When on, each tutorial's stored grading context (published via the content pipeline) is injected into all AI graders (validate-answer, code-check, challenge-grade) as domain-specific guidance about correct answers. No extra AI Core tokens beyond what the active graders already consume. Default off.

branchingSection=Tutorial Branching Pilot (issue #172)
branchingEnabled=Enable adaptive branching
Expand Down
6 changes: 6 additions & 0 deletions app/admin/joule/webapp/view/Settings.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@

<Label text="" />
<Text text="{i18n>codeCheckEnabledHelp}" wrapping="true" />

<Label text="{i18n>gradingContextEnabled}" />
<Switch state="{settings>/gradingContextEnabled}" />

<Label text="" />
<Text text="{i18n>gradingContextEnabledHelp}" wrapping="true" />
</f:SimpleForm>
</Panel>

Expand Down
Loading
Loading